NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

kern/53744: No usbhidctl on ums devices



>Number:         53744
>Category:       kern
>Synopsis:       No usbhidctl on ums devices
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Nov 25 21:15:01 +0000 2018
>Originator:     Rob Braun
>Release:        8.99.26
>Organization:
>Environment:
pinebook
>Description:
USB mice (ums driver) do not have exposed uhid device files, except through wsmouse entries.  That means there's no device entry to run usbhidctl against other than wsmouse#.
wsmouse passes ioctls through to the ums device, however ums_ioctl doesn't implement the necessary uhid ioctls, although it could (and could likely share uhid's ioctl implementation with some refactoring).

I'm specifically running this on a pinebook, attempting to run usbhidctl against the trackpad, but it seems generally applicable to the ums driver.
>How-To-Repeat:
Try to run usbhidctl against a usb mouse.
>Fix:
Implement uhid ioctls in ums, or ideally refactor uhid's ioctl to be shared with ums.  Or expose a uhid device for usb nice?



Home | Main Index | Thread Index | Old Index