[ECOS] USB slave device sample code in C

Bart Veer bartv@redhat.com
Fri Apr 5 03:25:00 GMT 2002


>>>>> "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



More information about the Ecos-discuss mailing list