You are not logged in.

#1 2024-01-15 20:50:46

Isildur
Member
Registered: 2009-05-26
Posts: 96

[SOLVED]USB Devices (Keyboard, Mouse) not working anymore after update

Since the last update (including the dbus changes) my external USB devices like mouse and keyboard are not detected anymore. I can reproduce the issue both on my private and my working laptop. Devices connected through the docking station work though. The devices don't show up in lsusb or dmesg.

The output of journalctl looks promising to me:
gsd-usb-protect[1494]: Failed to fetch USBGuard parameters: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name is not activatable
However so far I didn't find any useful hints how to resolve this issue.

journalctl -b | grep usb

Jan 15 21:12:35 arch kernel: usbcore: registered new interface driver usbfs
Jan 15 21:12:35 arch kernel: usbcore: registered new interface driver hub
Jan 15 21:12:35 arch kernel: usbcore: registered new device driver usb
Jan 15 21:12:35 arch kernel: pci 0000:00:1a.0: quirk_usb_early_handoff+0x0/0x7d0 took 19029 usecs
Jan 15 21:12:35 arch kernel: pci 0000:00:1d.0: quirk_usb_early_handoff+0x0/0x7d0 took 19525 usecs
Jan 15 21:12:35 arch kernel: usbcore: registered new interface driver usbserial_generic
Jan 15 21:12:35 arch kernel: usbserial: USB Serial support registered for generic
Jan 15 21:12:35 arch kernel: usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.07
Jan 15 21:12:35 arch kernel: usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
Jan 15 21:12:35 arch kernel: usb usb1: Product: EHCI Host Controller
Jan 15 21:12:35 arch kernel: usb usb1: Manufacturer: Linux 6.7.0-arch3-1 ehci_hcd
Jan 15 21:12:35 arch kernel: usb usb1: SerialNumber: 0000:00:1a.0
Jan 15 21:12:35 arch kernel: usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.07
Jan 15 21:12:35 arch kernel: usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
Jan 15 21:12:35 arch kernel: usb usb2: Product: EHCI Host Controller
Jan 15 21:12:35 arch kernel: usb usb2: Manufacturer: Linux 6.7.0-arch3-1 ehci_hcd
Jan 15 21:12:35 arch kernel: usb usb2: SerialNumber: 0000:00:1d.0
Jan 15 21:12:35 arch kernel: usb 1-1: new high-speed USB device number 2 using ehci-pci
Jan 15 21:12:35 arch kernel: usb 2-1: new high-speed USB device number 2 using ehci-pci
Jan 15 21:12:35 arch kernel: usb 1-1: New USB device found, idVendor=8087, idProduct=0024, bcdDevice= 0.00
Jan 15 21:12:35 arch kernel: usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
Jan 15 21:12:35 arch kernel: usb 2-1: New USB device found, idVendor=8087, idProduct=0024, bcdDevice= 0.00
Jan 15 21:12:35 arch kernel: usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
Jan 15 21:12:35 arch kernel: usb 1-1.4: new high-speed USB device number 3 using ehci-pci
Jan 15 21:12:35 arch kernel: usb 2-1.5: new high-speed USB device number 3 using ehci-pci
Jan 15 21:12:35 arch kernel: usb 1-1.4: New USB device found, idVendor=0bda, idProduct=0139, bcdDevice=39.60
Jan 15 21:12:35 arch kernel: usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
Jan 15 21:12:35 arch kernel: usb 1-1.4: Product: USB2.0-CRW
Jan 15 21:12:35 arch kernel: usb 1-1.4: Manufacturer: Generic
Jan 15 21:12:35 arch kernel: usb 1-1.4: SerialNumber: 20100201396000000
Jan 15 21:12:35 arch kernel: usb 2-1.5: New USB device found, idVendor=04f2, idProduct=b330, bcdDevice=29.37
Jan 15 21:12:35 arch kernel: usb 2-1.5: New USB device strings: Mfr=3, Product=1, SerialNumber=2
Jan 15 21:12:35 arch kernel: usb 2-1.5: Product: USB2.0 HD UVC WebCam
Jan 15 21:12:35 arch kernel: usb 2-1.5: Manufacturer: Chicony Electronics Co.,Ltd.
Jan 15 21:12:35 arch kernel: usb 2-1.5: SerialNumber: 200901010001
Jan 15 21:12:35 arch kernel: usb 2-1.6: new full-speed USB device number 4 using ehci-pci
Jan 15 21:12:35 arch kernel: usb 2-1.6: New USB device found, idVendor=8087, idProduct=07da, bcdDevice=78.69
Jan 15 21:12:35 arch kernel: usb 2-1.6: New USB device strings: Mfr=0, Product=0, SerialNumber=0
Jan 15 21:12:35 arch kernel: usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.07
Jan 15 21:12:35 arch kernel: usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
Jan 15 21:12:35 arch kernel: usb usb3: Product: xHCI Host Controller
Jan 15 21:12:35 arch kernel: usb usb3: Manufacturer: Linux 6.7.0-arch3-1 xhci-hcd
Jan 15 21:12:35 arch kernel: usb usb3: SerialNumber: 0000:00:14.0
Jan 15 21:12:35 arch kernel: usb usb4: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.07
Jan 15 21:12:35 arch kernel: usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
Jan 15 21:12:35 arch kernel: usb usb4: Product: xHCI Host Controller
Jan 15 21:12:35 arch kernel: usb usb4: Manufacturer: Linux 6.7.0-arch3-1 xhci-hcd
Jan 15 21:12:35 arch kernel: usb usb4: SerialNumber: 0000:00:14.0
Jan 15 21:12:35 arch kernel: usbcore: registered new interface driver rtsx_usb
Jan 15 21:12:36 arch mtp-probe[356]: checking bus 2, device 3: "/sys/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5"
Jan 15 21:12:36 arch mtp-probe[380]: checking bus 1, device 3: "/sys/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.4"
Jan 15 21:12:36 arch kernel: usbcore: registered new interface driver btusb
Jan 15 21:12:36 arch kernel: usb 2-1.5: Found UVC 1.00 device USB2.0 HD UVC WebCam (04f2:b330)
Jan 15 21:12:36 arch kernel: usbcore: registered new interface driver uvcvideo
Jan 15 21:12:55 arch gsd-usb-protect[1494]: Failed to fetch USBGuard parameters: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name is not activatable

