[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: USB slave



Ok, I'm reading some specification and code of linux-2.4 usb-gadget 
support...I noticed that i must have a USB device controller (such as 
NetChip-2280 or Toshiba-TC86C001) connected to PCI bus.

http://www.linux-usb.org/gadget/

The "gadget-zero" driver (a skeleton for usb gadget development) depends 
from CONFIG_PCI...so I think that without a PCI bus (and related usb 
device controller) we can't develop a kernel driver for this device.

Regards,
Simone

Jachym Holecek wrote:
>> May I use usbnet driver as usb device manager? Linux devices, such as 
>> Sharp Zaurus, and many others PDA (PXA2xx-based, etc.) use this driver 
>> to connect to another USB host.
> 
> Take a look at ${linux}/include/linux/usb_gadget.h -- "USB gadget API".
> You'll probably want to write a backed so that you can use slave device
> drivers from ${linux}/drivers/usb/gadget/.
> 
>> Is there someone that can help me to try/develop this?
> 
> Some of our clients were interested in using Etrax USB controller in
> device mode -- so if they decide they really want it, I may be able to
> help.
> 
> 	-- Jachym
> 
>