You are not logged in.
When trying to open any applications that enumerates the USB ports (Jellyfin, Chiaki, games) they'll freeze and display the Gnome "This application is not responding".
If I click wait enough times eventually it will unfreeze. This takes 30-60 seconds.
When I looked into it it's because libusb is timing out while trying to enumerate the USB devices.
The reason I believe this is happening is because dmesg is filled with `usb usb4-port6: Cannot enable. Maybe the USB cable is bad?`
This has been happening since I built the computer about 6 months ago so I'm thinking it's some kinda of faulty hardware. The problem is I can't figure out what.
I've tried plugging a usb device into every port on the motherboard/case and none of them are on usb4.
When I tried solving the problem a few months ago I found this post: https://bbs.archlinux.org/viewtopic.php?id=279161
Which says blacklisting amdgpu solved the problem. I do have an amdgpu but it's the only gpu so I haven't tried it since I'd have no display.
Things I've tried:
- Updating motherboard bios
- Disabling individual usb ports via the bios (I havent go through all ports yet)
- Plugging a usb device into every port on the computer to try and find usb4
Things I'm thinking of trying:
- Installing windows to see if it exhibits the same problem (I've never installed windows on this computer yet)
- Removing the 7900xtx and trying an Nvidia 1060 GTX and blacklisting amdgpu for the integrated graphics
Does anyone have any suggestions for things to try or to investigate before trying the things above?
Computer:
Cpu: Amd Ryzen 7950x
Gpu: Amd Radeon 7900xtx
Motherboard: Asus TUF GAMING X670E-PLUS WIFI
Kernel: 6.9.2-arch1-1
sudo lsusb
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 003 Device 002: ID 0e8d:0608 MediaTek Inc. Wireless_Device
Bus 003 Device 005: ID 0b05:19af ASUSTek Computer, Inc. AURA LED Controller
Bus 003 Device 037: ID 1e7d:3750 ROCCAT KAVE XTD Headset
Bus 003 Device 042: ID 2109:2812 VIA Labs, Inc. VL812 Hub
Bus 003 Device 044: ID 24f0:0140 Metadot Das Keyboard 4
Bus 003 Device 045: ID 1532:0084 Razer USA, Ltd RZ01-0321 Gaming Mouse [DeathAdder V2]
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 006 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 007 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 008 Device 002: ID 1bcf:2c99 Sunplus Innovation Technology Inc. ezcap U3 capture
Bus 009 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 010 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hubsudo lsusb -t
/: Bus 001.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/12p, 480M
/: Bus 002.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/5p, 20000M/x2
/: Bus 003.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/12p, 480M
|__ Port 002: Dev 002, If 0, Class=Wireless, Driver=btusb, 480M
|__ Port 002: Dev 002, If 1, Class=Wireless, Driver=btusb, 480M
|__ Port 002: Dev 002, If 2, Class=Wireless, Driver=[none], 480M
|__ Port 005: Dev 037, If 0, Class=Audio, Driver=snd-usb-audio, 12M
|__ Port 005: Dev 037, If 1, Class=Audio, Driver=snd-usb-audio, 12M
|__ Port 005: Dev 037, If 2, Class=Audio, Driver=snd-usb-audio, 12M
|__ Port 005: Dev 037, If 3, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 006: Dev 042, If 0, Class=Hub, Driver=hub/4p, 480M
|__ Port 001: Dev 045, If 0, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 001: Dev 045, If 1, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 001: Dev 045, If 2, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 001: Dev 045, If 3, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 004: Dev 044, If 0, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 004: Dev 044, If 1, Class=Human Interface Device, Driver=usbhid, 12M
|__ Port 008: Dev 005, If 0, Class=Vendor Specific Class, Driver=[none], 12M
|__ Port 008: Dev 005, If 2, Class=Human Interface Device, Driver=usbhid, 12M
/: Bus 004.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/6p, 10000M
/: Bus 005.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/2p, 480M
/: Bus 006.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/2p, 10000M
/: Bus 007.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/2p, 480M
/: Bus 008.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/2p, 10000M
|__ Port 001: Dev 002, If 0, Class=Video, Driver=uvcvideo, 5000M
|__ Port 001: Dev 002, If 1, Class=Video, Driver=uvcvideo, 5000M
|__ Port 001: Dev 002, If 2, Class=Audio, Driver=snd-usb-audio, 5000M
|__ Port 001: Dev 002, If 3, Class=Audio, Driver=snd-usb-audio, 5000M
/: Bus 009.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/1p, 480M
/: Bus 010.Port 001: Dev 001, Class=root_hub, Driver=xhci_hcd/0p, 5000Msudo lspci -k
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14d8
Subsystem: ASUSTeK Computer Inc. Device 8877
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Device 14d9
Subsystem: ASUSTeK Computer Inc. Device 8877
00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14da
00:01.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 14db
Subsystem: ASUSTeK Computer Inc. Device 8877
Kernel driver in use: pcieport
00:01.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 14db
Subsystem: ASUSTeK Computer Inc. Device 8877
Kernel driver in use: pcieport
00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14da
00:02.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 14db
Subsystem: ASUSTeK Computer Inc. Device 8877
Kernel driver in use: pcieport
00:03.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14da
00:04.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14da
00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14da
00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 14dd
Subsystem: ASUSTeK Computer Inc. Device 8877
Kernel driver in use: pcieport
00:08.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 14dd
Subsystem: ASUSTeK Computer Inc. Device 8877
Kernel driver in use: pcieport
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 71)
Subsystem: ASUSTeK Computer Inc. Device 8877
Kernel driver in use: piix4_smbus
Kernel modules: i2c_piix4, sp5100_tco
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
Subsystem: ASUSTeK Computer Inc. Device 8877
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14e0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14e1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14e2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14e3
Kernel driver in use: k10temp
Kernel modules: k10temp
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14e4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14e5
00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14e6
00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 14e7
01:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 XL Upstream Port of PCI Express Switch (rev 10)
Kernel driver in use: pcieport
02:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 XL Downstream Port of PCI Express Switch (rev 10)
Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Navi 10 XL Downstream Port of PCI Express Switch
Kernel driver in use: pcieport
03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Navi 31 [Radeon RX 7900 XT/7900 XTX/7900M] (rev c8)
Subsystem: ASUSTeK Computer Inc. Device 0506
Kernel driver in use: amdgpu
Kernel modules: amdgpu
03:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Navi 31 HDMI/DP Audio
Subsystem: Advanced Micro Devices, Inc. [AMD/ATI] Navi 31 HDMI/DP Audio
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
04:00.0 Non-Volatile memory controller: Phison Electronics Corporation PS5021-E21 PCIe4 NVMe Controller (DRAM-less) (rev 01)
Subsystem: Phison Electronics Corporation PS5021-E21 PCIe4 NVMe Controller (DRAM-less)
Kernel driver in use: nvme
Kernel modules: nvme
05:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Upstream Port (rev 01)
Subsystem: ASMedia Technology Inc. Device 3328
Kernel driver in use: pcieport
06:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Downstream Port (rev 01)
Subsystem: ASMedia Technology Inc. Device 3328
Kernel driver in use: pcieport
06:04.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Downstream Port (rev 01)
Subsystem: ASMedia Technology Inc. Device 3328
Kernel driver in use: pcieport
06:08.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Downstream Port (rev 01)
Subsystem: ASMedia Technology Inc. Device 3328
Kernel driver in use: pcieport
06:0c.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Downstream Port (rev 01)
Subsystem: ASMedia Technology Inc. Device 3328
Kernel driver in use: pcieport
06:0d.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Downstream Port (rev 01)
Subsystem: ASMedia Technology Inc. Device 3328
Kernel driver in use: pcieport
09:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Upstream Port (rev 01)
Subsystem: ASMedia Technology Inc. Device 3328
Kernel driver in use: pcieport
0a:00.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Downstream Port (rev 01)
Subsystem: ASMedia Technology Inc. Device 3328
Kernel driver in use: pcieport
0a:04.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Downstream Port (rev 01)
Subsystem: ASMedia Technology Inc. Device 3328
Kernel driver in use: pcieport
0a:05.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Downstream Port (rev 01)
Subsystem: ASMedia Technology Inc. Device 3328
Kernel driver in use: pcieport
0a:08.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Downstream Port (rev 01)
Subsystem: ASMedia Technology Inc. Device 3328
Kernel driver in use: pcieport
0a:0c.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Downstream Port (rev 01)
Subsystem: ASMedia Technology Inc. Device 3328
Kernel driver in use: pcieport
0a:0d.0 PCI bridge: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset PCIe Switch Downstream Port (rev 01)
Subsystem: ASMedia Technology Inc. Device 3328
Kernel driver in use: pcieport
0c:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller (rev 05)
DeviceName: Realtek RTL8125BG LAN
Subsystem: ASUSTeK Computer Inc. Device 87d7
Kernel driver in use: r8169
Kernel modules: r8169
0d:00.0 Network controller: MEDIATEK Corp. MT7921K (RZ608) Wi-Fi 6E 80MHz
Subsystem: MEDIATEK Corp. MT7921K (RZ608) Wi-Fi 6E 80MHz
Kernel driver in use: mt7921e
Kernel modules: mt7921e
0f:00.0 USB controller: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset USB 3.2 Controller (rev 01)
Subsystem: ASMedia Technology Inc. Device 1142
Kernel driver in use: xhci_hcd
Kernel modules: xhci_pci
10:00.0 SATA controller: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset SATA Controller (rev 01)
Subsystem: ASMedia Technology Inc. Device 1062
Kernel driver in use: ahci
11:00.0 USB controller: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset USB 3.2 Controller (rev 01)
Subsystem: ASMedia Technology Inc. Device 1142
Kernel driver in use: xhci_hcd
Kernel modules: xhci_pci
12:00.0 SATA controller: Advanced Micro Devices, Inc. [AMD] 600 Series Chipset SATA Controller (rev 01)
Subsystem: ASMedia Technology Inc. Device 1062
Kernel driver in use: ahci
13:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Raphael (rev c1)
Subsystem: ASUSTeK Computer Inc. Device 8877
Kernel driver in use: amdgpu
Kernel modules: amdgpu
13:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Rembrandt Radeon High Definition Audio Controller
Subsystem: ASUSTeK Computer Inc. Device 8877
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
13:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Family 19h PSP/CCP
Subsystem: ASUSTeK Computer Inc. Device 8877
Kernel driver in use: ccp
Kernel modules: ccp
13:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Device 15b6
Subsystem: ASUSTeK Computer Inc. Device 8877
Kernel driver in use: xhci_hcd
Kernel modules: xhci_pci
13:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Device 15b7
Subsystem: ASUSTeK Computer Inc. Device 8877
Kernel driver in use: xhci_hcd
Kernel modules: xhci_pci
13:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h/19h HD Audio Controller
DeviceName: Realtek ALC1220X Audio
Subsystem: ASUSTeK Computer Inc. Device 886d
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
14:00.0 USB controller: Advanced Micro Devices, Inc. [AMD] Device 15b8
Subsystem: ASUSTeK Computer Inc. Device 8877
Kernel driver in use: xhci_hcd
Kernel modules: xhci_pcisudo lsusb -v (This takes a really long time. It freezes once it gets to Bus 004 but eventually times out scanning port 3 and continues
Bus 004 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 3.10
bDeviceClass 9 Hub
bDeviceSubClass 0 [unknown]
bDeviceProtocol 3
bMaxPacketSize0 9
idVendor 0x1d6b Linux Foundation
idProduct 0x0003 3.0 root hub
bcdDevice 6.09
iManufacturer 3 Linux 6.9.2-arch1-1 xhci-hcd
iProduct 2 xHCI Host Controller
iSerial 1 0000:11:00.0
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 0x001f
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0xe0
Self Powered
Remote Wakeup
MaxPower 0mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 1
bInterfaceClass 9 Hub
bInterfaceSubClass 0 [unknown]
bInterfaceProtocol 0 Full speed (or root) hub
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x81 EP 1 IN
bmAttributes 3
Transfer Type Interrupt
Synch Type None
Usage Type Data
wMaxPacketSize 0x0004 1x 4 bytes
bInterval 12
bMaxBurst 0
Binary Object Store Descriptor:
bLength 5
bDescriptorType 15
wTotalLength 0x002b
bNumDeviceCaps 2
SuperSpeed USB Device Capability:
bLength 10
bDescriptorType 16
bDevCapabilityType 3
bmAttributes 0x00
wSpeedsSupported 0x0008
Device can operate at SuperSpeed (5Gbps)
bFunctionalitySupport 1
Lowest fully-functional device speed is Full Speed (12Mbps)
bU1DevExitLat 0 micro seconds
bU2DevExitLat 0 micro seconds
SuperSpeedPlus USB Device Capability:
bLength 28
bDescriptorType 16
bDevCapabilityType 10
bmAttributes 0x00000023
Sublink Speed Attribute count 4
Sublink Speed ID count 2
wFunctionalitySupport 0x1104
Min functional Speed Attribute ID: 4
Min functional RX lanes: 1
Min functional TX lanes: 1
bmSublinkSpeedAttr[0] 0x00050034
Speed Attribute ID: 4 5Gb/s Symmetric RX SuperSpeed
bmSublinkSpeedAttr[1] 0x000500b4
Speed Attribute ID: 4 5Gb/s Symmetric TX SuperSpeed
bmSublinkSpeedAttr[2] 0x000a4035
Speed Attribute ID: 5 10Gb/s Symmetric RX SuperSpeedPlus
bmSublinkSpeedAttr[3] 0x000a40b5
Speed Attribute ID: 5 10Gb/s Symmetric TX SuperSpeedPlus
Hub Descriptor:
bLength 12
bDescriptorType 42
nNbrPorts 6
wHubCharacteristic 0x000a
No power switching (usb 1.0)
Per-port overcurrent protection
bPwrOn2PwrGood 50 * 2 milli seconds
bHubContrCurrent 0 milli Ampere
bHubDecLat 0.0 micro seconds
wHubDelay 0 nano seconds
DeviceRemovable 0x00
Hub Port Status:
Port 1: 0000.02a0 5Gbps power Rx.Detect
Port 2: 0000.02a0 5Gbps power Rx.Detect
cannot read port 3 status, Resource temporarily unavailable (11)
Device Status: 0x0001
Self PoweredLast edited by yaspoon (2024-06-25 07:52:36)
Offline
I tried setting the nomodset kernel option mentioned in the other forum post and it didn't solve my problem.
It kinda made it worse. The boot took a while. It would just sit there printing
usb usb4-port6: Cannot enable. Maybe the USB cable is bad?a few times before eventually giving up and continueing the boot
Offline
As mentioned in the other thread, the first thing you should check is whether there's a UEFI/BIOS update available that might fix this. If it's the same issue as in the other thread then only a fixed UEFI will help.
Offline
Thanks for your feedback. I'm already running the latest bios version. I might give Windows a go this weekend and can contact Asus about a bios update.
For anyone else who finds this thread I tried the following since posting originally and it didn't solve the problem:
- Swapping the 7900xtx for a Nvidia 1060 gtx and blacklisting amdgpu
- Disabling legacy usb support in the bios
- Disable xhci handoff support in the bios
Offline
I don't see how amdgpu could be in any relation to usb
another option, if possible, could be to disable the faulty port in uefi
Online
There're two AMD GPUs and two US controllers on the (most likely unused) raphael chip (nowadays common, VR stuff)
If the latter is powered down those controllers might act up.
An alternative approach could be to disable the raphael chip or hide the attached usb controllers w/ the pci_stub
Offline
Thanks everyone for taking the time to respond. After all this time I finally managed to find a workaround after I complained about it here... I'll mark it as solved but what I ended up doing was:
Unplugging all my usb devices and ssh'ing in from another computer and noticed that dmesg wasn't being spammed with usb failures which was odd since when I unplugged devices one at a time I thought it didn't stop.
Then I started plugging in my usb devices one at a time and when I plugged my keyboard in it started spamming usb problems.
The problem is even weirder then that. I use a 1.8m usb3 extension cable and that actually seems to be causing the problem.
keyboard+extension in usb3 port == usb problems
keyboard in usb3 port == no problems
keyboard+extension in usb3 10gbps port == no problems
So TLDR; my keyboard with an extension cable hates my usb3 ports ![]()
Offline
I have the same ezcap capture device @yaspoon, is it working for you? here I get a black screen
Offline