[Bug 282144] usb mouse incorrectly attaches to keyboard driver
- In reply to: bugzilla-noreply_a_freebsd.org: "[Bug 282144] usb mouse using keyboard driver"
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 20 Oct 2024 17:41:06 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=282144 Gary Jennejohn <gljennjohn@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gljennjohn@gmail.com --- Comment #7 from Gary Jennejohn <gljennjohn@gmail.com> --- (In reply to fjpavon from comment #6) You could be right about bInterfaceProtocol = 0x0001 in Interface 0 possibly causing the problem. In Interface 0 there's also bInterfaceClass = 0x0003 <HID device>. In ukbd.c there's this chunk of code: /* A match on these entries will load ukbd */ static const STRUCT_USB_HOST_ID __used ukbd_devs[] = { {USB_IFACE_CLASS(UICLASS_HID), USB_IFACE_SUBCLASS(UISUBCLASS_BOOT), USB_IFACE_PROTOCOL(UIPROTO_BOOT_KEYBOARD),}, }; UIPROTO_BOOT_KEYBOARD = 1. So if USB_IFACE_SUBCLASS(UISUBCLASS_BOOT) is also present then ukbd may have grabbed the mouse for itself. -- You are receiving this mail because: You are the assignee for the bug.