Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 74006 Details for
Bug 114385
latest kernels do not fully support the cymotion Linux keyboard from cherry
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
hid-core.c patch
hid-core.c.diff (text/plain), 742 bytes, created by
Alexander Jenisch
on 2005-12-03 13:03:42 UTC
(
hide
)
Description:
hid-core.c patch
Filename:
MIME Type:
Creator:
Alexander Jenisch
Created:
2005-12-03 13:03:42 UTC
Size:
742 bytes
patch
obsolete
>1252a1253,1255 >> #define USB_VENDOR_ID_CHERRY 0x046a >> #define USB_DEVICE_ID_CHERRY_CYMOTION 0x0023 >> >1256c1259,1262 >< return usb_control_msg(dev, usb_rcvctrlpipe(dev, 0), >--- >> int retval; >> char *p = (char*)buf; >> >> retval = usb_control_msg(dev, usb_rcvctrlpipe(dev, 0), >1258a1265,1279 >> >> // wn_hack: patch wrong descriptor for this device >> // hardware sends wrong descriptor >> if (dev->descriptor.idVendor == USB_VENDOR_ID_CHERRY >> && dev->descriptor.idProduct == USB_DEVICE_ID_CHERRY_CYMOTION >> && size > 12 >> && p[11] == 0x3c >> && p[12] == 0x02) >> { >> printk(KERN_DEBUG __FILE__ " : modifying descriptor for Cherry CyMotion keyboard \n"); >> p[11] = p[16] = 0xff; >> p[12] = p[17] = 0x03; >> } >> >> return retval;
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 114385
: 74006 |
74007
|
74008