Skip to contentSkip to conversation

New: Connecting Yi 4K+ to Tthinkpad T495, "usb usb2-port3: Cannot enable. Maybe the USB cable is bad?"

Bug 206471 [email protected] 1 participant 4 messages Feb 9, 2020 – Feb 10, 2020 USB

lore
Share & tools
lore
#0 lore raw

https://bugzilla.kernel.org/show_bug.cgi?id=206471

            Bug ID: 206471
           Summary: Connecting Yi 4K+ to Tthinkpad T495, "usb usb2-port3:
                    Cannot enable. Maybe the USB cable is bad?"
           Product: Drivers
           Version: 2.5
    Kernel Version: 5.4.18-050418-lowlatency #202002051737 SMP PREEMPT Wed
                    Feb 5 22:52:51 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
          Hardware: x86-64
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: USB
          Assignee: [email protected]
          Reporter: [email protected]
        Regression: No

Created attachment 287255
--> https://bugzilla.kernel.org/attachment.cgi?id=287255&action=edit
Output of cat /sys/kernel/debug/usb/usbmon/2u

I can reproduce the same problem on 5.5.2 and 5.4.3 as well.

When connecting Yi 4K+ camera to USB port on Thinkpad T495 I get following error:

[ 6376.553655] usb usb2-port3: Cannot enable. Maybe the USB cable is bad?
[ 6377.441641] usb usb2-port3: Cannot enable. Maybe the USB cable is bad?
[ 6377.441714] usb usb2-port3: attempt power cycle
[ 6378.641657] usb usb2-port3: Cannot enable. Maybe the USB cable is bad?
[ 6379.529678] usb usb2-port3: Cannot enable. Maybe the USB cable is bad?
[ 6379.529752] usb usb2-port3: unable to enumerate USB device
[ 6408.857408] usb usb2-port3: Cannot enable. Maybe the USB cable is bad?
[ 6409.745778] usb usb2-port3: Cannot enable. Maybe the USB cable is bad?
[ 6409.745843] usb usb2-port3: attempt power cycle
[ 6410.945496] usb usb2-port3: Cannot enable. Maybe the USB cable is bad?
[ 6411.833866] usb usb2-port3: Cannot enable. Maybe the USB cable is bad?
[ 6411.833940] usb usb2-port3: unable to enumerate USB device
[ 6598.002122] usb usb2-port3: Cannot enable. Maybe the USB cable is bad?
[ 6598.890212] usb usb2-port3: Cannot enable. Maybe the USB cable is bad?
[ 6598.890275] usb usb2-port3: attempt power cycle
[ 6600.090213] usb usb2-port3: Cannot enable. Maybe the USB cable is bad?
[ 6600.978772] usb usb2-port3: Cannot enable. Maybe the USB cable is bad?
[ 6600.978825] usb usb2-port3: unable to enumerate USB device

There is no problem when connecting other devices to the USB ports, there is no problem when I connect the camera to USB ports on dock station. If I try to connect the camera to the laptop via USB-C nothing happens.

The camera works fine when connected to other PCs too (Thinkpad T420 running Ubuntu 14.04 and another PC with Windows 7).

I am attaching output of cat /sys/kernel/debug/usb/usbmon/2u when connecting the camera ot the USB port (file "usbmon_fail").

Hope this helps, I'm happy to provide further assistance in debugging.

Signature · 2 lines
You are receiving this mail because:
You are watching the assignee of the bug.
#1 lore raw

[Bug 206471] Connecting Yi 4K+ to Tthinkpad T495, "usb usb2-port3: Cannot enable. Maybe the USB cable is bad?"

https://bugzilla.kernel.org/show_bug.cgi?id=206471

--- Comment #1 from Lukas Vacek ([email protected]) --- Created attachment 287257
--> https://bugzilla.kernel.org/attachment.cgi?id=287257&action=edit
Good (dockstation port) usbmon

I am also adding output of cat /sys/kernel/debug/usb/usbmon/2u when the camera is connect to an usb port on the dock station - no problem here, everything works fine.

Signature · 2 lines
You are receiving this mail because:
You are watching the assignee of the bug.
#2 lore raw

[Bug 206471] Connecting Yi 4K+ to Thinkpad T495, "usb usb2-port3: Cannot enable. Maybe the USB cable is bad?"

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=206471

--- Comment #2 from Lukas Vacek ([email protected]) --- I can confirm the same problem with another Yi 4k+ (using many different cables) so it's not a hardware issue.

Signature · 2 lines
You are receiving this mail because:
You are watching the assignee of the bug.
#3 lore raw

[Bug 206471] Connecting Yi 4K+ to Thinkpad T495, "usb usb2-port3: Cannot enable. Maybe the USB cable is bad?"

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=206471

--- Comment #3 from Lukas Vacek ([email protected]) --- Created attachment 287281
--> https://bugzilla.kernel.org/attachment.cgi?id=287281&action=edit
wireshark capture

Attaching wireshark capture (camera attached at packet no. 13)

Signature · 2 lines
You are receiving this mail because:
You are watching the assignee of the bug.