dmesg | grep usb

[    0.646341] usbcore: registered new interface driver usbfs
[    0.646341] usbcore: registered new interface driver hub
[    0.646341] usbcore: registered new device driver usb
[    0.746222] pci 0000:00:1a.0: quirk_usb_early_handoff+0x0/0x7d0 took 19029 usecs
[    0.766244] pci 0000:00:1d.0: quirk_usb_early_handoff+0x0/0x7d0 took 19525 usecs
[    0.832401] usbcore: registered new interface driver usbserial_generic
[    0.832414] usbserial: USB Serial support registered for generic
[    0.849516] usb usb1: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.07
[    0.849518] usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.849520] usb usb1: Product: EHCI Host Controller
[    0.849522] usb usb1: Manufacturer: Linux 6.7.0-arch3-1 ehci_hcd
[    0.849523] usb usb1: SerialNumber: 0000:00:1a.0
[    0.866182] usb usb2: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.07
[    0.866185] usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    0.866187] usb usb2: Product: EHCI Host Controller
[    0.866188] usb usb2: Manufacturer: Linux 6.7.0-arch3-1 ehci_hcd
[    0.866189] usb usb2: SerialNumber: 0000:00:1d.0
[    1.106089] usb 1-1: new high-speed USB device number 2 using ehci-pci
[    1.126084] usb 2-1: new high-speed USB device number 2 using ehci-pci
[    1.254191] usb 1-1: New USB device found, idVendor=8087, idProduct=0024, bcdDevice= 0.00
[    1.254201] usb 1-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    1.274195] usb 2-1: New USB device found, idVendor=8087, idProduct=0024, bcdDevice= 0.00
[    1.274200] usb 2-1: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    1.540509] usb 1-1.4: new high-speed USB device number 3 using ehci-pci
[    1.557173] usb 2-1.5: new high-speed USB device number 3 using ehci-pci
[    1.638058] usb 1-1.4: New USB device found, idVendor=0bda, idProduct=0139, bcdDevice=39.60
[    1.638063] usb 1-1.4: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[    1.638065] usb 1-1.4: Product: USB2.0-CRW
[    1.638066] usb 1-1.4: Manufacturer: Generic
[    1.638067] usb 1-1.4: SerialNumber: 20100201396000000
[    1.747932] usb 2-1.5: New USB device found, idVendor=04f2, idProduct=b330, bcdDevice=29.37
[    1.747936] usb 2-1.5: New USB device strings: Mfr=3, Product=1, SerialNumber=2
[    1.747938] usb 2-1.5: Product: USB2.0 HD UVC WebCam
[    1.747940] usb 2-1.5: Manufacturer: Chicony Electronics Co.,Ltd.
[    1.747941] usb 2-1.5: SerialNumber: 200901010001
[    1.869617] usb 2-1.6: new full-speed USB device number 4 using ehci-pci
[    1.971563] usb 2-1.6: New USB device found, idVendor=8087, idProduct=07da, bcdDevice=78.69
[    1.971566] usb 2-1.6: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    3.628938] usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.07
[    3.628942] usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.628945] usb usb3: Product: xHCI Host Controller
[    3.628947] usb usb3: Manufacturer: Linux 6.7.0-arch3-1 xhci-hcd
[    3.628949] usb usb3: SerialNumber: 0000:00:14.0
[    3.629925] usb usb4: New USB device found, idVendor=1d6b, idProduct=0003, bcdDevice= 6.07
[    3.629930] usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
[    3.629932] usb usb4: Product: xHCI Host Controller
[    3.629934] usb usb4: Manufacturer: Linux 6.7.0-arch3-1 xhci-hcd
[    3.629936] usb usb4: SerialNumber: 0000:00:14.0
[    3.637607] usbcore: registered new interface driver rtsx_usb
[    9.194608] usbcore: registered new interface driver btusb
[    9.196436] usb 2-1.5: Found UVC 1.00 device USB2.0 HD UVC WebCam (04f2:b330)
[    9.216380] usbcore: registered new interface driver uvcvideo

