USB ports/ Webcam / Bluetooth stopped working!

Hi! I’ve been having issues with Fedora 35 lately on my laptop (HP x360) after some recent updates. When installed the system worked flawlessly, but after an update(I think) the usb ports, webcam and bluetooth stopped working. USB devices work for about 5 seconds on boot, as for drives they are recognized for said 5 seconds but not mounted. Cheese outputs “No device found” and bluetooth just doesnt work.
My kernel : 5.15.11-200.fc35.x86_64
Thanks, evan.

Hi, may be you could start to run journalctl -k -b 0 | grep -iE "usb|sdb" and post it here (please also use preformatted text available on editor with [</>] icon). If the result too long, you could use https://pastebin.pl or other online sevices and share the link here.

Sure, thanks! Here it is :

Jan 03 18:13:38 fedora kernel: ACPI: bus type USB registered
Jan 03 18:13:38 fedora kernel: usbcore: registered new interface driver usbfs
Jan 03 18:13:38 fedora kernel: usbcore: registered new interface driver hub
Jan 03 18:13:38 fedora kernel: usbcore: registered new device driver usb
Jan 03 18:13:38 fedora kernel: ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
Jan 03 18:13:38 fedora kernel: ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
Jan 03 18:13:38 fedora kernel: uhci_hcd: USB Universal Host Controller Interface driver
Jan 03 18:13:38 fedora kernel: xhci_hcd 0000:04:00.3: new USB bus registered, assigned bus number 1
Jan 03 18:13:38 fedora kernel: usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.15
Jan 03 18:13:38 fedora kernel: usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
Jan 03 18:13:38 fedora kernel: usb usb1: Product: xHCI Host Controller
Jan 03 18:13:38 fedora kernel: usb usb1: Manufacturer: Linux 5.15.11-200.fc35.x86_64 xhci-hcd
Jan 03 18:13:38 fedora kernel: usb usb1: SerialNumber: 0000:04:00.3
Jan 03 18:13:38 fedora kernel: hub 1-0:1.0: USB hub found
Jan 03 18:13:38 fedora kernel: xhci_hcd 0000:04:00.3: new USB bus registered, assigned bus number 2
Jan 03 18:13:38 fedora kernel: xhci_hcd 0000:04:00.3: Host supports USB 3.1 Enhanced SuperSpeed
Jan 03 18:13:38 fedora kernel: usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
Jan 03 18:13:38 fedora kernel: usb usb2: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.15
Jan 03 18:13:38 fedora kernel: usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
Jan 03 18:13:38 fedora kernel: usb usb2: Product: xHCI Host Controller
Jan 03 18:13:38 fedora kernel: usb usb2: Manufacturer: Linux 5.15.11-200.fc35.x86_64 xhci-hcd
Jan 03 18:13:38 fedora kernel: usb usb2: SerialNumber: 0000:04:00.3
Jan 03 18:13:38 fedora kernel: hub 2-0:1.0: USB hub found
Jan 03 18:13:38 fedora kernel: xhci_hcd 0000:04:00.4: new USB bus registered, assigned bus number 3
Jan 03 18:13:38 fedora kernel: usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 5.15
Jan 03 18:13:38 fedora kernel: usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
Jan 03 18:13:38 fedora kernel: usb usb3: Product: xHCI Host Controller
Jan 03 18:13:38 fedora kernel: usb usb3: Manufacturer: Linux 5.15.11-200.fc35.x86_64 xhci-hcd
Jan 03 18:13:38 fedora kernel: usb usb3: SerialNumber: 0000:04:00.4
Jan 03 18:13:38 fedora kernel: hub 3-0:1.0: USB hub found
Jan 03 18:13:38 fedora kernel: xhci_hcd 0000:04:00.4: new USB bus registered, assigned bus number 4
Jan 03 18:13:38 fedora kernel: xhci_hcd 0000:04:00.4: Host supports USB 3.1 Enhanced SuperSpeed
Jan 03 18:13:38 fedora kernel: usb usb4: We don't know the algorithms for LPM for this host, disabling LPM.
Jan 03 18:13:38 fedora kernel: usb usb4: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 5.15
Jan 03 18:13:38 fedora kernel: usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
Jan 03 18:13:38 fedora kernel: usb usb4: Product: xHCI Host Controller
Jan 03 18:13:38 fedora kernel: usb usb4: Manufacturer: Linux 5.15.11-200.fc35.x86_64 xhci-hcd
Jan 03 18:13:38 fedora kernel: usb usb4: SerialNumber: 0000:04:00.4
Jan 03 18:13:38 fedora kernel: hub 4-0:1.0: USB hub found
Jan 03 18:13:38 fedora kernel: usbcore: registered new interface driver usbserial_generic
Jan 03 18:13:38 fedora kernel: usbserial: USB Serial support registered for generic
Jan 03 18:13:38 fedora kernel: usbcore: registered new interface driver usbhid
Jan 03 18:13:38 fedora kernel: usbhid: USB HID core driver
Jan 03 18:13:38 fedora kernel: usb 1-4: new high-speed USB device number 2 using xhci_hcd
Jan 03 18:13:38 fedora kernel: usb 3-2: new high-speed USB device number 2 using xhci_hcd
Jan 03 18:13:38 fedora kernel: usb 3-2: New USB device found, idVendor=05e3, idProduct=0608, bcdDevice=88.32
Jan 03 18:13:38 fedora kernel: usb 3-2: New USB device strings: Mfr=0, Product=1, SerialNumber=0
Jan 03 18:13:38 fedora kernel: usb 3-2: Product: USB2.0 Hub
Jan 03 18:13:38 fedora kernel: usb 1-4: New USB device found, idVendor=04f2, idProduct=b593, bcdDevice= 0.11
Jan 03 18:13:38 fedora kernel: usb 1-4: New USB device strings: Mfr=3, Product=1, SerialNumber=2
Jan 03 18:13:38 fedora kernel: usb 1-4: Product: HP Wide Vision FHD Camera
Jan 03 18:13:38 fedora kernel: usb 1-4: Manufacturer: Chicony Electronics Co.,Ltd.
Jan 03 18:13:38 fedora kernel: usb 1-4: SerialNumber: 1
Jan 03 18:13:38 fedora kernel: hub 3-2:1.0: USB hub found
Jan 03 18:13:38 fedora kernel: usb 3-2.3: new full-speed USB device number 3 using xhci_hcd
Jan 03 18:13:38 fedora kernel: usb 3-2.3: New USB device found, idVendor=0483, idProduct=91d1, bcdDevice= 1.11
Jan 03 18:13:38 fedora kernel: usb 3-2.3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Jan 03 18:13:38 fedora kernel: usb 3-2.3: Product: ST_SENSOR_HUB
Jan 03 18:13:38 fedora kernel: usb 3-2.3: Manufacturer: STMicroelectronics
Jan 03 18:13:38 fedora kernel: usb 3-2.3: SerialNumber: ST_SENSOR_HUB
Jan 03 18:13:38 fedora kernel: hid-generic 0003:0483:91D1.0001: hiddev96,hidraw0: USB HID v1.10 Device [STMicroelectronics ST_SENSOR_HUB] on usb-0000:04:00.4-2.3/input0
Jan 03 18:13:38 fedora kernel: usb 3-2.4: new full-speed USB device number 4 using xhci_hcd
Jan 03 18:13:38 fedora kernel: usb 3-2.4: New USB device found, idVendor=0bda, idProduct=b00b, bcdDevice= 1.10
Jan 03 18:13:38 fedora kernel: usb 3-2.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Jan 03 18:13:38 fedora kernel: usb 3-2.4: Product: Bluetooth Radio 
Jan 03 18:13:38 fedora kernel: usb 3-2.4: Manufacturer: Realtek 
Jan 03 18:13:38 fedora kernel: usb 3-2.4: SerialNumber: 00e04c000001
Jan 03 18:13:42 fedora kernel: usb 1-4: Found UVC 1.00 device HP Wide Vision FHD Camera (04f2:b593)
Jan 03 18:13:42 fedora kernel: input: HP Wide Vision FHD Camera: HP W as /devices/pci0000:00/0000:00:08.1/0000:04:00.3/usb1/1-4/1-4:1.0/input/input25
Jan 03 18:13:42 fedora kernel: usb 1-4: Found UVC 1.00 device HP Wide Vision FHD Camera (04f2:b593)
Jan 03 18:13:42 fedora kernel: input: HP Wide Vision FHD Camera: HP I as /devices/pci0000:00/0000:00:08.1/0000:04:00.3/usb1/1-4/1-4:1.2/input/input26
Jan 03 18:13:42 fedora kernel: usbcore: registered new interface driver uvcvideo
Jan 03 18:13:43 fedora kernel: usbcore: registered new interface driver btusb
Jan 03 18:13:58 fedora kernel: usb 3-2-port4: cannot disable (err = -22)
Jan 03 18:14:11 fedora kernel: xhci_hcd 0000:04:00.3: USBSTS: HCHalted HSE
Jan 03 18:14:11 fedora kernel: usb 1-4: USB disconnect, device number 2

