USB devices are only shortly available

Bug #1982877 reported by Eric Collart
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu
New
Undecided
Unassigned

Bug Description

Ubuntu 22.04
Kernel 5.15.0-41-generic x86_64

When connecting any storage USB device (key or HDD), it is detected and visible for a short time before disappearing.
You can hear the detection beep and the "disappearing" beep.
Keyboard and mouse work fine, webcam seems to work (I didn't use it yet, it's a new PC)

I have the very same problem on all USB ports of the PC being 2.0 or 3.x, internal or external (PCIe card with 4x USB 3.0 ports).

Running Windows 11 in dual boot on the same PC has NO trouble at all.

Below a capture of sudo dmesg | grep -i USB:

bibi@bibi-MS-7C91:~$ sudo dmesg | grep -i USB
[ 0.617008] ACPI: bus type USB registered
[ 0.617008] usbcore: registered new interface driver usbfs
[ 0.617008] usbcore: registered new interface driver hub
[ 0.617008] usbcore: registered new device driver usb
[ 0.744819] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[ 0.744828] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[ 0.744839] uhci_hcd: USB Universal Host Controller Interface driver
[ 1.089416] xhci_hcd 0000:02:00.0: new USB bus registered, assigned bus number 1
[ 1.144976] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.15
[ 1.144977] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.144978] usb usb1: Product: xHCI Host Controller
[ 1.144979] usb usb1: Manufacturer: Linux 5.15.0-41-generic xhci-hcd
[ 1.144979] usb usb1: SerialNumber: 0000:02:00.0
[ 1.145040] hub 1-0:1.0: USB hub found
[ 1.145248] xhci_hcd 0000:02:00.0: new USB bus registered, assigned bus number 2
[ 1.145249] xhci_hcd 0000:02:00.0: Host supports USB 3.1 Enhanced SuperSpeed
[ 1.145289] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[ 1.145298] usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.15
[ 1.145299] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.145300] usb usb2: Product: xHCI Host Controller
[ 1.145300] usb usb2: Manufacturer: Linux 5.15.0-41-generic xhci-hcd
[ 1.145301] usb usb2: SerialNumber: 0000:02:00.0
[ 1.145337] hub 2-0:1.0: USB hub found
[ 1.145470] xhci_hcd 0000:23:00.0: new USB bus registered, assigned bus number 3
[ 1.145697] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.15
[ 1.145698] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.145699] usb usb3: Product: xHCI Host Controller
[ 1.145699] usb usb3: Manufacturer: Linux 5.15.0-41-generic xhci-hcd
[ 1.145700] usb usb3: SerialNumber: 0000:23:00.0
[ 1.145733] hub 3-0:1.0: USB hub found
[ 1.145794] xhci_hcd 0000:23:00.0: new USB bus registered, assigned bus number 4
[ 1.145796] xhci_hcd 0000:23:00.0: Host supports USB 3.0 SuperSpeed
[ 1.145818] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.15
[ 1.145819] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.145820] usb usb4: Product: xHCI Host Controller
[ 1.145820] usb usb4: Manufacturer: Linux 5.15.0-41-generic xhci-hcd
[ 1.145821] usb usb4: SerialNumber: 0000:23:00.0
[ 1.145855] hub 4-0:1.0: USB hub found
[ 1.146009] xhci_hcd 0000:2b:00.2: new USB bus registered, assigned bus number 5
[ 1.146686] usb usb5: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.15
[ 1.146687] usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.146687] usb usb5: Product: xHCI Host Controller
[ 1.146688] usb usb5: Manufacturer: Linux 5.15.0-41-generic xhci-hcd
[ 1.146688] usb usb5: SerialNumber: 0000:2b:00.2
[ 1.146720] hub 5-0:1.0: USB hub found
[ 1.146786] xhci_hcd 0000:2b:00.2: new USB bus registered, assigned bus number 6
[ 1.146787] xhci_hcd 0000:2b:00.2: Host supports USB 3.1 Enhanced SuperSpeed
[ 1.146803] usb usb6: We don't know the algorithms for LPM for this host, disabling LPM.
[ 1.146811] usb usb6: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.15
[ 1.146812] usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.146813] usb usb6: Product: xHCI Host Controller
[ 1.146813] usb usb6: Manufacturer: Linux 5.15.0-41-generic xhci-hcd
[ 1.146814] usb usb6: SerialNumber: 0000:2b:00.2
[ 1.146846] hub 6-0:1.0: USB hub found
[ 1.146973] xhci_hcd 0000:2d:00.3: new USB bus registered, assigned bus number 7
[ 1.147282] usb usb7: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.15
[ 1.147283] usb usb7: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.147283] usb usb7: Product: xHCI Host Controller
[ 1.147284] usb usb7: Manufacturer: Linux 5.15.0-41-generic xhci-hcd
[ 1.147284] usb usb7: SerialNumber: 0000:2d:00.3
[ 1.147323] hub 7-0:1.0: USB hub found
[ 1.147501] xhci_hcd 0000:2d:00.3: new USB bus registered, assigned bus number 8
[ 1.147502] xhci_hcd 0000:2d:00.3: Host supports USB 3.1 Enhanced SuperSpeed
[ 1.147515] usb usb8: We don't know the algorithms for LPM for this host, disabling LPM.
[ 1.147523] usb usb8: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.15
[ 1.147524] usb usb8: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[ 1.147525] usb usb8: Product: xHCI Host Controller
[ 1.147525] usb usb8: Manufacturer: Linux 5.15.0-41-generic xhci-hcd
[ 1.147525] usb usb8: SerialNumber: 0000:2d:00.3
[ 1.147565] hub 8-0:1.0: USB hub found
[ 1.482356] usb 1-2: new high-speed USB device number 2 using xhci_hcd
[ 1.482361] usb 3-1: new high-speed USB device number 2 using xhci_hcd
[ 1.486355] usb 7-3: new high-speed USB device number 2 using xhci_hcd
[ 1.618362] usb 3-1: New USB device found, idVendor=2109, idProduct=3431, bcdDevice= 4.20
[ 1.618364] usb 3-1: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 1.618365] usb 3-1: Product: USB2.0 Hub
[ 1.619250] hub 3-1:1.0: USB hub found
[ 1.700256] usb 1-2: New USB device found, idVendor=05e3, idProduct=0608, bcdDevice=60.70
[ 1.700259] usb 1-2: New USB device strings: Mfr=0, Product=1, SerialNumber=0
[ 1.700260] usb 1-2: Product: USB2.0 Hub
[ 1.707056] usb 7-3: New USB device found, idVendor=03f0, idProduct=0610, bcdDevice=32.98
[ 1.707058] usb 7-3: New USB device strings: Mfr=10, Product=11, SerialNumber=0
[ 1.707059] usb 7-3: Product: USB2.0 HUB
[ 1.707060] usb 7-3: Manufacturer: Genesyslogic
[ 1.707265] hub 1-2:1.0: USB hub found
[ 1.755974] hub 7-3:1.0: USB hub found
[ 1.856999] usb 1-5: new full-speed USB device number 3 using xhci_hcd
[ 2.108995] usb 7-3.2: new high-speed USB device number 3 using xhci_hcd
[ 2.126061] usb 1-5: New USB device found, idVendor=0d8c, idProduct=0103, bcdDevice= 0.10
[ 2.126065] usb 1-5: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 2.126067] usb 1-5: Product: USB Sound Device
[ 2.126068] usb 1-5: Manufacturer: C-Media INC.
[ 2.172996] usb 1-2.1: new full-speed USB device number 4 using xhci_hcd
[ 2.211075] usb 7-3.2: New USB device found, idVendor=1224, idProduct=2a25, bcdDevice= 1.00
[ 2.211079] usb 7-3.2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 2.211081] usb 7-3.2: Product: USB PHY 2.0
[ 2.211083] usb 7-3.2: Manufacturer: Jieli Technology
[ 2.403281] usb 1-2.1: New USB device found, idVendor=25a7, idProduct=fa61, bcdDevice= 6.20
[ 2.403286] usb 1-2.1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 2.403288] usb 1-2.1: Product: 2.4G Receiver
[ 2.403289] usb 1-2.1: Manufacturer: Compx
[ 2.500995] usb 1-6: new low-speed USB device number 5 using xhci_hcd
[ 2.756144] usb 1-6: New USB device found, idVendor=413c, idProduct=2005, bcdDevice= 1.04
[ 2.756148] usb 1-6: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 2.756150] usb 1-6: Product: DELL USB Keyboard
[ 2.756151] usb 1-6: Manufacturer: DELL
[ 2.888996] usb 1-8: new full-speed USB device number 6 using xhci_hcd
[ 3.135106] usb 1-8: New USB device found, idVendor=1462, idProduct=7c91, bcdDevice= 0.01
[ 3.135111] usb 1-8: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 3.135112] usb 1-8: Product: MYSTIC LIGHT
[ 3.135114] usb 1-8: Manufacturer: MSI
[ 3.135115] usb 1-8: SerialNumber: A020200409A4
[ 3.255814] usbcore: registered new interface driver usbhid
[ 3.255815] usbhid: USB HID core driver
[ 3.256954] input: Compx 2.4G Receiver as /devices/pci0000:00/0000:00:01.2/0000:02:00.0/usb1/1-2/1-2.1/1-2.1:1.0/0003:25A7:FA61.0001/input/input2
[ 3.313038] hid-generic 0003:25A7:FA61.0001: input,hidraw0: USB HID v1.10 Keyboard [Compx 2.4G Receiver] on usb-0000:02:00.0-2.1/input0
[ 3.313136] input: Compx 2.4G Receiver Mouse as /devices/pci0000:00/0000:00:01.2/0000:02:00.0/usb1/1-2/1-2.1/1-2.1:1.1/0003:25A7:FA61.0002/input/input3
[ 3.313184] input: Compx 2.4G Receiver as /devices/pci0000:00/0000:00:01.2/0000:02:00.0/usb1/1-2/1-2.1/1-2.1:1.1/0003:25A7:FA61.0002/input/input4
[ 3.313217] input: Compx 2.4G Receiver Consumer Control as /devices/pci0000:00/0000:00:01.2/0000:02:00.0/usb1/1-2/1-2.1/1-2.1:1.1/0003:25A7:FA61.0002/input/input5
[ 3.373027] input: Compx 2.4G Receiver System Control as /devices/pci0000:00/0000:00:01.2/0000:02:00.0/usb1/1-2/1-2.1/1-2.1:1.1/0003:25A7:FA61.0002/input/input6
[ 3.373085] hid-generic 0003:25A7:FA61.0002: input,hiddev0,hidraw1: USB HID v1.10 Mouse [Compx 2.4G Receiver] on usb-0000:02:00.0-2.1/input1
[ 3.373161] input: DELL DELL USB Keyboard as /devices/pci0000:00/0000:00:01.2/0000:02:00.0/usb1/1-6/1-6:1.0/0003:413C:2005.0003/input/input8
[ 3.433034] hid-generic 0003:413C:2005.0003: input,hidraw2: USB HID v1.10 Keyboard [DELL DELL USB Keyboard] on usb-0000:02:00.0-6/input0
[ 3.433110] input: MSI MYSTIC LIGHT as /devices/pci0000:00/0000:00:01.2/0000:02:00.0/usb1/1-8/1-8:1.0/0003:1462:7C91.0004/input/input9
[ 3.433160] hid-generic 0003:1462:7C91.0004: input,hiddev1,hidraw3: USB HID v1.10 Device [MSI MYSTIC LIGHT ] on usb-0000:02:00.0-8/input0
[ 3.886102] usb 7-3.2: Found UVC 1.00 device USB PHY 2.0 (1224:2a25)
[ 3.898227] input: USB PHY 2.0: USB CAMERA as /devices/pci0000:00/0000:00:08.1/0000:2d:00.3/usb7/7-3/7-3.2/7-3.2:1.0/input/input10
[ 3.901154] usbcore: registered new interface driver uvcvideo
[ 3.915194] audit: type=1400 audit(1658858929.663:10): apparmor="STATUS" operation="profile_load" profile="unconfined" name="ippusbxd" pid=657 comm="apparmor_parser"
[ 4.135764] usb 1-5: set volume quirk for CM102-A+/102S+
[ 4.382683] usb 7-3.2: set resolution quirk: cval->res = 16
[ 4.382796] usbcore: registered new interface driver snd-usb-audio
[ 320.473084] usb 4-2: new SuperSpeed USB device number 2 using xhci_hcd
[ 320.494226] usb 4-2: New USB device found, idVendor=152d, idProduct=0567, bcdDevice= 1.17
[ 320.494231] usb 4-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 320.494233] usb 4-2: Product: JMS567
[ 320.494234] usb 4-2: Manufacturer: JMicron
[ 320.494235] usb 4-2: SerialNumber: DB12345678A0C7
[ 320.510822] usbcore: registered new interface driver usb-storage
[ 320.516072] usbcore: registered new interface driver uas
[ 353.372422] usb 4-2: cmd cmplt err -2
[ 353.372451] usb 4-2: cmd cmplt err -2
[ 353.372463] usb 4-2: cmd cmplt err -2
[ 353.372473] usb 4-2: cmd cmplt err -2
[ 353.372482] usb 4-2: cmd cmplt err -2
[ 353.372585] usb 4-2: Disable of device-initiated U1 failed.
[ 353.372596] usb 4-2: Disable of device-initiated U2 failed.
[ 353.372598] usb 4-2: Could not disable xHCI U2 timeout, bus schedule bandwidth may be impacted.
[ 353.916667] usb 4-2: device not accepting address 2, error -108
[ 354.536661] usb 4-2: device not accepting address 2, error -108
[ 355.156600] usb 4-2: device not accepting address 2, error -108
[ 355.776628] usb 4-2: device not accepting address 2, error -108
[ 355.792946] usb 4-2: USB disconnect, device number 2
[ 356.108762] usb usb4-port2: couldn't allocate usb_device
bibi@bibi-MS-7C91:~$

