writing usb drivers under 8.x

Hans Petter Selasky hselasky at c2i.net
Fri Aug 27 08:57:29 UTC 2010


On Friday 27 August 2010 10:53:38 Jim Bryant wrote:
> it'll be a pair of character devices.
> 
 
> lirc compat is a goal of this project though.  most of the work is done
> on that front, i just need to port that over from linux.  the features
> of the imon remote control are well-supported in lirc.  /dev/lirc will
> exist in my driver.

See sys/dev/usb/input/ulpt.c driver for how to create cdevs. Don't use cdev 
directly in the kernel.

--HPS


More information about the freebsd-usb mailing list