Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 May 2011 23:24:15 +0200
From:      Hans Petter Selasky <hselasky@c2i.net>
To:        freebsd-usb@freebsd.org
Cc:        freebsd-drivers@freebsd.org
Subject:   Re: traditional syscalls with DRIVER_MODULE ????
Message-ID:  <201105242324.15541.hselasky@c2i.net>
In-Reply-To: <4DDC20DF.6060805@gmail.com>
References:  <4DDC20DF.6060805@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201105242324.15541.hselasky>