Hi. I am writing to report an issue with the HID driver for ASUS laptops on Fedora Linux 38 (Workstation Edition) with kernel 6.3.11. ``` [ 1.039761] hid-generic 0003:0B05:19B6.0001: input,hiddev96,hidraw0: USB HID v1.10 Device [ASUSTeK Computer Inc. N-KEY Device] on usb-0000:04:00.3-3/input0 [ 1.047448] hid-generic 0003:0B05:19B6.0002: hiddev97,hidraw1: USB HID v1.10 Device [ASUSTeK Computer Inc. N-KEY Device] on usb-0000:04:00.3-3/input1 [ 1.055378] input: ASUSTeK Computer Inc. N-KEY Device as /devices/pci0000:00/0000:00:08.1/0000:04:00.3/usb1/1-3/1-3:1.2/0003:0B05:19B6.0003/input/input7 [ 1.105404] hid-generic 0003:0B05:19B6.0003: input,hidraw2: USB HID v1.10 Keyboard [ASUSTeK Computer Inc. N-KEY Device] on usb-0000:04:00.3-3/input2 [ 1.110578] input: Video Bus as /devices/LNXSYSTM:00/LNXSYBUS:00/PNP0A08:00/device:11/LNXVIDEO:00/input/input8 [ 1.116607] asus_wmi: ASUS WMI generic driver loaded [ 1.186619] asus 0003:0B05:19B6.0001: Asus initialise N-KEY Device [ 1.200319] input: ASUSTeK Computer Inc. N-KEY Device as /devices/pci0000:00/0000:00:08.1/0000:04:00.3/usb1/1-3/1-3:1.0/0003:0B05:19B6.0001/input/input9 [ 1.252391] asus 0003:0B05:19B6.0001: input,hiddev96,hidraw0: USB HID v1.10 Device [ASUSTeK Computer Inc. N-KEY Device] on usb-0000:04:00.3-3/input0 [ 1.252596] asus 0003:0B05:19B6.0002: hiddev97,hidraw1: USB HID v1.10 Device [ASUSTeK Computer Inc. N-KEY Device] on usb-0000:04:00.3-3/input1 [ 1.252599] asus 0003:0B05:19B6.0002: Asus input not registered [ 1.252632] asus: probe of 0003:0B05:19B6.0002 failed with error -12 ``` in my dmesg logs. This is my lspci output ```My laptop's touchpad often becomes unresponsively slow after putting it to sleep, I think it's related to this. 00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne Root Complex 00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne IOMMU 00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge 00:01.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe GPP Bridge 00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge 00:02.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne PCIe GPP Bridge 00:02.4 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne PCIe GPP Bridge 00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge 00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir Internal PCIe GPP Bridge to Bus 00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 51) 00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51) 00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 0 00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 1 00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 2 00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 3 00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 4 00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 5 00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 6 00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 7 01:00.0 VGA compatible controller: NVIDIA Corporation GA106M [GeForce RTX 3060 Mobile / Max-Q] (rev a1) 01:00.1 Audio device: NVIDIA Corporation GA106 High Definition Audio Controller (rev a1) 02:00.0 Network controller: MEDIATEK Corp. MT7921 802.11ax PCI Express Wireless Network Adapter 03:00.0 Non-Volatile memory controller: Intel Corporation Device f1aa (rev 03) 04:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Cezanne [Radeon Vega Series / Radeon Vega Mobile Series] (rev c4) 04:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Renoir Radeon High Definition Audio Controller 04:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) Platform Security Processor 04:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne USB 3.1 04:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne USB 3.1 04:00.5 Multimedia controller: Advanced Micro Devices, Inc. [AMD] ACP/ACP3X/ACP6x Audio Coprocessor (rev 01) 04:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h/19h HD Audio Controller ``` Reproducible: Always Steps to Reproduce: 1. Boot system 2. Check kernel logs Actual Results: [ 1.252599] asus 0003:0B05:19B6.0002: Asus input not registered Expected Results: Asus input is registered
Thank you for your bug report. I have tried to reproduce the "Asus input not registered" error with 6.5-rc1 on an Asus T100HA which also uses the hid-asus driver but for me the hid-asus driver works without errors. So this seems to be a problem specific to your laptop model, or at least to laptops using the USB_DEVICE_ID_ASUSTEK_ROG_NKEY_KEYBOARD2 keyboards. For the "Asus input not registered" error you could try to contact "Luke D. Jones <luke>" who does a lot of volunteer work on supporting Linux on Asus laptops. As for the touchpad becoming slow, this is independent of this issue since the touchpad likely is not connected over USB at all. Please do: sudo dnf install evtest sudo evtest and then select your touchpad. After this move your finger over the touchpad to see if you are getting events (to check you've picked the right input device). The output of evtest when you select the device should include something like this: Input device ID: bus 0x3 vendor 0x46d product 0x4023 version 0x111 Input device name: "Logitech Wireless Keyboard PID:4023" Please add the 2 similar lines for your touchpad as a comment here. Also please reboot and then directly after reboot run: dmesg > dmesg.txt and attach the generated dmesg.txt file here.
Hi, thanks Hans. Input driver version is 1.0.1 Input device ID: bus 0x3 vendor 0xb05 product 0x19b6 version 0x110 Input device name: "Asus Keyboard" Will attach the dmesg logs soon
(In reply to Krish Jain from comment #3) > Hi, thanks Hans. > > Input driver version is 1.0.1 > Input device ID: bus 0x3 vendor 0xb05 product 0x19b6 version 0x110 > Input device name: "Asus Keyboard" Thank you. Are you sure this is for the device which generates input-events when moving your finger over the touchpad? What is the full list of devices which evtest lets you chose from ? What is the output of: for i in /sys/bus/hid/devices/*; do echo $i; ls -l $i/driver; done ?
Oops, I apologize, I misunderstood you. This is the output Input device ID: bus 0x18 vendor 0x4f3 product 0x3098 version 0x100 Input device name: "ELAN1201:00 04F3:3098 Touchpad"
https://drive.google.com/file/d/1tEJ6iA3TDpTuS33Vdeex9AleaykCCyGZ/view?usp=sharing This is the dmesg log you requested and [krishjain@asus ~]$ for i in /sys/bus/hid/devices/*; do echo $i; ls -l $i/driver; done /sys/bus/hid/devices/0003:0B05:19B6.0001 lrwxrwxrwx. 1 root root 0 Jul 14 12:40 /sys/bus/hid/devices/0003:0B05:19B6.0001/driver -> ../../../../../../../../bus/hid/drivers/asus /sys/bus/hid/devices/0003:0B05:19B6.0002 ls: cannot access '/sys/bus/hid/devices/0003:0B05:19B6.0002/driver': No such file or directory /sys/bus/hid/devices/0003:0B05:19B6.0003 lrwxrwxrwx. 1 root root 0 Jul 14 12:40 /sys/bus/hid/devices/0003:0B05:19B6.0003/driver -> ../../../../../../../../bus/hid/drivers/asus /sys/bus/hid/devices/0018:04F3:3098.0004 lrwxrwxrwx. 1 root root 0 Jul 14 12:40 /sys/bus/hid/devices/0018:04F3:3098.0004/driver -> ../../../../../../bus/hid/drivers/hid-multitouch
For the "Asus input not registered" I will try contacting Luke but wouldn't kernel developers at Red Hat be able to help with adding support for this?