- 论坛徽章:
- 0
|
本帖最后由 thzhr2009 于 2014-01-13 21:09 编辑
CPU:博通BCM5892
kernel:2.6.32
问题描述:otg驱动使用dwc_otg驱动模块,在加载了otg驱动:
insmod bcm589x-dwccom.ko
insmod bcm589x-otg.ko
后,usb host正常(插u盘可正常读取);usb device有问题,通过usb线(一头为miniusb,另一位usb口)连PC,可检测到硬件接入,但无法识别,显示“无法识别的USB设备”:用bus hound捕获到的插入pc时的数据如下:
Device Address Phase Data Description Delta Cmd.Phase.Ofs(rep) Date Time Driver
------ ------------------- ----- ------------------------ ---------------- ----- ------------------ ---------- ------------ ------------
11 IRP 06 00 90 01 00 00 00 00 92ms 1.1.0(90) 2014-01-13 16:32:51.453 hidclass
11.0 CTL 80 00 00 00 00 00 02 00 GET STATUS 8.0sc 91.1.0 2014-01-13 16:32:59.453 usbhub
11.0 IN 01 00 .. 25us 91.2.0 2014-01-13 16:32:59.453
11.0 URB 50 00 08 00 00 00 00 00 CONTROL TRANSFER 3us 91.3.0 2014-01-13 16:32:59.453
11 IRP 06 00 b4 01 00 00 00 00 2us 91.4.0 2014-01-13 16:32:59.453
16.0 CTL 80 00 00 00 00 00 02 00 GET STATUS 104us 92.1.0 2014-01-13 16:32:59.453 usbhub
11 IRP 06 00 b4 01 00 00 00 00 220us 93.1.0 2014-01-13 16:32:59.453 usbhub
16.0 IN 01 00 .. 5us 92.2.0 2014-01-13 16:32:59.453
16.0 URB 50 00 08 00 00 00 00 00 CONTROL TRANSFER 3us 92.3.0 2014-01-13 16:32:59.453
16 IRP 06 00 b4 01 00 00 00 00 2us 92.4.0 2014-01-13 16:32:59.453
11.0 CTL 80 00 00 00 00 00 02 00 GET STATUS 1.6sc 94.1.0 2014-01-13 16:33:01.078 usbhub
11.0 IN 01 00 .. 27us 94.2.0 2014-01-13 16:33:01.078
11.0 URB 50 00 08 00 00 00 00 00 CONTROL TRANSFER 3us 94.3.0 2014-01-13 16:33:01.078
11 IRP 06 00 b4 01 00 00 00 00 3us 94.4.0 2014-01-13 16:33:01.078
16.0 CTL 80 00 00 00 00 00 02 00 GET STATUS 53us 96.1.0 2014-01-13 16:33:01.078 usbhub
11 IRP 06 00 b4 01 00 00 00 00 218us 97.1.0 2014-01-13 16:33:01.078 usbhub
16.0 IN 01 00 .. 6us 96.2.0 2014-01-13 16:33:01.078
16.0 URB 50 00 08 00 00 00 00 00 CONTROL TRANSFER 3us 96.3.0 2014-01-13 16:33:01.078
16 IRP 06 00 b4 01 00 00 00 00 2us 96.4.0 2014-01-13 16:33:01.078
11 IRP 06 00 b4 01 00 00 00 00 55us 98.1.0(2) 2014-01-13 16:33:01.078 unknown
11.0 CTL 80 00 00 00 00 00 02 00 GET STATUS 1.3sc 100.1.0 2014-01-13 16:33:02.468 usbhub
11.0 IN 01 00 .. 28us 100.2.0 2014-01-13 16:33:02.468
11.0 URB 50 00 08 00 00 00 00 00 CONTROL TRANSFER 3us 100.3.0 2014-01-13 16:33:02.468
11 IRP 06 00 b4 01 00 00 00 00 2us 100.4.0 2014-01-13 16:33:02.468
16.0 CTL 80 00 00 00 00 00 02 00 GET STATUS 52us 101.1.0 2014-01-13 16:33:02.468 usbhub
11 IRP 06 00 b4 01 00 00 00 00 186us 102.1.0 2014-01-13 16:33:02.468 usbhub
16.0 IN 01 00 .. 5us 101.2.0 2014-01-13 16:33:02.468
16.0 URB 50 00 08 00 00 00 00 00 CONTROL TRANSFER 5us 101.3.0 2014-01-13 16:33:02.468
16 IRP 06 00 b4 01 00 00 00 00 2us 101.4.0 2014-01-13 16:33:02.468
11 IRP 06 00 90 01 00 00 00 00 62ms 103.1.0(323) 2014-01-13 16:33:02.531 hidclass
请问有没有做过otg驱动的朋友,指点下此问题。 |
|