[U-Boot-Users] usb ohci issue

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

In message A4C6FC160E79CE418F09D45C555A44795F4363@cnsuzexmbpf1.spansion.com you wrote:
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!
And which architecture / processor is this, and which USB controller?
------_=_NextPart_001_01C845D0.54B7F300 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
Never, never ever post HTML here!
Best regards,
Wolfgang Denk

Hi Wolfgang,
CPU is OMAP2420. USB host controller is integrated in this CPU.
Thanks & Best Regards, Steven
-----Original Message----- From: wd@denx.de [mailto:wd@denx.de] Sent: 2007年12月24日 16:54 To: Wang, Steven Cc: u-boot-users@lists.sourceforge.net Subject: Re: [U-Boot-Users] usb ohci issue
In message A4C6FC160E79CE418F09D45C555A44795F4363@cnsuzexmbpf1.spansion.com you wrote:
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!
And which architecture / processor is this, and which USB controller?
------_=_NextPart_001_01C845D0.54B7F300 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
Never, never ever post HTML here!
Best regards,
Wolfgang Denk

Do you usb CONFIG_USB_OHCI_NEW? Do you try to add "#define CFG_OHCI_SWAP_REG_ACCESS 1" to your config file?
Cheers! Wei
-----Original Message----- From: u-boot-users-bounces@lists.sourceforge.net [mailto:u-boot-users-bounces@lists.sourceforge.net] On Behalf Of Wang, Steven Sent: Monday, December 24, 2007 4:58 PM To: wd@denx.de Cc: u-boot-users@lists.sourceforge.net Subject: Re: [U-Boot-Users] usb ohci issue
Hi Wolfgang,
CPU is OMAP2420. USB host controller is integrated in this CPU.
Thanks & Best Regards, Steven
-----Original Message----- From: wd@denx.de [mailto:wd@denx.de] Sent: 2007年12月24日 16:54 To: Wang, Steven Cc: u-boot-users@lists.sourceforge.net Subject: Re: [U-Boot-Users] usb ohci issue
In message <A4C6FC160E79CE418F09D45C555A44795F4363@cnsuzexmbpf1.spansion.
com> you wrote:
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!
And which architecture / processor is this, and which USB controller?
------_=_NextPart_001_01C845D0.54B7F300 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
Never, never ever post HTML here!
Best regards,
Wolfgang Denk
-- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de If in any problem you find yourself doing an immense amount of work, the answer can be obtained by simple inspection.

Yes, I define CONFIG_USB_OHCI_NEW in my config file. My usb controller is not PCI controller. So, I did not define CONFIG_USB_OHCI_NEW.
Thanks & Best Regards, Steven
-----Original Message----- From: Zhang Wei [mailto:Wei.Zhang@freescale.com] Sent: 2008年1月2日 17:41 To: Wang, Steven; wd@denx.de Cc: u-boot-users@lists.sourceforge.net Subject: RE: [U-Boot-Users] usb ohci issue
Do you usb CONFIG_USB_OHCI_NEW? Do you try to add "#define CFG_OHCI_SWAP_REG_ACCESS 1" to your config file?
Cheers! Wei
-----Original Message----- From: u-boot-users-bounces@lists.sourceforge.net [mailto:u-boot-users-bounces@lists.sourceforge.net] On Behalf Of Wang, Steven Sent: Monday, December 24, 2007 4:58 PM To: wd@denx.de Cc: u-boot-users@lists.sourceforge.net Subject: Re: [U-Boot-Users] usb ohci issue
Hi Wolfgang,
CPU is OMAP2420. USB host controller is integrated in this CPU.
Thanks & Best Regards, Steven
-----Original Message----- From: wd@denx.de [mailto:wd@denx.de] Sent: 2007年12月24日 16:54 To: Wang, Steven Cc: u-boot-users@lists.sourceforge.net Subject: Re: [U-Boot-Users] usb ohci issue
In message <A4C6FC160E79CE418F09D45C555A44795F4363@cnsuzexmbpf1.spansion.
com> you wrote:
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!
And which architecture / processor is this, and which USB controller?
------_=_NextPart_001_01C845D0.54B7F300 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
Never, never ever post HTML here!
Best regards,
Wolfgang Denk
-- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd@denx.de If in any problem you find yourself doing an immense amount of work, the answer can be obtained by simple inspection.

CONFIG_USB_OHCI_NEW is not only for PCI USB controller. The interrupt transaction support is added into OHCI_NEW driver. If you want to enable USB keyboard support, you should use OHCI_NEW driver. If your controller need swap register, please add "#define CFG_OHCI_SWAP_REG_ACCESS 1".
Cheers! Wei.
-----Original Message----- From: Wang, Steven [mailto:Steven.Wang@spansion.com] Sent: Thursday, January 03, 2008 1:40 PM To: Zhang Wei; wd@denx.de Cc: u-boot-users@lists.sourceforge.net Subject: RE: [U-Boot-Users] usb ohci issue
Yes, I define CONFIG_USB_OHCI_NEW in my config file. My usb controller is not PCI controller. So, I did not define CONFIG_USB_OHCI_NEW.
Thanks & Best Regards, Steven
-----Original Message----- From: Zhang Wei [mailto:Wei.Zhang@freescale.com] Sent: 2008年1月2日 17:41 To: Wang, Steven; wd@denx.de Cc: u-boot-users@lists.sourceforge.net Subject: RE: [U-Boot-Users] usb ohci issue
Do you usb CONFIG_USB_OHCI_NEW? Do you try to add "#define CFG_OHCI_SWAP_REG_ACCESS 1" to your config file?
Cheers! Wei
-----Original Message----- From: u-boot-users-bounces@lists.sourceforge.net [mailto:u-boot-users-bounces@lists.sourceforge.net] On Behalf Of Wang, Steven Sent: Monday, December 24, 2007 4:58 PM To: wd@denx.de Cc: u-boot-users@lists.sourceforge.net Subject: Re: [U-Boot-Users] usb ohci issue
Hi Wolfgang,
CPU is OMAP2420. USB host controller is integrated in this CPU.
Thanks & Best Regards, Steven
-----Original Message----- From: wd@denx.de [mailto:wd@denx.de] Sent: 2007年12月24日 16:54 To: Wang, Steven Cc: u-boot-users@lists.sourceforge.net Subject: Re: [U-Boot-Users] usb ohci issue
In message <A4C6FC160E79CE418F09D45C555A44795F4363@cnsuzexmbpf1.spansion.
com> you wrote:
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!
And which architecture / processor is this, and which USB
controller?
------_=_NextPart_001_01C845D0.54B7F300 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable
Never, never ever post HTML here!
Best regards,
Wolfgang Denk
-- DENX Software Engineering GmbH, MD: Wolfgang Denk &
Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194
Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email:
wd@denx.de
If in any problem you find yourself doing an immense amount
of work,
the answer can be obtained by simple inspection.
participants (3)
-
Wang, Steven
-
Wolfgang Denk
-
Zhang Wei