This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Re: USB slave device sample code in C
- From: Bart Veer <bartv at redhat dot com>
- To: charles-henri at bluewin dot ch
- Cc: ecos-discuss at sources dot redhat dot com
- Date: Fri, 5 Apr 2002 12:25:31 +0100
- Subject: Re: [ECOS] USB slave device sample code in C
- References: <021b01c1dc04$74f50880$0401a8c0@CHARLESHENRI>
- Reply-to: bartv at redhat dot com
>>>>> "Charles-Henri" == Charles-Henri Balet <charles-henri@bluewin.ch> writes:
Charles-Henri> I have porting the sa110x usb driver on an oki
Charles-Henri> board and want now to write the C code for use this
Charles-Henri> driver, any has an usb sample for init and use the
Charles-Henri> usb slave device on C langage ? many thanks for
Charles-Henri> your help balet charles-henri
I suggest looking at the USB-ethernet package
(io/usb/eth/slave/current in the anoncvs tree, documentation at
http://sources.redhat.com/ecos/docs-latest/usb/eth/slave/io-usb-slave-eth.html
The USB-ethernet code was developed in conjunction with the SA1110 USB
driver.
Also make sure you read the caution at the top of the SA1110 USB
driver documentation
http://sources.redhat.com/ecos/docs-latest/usb/sa11x0/devs-usb-sa11x0.html
I do not know what your intended application is, but the SA1110 USB
hardware may not be up to it. The current driver manages to work
around many of the hardware problems, but not all.
Bart
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss