where to get info to write basic usb driver for own device?
Brian Fundakowski Feldman
green at freebsd.org
Fri Jul 9 19:55:51 PDT 2004
On Sun, Jul 04, 2004 at 09:49:01PM +0000, Aho K.F. Li wrote:
> What kind of device do you had build?
> A HID?
> If your device is not with heaven traffic, you can consider to
> develop your driver at user space with ugen(4) or uhid(4) at first.
> And then, move it into kernel space when you need.
> I had wrote a drive for a touch panel device.
> Actually, it is a input device for XFree86.
> I worked it with uhid(4), all my work was finished at user space.
> It would be a good entry point.
I absolutely agree with this -- it's very hard to write good kernel
USB drivers in FreeBSD, and if it can be done with ugen(4)/libusb, you'll
safe yourself a lot of time and pain.
--
Brian Fundakowski Feldman \'[ FreeBSD ]''''''''''\
<> green at FreeBSD.org \ The Power to Serve! \
Opinions expressed are my own. \,,,,,,,,,,,,,,,,,,,,,,\
More information about the freebsd-hackers
mailing list