Re: [linux-usb-devel] at91_udc pullup and gadgetfs problems

2006-09-14 Thread Milan Svoboda
> Milan Svoboda napisa?(a): > > 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_SP

Re: [linux-usb-devel] at91_udc pullup and gadgetfs problems

2006-09-13 Thread Wojtek Kaniewski
Milan Svoboda napisa?(a): > 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 an

Re: [linux-usb-devel] at91_udc pullup and gadgetfs problems

2006-09-13 Thread Milan Svoboda
> 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_

Re: [linux-usb-devel] at91_udc pullup and gadgetfs problems

2006-09-13 Thread Wojtek Kaniewski
On Tue, 12 Sep 2006, David Brownell wrote: > > First of all, at91_udc activates the pullup in ..._register_driver(), > > so even if I don't load any gadget module, the host starts enumeration. > > I don't follow. If you (successfully) register a gadget driver > and don't usb_gadget_disconnect() i

Re: [linux-usb-devel] at91_udc pullup and gadgetfs problems

2006-09-12 Thread David Brownell
> First of all, at91_udc activates the pullup in ..._register_driver(), so > even if I don't load any gadget module, the host starts enumeration. I don't follow. If you (successfully) register a gadget driver and don't usb_gadget_disconnect() in the gadget driver bind() method, it's *required* to

[linux-usb-devel] at91_udc pullup and gadgetfs problems

2006-09-11 Thread Wojtek Kaniewski
I've been playing around with a AT91RM9200-based board for couple of days and I'm stuck with some problems regarding at91_udc and gadgetfs. First of all, at91_udc activates the pullup in ..._register_driver(), so even if I don't load any gadget module, the host starts enumeration. Obviously no dev