OTG issue with a USB3 device


rosietastic

Still Fresh
Joined
Sep 15, 2014
Messages
11
Hi all,
I am a long time lurker and a very proud owner of a Pyra.
I am trying to get a USB3 storage device (Samsung ssd) working with the Pyra using a USB OTG cable and cannot get it to work.
The device works when plugged directly into the Pyra USB2 port.
Also, it works fine using the same USB OTG cable on a Samsung Note3 (with a Phronesis Android Rom).

Syslog shows the following when I plug the OTG cable in to the Pyra with the device connected :

Jun 2 19:19:18 localhost kernel: [ 212.743506] xhci-hcd xhci-hcd.3.auto: xHCI Host Controller
Jun 2 19:19:18 localhost kernel: [ 212.750169] xhci-hcd xhci-hcd.3.auto: new USB bus registered, assigned bus number 2
Jun 2 19:19:18 localhost kernel: [ 212.772898] xhci-hcd xhci-hcd.3.auto: hcc params 0x0220f04c hci version 0x100 quirks 0x0000000002010010
Jun 2 19:19:18 localhost kernel: [ 212.784159] xhci-hcd xhci-hcd.3.auto: irq 178, io mem 0x4a030000
Jun 2 19:19:18 localhost kernel: [ 212.791331] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.06
Jun 2 19:19:18 localhost kernel: [ 212.800482] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
Jun 2 19:19:18 localhost kernel: [ 212.808128] usb usb2: Product: xHCI Host Controller
Jun 2 19:19:18 localhost kernel: [ 212.813540] usb usb2: Manufacturer: Linux 5.6.19-daveiii-pyradef-aufs xhci-hcd
Jun 2 19:19:18 localhost kernel: [ 212.821529] usb usb2: SerialNumber: xhci-hcd.3.auto
Jun 2 19:19:18 localhost kernel: [ 212.828152] hub 2-0:1.0: USB hub found
Jun 2 19:19:18 localhost kernel: [ 212.832133] hub 2-0:1.0: 1 port detected
Jun 2 19:19:18 localhost kernel: [ 212.836529] xhci-hcd xhci-hcd.3.auto: xHCI Host Controller
Jun 2 19:19:18 localhost kernel: [ 212.842692] xhci-hcd xhci-hcd.3.auto: new USB bus registered, assigned bus number 3
Jun 2 19:19:18 localhost kernel: [ 212.850812] xhci-hcd xhci-hcd.3.auto: Host supports USB 3.0 SuperSpeed
Jun 2 19:19:18 localhost kernel: [ 212.858591] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM.
Jun 2 19:19:18 localhost kernel: [ 212.867594] usb usb3: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.06
Jun 2 19:19:18 localhost kernel: [ 212.883860] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
Jun 2 19:19:18 localhost kernel: [ 212.892875] usb usb3: Product: xHCI Host Controller
Jun 2 19:19:18 localhost kernel: [ 212.898004] usb usb3: Manufacturer: Linux 5.6.19-daveiii-pyradef-aufs xhci-hcd
Jun 2 19:19:18 localhost kernel: [ 212.906214] usb usb3: SerialNumber: xhci-hcd.3.auto
Jun 2 19:19:18 localhost kernel: [ 212.912102] hub 3-0:1.0: USB hub found
Jun 2 19:19:18 localhost kernel: [ 212.917673] hub 3-0:1.0: 1 port detected
Jun 2 19:19:24 localhost kernel: [ 218.378722] usb usb3-port1: Cannot enable. Maybe the USB cable is bad?
Jun 2 19:19:28 localhost kernel: [ 222.798136] usb usb3-port1: Cannot enable. Maybe the USB cable is bad?

I have tried different cables too.
Any ideas on what I can try?
Apologies in advance if I am doing something daft here!
 

TrashyMG

Sarcasm Dispenser
Staff member
Joined
Jan 18, 2010
Messages
11,054
Hi all,
I am a long time lurker and a very proud owner of a Pyra.
I am trying to get a USB3 storage device (Samsung ssd) working with the Pyra using a USB OTG cable and cannot get it to work.
The device works when plugged directly into the Pyra USB2 port.
Also, it works fine using the same USB OTG cable on a Samsung Note3 (with a Phronesis Android Rom).

Syslog shows the following when I plug the OTG cable in to the Pyra with the device connected :

