Stop reboot backlight flicker with force-only PWM updates

This commit is contained in:
Luxferre committed 2026-11-11 08:23:12 +02:00
1 parent d61f2848db
commit 7a2b965ce3
10 files changed
+93 -62

No files matched your search

+4 -2
View File
@@ -80,8 +80,10 @@ Keep this file short. Full details live in `README.md`, `MANUAL.md`, `SDK.md`, `
external reset. The shared PWM is active-low for the cover and active-high for the main panel: duty 0 lights the
cover, duty 14 lights the internal panel. Keep the exact vendor external init firmware, the debugfs command replay,
the gpio23 reset pulse, `/run/bananarchy/cover-backlight` (`1` = cover lit, `0` = cover dark),
`kernel_power_sync_helper` and the `/run/bananarchy/cover-bl-force` nested-udev guard. On open, restore
gpio13 low, duty 14, `bl_power=0`, DPMS On and re-init the internal panel. The legacy 8-bit/9-bit userspace paths, `PROBE` and `bananarchy-cover-probe.sh` remain
`kernel_power_sync_helper` and the `/run/bananarchy/cover-bl-force` nested-udev guard. Plain udev events must stay
idempotent; only the daemon's `force` mode may do the two-step PWM update, and every `xset dpms force` call must be
bounded with `timeout 1` or a hung X client will flicker the active panel. On open, restore gpio13 low, duty 14,
`bl_power=0`, DPMS On and re-init the internal panel. The legacy 8-bit/9-bit userspace paths, `PROBE` and `bananarchy-cover-probe.sh` remain
rollback/sign-off tooling. `SET mux_closed_level 0` selects the internal panel, not the cover; use
`SET kernel_backlight_invert 0|1` only if a unit's backlight polarity differs.
- Keep the internal beatles panel at 25 MHz, `dc_gpio = -1` for the spidev fallback, external-panel firmware and