Re: Maybe the cable is bad?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 8/14/20 8:30 PM, Tom Horsley wrote:
I was getting an infinite number of "Maybe the cable is bad"
errors in dmesg about a usb port.

It insisted on referring to "usb2-port5" when everything
else in linux talks about things like 0000:00:14.0
or lsusb says things like Bus 001 Device 004.

Is there some reference somewhere on the internet
to translate between all the different ways
linux talks about usb ports? It would be really handy
to be able to know what it is talking about instead
of having to unplug every usb cable one at a time.

The answer is yes!

The "0000:00:14.0" is referring to the PCI device that is the top-level USB interface. That is the source of the "bus".

By default, lsusb shows you the bus and device number. The device number is a sequentially assigned number that is unique on the whole bus. It has nothing to do with the physical ports.

For the physical ports, in the journal you'll see lines like:
kernel: usb 2-1.3.1: new full-speed USB device number 33 using ehci-pci
That's bus 2, port 1, port 3, port 1. Three levels of hubs (I plugged in an external hub to get that.) If you look in /sys/bus/usb/devices, there's a directory for every active port and USB device. There's a lot of info in there.

But the easiest method is: "lsusb -t"
_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux