Hi, I am having problems with the 3.6 musb kernel driver. I am running testusb.c and test.sh to try and diagnose where the problem may live. Here are the outputs from the 'unlink' and 'control' tests. Host setup: 3.6.5-rt14-deka #1 PREEMPT RT Tue Nov 27 14:23:32 EST 2012 armv7l armv7l armv7l GNU/Linux This is on a TI AM3894 platform which is equivalent to a TI8168 without the DSP. The board support isn't mainlined, but there is nothing particularly exotic about the changes. It is primarily device drivers and device driver data. Cortex-A8 platform Gadget setup: 3.2.12-rt22+ #49 PREEMPT RT Thu Jan 17 13:58:22 EST 2013 armv7l armv7l armv7l GNU/Linux Beagleboard-Xm being used as Gadget Zero. Control Host: # ./testusb -D /dev/bus/usb/001/002 -t10 unknown speed /dev/bus/usb/001/002 /dev/bus/usb/001/002 test 10, 15.356203 secs Syslog: [ 1629.629791] usbtest 1-1:3.0: TEST 10: queue 32 control calls, 1000 times kernel: [ 1632.028442] hub 2-0:1.0: hub_suspend kernel: [ 1632.028472] usb usb2: bus auto-suspend, wakeup 1 Gadget: [88994.651000] musb_g_ep0_irq 805: SETUP packet len 10 != 8 ? Unlink Host: # test.sh unlink testing ALL recognized usbtest devices TESTING: unlink Tue Mar 20 19:50:15 UTC 2012 test 11: 2000 read unlinks [ 1414.478607] usbtest 1-1:3.0: unlink reads failed -1121, iterations left 1998 /dev/bus/usb/001/002 test 11 --> 1121 (error 1121) /dev/bus/usb/001/002 test 11 --> 2121 (error 2121) test 12: 2000 write unlinks /dev/bus/usb/001/002 test 12, 79.988350 sec Syslog: kernel: [ 1414.430267] usbtest 1-1:3.0: TEST 11: unlink 2000 reads of 2048 kernel: [ 1414.478607] usbtest 1-1:3.0: unlink reads failed -1121, iterations left 1998 kernel: [ 1414.492187] usbtest 1-1:3.0: TEST 12: unlink 2000 writes of 2048 kernel: [ 1417.038452] hub 2-0:1.0: hub_suspend kernel: [ 1417.038513] usb usb2: bus auto-suspend, wakeup 1 # cat /sys/kernel/debug/usb/devices T: Bus=02 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 1 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=1d6b ProdID=0002 Rev= 3.06 S: Manufacturer=Linux 3.6.5-rt14-deka musb-hcd S: Product=MUSB HDRC host driver S: SerialNumber=musb-hdrc.1 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=01 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#= 1 Spd=480 MxCh= 1 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=1d6b ProdID=0002 Rev= 3.06 S: Manufacturer=Linux 3.6.5-rt14-deka musb-hcd S: Product=MUSB HDRC host driver S: SerialNumber=musb-hdrc.0 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=01 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 2 Spd=12 MxCh= 0 D: Ver= 2.00 Cls=ff(vend.) Sub=00 Prot=00 MxPS=64 #Cfgs= 2 P: Vendor=0525 ProdID=a4a0 Rev= 2.16 S: Manufacturer=Linux 3.2.12-rt22+ with musb-hdrc S: Product=Gadget Zero S: SerialNumber=0123456789.0123456789.0123456789 C:* #Ifs= 1 Cfg#= 3 Atr=e0 MxPwr= 2mA I:* If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver=usbtest E: Ad=01(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms E: Ad=81(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms C: #Ifs= 1 Cfg#= 2 Atr=e0 MxPwr= 2mA I: If#= 0 Alt= 0 #EPs= 2 Cls=ff(vend.) Sub=00 Prot=00 Driver= E: Ad=01(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms E: Ad=81(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms -DISCLAIMER: an automatically appended disclaimer may follow. By posting- -to a public e-mail mailing list I hereby grant permission to distribute- -and copy this message.- This e-mail and the information, including any attachments, it contains are intended to be a confidential communication only to the person or entity to whom it is addressed and may contain information that is privileged. If the reader of this message is not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please immediately notify the sender and destroy the original message. Thank you. Please consider the environment before printing this email. -- 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