Source: linux
Version: 7.3.5-1
Severity: wishlist
Hello,
Is there a reason why evdev (CONFIG_INPUT_EVDEV) is built as a module
and not into the kernel?
Without evdev in the initramfs there are no /dev/input/event* nodes
during early boot. plymouth then ignores all the input devices and
falls back to reading the keyboard through the VT, so for example:
- it doesn't use the XKB layout it reads from /etc/default/keyboard;
- its Caps Lock indicator is never shown at the passphrase prompt for
console-setup layouts, which emulate Caps Lock with CtrlL_Lock
(see #514464).
The module is small (~12 KiB compressed, no dependencies) and its
modalias matches every input device, so it is loaded on practically
every system anyway. Fedora and RHEL build it in
(CONFIG_INPUT_EVDEV=y in kernel-ark's redhat/configs/common/generic).
The alternative is to add it to the initramfs: For testing, I've done
that in the plymouth initramfs-tools hook, but every generator would
need the same change (dracut's 45plymouth module doesn't include it),
and it is then only present when plymouth is installed. Building it in
would fix this for all of them.
What do you think?
Kind regards,
Laurent Bigonville
-- System Information:
Debian Release: forky/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'unstable'), (1, 'experimental-debug'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 7.3.6+deb14-amd64 (SMP w/12 CPU threads; PREEMPT)
Locale: LANG=fr_BE.UTF-8, LC_CTYPE=fr_BE.UTF-8 (charmap=UTF-8), LANGUAGE=fr_BE:fr
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Bug#1156083: src:linux: Please build evdev inside the kernel instead of a module
- From
- Laurent Bigonville <big…@debian.org>
- Reply-To
- Laurent Bigonville <big…@debian.org>, 1156…@bugs.debian.org
- Sender
- robo…@news.nic.it
- Organization
- linux.* mail to news gateway
- Message-ID
- <O5BR…@gated-at.bofh.it>
- Date
- Newsgroups
- linux.debian.bugs.dist, linux.debian.kernel
Moderated This group is moderated.