Output of lsusb -tv after problem occurred:
bibi@bibi-MS-7C91:~$ lsusb -tv
/: Bus 08.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 10000M
    ID 1d6b:0003 Linux Foundation 3.0 root hub
/: Bus 07.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 480M
    ID 1d6b:0002 Linux Foundation 2.0 root hub
    |__ Port 3: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M
        ID 03f0:0610 HP, Inc Z24i Monitor Hub
        |__ Port 2: Dev 3, If 0, Class=Video, Driver=uvcvideo, 480M
            ID 1224:2a25
        |__ Port 2: Dev 3, If 1, Class=Video, Driver=uvcvideo, 480M
            ID 1224:2a25
        |__ Port 2: Dev 3, If 2, Class=Audio, Driver=snd-usb-audio, 480M
            ID 1224:2a25
        |__ Port 2: Dev 3, If 3, Class=Audio, Driver=snd-usb-audio, 480M
            ID 1224:2a25
/: Bus 06.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 10000M
    ID 1d6b:0003 Linux Foundation 3.0 root hub
/: Bus 05.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 480M
    ID 1d6b:0002 Linux Foundation 2.0 root hub
/: Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 5000M
    ID 1d6b:0003 Linux Foundation 3.0 root hub
/: Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/1p, 480M
    ID 1d6b:0002 Linux Foundation 2.0 root hub
    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M
        ID 2109:3431 VIA Labs, Inc. Hub
/: Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 10000M
    ID 1d6b:0003 Linux Foundation 3.0 root hub
/: Bus 01.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/10p, 480M
    ID 1d6b:0002 Linux Foundation 2.0 root hub
    |__ Port 2: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M
        ID 05e3:0608 Genesys Logic, Inc. Hub
        |__ Port 1: Dev 4, If 1, Class=Human Interface Device, Driver=usbhid, 12M
            ID 25a7:fa61 Areson Technology Corp Elecom Co., Ltd MR-K013 Multicard Reader
        |__ Port 1: Dev 4, If 0, Class=Human Interface Device, Driver=usbhid, 12M
            ID 25a7:fa61 Areson Technology Corp Elecom Co., Ltd MR-K013 Multicard Reader
    |__ Port 5: Dev 3, If 0, Class=Audio, Driver=snd-usb-audio, 12M
        ID 0d8c:0103 C-Media Electronics, Inc. CM102-A+/102S+ Audio Controller
    |__ Port 5: Dev 3, If 1, Class=Audio, Driver=snd-usb-audio, 12M
        ID 0d8c:0103 C-Media Electronics, Inc. CM102-A+/102S+ Audio Controller
    |__ Port 6: Dev 5, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
        ID 413c:2005 Dell Computer Corp. RT7D50 Keyboard
    |__ Port 8: Dev 6, If 0, Class=Human Interface Device, Driver=usbhid, 12M
        ID 1462:7c91 Micro Star International
