where to get info to write basic usb driver for own device?

Zera Holladay zera at m-net.arbornet.org
Thu Jul 8 10:09:31 PDT 2004


This may go without saying, but have you read Chapter 22 of the FreeBSD
Developers' Handbook?  I have not read intro(4) extensively but that is
probably a good starting place, if you are completely in the dark.

-Zera Holladay




On Sun, 4 Jul 2004, Avleen Vig wrote:

> On Sun, Jul 04, 2004 at 12:53:39PM +0000, idownes at slingshot.co.nz wrote:
> > So what I guess what I am asking is how hard would this be? (I have a
> > reasonable knowledge of C and Java and have been using FreeBSD for a
> > couple of years but have never written a device driver (for any OS))  Do I
> > actually need to write a driver or can I use something already existing?
> > Where would I get information on how to do this?  So far I've been looking
> > at the existing drivers; ugen, ufm etc., the programmers handbook and am
> > starting to look at libusb...?
> > Sorry for the long message.  Any pointers etc. would be greatly
> > appreciated.
>
> I am actually in a similar situation.
> I know some C, and want to write a device driver for a USB device (web
> cam), but I have no idea where to start.
> I've searched for a "beginners guide to writing device drivers" but
> failed miserably :-(
>
> --
> Avleen Vig
> Systems Administrator
> Personal: www.silverwraith.com
> EFnet:    irc.mindspring.com (Earthlink user access only)
> _______________________________________________
> freebsd-hackers at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe at freebsd.org"
>



More information about the freebsd-hackers mailing list