Public bug reported:

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-nuc5cpyh-desktop$ lsusb
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-nuc5cpyh-desktop$ uname -a
Linux david-nuc5cpyh-desktop 4.15.0-112-generic #113-Ubuntu SMP Thu Jul 9 
23:41:39 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux

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://au.archive.ubuntu.com/ubuntu focal/main amd64 Packages
        100 /var/lib/dpkg/status

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("/sys/bus/usb/devices/1-3.6:1.0/driver", 
"../../../../../../../bus/usb/dri"..., 4096) = 43
openat(AT_FDCWD, "/sys/bus/usb/devices/1-3/bConfigurationValue", O_RDONLY) = 5
read(5, "1\n", 11)                      = 2
close(5)                                = 0
openat(AT_FDCWD, "/sys/bus/usb/devices/1-3/bDeviceClass", O_RDONLY) = 5
read(5, "09\n", 11)                     = 3
close(5)                                = 0
openat(AT_FDCWD, "/sys/bus/usb/devices/1-3/bDeviceProtocol", O_RDONLY) = 5
read(5, "02\n", 11)                     = 3
close(5)                                = 0
openat(AT_FDCWD, "/sys/bus/usb/devices/1-3/bDeviceSubClass", O_RDONLY) = 5
read(5, "00\n", 11)                     = 3
close(5)                                = 0
openat(AT_FDCWD, "/sys/bus/usb/devices/1-3/bMaxPacketSize0", O_RDONLY) = 5
read(5, "64\n", 11)                     = 3
close(5)                                = 0
openat(AT_FDCWD, "/sys/bus/usb/devices/1-3/bMaxPower", O_RDONLY) = 5
read(5, "100mA\n", 64)                  = 6
close(5)                                = 0
openat(AT_FDCWD, "/sys/bus/usb/devices/1-3/bNumConfigurations", O_RDONLY) = 5
read(5, "1\n", 11)                      = 2
close(5)                                = 0
openat(AT_FDCWD, "/sys/bus/usb/devices/1-3/bNumInterfaces", O_RDONLY) = 5
read(5, " 1\n", 11)                     = 3
close(5)                                = 0
openat(AT_FDCWD, "/sys/bus/usb/devices/1-3/bcdDevice", O_RDONLY) = 5
read(5, "0100\n", 11)                   = 5
close(5)                                = 0
openat(AT_FDCWD, "/sys/bus/usb/devices/1-3/bmAttributes", O_RDONLY) = 5
read(5, "e0\n", 11)                     = 3
close(5)                                = 0
openat(AT_FDCWD, "/sys/bus/usb/devices/1-3/configuration", O_RDONLY) = 5
read(5, "", 11)                         = 0
close(5)                                = 0
openat(AT_FDCWD, "/sys/bus/usb/devices/1-3/devnum", O_RDONLY) = 5
read(5, "3\n", 11)                      = 2
close(5)                                = 0
openat(AT_FDCWD, "/sys/bus/usb/devices/1-3/idProduct", O_RDONLY) = 5
read(5, "0201\n", 11)                   = 5
close(5)                                = 0
openat(AT_FDCWD, "/sys/bus/usb/devices/1-3/idVendor", O_RDONLY) = 5
read(5, "1a40\n", 11)                   = 5
close(5)                                = 0
openat(AT_FDCWD, "/sys/bus/usb/devices/1-3/maxchild", O_RDONLY) = 5
read(5, "7\n", 11)                      = 2
close(5)                                = 0
openat(AT_FDCWD, "/sys/bus/usb/devices/1-3/manufacturer", O_RDONLY) = -1 ENOENT 
(No such file or directory)
openat(AT_FDCWD, "/sys/bus/usb/devices/1-3/product", O_RDONLY) = 5
read(5, "USB 2.0 Hub [MTT]\n", 64)      = 18
close(5)                                = 0
openat(AT_FDCWD, "/sys/bus/usb/devices/1-3/serial", O_RDONLY) = -1 ENOENT (No 
such file or directory)
openat(AT_FDCWD, "/sys/bus/usb/devices/1-3/version", O_RDONLY) = 5
read(5, " 2.00\n", 64)                  = 6
close(5)                                = 0
openat(AT_FDCWD, "/sys/bus/usb/devices/1-3/speed", O_RDONLY) = 5
read(5, "480\n", 64)                    = 4
close(5)                                = 0
readlink("/sys/bus/usb/devices/1-3/driver", 
"../../../../../bus/usb/drivers/u"..., 4096) = 34
openat(AT_FDCWD, "/sys/bus/usb/devices/1-3.1.2:1.0/bAlternateSetting", 
O_RDONLY) = 5
read(5, " 0\n", 11)                     = 3
close(5)                                = 0
openat(AT_FDCWD, "/sys/bus/usb/devices/1-3.1.2:1.0/bInterfaceClass", O_RDONLY) 
= 5
read(5, "ff\n", 11)                     = 3
close(5)                                = 0
openat(AT_FDCWD, "/sys/bus/usb/devices/1-3.1.2:1.0/bInterfaceNumber", O_RDONLY) 
= 5
read(5, "00\n", 11)                     = 3
close(5)                                = 0
openat(AT_FDCWD, "/sys/bus/usb/devices/1-3.1.2:1.0/bInterfaceProtocol", 
O_RDONLY) = 5
read(5, "00\n", 11)                     = 3
close(5)                                = 0
openat(AT_FDCWD, "/sys/bus/usb/devices/1-3.1.2:1.0/bInterfaceSubClass", 
O_RDONLY) = 5
read(5, "00\n", 11)                     = 3
close(5)                                = 0
openat(AT_FDCWD, "/sys/bus/usb/devices/1-3.1.2:1.0/bNumEndpoints", O_RDONLY) = 5
read(5, "03\n", 11)                     = 3
close(5)                                = 0
readlink("/sys/bus/usb/devices/1-3.1.2:1.0/driver", 
"../../../../../../../../bus/usb/"..., 4096) = 46
openat(AT_FDCWD, "/sys/bus/usb/devices/1-3.7/bConfigurationValue", O_RDONLY) = 5
read(5, ^Cstrace: Process 30576 detached
 <detached ...>

** Affects: usbutils (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1890210

Title:
  lsusb -t does not work with 20.04.1 LTS but it does with 18.04.4 LTS

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/usbutils/+bug/1890210/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to