Hi,
> i have some questions about USB and LInux. For the first, which Linux
> version is the best for working with USB. On my machine there
> are 2.3.99 and
> 2.2.9. I know that 2.3.99 contains a lot more of USB devices.
The USB code in 2.2.9 is history. Don't bother with it
for driver development.
The 2.3.99 code (plus some patches) is the current code.
If you must do your development on 2.2, there is a backport
patch at www.suse.cz/development/usb-backport/ (2.3.50 backported
to 2.2.14). There are a few drivers that are not backported
to 2.2, like uss720 (parport) and usb-storage (maybe/yes/no).
I think that most of us just use 2.3.99/latest.
> What i am
> locking for, is a generic usb device driver, which only
> supports 3 endpoint.
> One for configuration, one for IN and one for OUT. This
> should enable me to
> adapt it for my own.
Is your device Bulk IN and Bulk OUT?
scanner.c, printer.c (for bidirectional printers),
acm.c (modem), dc2xx.c (camera), uss720 (printer/cable),
mdc800.c (camera), pegasus.c (network), plusb.c (network),
rio500.c (MP3 player)
all use one Bulk IN and one Bulk OUT endpoint.
For isoc IN + isoc OUT, you need to see audio.c,
although it uses much more than simply one isoc pipe in each
direction.
Hum, I began on a document that describes driver-required
endpoints for devices a few months ago, but didn't really
get very far with it. Maybe it would still be helpful.
> Does the linux uhci driver enumerate the bus on its own (i think so)?
Actually the hub driver (part of usbcore) does bus enumeration
regardless of which host controller driver is used, but the
host controller driver must also be present.
> If you are in germany, it would be nice if i could get a
> telephone number and a name.
>
> Thanks, in advance
> Roman Jordan
~Randy
___________________________________________________
|Randy Dunlap Intel Corp., DAL Sr. SW Engr.|
|randy.dunlap.at.intel.com 503-696-2055|
|NOTE: Any views presented here are mine alone |
|and may not represent the views of my employer. |
|_________________________________________________|
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]