> Also I forgot to mention that I was unable to use at91_udc with gadgetfs
> because gadgetfs' driver uses .speed = USB_SPEED_HIGH for probing
> controller name. at91_udc supports only USB_SPEED_FULL, so it seems that
> no one has tested this setup recently. The patch is trivial, as the real
> usb_gadget_driver structure deals with that:
> 
>  static struct usb_gadget_driver probe_driver = {
> +#ifdef CONFIG_USB_GADGET_DUALSPEED
>                .speed          = USB_SPEED_HIGH,
> +#else
> +              .speed          = USB_SPEED_FULL,
> +#endif
> 

IMHO, gadgetfs' .speed declares maximum supported speed that gadgetfs is 
able
to work with. Thus it's better to look at the at91_udc driver and
find it's probe function and change it to support gadgets that
supports at least USB_SPEED_FULL speed (USB_SPEED_FULL and higher).

> I can send it as a separate patch in the proper format to this mailing
> list if you wish. But I'd like to know first if it isn't just my
> misunderstanding of the code.

Milan



-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to