bibi@bibi-MS-7C91:~$

I Spent hours on Internet without finding relevant article

I can reproduce at will...

Motherboard: MSI MAG Tomahawk B550
CPU: AMD Ryzen 5 5600X

Thanks a lot for your help

Eric Collart

Tags: bot-comment
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. It seems that your bug report is not filed about a specific source package though, rather it is just filed against Ubuntu in general. It is important that bug reports be filed about source packages so that people interested in the package can find the bugs about it. You can find some hints about determining what package your bug might be about at https://wiki.ubuntu.com/Bugs/FindRightPackage. You might also ask for help in the #ubuntu-bugs irc channel on Libera.chat.

To change the source package that this bug is filed about visit https://bugs.launchpad.net/ubuntu/+bug/1982877/+editstatus and add the package name in the text box next to the word Package.

[This is an automated message. I apologize if it reached you inappropriately; please just reply to this message indicating so.]

tags: added: bot-comment
Revision history for this message
Eric Collart (ecollart2) wrote :

It's nearly impossible to detrmine package for me without true help (and not the too deeply technical one provided). I can only tell that this happen ONLY with USB HDD, SSD or USB key; card reader abd other USB devices have no problem ! I can see UAS and usb-storage are loaded when problem occurs but not sure if part of th eproblem.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.