pacman -Qs firmware

local/cura-binary-data 5.6.0-1
    Binary data (firmwares and such) for cura
local/fwupd 1.9.11-1
    Simple daemon to allow session software to update firmware
local/linux-firmware 20231211.f2e52a1c-1
    Firmware files for Linux
local/linux-firmware-whence 20231211.f2e52a1c-1
    Firmware files for Linux - contains the WHENCE license file which documents the vendor license details

uname -r

6.7.0-arch3-1

Last edited by Isildur (2024-02-03 22:35:17)

Offline

#2 2024-01-15 21:20:33

seth
Member
Registered: 2012-09-03
Posts: 52,096

Re: [SOLVED]USB Devices (Keyboard, Mouse) not working anymore after update

Please don't grep.
Run "dmesg -w" plug your keyboard in and post the tail dmesg created in response.

Offline

#3 2024-01-15 22:44:29

Isildur
Member
Registered: 2009-05-26
Posts: 96

Re: [SOLVED]USB Devices (Keyboard, Mouse) not working anymore after update

There is no new output with dmesg -w when plugging in the keyboard, seems like something fails on a low level.

Offline

#4 2024-01-15 22:45:40

seth
Member
Registered: 2012-09-03
Posts: 52,096

Re: [SOLVED]USB Devices (Keyboard, Mouse) not working anymore after update

Please post your complete system journal for the boot:

sudo journalctl -b | curl -F 'file=@-' 0x0.st

Offline

#5 2024-01-16 07:42:54

Isildur
Member
Registered: 2009-05-26
Posts: 96

Re: [SOLVED]USB Devices (Keyboard, Mouse) not working anymore after update

Thank you for the support. Here is the log file:
http://0x0.st/HUC6.txt

edit:
I got my keyboard to work, when I plug it in with an external USB Hub before I boot the laptop. I couldn't yet fully establish whether there is a causal connection or only a coincidence. Here is the log when it works:
http://0x0.st/H0ra.txt

Last edited by Isildur (2024-01-16 08:46:41)

Offline

#6 2024-01-16 08:48:15

seth
Member
Registered: 2012-09-03
Posts: 52,096

Re: [SOLVED]USB Devices (Keyboard, Mouse) not working anymore after update

Jan 16 08:40:05 arch systemd-modules-load[205]: Failed to find module 'vboxdrv'

You forgot to rebuild an OOT module

This *might* be interesting

Jan 16 08:40:06 arch kernel: ACPI Warning: SystemIO range 0x0000000000000428-0x000000000000042F conflicts with OpRegion 0x0000000000000400-0x000000000000044F (\GPIS) (20230628/utaddress-204)
Jan 16 08:40:06 arch kernel: ACPI Warning: SystemIO range 0x0000000000000428-0x000000000000042F conflicts with OpRegion 0x0000000000000400-0x000000000000047F (\PMIO) (20230628/utaddress-204)
Jan 16 08:40:06 arch kernel: ACPI: OSL: Resource conflict; ACPI support missing from driver?
Jan 16 08:40:06 arch kernel: ACPI Warning: SystemIO range 0x0000000000000540-0x000000000000054F conflicts with OpRegion 0x0000000000000500-0x000000000000057F (\GPIO) (20230628/utaddress-204)
Jan 16 08:40:06 arch kernel: ACPI Warning: SystemIO range 0x0000000000000540-0x000000000000054F conflicts with OpRegion 0x0000000000000500-0x0000000000000563 (\GP01) (20230628/utaddress-204)
Jan 16 08:40:06 arch kernel: ACPI: OSL: Resource conflict; ACPI support missing from driver?
Jan 16 08:40:06 arch kernel: ACPI Warning: SystemIO range 0x0000000000000530-0x000000000000053F conflicts with OpRegion 0x0000000000000500-0x000000000000057F (\GPIO) (20230628/utaddress-204)
Jan 16 08:40:06 arch kernel: ACPI Warning: SystemIO range 0x0000000000000530-0x000000000000053F conflicts with OpRegion 0x0000000000000500-0x0000000000000563 (\GP01) (20230628/utaddress-204)
Jan 16 08:40:06 arch kernel: ACPI: OSL: Resource conflict; ACPI support missing from driver?
Jan 16 08:40:06 arch kernel: ACPI Warning: SystemIO range 0x0000000000000500-0x000000000000052F conflicts with OpRegion 0x0000000000000500-0x000000000000057F (\GPIO) (20230628/utaddress-204)
Jan 16 08:40:06 arch kernel: ACPI Warning: SystemIO range 0x0000000000000500-0x000000000000052F conflicts with OpRegion 0x0000000000000500-0x0000000000000563 (\GP01) (20230628/utaddress-204)
Jan 16 08:40:06 arch kernel: ACPI: OSL: Resource conflict; ACPI support missing from driver?
Jan 16 08:40:06 arch kernel: lpc_ich: Resource conflict(s) found affecting gpio_ich

