[Bug 234469] USB mouses, keyboards and quirks

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Dec 28 16:49:33 UTC 2018


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=234469

            Bug ID: 234469
           Summary: USB mouses, keyboards and quirks
           Product: Base System
           Version: 12.0-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: kern
          Assignee: bugs at FreeBSD.org
          Reporter: david at fiander.info

Created attachment 200581
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=200581&action=edit
Patch /sys/dev/usb/input/ukbd.c to check if the ums interface is disabled
before failing

According to dev/usb/input/ukbd.c,

        /*
         * NOTE: We currently don't support USB mouse
         * and USB keyboard on the same USB endpoint.
         * Let "ums" driver win.
         */

But if the device has UQ_UMS_IGNORE set, then neither interface is going to be
used. This is basically the same problem that was fixed in bug #172458 in the
generic "uhid" device.

This is obviously a rare occurrence, but it's annoying when it happens. I ran
into it because the "Circuit Python" embedded python implementation that
appears on many Adafruit dev boards, and is now starting to show up on other
devices, does in fact implement a USB mouse/keyboard combo on a single
endpoint.

The attached patch seems to work.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-bugs mailing list