Could you boot with older kernel on the boot list, 5.15.10 or 5.15.8? If when you boot to older kernel and all working normal, may be should stay in that version.

If with older version all working fine, you could make the default selected boot (default highlighted on boot list) to older version, for example kernel 5.15.10 with sudo grubby --set-default=/boot/vmlinuz-5.15.10-200.fc35.x86_64 --update-kernel=ALL

No luck with any kernel, Ive copied the logs from them, here they are : https://pastebin.com/FjnU8MaN, they all print out Error -22.

Jan 04 07:49:01 fedora kernel: usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.

Hi, above message is different than dmesg you post here. Are this new packages or already installed in your system?

Btw, you could read cat /etc/usb_modeswitch.conf on part #SetStorageDelay=4 with the descriptions about it and try un-comment to apply it.

Or you could try downgrade usb speed with blacklist echo "blacklist ehci_hcd" >> /etc/modprobe.d/ehci-hcd-blacklist.conf . Then reboot.

Hello @evan-ciao ,
Welcome to ask.:fedora:.org! So with Cheese, which is for the webcam right? This will likely be a Pipewire related thing since it is now handling streams including video. Bluez is for bluetooth, and you can see where your USB storage devices get mounted or not with Gnome Disks in the Utilities group. The terminal command lsusb can show you what the OS “sees” on your USB bus. Typing the command mount in a terminal will show you all filesystems currently mounted by your OS.

