I forgot - this is a MIPS and: Andre' Draszik wrote: > I already tried letting the driver have its own (*urb_enqueue)() > function, where it would swap the data and call ohci_urb_enqueue() > afterwards, but somehow this doesn't work. Any idea what might be wrong? > As implementing an usbmon for enqueuing wouldn't be much different from > a codeflow point of view, I fear it won't work, too. > > [4294677.915000] usb 1-1: new full speed USB device using soc-ohci and > address 2 > [4294677.916000] drivers/usb/host/ohci-dbg.c: SUB 819f4218 dev=0 > ep=0in-ctrl flags=10 len=0/64 stat=-150 > [4294677.919000] soc-ohci soc-ohci.0: ed_schedule()->PIPE_CONROL > [4294677.927000] ohci-hcd irq > [4294678.130000] ohci-hcd irq > [4294678.130000] soc-ohci soc-ohci.0: urb 819f4218 td a1312040 (2) cc 4, > len=0/64 > [4294678.130000] drivers/usb/host/ohci-dbg.c: RET 819f4218 dev=0 > ep=0in-ctrl flags=10 len=0/64 stat=-32 > [4294678.130000] drivers/usb/host/ohci-dbg.c: setup(8): 01 00 06 80 00 > 40 00 00 > [4294678.130000] drivers/usb/host/ohci-dbg.c: data(0/64): stat:-32
if the byte swapping code is in usb_fill_control_urb(), there's no timeout and device recognition works. I have no idea... [4294670.671000] usb 1-1: new full speed USB device using soc-ohci and address 2 [4294670.672000] drivers/usb/host/ohci-dbg.c: SUB 8195b284 dev=0 ep=0in-ctrl flags=10 len=0/64 stat=-150 [4294670.674000] soc-ohci soc-ohci.0: ed_schedule()->PIPE_CONROL [4294670.677000] ohci-hcd irq [4294670.677000] drivers/usb/host/ohci-dbg.c: RET 8195b284 dev=0 ep=0in-ctrl flags=10 len=8/64 stat=0 [4294670.677000] drivers/usb/host/ohci-dbg.c: setup(8): 01 00 06 80 00 40 00 00 [4294670.677000] drivers/usb/host/ohci-dbg.c: data(8/64): 12 01 10 01 00 00 00 08 stat:0 Andre' ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&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