Hi All,
I am porting the usb ohci host/kbd SW under uboot-1.3.0. I am cannot
make usb keyboard work, the following is the
log. Please give me
some suggestion. Thanks in advance!
Best regards,
Steven
usb_control_msg: request:
0x0, requesttype: 0xA3
value 0x0 index 0x1 length
0x4
INFO: submit_control_msg
DEBUG: SUB URB:[ f19] dev:
1,ep: 0-I,type:CTRL,len:0/4 stat:0x80000000
DEBUG: SUB(rh) URB:[ f1f]
dev: 1,ep: 0-I,type:CTRL,len:0/4 stat:0x80000000
INFO: Root-Hub: adr: 1
cmd(8): 000000a3 0000 0001 0004
DEBUG: roothub.a: 0a001203
POTPGT=10 NOCP NPS NDP=3
DEBUG: roothub.b: 00000000
PPCM=0000 DR=0000
DEBUG: roothub.status:
00000000
DEBUG: roothub.portstatus
[0] = 0x00100303 PRSC LSDA PPS PES CCS
DEBUG: RET(rh) URB:[ f44] dev:
1,ep: 0-I,type:CTRL,len:0/4 stat:0x0
usb_ohci.c: cmd(8): a3 00 00
00 01 00 04 00
usb_ohci.c: data(0/4):
portstatus 303, change 10,
Low Speed
STAT_C_CONNECTION = 0
STAT_CONNECTION = 1 USB_PORT_STAT_ENABLE 1
usb_control_msg: request:
0x1, requesttype: 0x23
value 0x14 index 0x1 length
0x0
INFO: submit_control_msg
DEBUG: SUB URB:[ fae] dev:
1,ep: 0-O,type:CTRL,len:0/0 stat:0x80000000
usb_ohci.c: cmd(8): 23 01 14
00 01 00 00 00
DEBUG: SUB(rh) URB:[ fb8]
dev: 1,ep: 0-O,type:CTRL,len:0/0 stat:0x80000000
usb_ohci.c: cmd(8): 23 01 14
00 01 00 00 00
INFO: Root-Hub: adr: 1
cmd(8): 00000123 0014 0001 0000
INFO: WR:portstatus[0]
0x100000
DEBUG: roothub.a: 0a001203
POTPGT=10 NOCP NPS NDP=3
DEBUG: roothub.b: 00000000
PPCM=0000 DR=0000
DEBUG: roothub.status:
00000000
DEBUG: roothub.portstatus
[0] = 0x00000303 LSDA PPS PES CCS
DEBUG: RET(rh) URB:[ fe4]
dev: 1,ep: 0-O,type:CTRL,len:0/0 stat:0x0
usb_ohci.c: cmd(8): 23 01 14
00 01 00 00 00
New Device 1
usb_control_msg: request:
0x6, requesttype: 0x80
value 0x100 index 0x0 length
0x40
INFO: submit_control_msg
DEBUG: SUB URB:[1108] dev:
0,ep: 0-I,type:CTRL,len:0/64 stat:0x80000000
DEBUG: SUB URB:[113f] dev:
0,ep: 0-I,type:CTRL,len:0/64 stat:0x80000000
DEBUG: %
DEBUG:
***************************************USB-error/status: 5 : 800cf300
DEBUG: ConditionCode 0x5
DEBUG: RET(ctlr) URB:[1187]
dev: 0,ep: 0-I,type:CTRL,len:0/64 stat:0x20
usb_new_device: 64 byte
descr
usb_control_msg: request:
0x6, requesttype: 0x80
value 0x100 index 0x0 length
0x40
INFO: submit_control_msg
DEBUG: SUB URB:[11f6] dev:
0,ep: 0-I,type:CTRL,len:0/64 stat:0x80000000
DEBUG: SUB URB:[122d] dev:
0,ep: 0-I,type:CTRL,len:0/64 stat:0x80000000
DEBUG: hc_interrupt:
returning..
DEBUG: %
DEBUG:
******************************USB-error/status: 5 : 800cf3c0
DEBUG: ConditionCode 0x5
DEBUG: RET(ctlr) URB:[1278]
dev: 0,ep: 0-I,type:CTRL,len:0/64 stat:0x20
usb_new_device: 64 byte
descr
usb_control_msg: request:
0x6, requesttype: 0x80
value 0x100 index 0x0 length
0x40
INFO: submit_control_msg
DEBUG: SUB URB:[12e7] dev:
0,ep: 0-I,type:CTRL,len:0/64 stat:0x80000000
DEBUG: SUB URB:[131e] dev:
0,ep: 0-I,type:CTRL,len:0/64 stat:0x80000000
DEBUG: hc_interrupt:
returning..
DEBUG: %
DEBUG:
************************USB-error/status: 5 : 800cf380
DEBUG: ConditionCode 0x5
DEBUG: RET(ctlr) URB:[1369]
dev: 0,ep: 0-I,type:CTRL,len:0/64 stat:0x20
usb_new_device: 64 byte
descr
hub_port_reset: resetting
port 0...
usb_control_msg: request:
0x3, requesttype: 0x23
value 0x4 index 0x1 length
0x0
INFO: submit_control_msg
DEBUG: SUB URB:[146f] dev:
1,ep: 0-O,type:CTRL,len:0/0 stat:0x80000000
usb_ohci.c: cmd(8): 23 03 04
00 01 00 00 00
DEBUG: SUB(rh) URB:[1479]
dev: 1,ep: 0-O,type:CTRL,len:0/0 stat:0x80000000
usb_ohci.c: cmd(8): 23 03 04
00 01 00 00 00
INFO: Root-Hub: adr: 1
cmd(8): 00000323 0004 0001 0000
INFO:
WR:portstatus[0] 0x10
DEBUG: roothub.a: 0a001203
POTPGT=10 NOCP NPS NDP=3
DEBUG: roothub.b: 00000000
PPCM=0000 DR=0000
DEBUG: roothub.status:
00000000
DEBUG: roothub.portstatus
[0] = 0x00100303 PRSC LSDA PPS PES CCS
DEBUG: RET(rh) URB:[14a5]
dev: 1,ep: 0-O,type:CTRL,len:0/0 stat:0x0
usb_ohci.c: cmd(8): 23 03 04
00 01 00 00 00
usb_control_msg: request:
0x0, requesttype: 0xA3
value 0x0 index 0x1 length
0x4
INFO: submit_control_msg
DEBUG: SUB URB:[15c8] dev:
1,ep: 0-I,type:CTRL,len:0/4 stat:0x80000000
DEBUG: SUB(rh) URB:[15ce]
dev: 1,ep: 0-I,type:CTRL,len:0/4 stat:0x80000000
INFO: Root-Hub: adr: 1
cmd(8): 000000a3 0000 0001 0004
DEBUG: roothub.a: 0a001203
POTPGT=10 NOCP NPS NDP=3
DEBUG: roothub.b: 00000000
PPCM=0000 DR=0000
DEBUG: roothub.status:
00000000
DEBUG: roothub.portstatus
[0] = 0x00100303 PRSC LSDA PPS PES CCS
DEBUG: RET(rh) URB:[15f3]
dev: 1,ep: 0-I,type:CTRL,len:0/4 stat:0x0
usb_ohci.c: cmd(8): a3 00 00
00 01 00 04 00
usb_ohci.c: data(0/4):
portstatus 303, change 10,
Low Speed
STAT_C_CONNECTION = 0
STAT_CONNECTION = 1 USB_PORT_STAT_ENABLE 1
usb_control_msg: request:
0x1, requesttype: 0x23
value 0x14 index 0x1 length
0x0
INFO: submit_control_msg
DEBUG: SUB URB:[165d] dev: 1,ep:
0-O,type:CTRL,len:0/0 stat:0x80000000
usb_ohci.c: cmd(8): 23 01 14
00 01 00 00 00
DEBUG: SUB(rh) URB:[1667]
dev: 1,ep: 0-O,type:CTRL,len:0/0 stat:0x80000000
usb_ohci.c: cmd(8): 23 01 14
00 01 00 00 00
INFO: Root-Hub: adr: 1
cmd(8): 00000123 0014 0001 0000
INFO: WR:portstatus[0]
0x100000
DEBUG: roothub.a: 0a001203
POTPGT=10 NOCP NPS NDP=3
DEBUG: roothub.b: 00000000
PPCM=0000 DR=0000
DEBUG: roothub.status:
00000000
DEBUG: roothub.portstatus
[0] = 0x00000303 LSDA PPS PES CCS
DEBUG: RET(rh) URB:[1693] dev:
1,ep: 0-O,type:CTRL,len:0/0 stat:0x0
usb_ohci.c: cmd(8): 23 01 14
00 01 00 00 00
set address 2
usb_control_msg: request:
0x5, requesttype: 0x0
value 0x2 index 0x0 length
0x0
INFO: submit_control_msg
DEBUG: SUB URB:[1706] dev:
0,ep: 0-O,type:CTRL,len:0/0 stat:0x80000000
usb_ohci.c: cmd(8): 00 05 02
00 00 00 00 00
ERROR:
submit_control_message: pipesize for pipe 84000000 is zero
USB device not accepting new address (error=80000000)
hub:
disabling port 1