Jun 2 19:19:18 localhost kernel: [ 212.743506] xhci-hcd xhci-hcd.3.auto: xHCI Host Controller
Jun 2 19:19:18 localhost kernel: [ 212.750169] xhci-hcd xhci-hcd.3.auto: new USB bus registered, assigned bus number 2
Jun 2 19:19:18 localhost kernel: [ 212.772898] xhci-hcd xhci-hcd.3.auto: hcc params 0x0220f04c hci version 0x100 quirks 0x0000000002010010
Jun 2 19:19:18 localhost kernel: [ 212.784159] xhci-hcd xhci-hcd.3.auto: irq 178, io mem 0x4a030000
Jun 2 19:19:18 localhost kernel: [ 212.791331] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.06
Jun 2 19:19:18 localhost kernel: [ 212.800482] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
Jun 2 19:19:18 localhost kernel: [ 212.808128] usb usb2: Product: xHCI Host Controller
Jun 2 19:19:18 localhost kernel: [ 212.813540] usb usb2: Manufacturer: Linux 5.6.19-daveiii-pyradef-aufs xhci-hcd
Jun 2 19:19:18 localhost kernel: [ 212.821529] usb usb2: SerialNumber: xhci-hcd.3.auto
Jun 2 19:19:18 localhost kernel: [ 212.828152] hub 2-0:1.0: USB hub found
Jun 2 19:19:18 localhost kernel: [ 212.832133] hub 2-0:1.0: 1 port detected
Jun 2 19:19:18 localhost kernel: [ 212.836529] xhci-hcd xhci-hcd.3.auto: xHCI Host Controller
Jun 2 19:19:18 localhost kernel: [ 212.842692] xhci-hcd xhci-hcd.3.auto: new USB bus registered, assigned bus number 3
Jun 2 19:19:18 localhost kernel: [ 212.850812] xhci-hcd xhci-hcd.3.auto: Host supports USB 3.0 SuperSpeed
Jun 2 19:19:18 localhost kernel: [ 212.858591] usb usb3: We don't know the algorithms for LPM for this host, disabling LPM.
Jun 2 19:19:18 localhost kernel: [ 212.867594] usb usb3: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.06
Jun 2 19:19:18 localhost kernel: [ 212.883860] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
Jun 2 19:19:18 localhost kernel: [ 212.892875] usb usb3: Product: xHCI Host Controller
Jun 2 19:19:18 localhost kernel: [ 212.898004] usb usb3: Manufacturer: Linux 5.6.19-daveiii-pyradef-aufs xhci-hcd
Jun 2 19:19:18 localhost kernel: [ 212.906214] usb usb3: SerialNumber: xhci-hcd.3.auto
Jun 2 19:19:18 localhost kernel: [ 212.912102] hub 3-0:1.0: USB hub found
Jun 2 19:19:18 localhost kernel: [ 212.917673] hub 3-0:1.0: 1 port detected
Jun 2 19:19:24 localhost kernel: [ 218.378722] usb usb3-port1: Cannot enable. Maybe the USB cable is bad?
Jun 2 19:19:28 localhost kernel: [ 222.798136] usb usb3-port1: Cannot enable. Maybe the USB cable is bad?

I have tried different cables too.
Any ideas on what I can try?
Apologies in advance if I am doing something daft here!
I could get a mouse to work on this port, but anything else seems to puke, I suspect there may be a need for an externally powered USB 3 hub to utilize anything that draws more than 100mA
 

TrashyMG

Sarcasm Dispenser
Staff member
Joined
Jan 18, 2010
Messages
11,054
I suspect these OTG ports are not designed for devices, so they limit the current draw on them, which I think running an externally powered USB hub may do the trick. I'd need to test it out.
 

rosietastic

Still Fresh
Joined
Sep 15, 2014
Messages
11
I suspect these OTG ports are not designed for devices, so they limit the current draw on them, which I think running an externally powered USB hub may do the trick. I'd need to test it out.
Understood, thanks.
The OTG cable includes a standard USB for additional power too, but that is not helping. Will try again and get a hub also.
Post automatically merged:

Maybe the USB cable is bad?
Thanks. Have tried different cables to no avail. These cables work on my Note3 as well.
 

Linux-SWAT

Hardcore Member
Joined
Feb 13, 2010
Messages
8,891
Cross-linking:
 
  • Like
Reactions: rSl

rosietastic

Still Fresh
Joined
Sep 15, 2014
Messages
11
True, but this thread is about the micro-USB3 port as far as I'm aware. The two full sized type-A ports are different things. It's worth having these threads linked I guess, but that distinction should be noted.
Agreed. Both threads could be related; my original post is regards usage of the micro-USB3 port with an OTG cable.
The ssd storage device does actually work when directly connected to the full sized USB2 ports (and doesn't need additional power).

Tried additional 2A power via the OTG cable using the micro-USB3 port, but am getting the same results. Annoyingly, I don't have a powered USB3 hub where I am at the moment to test.

Thanks for your help on this.
 

TrashyMG

Sarcasm Dispenser
Staff member
Joined
Jan 18, 2010
Messages
11,054
True, but this thread is about the micro-USB3 port as far as I'm aware. The two full sized type-A ports are different things. It's worth having these threads linked I guess, but that distinction should be noted.

I'm don't appear to have any issues with my regular full sized USB ports, but I've only tested a small handful of things.

Tried additional 2A power via the OTG cable using the micro-USB3 port, but am getting the same results. Annoyingly, I don't have a powered USB3 hub where I am at the moment to test.

Thanks for your help on this.
Yeah I lack a real powered USB 3 hub myself. I may get one eventually.
 
Top