FreeBSD Bugzilla – Attachment 200581 Details for
Bug 234469
USB mouses, keyboards and quirks
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch /sys/dev/usb/input/ukbd.c to check if the ums interface is disabled before failing
ukbd.patch (text/plain), 729 bytes, created by
David Fiander
on 2018-12-28 16:49:31 UTC
(
hide
)
Description:
Patch /sys/dev/usb/input/ukbd.c to check if the ums interface is disabled before failing
Filename:
MIME Type:
Creator:
David Fiander
Created:
2018-12-28 16:49:31 UTC
Size:
729 bytes
patch
obsolete
>*** dev/usb/input/ukbd.c~ Thu Dec 20 09:58:08 2018 >--- dev/usb/input/ukbd.c Fri Dec 28 10:56:42 2018 >*************** >*** 1050,1060 **** > > if (error) > return (ENXIO); > > if (hid_is_keyboard(d_ptr, d_len)) { >! if (hid_is_mouse(d_ptr, d_len)) { > /* > * NOTE: We currently don't support USB mouse > * and USB keyboard on the same USB endpoint. > * Let "ums" driver win. > */ >--- 1050,1060 ---- > > if (error) > return (ENXIO); > > if (hid_is_keyboard(d_ptr, d_len)) { >! if (hid_is_mouse(d_ptr, d_len) && !usb_test_quirk(uaa, UQ_UMS_IGNORE)) { > /* > * NOTE: We currently don't support USB mouse > * and USB keyboard on the same USB endpoint. > * Let "ums" driver win. > */
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 234469
: 200581 |
200840