But there're no outright PCI, USB or *HCI errors in that log.
There were at least two incidents last year where users found a (new?) setting in their UEFI that disabled external USB devices
https://bbs.archlinux.org/viewtopic.php … 1#p2087191
https://bbs.archlinux.org/viewtopic.php … 2#p2140682

So take a look there…

Offline

#7 2024-01-16 17:08:07

Isildur
Member
Registered: 2009-05-26
Posts: 96

Re: [SOLVED]USB Devices (Keyboard, Mouse) not working anymore after update

Thank you. I would have never thought about UEFI in that context. I accidentally broke my GRUB when recreating the config without reinstalling. So I reinstalled GRUB and that seems to have fixed the issue on my working laptop. I don't understand how though.
On my private laptop I tried the same (reinstalling GRUB) however the issue still persists. GRUB is on the same version (2:2.12-1). What I noticed is that the entry UEFI Firmware Settings is missing in the menu on my old private laptop even though I recreated the config with the new GRUB version.

For clarity:
Work laptop: Dell XPS 15 (2021?!)  - working after GRUB reinstall
Private laptop: Asus Zenbook (2012 (yes it's old)) - not working so far after GRUB reinstall

Last edited by Isildur (2024-01-16 17:08:49)

Offline

#8 2024-01-16 20:55:07

seth
Member
Registered: 2012-09-03
Posts: 52,096

Re: [SOLVED]USB Devices (Keyboard, Mouse) not working anymore after update

The UEFI has nothing to do with the bootloader itr and I'm not sure how re-installing grub could restore USB access on the OS.

Do you have any possibly relevant USB settings in your UEFI?
You should be able to access the firmware by pressing F2 while it's powering on?

Offline

#9 2024-01-17 19:42:06

Isildur
Member
Registered: 2009-05-26
Posts: 96

Re: [SOLVED]USB Devices (Keyboard, Mouse) not working anymore after update

I'm not sure either what's going on - maybe some some side effect. In UEFI I found only two entries: Legacy USB Support (enabled) and XHCI Pre-Boot Mode (Smart Auto (I tried Enabled too)).

However I noticed that my grub.cfg contains some suspicious entries which are not present on the working laptop. Not sure what its doing, the config is auto generated.
search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  d33ef649-eccb-41a5-a4ca-6fa6b878c6dc

menuentry 'Arch Linux, with Linux linux' --class arch --class gnu-linux --class gnu --class os $menuentry_id_option 'gnulinux-linux-advanced-d33ef649-eccb-41a5-a4ca-6fa6b878c6dc' {
		load_video
		set gfxpayload=keep
		insmod gzio
		insmod part_gpt
		insmod ext2
		set root='hd0,gpt2'
		if [ x$feature_platform_search_hint = xy ]; then
		 search --no-floppy --fs-uuid --set=root --hint-bios=hd0,gpt2 --hint-efi=hd0,gpt2 --hint-baremetal=ahci0,gpt2  d33ef649-eccb-41a5-a4ca-6fa6b878c6dc
		else
		 search --no-floppy --fs-uuid --set=root d33ef649-eccb-41a5-a4ca-6fa6b878c6dc
		fi
		echo	'Loading Linux linux ...'
		linux	/boot/vmlinuz-linux root=UUID=d33ef649-eccb-41a5-a4ca-6fa6b878c6dc rw  loglevel=3 quiet i915.enable_psr=0
		echo	'Loading initial ramdisk ...'
		initrd	/boot/initramfs-linux.img  
}

Offline

#10 2024-01-17 21:00:15

seth
Member
Registered: 2012-09-03
Posts: 52,096

Re: [SOLVED]USB Devices (Keyboard, Mouse) not working anymore after update

Searching for the boot partition, there's nothing suspicious about that.
What happens if you disable the legacy usb support (which is typically code for the xhci handoff)?

Offline

#11 2024-01-17 21:18:16

Isildur
Member
Registered: 2009-05-26
Posts: 96

Re: [SOLVED]USB Devices (Keyboard, Mouse) not working anymore after update

No changes when I deactivate legacy usb support.

Offline

#12 2024-01-17 21:25:48

seth
Member
Registered: 2012-09-03
Posts: 52,096

Re: [SOLVED]USB Devices (Keyboard, Mouse) not working anymore after update

Can you boot a live distro (eg. grml) from a usb key and do the usb peripherals work there?

Offline

#13 2024-01-18 19:13:44

Isildur
Member
Registered: 2009-05-26
Posts: 96

Re: [SOLVED]USB Devices (Keyboard, Mouse) not working anymore after update

I just booted Ubuntu from USB and the keyboard worked out of the box. So it must be somehow related to my Arch installation...

Offline

#14 2024-01-18 20:49:39

seth
Member
Registered: 2012-09-03
Posts: 52,096

Re: [SOLVED]USB Devices (Keyboard, Mouse) not working anymore after update

Does plugging the device also produce absolutely no event in dmesg on that machine?
Do "uname -a" and "pacman -Qs kernel" align?

lsmod | grep -E 'usb|hci'

Offline

#15 2024-01-19 17:36:05

Isildur
Member
Registered: 2009-05-26
Posts: 96

Re: [SOLVED]USB Devices (Keyboard, Mouse) not working anymore after update

dmesg provides "normal" output on the Ubuntu system. Here is the full dmesg log with two times plugging in a keyboard.
http://0x0.st/H0ES.log

I also noticed, that when I boot on Arch with the keyboard plugged in during/before boot, I do see the keyboard in lsusb. However it still doesn't work and I still get no dmesg when unplugging/replugging it. Seems like something kills the USB (port (power save?), driver, something) during the boot process. Here is the full dmesg log of such a boot.
http://0x0.st/H0EM.log
These lines are related to my keyboard

[    4.429063] usb 3-2: Product: DZ65RGBV3
[    4.429065] usb 3-2: Manufacturer: DZTECH
[    4.628500] input: DZTECH DZ65RGBV3 as /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.0/0003:445A:1424.0001/input/input8
~ ❯ lsmod | grep -E 'usb|hci'                                                                                                                                                                                                    
btusb                  86016  0
rtsx_usb_ms            24576  0
btrtl                  32768  1 btusb
memstick               28672  1 rtsx_usb_ms
btintel                57344  1 btusb
btbcm                  24576  1 btusb
btmtk                  12288  1 btusb
bluetooth            1114112  12 btrtl,btmtk,btintel,btbcm,bnep,btusb
usbhid                 77824  0
rtsx_usb_sdmmc         40960  0
mmc_core              270336  1 rtsx_usb_sdmmc
rtsx_usb               32768  2 rtsx_usb_sdmmc,rtsx_usb_ms
xhci_pci               28672  0
xhci_pci_renesas       24576  1 xhci_pci

I tried both lts and normal kernel

~ ❯ uname -a                                                                                                                                                                                                                     
Linux arch 6.6.12-1-lts #1 SMP PREEMPT_DYNAMIC Mon, 15 Jan 2024 19:25:15 +0000 x86_64 GNU/Linux

~ ❯ pacman -Qs kernel                                                                                                                                                                                                            
local/bbswitch 0.8-646
local/dkms 3.0.12-1
local/kmod 31-1
local/linux 6.7.arch3-1
local/linux-api-headers 6.4-1
local/linux-lts 6.6.12-1
local/linux-lts-headers 6.6.12-1
local/mtdev 1.1.6-2
local/virtualbox-host-dkms 7.0.14-1

(shortened output)

Offline

#16 2024-01-19 22:30:02

seth
Member
Registered: 2012-09-03
Posts: 52,096

Re: [SOLVED]USB Devices (Keyboard, Mouse) not working anymore after update

[    1.950531] usb 2-1.6: new full-speed USB device number 4 using ehci-pci
[    2.051846] usb 2-1.6: New USB device found, idVendor=8087, idProduct=07da, bcdDevice=78.69
[    2.051851] usb 2-1.6: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[    9.867368] usb 2-1.6: USB disconnect, device number 4
[   12.586018] btusb: probe of 2-1.6:1.0 failed with error -22

Can you disable BT in the bios/uefi?

Offline

#17 2024-01-21 18:03:30

Isildur
Member
Registered: 2009-05-26
Posts: 96

Re: [SOLVED]USB Devices (Keyboard, Mouse) not working anymore after update

Good point. Unfortunately there seems to be no such option in my bios. I tried blacklisting the btusb kernel module but that doesn't seem to work.

Offline

#18 2024-01-21 20:32:23

seth
Member
Registered: 2012-09-03
Posts: 52,096

Re: [SOLVED]USB Devices (Keyboard, Mouse) not working anymore after update

Tried how? Does btusb still show up in the kernel?

module_blacklist=btusb

in the https://wiki.archlinux.org/title/Kernel_parameters *will* prevent loading it for sure.

nb. that btusb might however also be only the first victim of what's actually going on here (despite 22 being "invalid argument")

Offline

#19 2024-01-25 21:29:19

Isildur
Member
Registered: 2009-05-26
Posts: 96

Re: [SOLVED]USB Devices (Keyboard, Mouse) not working anymore after update

Sorry for the delay. I tried putting a file into modprobe.d/ . With the module_blacklist=btusb in my grub line it does block the btusb module from being loaded but it seems like that doesn't resolve the issue.

Offline

#20 2024-01-26 16:39:38

seth
Member
Registered: 2012-09-03
Posts: 52,096

Re: [SOLVED]USB Devices (Keyboard, Mouse) not working anymore after update

No problem, just had to re-read the thread wink
Can you please post an updated journal?
Ubuntu:

[  384.033899] usb 3-2: new full-speed USB device number 2 using xhci_hcd
[  384.184445] usb 3-2: New USB device found, idVendor=445a, idProduct=1424, bcdDevice= 0.03
[  384.184469] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[  384.184477] usb 3-2: Product: DZ65RGBV3
[  384.184482] usb 3-2: Manufacturer: DZTECH
[  384.304193] hid: raw HID events driver (C) Jiri Kosina
[  384.310767] usbcore: registered new interface driver usbhid
[  384.310774] usbhid: USB HID core driver
[  384.326300] input: DZTECH DZ65RGBV3 as /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.0/0003:445A:1424.0001/input/input17
[  384.386094] hid-generic 0003:445A:1424.0001: input,hidraw0: USB HID v1.11 Keyboard [DZTECH DZ65RGBV3] on usb-0000:00:14.0-2/input0
[  384.386364] hid-generic 0003:445A:1424.0002: hiddev0,hidraw1: USB HID v1.11 Device [DZTECH DZ65RGBV3] on usb-0000:00:14.0-2/input1
[  384.386719] input: DZTECH DZ65RGBV3 System Control as /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.2/0003:445A:1424.0003/input/input18
[  384.446182] input: DZTECH DZ65RGBV3 Consumer Control as /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.2/0003:445A:1424.0003/input/input19
[  384.446301] input: DZTECH DZ65RGBV3 Keyboard as /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.2/0003:445A:1424.0003/input/input20
[  384.446565] hid-generic 0003:445A:1424.0003: input,hidraw2: USB HID v1.11 Keyboard [DZTECH DZ65RGBV3] on usb-0000:00:14.0-2/input2
[  388.832344] usb 3-2: USB disconnect, device number 2
[  397.701899] usb 3-2: new full-speed USB device number 3 using xhci_hcd
[  397.852406] usb 3-2: New USB device found, idVendor=445a, idProduct=1424, bcdDevice= 0.03
[  397.852430] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[  397.852437] usb 3-2: Product: DZ65RGBV3
[  397.852442] usb 3-2: Manufacturer: DZTECH
[  397.859432] input: DZTECH DZ65RGBV3 as /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.0/0003:445A:1424.0004/input/input21
[  397.918252] hid-generic 0003:445A:1424.0004: input,hidraw0: USB HID v1.11 Keyboard [DZTECH DZ65RGBV3] on usb-0000:00:14.0-2/input0
[  397.919386] hid-generic 0003:445A:1424.0005: hiddev0,hidraw1: USB HID v1.11 Device [DZTECH DZ65RGBV3] on usb-0000:00:14.0-2/input1
[  397.921045] input: DZTECH DZ65RGBV3 System Control as /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.2/0003:445A:1424.0006/input/input22
[  397.978258] input: DZTECH DZ65RGBV3 Consumer Control as /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.2/0003:445A:1424.0006/input/input23
[  397.978508] input: DZTECH DZ65RGBV3 Keyboard as /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.2/0003:445A:1424.0006/input/input24
[  397.978914] hid-generic 0003:445A:1424.0006: input,hidraw2: USB HID v1.11 Keyboard [DZTECH DZ65RGBV3] on usb-0000:00:14.0-2/input2

This looks like you testing to connect and reconnect the DZTECH DZ65RGBV3 6 minutes into the boot.

Otoh Archlinux

[    4.277173] usb 3-2: new full-speed USB device number 2 using xhci_hcd
[    4.429053] usb 3-2: New USB device found, idVendor=445a, idProduct=1424, bcdDevice= 0.03
[    4.429060] usb 3-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[    4.429063] usb 3-2: Product: DZ65RGBV3
[    4.429065] usb 3-2: Manufacturer: DZTECH
[    4.628500] input: DZTECH DZ65RGBV3 as /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.0/0003:445A:1424.0001/input/input8
[    4.684661] hid-generic 0003:445A:1424.0001: input,hidraw0: USB HID v1.11 Keyboard [DZTECH DZ65RGBV3] on usb-0000:00:14.0-2/input0
[    4.686224] hid-generic 0003:445A:1424.0002: hiddev96,hidraw1: USB HID v1.11 Device [DZTECH DZ65RGBV3] on usb-0000:00:14.0-2/input1
[    4.687815] input: DZTECH DZ65RGBV3 System Control as /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.2/0003:445A:1424.0003/input/input9
[    4.744364] input: DZTECH DZ65RGBV3 Consumer Control as /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.2/0003:445A:1424.0003/input/input10
[    4.744685] input: DZTECH DZ65RGBV3 Keyboard as /devices/pci0000:00/0000:00:14.0/usb3/3-2/3-2:1.2/0003:445A:1424.0003/input/input11
[    4.745734] hid-generic 0003:445A:1424.0003: input,hidraw2: USB HID v1.11 Keyboard [DZTECH DZ65RGBV3] on usb-0000:00:14.0-2/input2
[    4.745835] usbcore: registered new interface driver usbhid
[    4.745841] usbhid: USB HID core driver
[    9.867368] usb 2-1.6: USB disconnect, device number 4
[    9.936282] usb 2-1.5: Found UVC 1.00 device USB2.0 HD UVC WebCam (04f2:b330)
[    9.952934] usbcore: registered new interface driver uvcvideo
[   12.586018] btusb: probe of 2-1.6:1.0 failed with error -22
[   12.586777] usbcore: registered new interface driver btusb

The device is there and dennected during the boot and then the bluetooth "disconnects" and the webcam shows up
The webcam is also in the ubuntu journal, but the BT is not, resp

[    2.517772] usb 1-1.6: new full-speed USB device number 4 using ehci-pci
[    2.631113] usb 1-1.6: New USB device found, idVendor=8087, idProduct=07da, bcdDevice=78.69
[    2.631130] usb 1-1.6: New USB device strings: Mfr=0, Product=0, SerialNumber=0
[   13.523067] usb 1-1.6: USB disconnect, device number 4

it shows up and likewise disconnects, but the btusb module is never loaded.

Offline

#21 2024-02-02 20:43:35

Isildur
Member
Registered: 2009-05-26
Posts: 96

Re: [SOLVED]USB Devices (Keyboard, Mouse) not working anymore after update

Thank you for your continued support! I tested it again with a Manjaro live image, same result - it works. I had a look at the bluetooth logs as well but Im not sure if that's related at all: http://0x0.st/HDgq.txt

Arch logs
http://0x0.st/HDY5.log
http://0x0.st/HDYC.log

Manjaro
http://0x0.st/HDY7.log
http://0x0.st/HDYR.log

Offline

#22 2024-02-02 22:43:37

seth
Member
Registered: 2012-09-03
Posts: 52,096

Re: [SOLVED]USB Devices (Keyboard, Mouse) not working anymore after update

Neither the btusb probing failure nor the DZTECH device show up in either.
Manjaro has

Feb 02 19:25:09 manjaro-gnome kernel: usb 3-1: new full-speed USB device number 2 using xhci_hcd
Feb 02 19:25:09 manjaro-gnome kernel: usb 3-1: New USB device found, idVendor=4b50, idProduct=0040, bcdDevice= 2.00
Feb 02 19:25:09 manjaro-gnome kernel: usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=0
Feb 02 19:25:09 manjaro-gnome kernel: usb 3-1: Product: JJ40V2
Feb 02 19:25:09 manjaro-gnome kernel: usb 3-1: Manufacturer: KPrepublic
Feb 02 19:25:09 manjaro-gnome mtp-probe[33927]: checking bus 3, device 2: "/sys/devices/pci0000:00/0000:00:14.0/usb3/3-1"
Feb 02 19:25:09 manjaro-gnome mtp-probe[33927]: bus: 3, device: 2 was not an MTP device
Feb 02 19:25:09 manjaro-gnome kernel: input: KPrepublic JJ40V2 as /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.0/0003:4B50:0040.0001/input/input18
Feb 02 19:25:09 manjaro-gnome kernel: hid-generic 0003:4B50:0040.0001: input,hidraw0: USB HID v1.11 Keyboard [KPrepublic JJ40V2] on usb-0000:00:14.0-1/input0
Feb 02 19:25:09 manjaro-gnome kernel: hid-generic 0003:4B50:0040.0002: hiddev96,hidraw1: USB HID v1.11 Device [KPrepublic JJ40V2] on usb-0000:00:14.0-1/input1
Feb 02 19:25:09 manjaro-gnome kernel: input: KPrepublic JJ40V2 Mouse as /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.2/0003:4B50:0040.0003/input/input19
Feb 02 19:25:09 manjaro-gnome kernel: input: KPrepublic JJ40V2 System Control as /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.2/0003:4B50:0040.0003/input/input20
Feb 02 19:25:09 manjaro-gnome kernel: input: KPrepublic JJ40V2 Consumer Control as /devices/pci0000:00/0000:00:14.0/usb3/3-1/3-1:1.2/0003:4B50:0040.0003/input/input21
Feb 02 19:25:09 manjaro-gnome kernel: hid-generic 0003:4B50:0040.0003: input,hidraw2: USB HID v1.11 Mouse [KPrepublic JJ40V2] on usb-0000:00:14.0-1/input2

The host is detected on either

Feb 02 19:20:56 manj kernel: usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.06
Feb 02 19:20:56 manj kernel: usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
Feb 02 19:20:56 manj kernel: usb usb3: Product: xHCI Host Controller
Feb 02 19:20:56 manj kernel: usb usb3: Manufacturer: Linux 6.6.10-1-MANJARO xhci-hcd
Feb 02 19:20:56 manj kernel: usb usb3: SerialNumber: 0000:00:14.0
Feb 02 20:54:14 arch kernel: usb usb3: New USB device found, idVendor=1d6b, idProduct=0002, bcdDevice= 6.07
Feb 02 20:54:14 arch kernel: usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
Feb 02 20:54:14 arch kernel: usb usb3: Product: xHCI Host Controller
Feb 02 20:54:14 arch kernel: usb usb3: Manufacturer: Linux 6.7.3-arch1-1 xhci-hcd
Feb 02 20:54:14 arch kernel: usb usb3: SerialNumber: 0000:00:14.0

Only difference are kernel version (are you sure it doesn't work w/ the LTS kernel?) and bcdDevice

One thing:
You've an nvidia GPU, manjaro finds and complains w/

Feb 02 19:22:50 manjaro-gnome kernel: NVRM: The NVIDIA GeForce GT 620M GPU installed in this system is
                                      NVRM:  supported through the NVIDIA 390.xx Legacy drivers. Please
                                      NVRM:  visit http://www.nvidia.com/object/unix.html for more
                                      NVRM:  information.  The 545.29.06 NVIDIA driver will ignore
                                      NVRM:  this GPU.  Continuing probe...

On arch you're deactivating it

Feb 02 20:54:16 arch kernel: bbswitch: Succesfully loaded. Discrete card 0000:01:00.0 is on
Feb 02 20:54:16 arch kernel: bbswitch: disabling discrete graphics

Newer nvidia cards have a usb host controller… what if you don't disable it?

Offline

#23 2024-02-03 20:18:25

Isildur
Member
Registered: 2009-05-26
Posts: 96

Re: [SOLVED]USB Devices (Keyboard, Mouse) not working anymore after update

I removed bbswitch and bumblebee but it didn't make a difference. I tried both LTS and standard kernel and didn't see a difference in behaviour.
Since the logs suggested some relationship with bluetooth I tried disabling the bluetooth kernel module. That removes some of the log entries but doesn't fix the issue (http://0x0.st/HDkL.log).

edit: Seems like I fixed it. I check my power save settings and changed a few options in powertop. Now its working.
Powertop

Last edited by Isildur (2024-02-03 20:26:16)

Offline

#24 2024-02-03 21:11:13

seth
Member
Registered: 2012-09-03
Posts: 52,096

Re: [SOLVED]USB Devices (Keyboard, Mouse) not working anymore after update

Seems like I fixed it. I check my power save settings and changed a few options in powertop. Now its working.

Meeh. I can't believe I didn't ask for that…
https://wiki.archlinux.org/title/Power_ … utosuspend

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

#25 2024-02-03 22:43:43

Isildur
Member
Registered: 2009-05-26
Posts: 96

Re: [SOLVED]USB Devices (Keyboard, Mouse) not working anymore after update

Thanks, I came across that Wiki page before but somehow found the issue only now. Thank you for your support!

Offline

Board footer

Powered by FluxBB