Re: usb device driver skeleton?
> 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 > goals faster. It would be great. We can talk about it by email. Regarding to my USB device, it is a mp3 player based on compact flash. I would like to create a char device driver to implement the classical read/write/open/close/ioctl syscalls. I am still reading and searching for information to create the driver but I think that there is a lack of information about this topic. What do you think about? If we make the driver, it would be interesting to create some docs for other BSD device driver writers... > BTW is there a USB team in FreeBSD ? I have been talking with Nick Hibma, he has a USB-freebsd homepage, in fact there is a mailing list. He told me that there is no doc/paper that explain the structs/macros to develope usb drivers. We will have to read code from other drivers which will be more complicated but that is the only solution... ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: usb device driver skeleton?
On Wed, Mar 26, 2003 at 06:57:19PM +0800, Katinka Mills wrote: > > 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 > goals faster. > > BTW is there a USB team in FreeBSD ? > I don't know how helpful it is, but I recently came across the "FreeBSD USB homepage": http://www.etla.net/~n_hibma/usb/usb.pl Karel. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: usb device driver skeleton?
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of David Rio > Sent: Wednesday, 26 March 2003 6:37 PM > To: taxman > Cc: [EMAIL PROTECTED] > 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: > > > http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbo > ok/usb.html > > 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 > drivers. > 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 goals faster. BTW is there a USB team in FreeBSD ? Regards, Kat. --- 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 ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
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: > http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/usb.html 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 drivers. I would like to write a real usb char device driver. ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: usb device driver skeleton?
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. > 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: http://www.freebsd.org/doc/en_US.ISO8859-1/books/developers-handbook/usb.html 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, Good luck Tim ___ [EMAIL PROTECTED] mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
usb device driver skeleton?
Hi all: I want to port a linux device driver that I did to *BSD. I would 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. Thanks in advance... this list rocks. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message