Quantcast
Channel: Processors forum - Recent Threads
Viewing all articles
Browse latest Browse all 17527

USB gadget enumeration failing

$
0
0

Hi I'm having trouble getting any usb gadgets to enumerate properly to the HOST computer, the pc just comes up with Unknown device.

Using linux-2.6.37-psp03.21.00.04  

When loading the g_serial device and with the musb-hdrc debug turned on (I can't see how to turn on the da8xx module debug or g_serial)I see the following 

#modprobe g_serial use_acm=1 idVendor=0x525 idProduct=0xa4a7 iManufacturer=Diagnosys iProduct=DCP_USB

usb_gadget_probe_driver 1752: registering driver g_serial
g_serial gadget: Gadget Serial v2.4
g_serial gadget: g_serial ready
musb_start 968: <== devctl 80

and then when I connect the usb cable
# da8xx_musb_interrupt 456: USB IRQ 00010000
musb_interrupt 1608: ** IRQ peripheral usb0001 tx0000 rx0000
musb_stage0_irq 496: <== Power=e0, DevCtl=99, int_usb=0x1
musb_stage0_irq 686: SUSPEND (b_idle) devctl 99 power e0
da8xx_musb_interrupt 456: USB IRQ 00040000
musb_interrupt 1608: ** IRQ peripheral usb0004 tx0000 rx0000
musb_stage0_irq 496: <== Power=f0, DevCtl=99, int_usb=0x4
musb_stage0_irq 867: BUS RESET as b_idle
musb_g_reset 2048: <== B-Device addr=0 driver 'g_serial'
da8xx_musb_interrupt 456: USB IRQ 000c0000
musb_interrupt 1608: ** IRQ peripheral usb000c tx0000 rx0000
musb_stage0_irq 496: <== Power=f0, DevCtl=99, int_usb=0xc
musb_stage0_irq 867: BUS RESET as b_peripheral
musb_g_reset 2048: <== B-Device addr=0 driver 'g_serial'
musb_g_disconnect 1994: devctl 99
da8xx_musb_interrupt 456: USB IRQ 000c0000
musb_interrupt 1608: ** IRQ peripheral usb000c tx0000 rx0000
musb_stage0_irq 496: <== Power=f0, DevCtl=99, int_usb=0xc
musb_stage0_irq 867: BUS RESET as b_peripheral
musb_g_reset 2048: <== B-Device addr=0 driver 'g_serial'
musb_g_disconnect 1994: devctl 99
da8xx_musb_interrupt 456: USB IRQ 00090000
musb_interrupt 1608: ** IRQ peripheral usb0009 tx0000 rx0000
musb_stage0_irq 496: <== Power=f0, DevCtl=99, int_usb=0x9
musb_stage0_irq 686: SUSPEND (b_peripheral) devctl 99 power f0
musb_g_suspend 1958: devctl 99


Viewing all articles
Browse latest Browse all 17527

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>