traditional syscalls with DRIVER_MODULE ????

Hans Petter Selasky hselasky at c2i.net
Tue May 24 21:25:31 UTC 2011


On Tuesday 24 May 2011 23:19:27 Jim Bryant wrote:
> if i add such an interface to the current DRIVER_MODULE version, how 
> would i go about NOT having DRIVER_MODULE create the devfs entries?  i 
> would prefer to have the devfs entries handled by make_dev, so to have 
> access to the desired syscalls.

Look at /sys/dev/usb/serial/ulpt.c

For a simple example.

More abstract:

"cd /usr/ports/multimedia/cuse4bsd" and "man libusb20"

--HPS


More information about the freebsd-usb mailing list