Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Dec 2018 16:49:31 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 234469] USB mouses, keyboards and quirks
Message-ID:  <bug-234469-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help

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@FreeBSD.org
          Reporter: david@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.


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-234469-227>