interfacing uhid devs from kernel module

Hans Petter Selasky hselasky at c2i.net
Thu Jun 15 17:51:47 UTC 2006


On Thursday 15 June 2006 19:02, Attilio Rao wrote:
> 2006/6/15, Marcin Cylke <szyderca at gmail.com>:
> > On 6/15/06, Hans Petter Selasky <hselasky at c2i.net> wrote:
> > > What functions do you need? Have you looked at uhid.c under
> > > /sys/dev/usb ?
> >
> > I would like to use the whole infrastructure:
> > struct hid_item
> > hid_usage_page()
> > hid_usage_in_page()
> > hid_init()
> > hid_get_report_desc()
>
> Give a look at USB mouse (ums.c) which give a good overview about HID
> kernelspace API.
>
> However I don't know if Hans has plans to change it in the new stack...

I have changed it a little bit, but I don't have any plans to change it 
further.

--HPS


More information about the freebsd-hackers mailing list