Fix nokia-beatles closed-flip cover wake via dynamic TLMM gpiochip resolution

- Resolve MSM8909 TLMM (1000000.pinctrl) dynamically across /dev/gpiochip* in bananarchy-cover-idle (BA_GPIO_GET_CHIPINFO / hw_ensure_gpiochip) and bananarchy-cover-diagnose.sh, and default cover-display.conf to gpiochip_device = auto so strict fw_devlink/MPM probe order shifts never leave closed-flip button wakes in backend=none.

- Guard gpiochip_device = auto and BA_GPIO_GET_CHIPINFO in test-cover-kernel.py and check-rebuild.sh, and update a1114 (carbonara) image and release archive SHA-256 pins in check-rebuild.sh and CHANGELOG.md.
This commit is contained in:
Luxferre committed 2026-11-13 19:06:40 +02:00
1 parent 2ae4ef34a2
commit a23a9b4edb
9 files changed
+121 -23

No files matched your search

+4 -2
View File
@@ -112,7 +112,8 @@ def main():
"kernel_backlight_marker = /run/bananarchy/cover-backlight",
"kernel_backlight_level = 14",
"kernel_backlight_invert = 0",
"kernel_internal_sleep = 0"):
"kernel_internal_sleep = 0",
"gpiochip_device = auto"):
if token not in conf:
return fail("shipping config lost %s" % token)
helper = HELPER.read_text(encoding="utf-8")
@@ -126,7 +127,8 @@ def main():
"cover_kernel_power_sync", "cover_kernel_restore_internal",
"cover_bus_release",
"cover_main_panel_is_off", "KERNEL_REDRAW_MS 1000",
"kernel_bl_invert", "reinit"):
"kernel_bl_invert", "reinit",
"BA_GPIO_GET_CHIPINFO", "hw_ensure_gpiochip"):
if token not in source:
return fail("cover daemon lost the kernel backend: %s" % token)
firmware = FIRMWARE.read_bytes()