Hi, not sure. But those report happen on boot. Pipewire work on user session. But nevertheless it worth to check with lsusb and mount.

Update

@jakfrost I understand now what you means. My bad. I though the usb webcam and bluetooth are integrated with the pc. Look like it’s additional hardware that connected with usb port.

I tried both to uncomment SetStorageDelay=4 and echo "blacklist ehci_hcd" >> /etc/modprobe.d/ehci-hcd-blacklist.conf, still nothing.

Hi! The output of lsusb stays the same even after unplugging and plugging in an USB Device.

Here is the result of mine before plugging in a portable storage device.
Screenshot from 2022-01-04 13-36-15
Then after plugging in the drive …
Screenshot from 2022-01-04 13-37-27
Notice the line with Seagate RSS LLC BUP Portable
Now looking in Gnome Disks I see it mounted as below …


If I select the partition that is labeled Backup Plus, it shows the mount point for me.

The udev rules determine how USB drives get mounted. I am running Silverblue as well, just to note so I may have a slightly different path than Workstation for instance, but it will be close. If you don’t see a device connection change with lsusb after plugging in a device, I would try another device for one, and another port, to make sure it was seen by the OS.

Anything isn’t found or seen by the OS on the USB ports. That would be flash drives, keyboards and such. Nothing other than the main disk is seen on the gnome-disks app, neither USB devices do. But the ports work perfectly fine as the boot menu can be controlled by an external keyboard, and when my laptop had win10 everything worked fine too, so the issue must be related to an OS update or something.

Some other forums suggested to use iommu=soft kernel parameter on boot. You could try this by using:

sudo grubby --args="iommu=soft" --update-kernel=ALL

Then reboot.

To remove the kernel argument if it doesn’t work:

sudo grubby --remove-args="iommu=soft" --update-kernel=ALL

Boot options documentation

I solved the issue by reinstalling the OS, thank you anyway guys! :smiley: