Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 194087 Details for
Bug 273477
(HAS_PATCH) Compaq/HP Presario R4000-Series volume keys stick - kernel quirk
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Patch for Kernel Input Driver Quirk R4100 Presario
r4100.patch (text/plain), 1.15 KB, created by
Yuri Sevatz
on 2009-06-10 07:55:55 UTC
(
hide
)
Description:
Patch for Kernel Input Driver Quirk R4100 Presario
Filename:
MIME Type:
Creator:
Yuri Sevatz
Created:
2009-06-10 07:55:55 UTC
Size:
1.15 KB
patch
obsolete
>--- linux-2.6.29-gentoo-r5/drivers/input/keyboard/atkbd.c 2009-06-10 02:45:50.000000000 -0400 >+++ fixed-2.6.29-gentoo-r5/drivers/input/keyboard/atkbd.c 2009-06-10 03:21:51.000000000 -0400 >@@ -901,6 +901,23 @@ > } > > /* >+ * Perform fixup for HP (Compaq) Presario R4100 laptop that doesn't generate >+ * release for its volume buttons >+ */ >+static void atkbd_hp_r4100_keymap_fixup(struct atkbd *atkbd) >+{ >+ const unsigned int forced_release_keys[] = { >+ 0xae, 0xb0, >+ }; >+ int i; >+ >+ if (atkbd->set == 2) >+ for (i = 0; i < ARRAY_SIZE(forced_release_keys); i++) >+ __set_bit(forced_release_keys[i], >+ atkbd->force_release_mask); >+} >+ >+/* > * Samsung NC10 with Fn+F? key release not working > */ > static void atkbd_samsung_keymap_fixup(struct atkbd *atkbd) >@@ -1536,6 +1553,15 @@ > .driver_data = atkbd_hp_zv6100_keymap_fixup, > }, > { >+ .ident = "Compaq Presario R4100", >+ .matches = { >+ DMI_MATCH(DMI_SYS_VENDOR, "Hewlett-Packard"), >+ DMI_MATCH(DMI_PRODUCT_NAME, "Presario R4100"), >+ }, >+ .callback = atkbd_setup_fixup, >+ .driver_data = atkbd_hp_r4100_keymap_fixup, >+ }, >+ { > .ident = "Inventec Symphony", > .matches = { > DMI_MATCH(DMI_SYS_VENDOR, "INVENTEC"),
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 273477
:
194087
|
194248
|
198111