Hi,

I have an issue regarding USB2 after upgrading a desktop machine from
Debian 11 (bullseye) to Debian 12 (bookworm).

USB3 ports work fine, but USB2 ports do not.

I still have bullseye installed in the machine and when I boot bullseye
I can use both USB2 and USB3. But when I boot bookworm I can only use
USB3.

I have compared the output from the "lspci" and "lsusb" commands
obtained with bullseye and with bookworm, but they seem quite similar to
me.

In bookworm, command "dmesg -w" writes out several error messages like
the following when I plug a USB device in a USB2 port:

  usb 4-1: device descriptor read/64, error -32

  usb 4-1: device not accepting address 4, error -32

----

$ lspci -nnk
00:00.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD/ATI] RD9x0/RX980 
Host Bridge [1002:5a14] (rev 02)
        Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] RD9x0/RX980 Host 
Bridge [1002:5a14]
00:02.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD/ATI] 
RD890/RD9x0/RX980 PCI to PCI bridge (PCI Express GFX port 0) [1002:5a16]
        Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] RD890/RD9x0/RX980 PCI 
to PCI bridge (PCI Express GFX port 0) [1002:5a14]
        Kernel driver in use: pcieport
00:04.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD/ATI] 
RD890/RD9x0/RX980 PCI to PCI bridge (PCI Express GPP Port 0) [1002:5a18]
        Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] RD890/RD9x0/RX980 PCI 
to PCI bridge (PCI Express GPP Port 0) [1002:5a14]
        Kernel driver in use: pcieport
00:09.0 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD/ATI] 
RD890/RD9x0/RX980 PCI to PCI bridge (PCI Express GPP Port 4) [1002:5a1c]
        Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] RD890/RD9x0/RX980 PCI 
to PCI bridge (PCI Express GPP Port 4) [1002:5a14]
        Kernel driver in use: pcieport
00:11.0 SATA controller [0106]: Advanced Micro Devices, Inc. [AMD/ATI] 
SB7x0/SB8x0/SB9x0 SATA Controller [IDE mode] [1002:4390] (rev 40)
        Subsystem: Gigabyte Technology Co., Ltd GA-MA770-DS3rev2.0 Motherboard 
[1458:b002]
        Kernel driver in use: ahci
        Kernel modules: ahci
00:12.0 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD/ATI] 
SB7x0/SB8x0/SB9x0 USB OHCI0 Controller [1002:4397]
        Subsystem: Gigabyte Technology Co., Ltd GA-78/880-series motherboard 
[1458:5004]
        Kernel driver in use: ohci-pci
        Kernel modules: ohci_pci
00:12.2 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD/ATI] 
SB7x0/SB8x0/SB9x0 USB EHCI Controller [1002:4396]
        Subsystem: Gigabyte Technology Co., Ltd GA-78/880-series motherboard 
[1458:5004]
        Kernel driver in use: ehci-pci
        Kernel modules: ehci_pci
00:13.0 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD/ATI] 
SB7x0/SB8x0/SB9x0 USB OHCI0 Controller [1002:4397]
        Subsystem: Gigabyte Technology Co., Ltd GA-78/880-series motherboard 
[1458:5004]
        Kernel driver in use: ohci-pci
        Kernel modules: ohci_pci
00:13.2 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD/ATI] 
SB7x0/SB8x0/SB9x0 USB EHCI Controller [1002:4396]
        Subsystem: Gigabyte Technology Co., Ltd GA-78/880-series motherboard 
[1458:5004]
        Kernel driver in use: ehci-pci
        Kernel modules: ehci_pci
00:14.0 SMBus [0c05]: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 SMBus 
Controller [1002:4385] (rev 42)
        Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 SMBus 
Controller [1002:4385]
        Kernel driver in use: piix4_smbus
        Kernel modules: i2c_piix4, sp5100_tco
00:14.1 IDE interface [0101]: Advanced Micro Devices, Inc. [AMD/ATI] 
SB7x0/SB8x0/SB9x0 IDE Controller [1002:439c] (rev 40)
        Subsystem: Gigabyte Technology Co., Ltd GA-MA78GM-S2H motherboard 
