🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: linux.debian.kernel
1 messages
1 total messages Started by Laurent Bigonville Tue, 01 Dec 2026 19:40
Bug#1156083: src:linux: Please build evdev inside the kernel instead of a module
#910
Author: Laurent Bigonville
Date: Tue, 01 Dec 2026 19:40
44 lines
3358 bytes
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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads