usb device driver skeleton?
kat-free at kaqelectronics.dyndns.org
Wed Mar 26 10:58:05 PST 2003
> -----Original Message-----
> From: owner-freebsd-questions at freebsd.org
> [mailto:owner-freebsd-questions at freebsd.org]On Behalf Of David Rio
> Sent: Wednesday, 26 March 2003 6:37 PM
> To: taxman
> Cc: freebsd-questions at freebsd.org
> Subject: Re: usb device driver skeleton?
> On Tue, Mar 25, 2003 at 08:48:03PM -0500, taxman wrote:
> > On Tuesday 25 March 2003 12:15 pm, David Rio wrote:
> > > Hi all:
> > >
> > > I want to port a linux device driver that I did to *BSD. I would
> > That would be great.
> Yes.. We have to help BSD movement, if not linux will eat us. :)
> > > like to know if there is some source of information to develope
> > > usb device drivers in freebsd. Handbook talks about usb in general,
> > > an about device drivers but not about usb device drivers. My last
> > > option is to read some usb DD already coded but before that I
> would like
> > > know if there is some other "beginner" source of information.
> > Yep, the thing you need is the developers handbook. You can
> get to it from
> > the "other docs" page. Here is the USB section:
> I have looked this page, but there they explain how the usb
> system works and
> there is no USB comment code.
> > Beyond that, the source of other drivers will be what you need.
> I think
> > you'll want to look at the ugen(4) manpage and code too,
> That is better. But ugen(4), if I am not wrong, it is a API for
> create userland
> I would like to write a real usb char device driver.
May I ask what USB device you are writing for, as I am looking at developing
a USB interface for UPS support so NUT can use my UPS (ATM I can only use it
under Linux ikkies)So we may be able to share knowledge and reach both our
BTW is there a USB team in FreeBSD ?
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.443 / Virus Database: 248 - Release Date: 10/01/2003
More information about the freebsd-questions