Article 5MK3D USB keyboard and mouse not detected at boot with kernel 5.13.4, 5.12.11 is OK

USB keyboard and mouse not detected at boot with kernel 5.13.4, 5.12.11 is OK

by
Didier Spaier
from LinuxQuestions.org on (#5MK3D)
System: Slint64-14.2.1 based on Slackware64-14.2
kernel generic + initrd (kernel config very close to the one used for Slackware-current)

Symptom: USB keyboard and mouse don't work after booting so no way to log in when using a 5.13.4 kernel, no issue with 5.12.11. Which is sad as 5.12 is tagged EOL upstream.

I have added a few commands at the end of /etc/rc.d/rc.M to investigate:
Code:kerver=$(uname -r)
dmesg >/tmp/dmesg$kerver
lsmod >/tmp/lsmod$kerver
lsusb >/tmp/lsusb$kerver
modinfo usbhid >/tmp/usbhid$kerver
cat /proc/bus/input/devices >/tmp/input_devices$kerverI have compared the output of lsmod after booting in both cases, nearly identical.

"modinfo usbhid" gives the same output with both kernels, kernel version put aside.

In dmesg5.12.11 but not in dmesg5.13.4 I find these lines:Code:input: Lite-On Technology Corp. USB Multimedia Keyboard as /devices/pci0000:00/0000:00:1c.5/0000:06:00.0/usb3/3-1/3-1:1.0/0003:04CA:005A.0001/input/input0
input: Lite-On Technology Corp. USB Multimedia Keyboard Consumer Control as /devices/pci0000:00/0000:00:1c.5/0000:06:00.0/usb3/3-1/3-1:1.1/0003:04CA:005A.0002/input/input1
input: Lite-On Technology Corp. USB Multimedia Keyboard System Control as /devices/pci0000:00/0000:00:1c.5/0000:06:00.0/usb3/3-1/3-1:1.1/0003:04CA:005A.0002/input/input2
input: Logitech USB Optical Mouse as /devices/pci0000:00/0000:00:1c.5/0000:06:00.0/usb3/3-2/3-2:1.0/0003:046D:C077.0003/input/input3In lsusb5.12.11 only:Code:Bus 003 Device 003: ID 046d:c077 Logitech, Inc. M105 Optical Mouse
Bus 003 Device 002: ID 04ca:005a Lite-On Technology Corp. USB Multimedia Keyboardin the output of /cat/proc/bus/input/devices for 5.12.11 only:Code:I: Bus=0003 Vendor=04ca Product=005a Version=0111
N: Name="Lite-On Technology Corp. USB Multimedia Keyboard"
P: Phys=usb-0000:06:00.0-1/input0
S: Sysfs=/devices/pci0000:00/0000:00:1c.5/0000:06:00.0/usb3/3-1/3-1:1.0/0003:04CA:005A.0001/input/input0
U: Uniq=
H: Handlers=sysrq kbd leds event0
B: PROP=0
B: EV=120013
B: KEY=1000000000007 ff9f207ac14057ff febeffdfffefffff fffffffffffffffe
B: MSC=10
B: LED=1f

I: Bus=0003 Vendor=04ca Product=005a Version=0111
N: Name="Lite-On Technology Corp. USB Multimedia Keyboard Consumer Control"
P: Phys=usb-0000:06:00.0-1/input1
S: Sysfs=/devices/pci0000:00/0000:00:1c.5/0000:06:00.0/usb3/3-1/3-1:1.1/0003:04CA:005A.0002/input/input1
U: Uniq=
H: Handlers=kbd event1
B: PROP=0
B: EV=1f
B: KEY=300ff 0 0 483ffff17aff32d bfd4444600000000 1 130c730b17c000 267bfad9415fed 9e168000004400 10000002
B: REL=1040
B: ABS=100000000
B: MSC=10

I: Bus=0003 Vendor=04ca Product=005a Version=0111
N: Name="Lite-On Technology Corp. USB Multimedia Keyboard System Control"
P: Phys=usb-0000:06:00.0-1/input1
S: Sysfs=/devices/pci0000:00/0000:00:1c.5/0000:06:00.0/usb3/3-1/3-1:1.1/0003:04CA:005A.0002/input/input2
U: Uniq=
H: Handlers=kbd event2
B: PROP=0
B: EV=13
B: KEY=c000 10000000000000 0
B: MSC=10

I: Bus=0003 Vendor=046d Product=c077 Version=0111
N: Name="Logitech USB Optical Mouse"
P: Phys=usb-0000:06:00.0-2/input0
S: Sysfs=/devices/pci0000:00/0000:00:1c.5/0000:06:00.0/usb3/3-2/3-2:1.0/0003:046D:C077.0003/input/input3
U: Uniq=
H: Handlers=mouse0 event3
B: PROP=0
B: EV=17
B: KEY=70000 0 0 0 0
B: REL=903
B: MSC=10I would like to know why these input devices are detected when using the kernel 5.12.11 but not 5.13.4.

Any clue appreciated.latest?d=yIl2AUoC8zA latest?i=jk9bnPuu-WE:VpbN-Xm8HSM:F7zBnMy latest?i=jk9bnPuu-WE:VpbN-Xm8HSM:V_sGLiP latest?d=qj6IDK7rITs latest?i=jk9bnPuu-WE:VpbN-Xm8HSM:gIN9vFwjk9bnPuu-WE
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments