lsusb -t does not work with 20.04.1 LTS but it does with 18.04.4 LTS
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
usbutils (Ubuntu) |
New
|
Low
|
Unassigned |
Bug Description
I have 2x Intel NUCs. I have updated the first one to 20.04. It does work, except for lsusb -t.
david@NUC:~$ lsusb
Bus 002 Device 003: ID 1058:107c Western Digital Technologies, Inc. Elements Desktop (WDBWLG)
Bus 002 Device 002: ID 05e3:0616 Genesys Logic, Inc. hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 8087:07dc Intel Corp.
Bus 001 Device 011: ID 059b:0032 Iomega Corp. Zip 250 (Ver 2)
Bus 001 Device 010: ID 046d:c31d Logitech, Inc. Media Keyboard K200
Bus 001 Device 009: ID 0e8d:1806 MediaTek Inc. Samsung SE-208 Slim Portable DVD Writer
Bus 001 Device 008: ID 046d:c05a Logitech, Inc. M90/M100 Optical Mouse
Bus 001 Device 006: ID 045e:074a Microsoft Corp. LifeCam VX-500 [1357]
Bus 001 Device 007: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port
Bus 001 Device 005: ID 1a40:0101 Terminus Technology Inc. Hub
Bus 001 Device 003: ID 1a40:0201 Terminus Technology Inc. FE 2.1 7-port Hub
Bus 001 Device 002: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
david@NUC:~$ lsusb -t
^C
david@NUC:~$ uname -a
Linux NUC 5.4.0-42-generic #46-Ubuntu SMP Fri Jul 10 00:24:02 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
The other one is still working.
david@david-
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 007: ID 8087:0a2a Intel Corp.
Bus 001 Device 005: ID 05e3:0610 Genesys Logic, Inc. 4-port hub
Bus 001 Device 003: ID 1d57:fa20 Xenta
Bus 001 Device 008: ID 0430:0005 Sun Microsystems, Inc. Type 6 Keyboard
Bus 001 Device 010: ID 1a86:7523 QinHeng Electronics HL-340 USB-Serial adapter
Bus 001 Device 011: ID 067b:2303 Prolific Technology, Inc. PL2303 Serial Port
Bus 001 Device 009: ID 1a40:0101 Terminus Technology Inc. Hub
Bus 001 Device 006: ID 1a40:0101 Terminus Technology Inc. Hub
Bus 001 Device 004: ID 046d:c01d Logitech, Inc. MX510 Optical Mouse
Bus 001 Device 002: ID 1a40:0101 Terminus Technology Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
$ lsusb -t
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/6p, 5000M
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/7p, 480M
|__ Port 3: Dev 2, If 0, Class=Hub, Driver=hub/4p, 12M
|__ Port 2: Dev 6, If 0, Class=Hub, Driver=hub/4p, 12M
|__ Port 2: Dev 10, If 0, Class=Vendor Specific Class, Driver=ch341, 12M
|__ Port 1: Dev 9, If 0, Class=Hub, Driver=hub/4p, 12M
|__ Port 4: Dev 11, If 0, Class=Vendor Specific Class, Driver=pl2303, 12M
|__ Port 3: Dev 8, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
|__ Port 1: Dev 4, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
|__ Port 4: Dev 3, If 1, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 4: Dev 3, If 2, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 4: Dev 3, If 0, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 5: Dev 5, If 0, Class=Hub, Driver=hub/4p, 480M
|__ Port 1: Dev 7, If 0, Class=Wireless, Driver=btusb, 12M
|__ Port 1: Dev 7, If 1, Class=Wireless, Driver=btusb, 12M
david@david-
Linux david-nuc5cpyh-
david@NUC:~$ lsb_release -rd
Description: Ubuntu 20.04.1 LTS
Release: 20.04
david@NUC:~$ apt-cache policy usbutils
usbutils:
Installed: 1:012-2
Candidate: 1:012-2
Version table:
*** 1:012-2 500
500 http://
100 /var/lib/
I expected the physical USB device hierarchy as a tree.
What I got was nothing (I had to ^c to get of it).
I tried strace lsusb -t and got this:
readlink(
openat(AT_FDCWD, "/sys/bus/
read(5, "1\n", 11) = 2
close(5) = 0
openat(AT_FDCWD, "/sys/bus/
read(5, "09\n", 11) = 3
close(5) = 0
openat(AT_FDCWD, "/sys/bus/
read(5, "02\n", 11) = 3
close(5) = 0
openat(AT_FDCWD, "/sys/bus/
read(5, "00\n", 11) = 3
close(5) = 0
openat(AT_FDCWD, "/sys/bus/
read(5, "64\n", 11) = 3
close(5) = 0
openat(AT_FDCWD, "/sys/bus/
read(5, "100mA\n", 64) = 6
close(5) = 0
openat(AT_FDCWD, "/sys/bus/
read(5, "1\n", 11) = 2
close(5) = 0
openat(AT_FDCWD, "/sys/bus/
read(5, " 1\n", 11) = 3
close(5) = 0
openat(AT_FDCWD, "/sys/bus/
read(5, "0100\n", 11) = 5
close(5) = 0
openat(AT_FDCWD, "/sys/bus/
read(5, "e0\n", 11) = 3
close(5) = 0
openat(AT_FDCWD, "/sys/bus/
read(5, "", 11) = 0
close(5) = 0
openat(AT_FDCWD, "/sys/bus/
read(5, "3\n", 11) = 2
close(5) = 0
openat(AT_FDCWD, "/sys/bus/
read(5, "0201\n", 11) = 5
close(5) = 0
openat(AT_FDCWD, "/sys/bus/
read(5, "1a40\n", 11) = 5
close(5) = 0
openat(AT_FDCWD, "/sys/bus/
read(5, "7\n", 11) = 2
close(5) = 0
openat(AT_FDCWD, "/sys/bus/
openat(AT_FDCWD, "/sys/bus/
read(5, "USB 2.0 Hub [MTT]\n", 64) = 18
close(5) = 0
openat(AT_FDCWD, "/sys/bus/
openat(AT_FDCWD, "/sys/bus/
read(5, " 2.00\n", 64) = 6
close(5) = 0
openat(AT_FDCWD, "/sys/bus/
read(5, "480\n", 64) = 4
close(5) = 0
readlink(
openat(AT_FDCWD, "/sys/bus/
read(5, " 0\n", 11) = 3
close(5) = 0
openat(AT_FDCWD, "/sys/bus/
read(5, "ff\n", 11) = 3
close(5) = 0
openat(AT_FDCWD, "/sys/bus/
read(5, "00\n", 11) = 3
close(5) = 0
openat(AT_FDCWD, "/sys/bus/
read(5, "00\n", 11) = 3
close(5) = 0
openat(AT_FDCWD, "/sys/bus/
read(5, "00\n", 11) = 3
close(5) = 0
openat(AT_FDCWD, "/sys/bus/
read(5, "03\n", 11) = 3
close(5) = 0
readlink(
openat(AT_FDCWD, "/sys/bus/
read(5, ^Cstrace: Process 30576 detached
<detached ...>
Thank you for your bug report, could you maybe report it directly upstream on https:/ /github. com/gregkh/ usbutils/ issues ?
getting a gdb backtrace (https:/ /wiki.ubuntu. com/Backtrace) could be useful there