Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 191472 Details for
Bug 270035
Linux detects invalid USB Interfaces as Joypads
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to fix joydev module in kernel
joydev_fix.patch (text/plain), 650 bytes, created by
Andre Ryan
on 2009-05-16 12:50:40 UTC
(
hide
)
Description:
Patch to fix joydev module in kernel
Filename:
MIME Type:
Creator:
Andre Ryan
Created:
2009-05-16 12:50:40 UTC
Size:
650 bytes
patch
obsolete
>--- /var/tmp/portage/sys-kernel/gentoo-sources-2.6.28-r5/work/linux-2.6.28-gentoo-r5/drivers/input/joydev.c 2008-12-25 10:26:37.000000000 +1100 >+++ drivers/input/joydev.c 2009-05-16 22:20:06.000000000 +1000 >@@ -847,6 +847,12 @@ > .evbit = { BIT_MASK(EV_KEY) }, > .keybit = { [BIT_WORD(BTN_TOUCH)] = BIT_MASK(BTN_TOUCH) }, > }, /* Avoid itouchpads, touchscreens and tablets */ >+ { >+ .flags = INPUT_DEVICE_ID_MATCH_EVBIT | >+ INPUT_DEVICE_ID_MATCH_KEYBIT, >+ .evbit = { BIT_MASK(EV_KEY) }, >+ .keybit = { [BIT_WORD(BTN_MISC)] = BIT_MASK(BTN_MISC) }, >+ }, /* Microsoft Multimedia Keys device passes joydev_ids */ > { } /* Terminating entry */ > }; >
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 270035
: 191472