[imx28] connecting usb hub in Linux

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

[imx28] connecting usb hub in Linux

3,631 Views
randalsteve
Contributor II

Hello

I'am running Linux 3.11 on imx28(board TX28 from KARO) when I connected usb hub to usb host it seems to be detected properly:

usb 1-1: new high-speed USB device number 17 using ci_hdrc

ci_hdrc ci_hdrc.0: port 1 reset complete, port enabled

ci_hdrc ci_hdrc.0: GetStatus port:1 status 18001205 12  ACK POWER sig=se0 LPM PE CONNECT

usb 1-1: udev 17, busnum 1, minor = 16

usb 1-1: New USB device found, idVendor=04b4, idProduct=6560

usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0

usb 1-1: usb_probe_device

usb 1-1: configuration #1 chosen from 1 choice

usb 1-1: adding 1-1:1.0 (config #1, interface 0)

hub 1-1:1.0: usb_probe_interface

hub 1-1:1.0: usb_probe_interface - got id

hub 1-1:1.0: USB hub found

hub 1-1:1.0: 4 ports detected

But when i connect something to the hub i got:

ci_hdrc ci_hdrc.0: port 1 remote wakeup

usb usb1: usb wakeup-resume

usb usb1: usb auto-resume

ci_hdrc ci_hdrc.0: resume root hub

hub 1-0:1.0: hub_resume

hub 1-0:1.0: port 1: status 0507 change 0000

hub 1-0:1.0: state 7 ports 1 chg 0000 evt 0000

ci_hdrc ci_hdrc.0: GetStatus port:1 status 18001a85 12  ACK POWER sig=j LPM SUSPEND PE CONNECT

usb 1-1: usb wakeup-resume

usb 1-1: usb auto-resume

hub 1-0:1.0: port 1 status 0000.0507 after resume, -19

usb 1-1: can't resume, status -19

hub 1-0:1.0: logical disconnect on port 1

hub 1-0:1.0: resume on port 1, status -19

hub 1-0:1.0: port 1, status 0507, change 0004, 480 Mb/s

usb 1-1: USB disconnect, device number 17

usb 1-1: unregistering device

usb 1-1: unregistering interface 1-1:1.0

usb 1-1: usb_disable_device nuking all URBs

ci_hdrc ci_hdrc.0: port 1 reset error -110

ci_hdrc ci_hdrc.0: port 1 reset error -110

ci_hdrc ci_hdrc.0: port 1 reset error -110

ci_hdrc ci_hdrc.0: port 1 reset error -110

ci_hdrc ci_hdrc.0: port 1 reset error -110

hub 1-0:1.0: hub_port_status failed (err = -32)

hub 1-0:1.0: port_wait_reset: err = -32

hub 1-0:1.0: port 1 not enabled, trying reset again...

ci_hdrc ci_hdrc.0: port 1 reset error -110

ci_hdrc ci_hdrc.0: port 1 reset error -110

ci_hdrc ci_hdrc.0: port 1 reset error -110

ci_hdrc ci_hdrc.0: port 1 reset error -110

ci_hdrc ci_hdrc.0: port 1 reset error -110

hub 1-0:1.0: hub_port_status failed (err = -32)

hub 1-0:1.0: port_wait_reset: err = -32

hub 1-0:1.0: port 1 not enabled, trying reset again...

ci_hdrc ci_hdrc.0: port 1 reset error -110

ci_hdrc ci_hdrc.0: port 1 reset error -110

ci_hdrc ci_hdrc.0: port 1 reset error -110

ci_hdrc ci_hdrc.0: port 1 reset error -110

ci_hdrc ci_hdrc.0: port 1 reset error -110

hub 1-0:1.0: hub_port_status failed (err = -32)

hub 1-0:1.0: port_wait_reset: err = -32

hub 1-0:1.0: port 1 not enabled, trying reset again...

ci_hdrc ci_hdrc.0: port 1 reset error -110

ci_hdrc ci_hdrc.0: port 1 reset error -110

ci_hdrc ci_hdrc.0: port 1 reset error -110

ci_hdrc ci_hdrc.0: port 1 reset error -110

ci_hdrc ci_hdrc.0: port 1 reset error -110

hub 1-0:1.0: hub_port_status failed (err = -32)

hub 1-0:1.0: port_wait_reset: err = -32

hub 1-0:1.0: port 1 not enabled, trying reset again...

ci_hdrc ci_hdrc.0: port 1 reset error -110

ci_hdrc ci_hdrc.0: port 1 reset error -110

ci_hdrc ci_hdrc.0: port 1 reset error -110

ci_hdrc ci_hdrc.0: port 1 reset error -110

ci_hdrc ci_hdrc.0: port 1 reset error -110

hub 1-0:1.0: hub_port_status failed (err = -32)

hub 1-0:1.0: port_wait_reset: err = -32

I found similar not resloved issue here Problem connecting USB 2.0HUB to i.MX28 custom board.

I reached to Linux ReleaseNotes.txt on KARO BSP and there is a note:

  Known bugs:

    /.../

    - USB: devices connected to a HUB only work, if the HUB is

        connected to the USB port with all devices attached

I checked kernel version 3.18 and the problem seems not resolved. I have two questions regarding this situation:

1.(the most important) Does anyone have a solution for this

2.(less important) What is the reason? Hardware or software?

Thanks in advance for Your answers.

Labels (2)
Tags (4)
3 Replies

1,931 Views
fabio_estevam
NXP Employee
NXP Employee

I know this is an old thread, but just faced this problem today.

Passing 'usbcore.autosuspend=-1' into the kernel command line solved the issue for me.

Regards,

Fabio Estevam

1,931 Views
ivaylotsenkov
Contributor I

Thanks,

that helped me with LS1021A IoT board!

0 Kudos
Reply

1,931 Views
igorpadykov
NXP Employee
NXP Employee

Hi randalsteve

according to answer on that link, mx23-olinuxino board has a

smsc usb hub and it works fine, so seems this is specifc BSP bug,

suggest to post that on Karo forum.

Best regards

igor

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 Kudos
Reply