Package: initramfs-tools
Version: 0.136
Dear Debian folks,
The change *Include modules for Chromebook Plus display* [1] caused the
DRM drivers to be included on a Intel Broadwell Dell laptop and AMD
Ryzen desktop system.
For MODULES=dep: adds backlight and pwm to the dep_modules_add sys-walk.
Walking backlight includes pwm_bl and pwm includes pwm-cros-ec. Since
panel-simple isn't reachable from /sys/class/**, but it can be reached
from /sys/devices/platform/edp-panel, that path is sys-walked if it
exists.
--- a/hook-functions
+++ b/hook-functions
@@ -449,7 +449,7 @@ dep_add_modules()
fi
# sys walk some important device classes
- for class in extcon gpio phy regulator rtc; do
+ for class in backlight extcon gpio phy pwm regulator rtc; do
for device in "/sys/class/$class"/*; do
device="$(readlink -f "$device")" \
&& sys_walk_mod_add "$device"
On the Intel Broadwell system, the backlight below exists.
$ readlink -f /sys/class/backlight/intel_backlight
/sys/devices/pci0000:00/0000:00:02.0/drm/card0/card0-eDP-1/intel_backlight
On the desktop system, the ACPI Video Driver `video` (incorrectly)
creates the backlight device below.
$ readlink -f /sys/class/backlight/acpi_video0
/sys/devices/pci0000:00/0000:00:08.1/0000:26:00.0/backlight/acpi_video0
Kind regards,
Paul
PS: If you reply, please remember to remove <sub...@bugs.debian.org> and
add the bug address with the assigned number.
[1]:
https://salsa.debian.org/kernel-team/initramfs-tools/-/merge_requests/15