[1458:5002]
        Kernel driver in use: pata_atiixp
        Kernel modules: pata_atiixp, ata_generic
00:14.2 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 
Azalia (Intel HDA) [1002:4383] (rev 40)
        Subsystem: Gigabyte Technology Co., Ltd SBx00 Azalia (Intel HDA) 
[1458:a002]
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel
00:14.3 ISA bridge [0601]: Advanced Micro Devices, Inc. [AMD/ATI] 
SB7x0/SB8x0/SB9x0 LPC host controller [1002:439d] (rev 40)
        Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] SB7x0/SB8x0/SB9x0 LPC 
host controller [1002:439d]
00:14.4 PCI bridge [0604]: Advanced Micro Devices, Inc. [AMD/ATI] SBx00 PCI to 
PCI Bridge [1002:4384] (rev 40)
00:14.5 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD/ATI] 
SB7x0/SB8x0/SB9x0 USB OHCI2 Controller [1002:4399]
        Subsystem: Gigabyte Technology Co., Ltd GA-78/880-series motherboard 
[1458:5004]
        Kernel driver in use: ohci-pci
        Kernel modules: ohci_pci
00:16.0 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD/ATI] 
SB7x0/SB8x0/SB9x0 USB OHCI0 Controller [1002:4397]
        Subsystem: Gigabyte Technology Co., Ltd GA-78/880-series motherboard 
[1458:5004]
        Kernel driver in use: ohci-pci
        Kernel modules: ohci_pci
00:16.2 USB controller [0c03]: Advanced Micro Devices, Inc. [AMD/ATI] 
SB7x0/SB8x0/SB9x0 USB EHCI Controller [1002:4396]
        Subsystem: Gigabyte Technology Co., Ltd GA-78/880-series motherboard 
[1458:5004]
        Kernel driver in use: ehci-pci
        Kernel modules: ehci_pci
00:18.0 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 15h 
Processor Function 0 [1022:1600]
00:18.1 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 15h 
Processor Function 1 [1022:1601]
00:18.2 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 15h 
Processor Function 2 [1022:1602]
00:18.3 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 15h 
Processor Function 3 [1022:1603]
        Kernel driver in use: k10temp
        Kernel modules: k10temp
00:18.4 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 15h 
Processor Function 4 [1022:1604]
        Kernel driver in use: fam15h_power
        Kernel modules: fam15h_power
00:18.5 Host bridge [0600]: Advanced Micro Devices, Inc. [AMD] Family 15h 
Processor Function 5 [1022:1605]
01:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. 
[AMD/ATI] Tahiti PRO [Radeon HD 7950/8950 OEM / R9 280] [1002:679a]
        Subsystem: Gigabyte Technology Co., Ltd Tahiti PRO [Radeon HD 7950/8950 
OEM / R9 280] [1458:229a]
        Kernel driver in use: radeon
        Kernel modules: radeon, amdgpu
01:00.1 Audio device [0403]: Advanced Micro Devices, Inc. [AMD/ATI] Tahiti HDMI 
Audio [Radeon HD 7870 XT / 7950/7970] [1002:aaa0]
        Subsystem: Gigabyte Technology Co., Ltd Tahiti HDMI Audio [Radeon HD 
7870 XT / 7950/7970] [1458:aaa0]
        Kernel driver in use: snd_hda_intel
        Kernel modules: snd_hda_intel
02:00.0 USB controller [0c03]: VIA Technologies, Inc. VL805/806 xHCI USB 3.0 
Controller [1106:3483] (rev 01)
        Subsystem: Gigabyte Technology Co., Ltd VL805/806 xHCI USB 3.0 
Controller [1458:5007]
        Kernel driver in use: xhci_hcd
        Kernel modules: xhci_pci
03:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. 
RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 06)
        Subsystem: Gigabyte Technology Co., Ltd Onboard Ethernet [1458:e000]
        Kernel driver in use: r8169
        Kernel modules: r8169
04:07.0 FireWire (IEEE 1394) [0c00]: VIA Technologies, Inc. VT6306/7/8 [Fire 
II(M)] IEEE 1394 OHCI Controller [1106:3044] (rev 46)
        Subsystem: VIA Technologies, Inc. VT6306/7/8 [Fire II(M)] IEEE 1394 
OHCI Controller [1106:3044]
        Kernel driver in use: firewire_ohci
        Kernel modules: firewire_ohci

----

$ lsusb
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 009 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 046d:c077 Logitech, Inc. Mouse
Bus 001 Device 003: ID 0461:0010 Primax Electronics, Ltd HP PR1101U / Primax 
PMX-KPR1101U Keyboard
Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

----

# dmesg -w

(plug a USB device in a USB2 port)

[ 1347.852367] usb 4-1: new high-speed USB device number 2 using ehci-pci
[ 1347.980381] usb 4-1: device descriptor read/64, error -32
[ 1348.216388] usb 4-1: device descriptor read/64, error -32
[ 1348.452396] usb 4-1: new high-speed USB device number 3 using ehci-pci
[ 1348.580405] usb 4-1: device descriptor read/64, error -32
[ 1348.816415] usb 4-1: device descriptor read/64, error -32
[ 1348.924446] usb usb4-port1: attempt power cycle
[ 1349.128430] usb 4-1: new high-speed USB device number 4 using ehci-pci
[ 1349.548448] usb 4-1: device not accepting address 4, error -32
[ 1349.676454] usb 4-1: new high-speed USB device number 5 using ehci-pci
[ 1350.092474] usb 4-1: device not accepting address 5, error -32
[ 1350.092518] usb usb4-port1: unable to enumerate USB device
[ 1350.448491] usb 7-1: new full-speed USB device number 2 using ohci-pci
[ 1350.608495] usb 7-1: device descriptor read/64, error -32
[ 1350.876513] usb 7-1: device descriptor read/64, error -32
[ 1351.140527] usb 7-1: new full-speed USB device number 3 using ohci-pci
[ 1351.300533] usb 7-1: device descriptor read/64, error -32
[ 1351.568546] usb 7-1: device descriptor read/64, error -32
[ 1351.676598] usb usb7-port1: attempt power cycle
[ 1351.912562] usb 4-1: new high-speed USB device number 6 using ehci-pci
[ 1352.048557] usb 4-1: device descriptor read/64, error -32
[ 1352.284580] usb 4-1: device descriptor read/64, error -32
[ 1352.520587] usb 4-1: new high-speed USB device number 7 using ehci-pci
[ 1352.648595] usb 4-1: device descriptor read/64, error -32
[ 1352.884607] usb 4-1: device descriptor read/64, error -32
[ 1352.992647] usb usb4-port1: attempt power cycle
[ 1353.196618] usb 4-1: new high-speed USB device number 8 using ehci-pci
[ 1353.616632] usb 4-1: device not accepting address 8, error -32
[ 1353.744652] usb 4-1: new high-speed USB device number 9 using ehci-pci
[ 1354.160667] usb 4-1: device not accepting address 9, error -32
[ 1354.160713] usb usb4-port1: unable to enumerate USB device
[ 1354.520681] usb 7-1: new full-speed USB device number 5 using ohci-pci
[ 1354.680630] usb 7-1: device descriptor read/64, error -32
[ 1354.948700] usb 7-1: device descriptor read/64, error -32
[ 1355.212696] usb 7-1: new full-speed USB device number 6 using ohci-pci
[ 1355.372726] usb 7-1: device descriptor read/64, error -32
[ 1355.640738] usb 7-1: device descriptor read/64, error -32
[ 1355.748784] usb usb7-port1: attempt power cycle

(and so on)

----

Any hints would be appreciated.

Thanks.

Rafa.

Attachment: signature.asc
Description: PGP signature

Reply via email to