Hi all,
I have the isp116x-hcd driver running on my ixp425 platform under kernel
2.6.14. The driver seems to be loading and initializing the USB HC
device properly. However as soon as a plug a mouse or any other similar
device i get " device descriptor read/64, error -32 " followed by "
device not accepting address 4, error -32" as i have enabled both old
and new device initialization schemes (hub.c:77 static int
use_both_schemes = 1; ).
The following is the output that i get after a device is plugged (i have
added indication of what interrupts are pending + PTD trace output) :
Irq: HCuPINT_SOF
Irq: HCINT_RHSC
Irq: HCuPINT_SOF
usb 1-1: new low speed USB device using isp116x-hcd and address 2
td: f 0s0 0,8,8 0 111
-> 80 06 00 01 00 00 40 00
Irq: HCuPINT_ATL
td: 0 0s0 8,8,8 1 011
-
td: f 0i0 0,40,8 1 111
Irq: HCuPINT_ATL
td: 4 0i0 0,40,8 0 011
-
td: f 0s0 0,8,8 0 111
-> 80 06 00 01 00 00 40 00
Irq: HCuPINT_ATL
td: 0 0s0 8,8,8 1 011
-
td: f 0i0 0,40,8 1 111
Irq: HCuPINT_ATL
td: 4 0i0 0,40,8 0 011
-
td: f 0s0 0,8,8 0 111
-> 80 06 00 01 00 00 40 00
Irq: HCuPINT_ATL
td: 0 0s0 8,8,8 1 011
-
td: f 0i0 0,40,8 1 111
Irq: HCuPINT_ATL
td: 4 0i0 0,40,8 0 011
Irq: HCuPINT_SOF
Irq: HCINT_RHSC
Irq: HCuPINT_SOF
usb 1-1: device descriptor read/64, error -32
Which is repeated 3 times followed by:
Irq: HCuPINT_SOF
Irq: HCINT_RHSC
Irq: HCuPINT_SOF
usb 1-1: new low speed USB device using isp116x-hcd and address 4
td: f 0s0 0,8,8 0 111
-> 00 05 04 00 00 00 00 00
Irq: HCuPINT_ATL
td: 0 0s0 8,8,8 1 011
-
td: f 0i0 0,0,8 1 111
Irq: HCuPINT_ATL
td: 4 0i0 0,0,8 0 011
-
td: f 0s0 0,8,8 0 111
-> 00 05 04 00 00 00 00 00
Irq: HCuPINT_ATL
td: 0 0s0 8,8,8 1 011
-
td: f 0i0 0,0,8 1 111
Irq: HCuPINT_ATL
td: 4 0i0 0,0,8 0 011
-
usb 1-1: device not accepting address 4, error -32
also retried a few times.....
The following is the init output for the device :
116x: driver isp116x-hcd, 05 Aug 2005
isp116x-hcd isp116x-hcd.0: ISP116x Host Controller
isp116x-hcd isp116x-hcd.0: new USB bus registered, assigned bus
number 1
isp116x-hcd isp116x-hcd.0: irq 20, io base 0x55000002
HCREVISION [00]: 00000010
HCCONTROL [01]: 00000480
HCCMDSTAT [02]: 00000000
HCINTSTAT [03]: 00000044
HCINTENB [04]: 80000058
HCFMINTVL [0d]: 27782edf
HCFMREM [0e]: 00000d2a
HCFMNUM [0f]: 00000012
HCLSTHRESH [11]: 00000628
HCRHDESCA [12]: 19000a01
HCRHDESCB [13]: 00060000
HCRHSTATUS [14]: 00008000
HCRHPORT1 [15]: 00080108
HCRHPORT2 [16]: 00080108
HCHWCFG [20]: 1809
HCDMACFG [21]: 0000
HCXFERCTR [22]: 0000
HCuPINT [24]: 0011
HCuPINTENB [25]: 0012
HCCHIPID [27]: 6123
HCSCRATCH [28]: 0000
HCITLBUFLEN [2a]: 0000
HCATLBUFLEN [2b]: 1000
HCBUFSTAT [2c]: 0000
HCRDITL0LEN [2d]: 0000
HCRDITL1LEN [2e]: 0000
Irq: HCuPINT_SOF
Irq: HCINT_RHSC
Irq: HCuPINT_SOF
usb usb1: Product: ISP116x Host Controller
usb usb1: Manufacturer: Linux 2.6.14-hsc0 isp116x-hcd
usb usb1: SerialNumber: isp116x-hcd.0
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 1 port detected
I am using ndelay currently hardcodded for 350 ns.
Any visible problems form what i have pasted (i dont quite understand
PTD yet) that could be causing the device attachment failures?
--Danny
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel