Questions about the USB HID device drivers
Hans Petter Selasky
hps at selasky.org
Fri Feb 15 09:33:03 UTC 2019
On 2/15/19 1:44 AM, Apollo D. Sharpe, Sr. via freebsd-usb wrote:
> Hello,
>
> Specifically, I'm interested in how the USB keyboard & mouse drivers
> publish their nodes. I've been combing through the sources of both
> drivers in an attempt to understand a) how they make available the data
> from their devices, b) how they publish their device nodes, and c) where
> all of the code that implements both sets of sequences is stored at in
> the source tree. I currently see the ukb & ums driver sources. Beyond
> that, I'm not sure where to look in order to follow the path between
> those drivers & /dev. Can anyone help me understand this?
>
Hi,
Did you have a look at the code?
sys/dev/usb/input/ums.c and sys/dev/usb/input/ukbd.c
--HPS
More information about the freebsd-usb
mailing list