usb host ohci
请教下
有人调试过linux usb ohci的程序吗?
有没有遇见如下问题:
当u盘接入,直到调用hub_port_init
hub_port_init 中 开始USB_REQ_GET_DESCRIPTOR成功
接着在调用hub_port_reset和hub_set_address都成功
但接着在USB_REQ_GET_DESCRIPTOR就出错
出错信息为:
s3c2410-ohci: urb c3cd5960 path 1 ep0in 5ec20000 cc5 -->status -110
s3c2410-ohci: urb c3cd5960 path 1 ep0in 5ec20000 cc5 -->status -11
usb 1-1: device descriptor read/all, error -110
如此循环几次后挂起 root hub
请问下有人知道是那方面出问题或检查那里的程序吗?
下面是一些调试打印消息:
usb 1-1: new full speed USB device using s3c2410-ohci and address 2
USB_REQ_GET_DESCRIPTOR
pipe==80000080!
hcd_submit_urb
ohci_urb_enqueue
s3c2410-ohci: urb c3cd5960 path 1 ep0in 020a0000 cc0 -->status 0
s3c2410-ohci: urb c3cd5960 path 1 ep0in 02d60000 cc0 -->status 0
s3c2410-ohci: urb c3cd5960 path 1 ep0in 03c20000 cc0 -->status 0
hub_port_reset
pipe==80000100!
hcd_submit_urb
s3c2410-ohci: s3c2440_hub_control(c3fb9c00,0x2303,0x0004,0x0001,c3f
c9dc0,0x0000
pipe==80000180!
hcd_submit_urb
s3c2410-ohci: s3c2440_hub_control(c3fb9c00,0xa300,0x0000,0x0001,c3f
c9da8,0x0004
s3c2410-ohci s3c2410-ohci: GetStatus roothub.portstatus [0] = 0x00100103 PRSC PP
S PES CCS
s3c2410-ohci: GetPortStatus(1)
pipe==80000100!
hcd_submit_urb
s3c2410-ohci s3c2410-ohci: s3c2440_hub_control(c3fb9c00,0x2301,0x0014,0x0001,c3f
c9dc0,0x0000<6>ClearPortFeature
hub_set_address
pipe==80000000!
s3c2410-ohci s3c2410-ohci: urb c3cd5960 path 1 ep0out 02120000 cc0 -->status 0
s3c2410-ohci s3c2410-ohci: urb c3cd5960 path 1 ep0out 03c20000 cc0 -->status 0
usb_get_device_descriptor
pipe==80000280!
hcd_submit_urb
s3c2410-ohci s3c2410-ohci: urb c3cd5960 path 1 ep0in 5ec20000 cc5 -->status -110
s3c2410-ohci s3c2410-ohci: urb c3cd5960 path 1 ep0in 5ec20000 cc5 -->status -110