Closed lukeflo closed 5 months ago
Could fix ist myself. Maybe also a solution for people with a similar problem.
For some reasons udev
tries to load some keyboard assignments from /lib/udev/hwdb.d/60-keyboard.hwdb
which deal with the wlan switch of a Lenovo Idea Pad. Since I have no Idea Pad but some other Lenovo notebook, those keys can't be assigned which causes the error.
Thus I just copied the file /lib/udev/hwdb.d/60-keyboard.hwdb
to /etc/udev/hwdb.d/60-keyboard.hwdb
and uncommented the particular lines mentioned at the end of the udevadm test
call above:
# IdeaPad
evdev:name:Ideapad extra buttons:dmi:bvn*:bvr*:bd*:svnLENOVO*:pn*:*
# KEYBOARD_KEY_0d=rfkill # airplane mode switch (toggle all wireless devices)
# KEYBOARD_KEY_08=f20 # micmute
# KEYBOARD_KEY_42=f23
# KEYBOARD_KEY_43=f22
After that, just rebuilt the hwdb-database with sudo udevadm hwdb --update
.
Now the warnings on boot are gone. I recognized no other drawbacks, which isn't surprising since the switch does not exist on my notebook.
I'm not totally sure if this is the correct repo to post this issue, but after searching seems to be the best fit.
System
I'm running Void Linux, Kernel 6.6.31_1, using
runit
instead ofsystemd
for service management.The installed udev package is
eudev
.udevd --version
gives 251.Error message
On every boot I get the following error messages:
Everything works fine, but the messages disturb the login process/display manager
Debug
I tried debugging the error message with the following commands. The output is attached:
udevadm info -a /dev/input/event16
:Afterwards I run a test:
sudo udevadm test /devices/virtual/input/input33/event16
:Unfortunately, I'm not as familiar with
udev
to understand those messages fully. It seems to have something to do with my Lenovo extra buttons. But so far, everything works fine.Nevertheless, the messages are annoying on boot, as mentioned above.
Can anybody explain what all this means concrete and how to solve the error or at least surpress the messages for that special event?