Alan Stern wrote: > On Sun, 26 Apr 2009, Martin Fuzzey wrote: > > >> I'm suspecting this is a problem on the ATNGW100 side. Is there a way to >> force it to negotiate as full speed only so I can verify this with my PC >> rather than the MX21? >> > > If you have a normal EHCI controller on your PC (i.e., no integrated > TT), then you can do this via sysfs: > > echo P >/sys/class/usb_host/usb_hostB/companion > > where P is the port number and B is the bus number of the EHCI > controller. This will force any device attached to port P to be handed > over to the companion controller, causing it to run at full speed. > Thank you for pointing this out. However I can't get it to work :( Relevant parts of /proc/bus/usb/devices : T: Bus=05 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 8 B: Alloc= 0/800 us ( 0%), #Int= 0, #Iso= 0 D: Ver= 2.00 Cls=09(hub ) Sub=00 Prot=01 MxPS=64 #Cfgs= 1 P: Vendor=0000 ProdID=0000 Rev= 2.06 S: Manufacturer=Linux 2.6.24-23-generic ehci_hcd S: Product=EHCI Host Controller S: SerialNumber=0000:00:1d.7 C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr= 0mA I:* If#= 0 Alt= 0 #EPs= 1 Cls=09(hub ) Sub=00 Prot=00 Driver=hub E: Ad=81(I) Atr=03(Int.) MxPS= 4 Ivl=256ms T: Bus=05 Lev=01 Prnt=01 Port=03 Cnt=02 Dev#= 8 Spd=480 MxCh= 0 D: Ver= 2.00 Cls=ff(vend.) Sub=00 Prot=00 MxPS=64 #Cfgs= 2 P: Vendor=0525 ProdID=a4a0 Rev= 2.18 S: Manufacturer=Linux 2.6.30-rc3 with atmel_usba_udc S: Product=Gadget Zero S: SerialNumber=0123456789.0123456789.0123456789 C:* #Ifs= 1 Cfg#= 3 Atr=c0 MxPwr= 2mA I:* If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=usbtest E: Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms E: Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms C: #Ifs= 1 Cfg#= 2 Atr=c0 MxPwr= 2mA I: If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver= E: Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms E: Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms When I do echo 3 > /sys/class/usb_host/usb_host5/companion It's still high speed (even if I disconnect and reconnect it). Maybe I need a newer kernel on the PC? (this is a stock Ubuntu 8.04 kernel) However I can run usbtest from the PC at high speed and test 14 still fails in the same way as it does with the i.MX21 (I just wanted to force full speed to be in the same case and be able to use my full speed only Beagle) udc: ep0: TXCOMP: Invalid endpoint state 2, halting endpoint... I've updated the atngw100 to 2.6.30rc3, no difference. Regards, Martin -- To unsubscribe from this list: send the line "unsubscribe linux-usb" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html