Release a1111 (lennon): isolate nokia-argon slider from 2720 Flip cover stack

- Write /usr/share/bananarchy/lid-profile per target in apply-bananarchy-overlay.sh (slider on nokia-argon, flip on nokia-beatles, none elsewhere), disable flip runlevel services, cover udev/config, and mux module loads on non-flip builds, and exit 0 immediately in flip daemons/init scripts when lid-profile != flip
- Guard startup Escape grab cleanup when locked and gate lid-state checks in display-power-sync, locker.so, and callscreen.so on lid-profile == flip so nokia-argon keeps pure a1108 sliding-lid behaviour
- Ship active-high shared cover backlight (kernel_backlight_invert = 0), active-black internal panel isolation (kernel_internal_sleep = 0), pixel-centered 240x240 cover UI, SW_LID hall sync, and shared Screen blank timeout on nokia-beatles
- Pin verified a1111 (lennon) image hashes for both nokia-argon and nokia-beatles and synchronize docs and host tests
This commit is contained in:
Luxferre committed 2026-11-11 14:20:42 +02:00
1 parent 7a2b965ce3
commit 83c8db10f1
38 files changed
+1351 -276

No files matched your search

+15 -3
View File
@@ -31,6 +31,21 @@ swi3msg() {
xorgdisplay() {
case "$1" in
off)
if [ -w /sys/class/leds/white:kbd_backlight/brightness ]; then
printf '0\n' > /sys/class/leds/white:kbd_backlight/brightness 2>/dev/null || true
fi
_cover_lit=""
if [ -r /run/bananarchy/cover-backlight ]; then
read -r _cover_lit < /run/bananarchy/cover-backlight 2>/dev/null || _cover_lit=""
fi
if { [ "$_cover_lit" = "1" ] || [ "$_cover_lit" = "0" ]; } && \
! "${BANANARCHY_LID_GATE:-/usr/bin/bananarchy-lid-gate.sh}"; then
if [ -w /sys/devices/system/cpu/cpufreq/policy0/scaling_governor ]; then
printf 'powersave\n' > /sys/devices/system/cpu/cpufreq/policy0/scaling_governor 2>/dev/null || true
fi
/usr/bin/bananarchy-power-policy.sh screenoff >/dev/null 2>&1 &
return 0
fi
if [ -r /sys/class/backlight/backlight/brightness ]; then
_cur_bl=0
read -r _cur_bl < /sys/class/backlight/backlight/brightness 2>/dev/null || true
@@ -40,9 +55,6 @@ xorgdisplay() {
printf '%s\n' "$_cur_bl" > "${XDG_CONFIG_HOME:-$HOME/.config}/sxmo/brightness" 2>/dev/null || true
fi
fi
if [ -w /sys/class/leds/white:kbd_backlight/brightness ]; then
printf '0\n' > /sys/class/leds/white:kbd_backlight/brightness 2>/dev/null || true
fi
if [ -w /sys/class/backlight/backlight/brightness ]; then
printf '0\n' > /sys/class/backlight/backlight/brightness 2>/dev/null || true
fi