Implement 0014 keypad debouncer, Sparkler LRA filter, standby fixes, and stage a1125 (ampere)

- Extend 0012 standby optimizations with removable-SD-only MMC_CAP_AGGRESSIVE_PM | MMC_CAP2_FULL_PWR_CYCLE in sdhci-msm, proxy mem clock and BIMC XO re-parenting + 0x45000 BIT(2) early-vote clear in qcom_q6v5_mss / gcc-msm8909, 100 MHz opp-99999975 floor across qcom-msm8909.dtsi and all 6 device DTS/DTBs, disabled-by-default Bluetooth with bt_enabled persistence, NM ipv6.method=ignore + standby wlan0/disable_ipv6 muting, and post-park DSDS signal hysteresis

- Add ABI-preserving system-core keypad debouncer patch 0014 (drivers/input/input.c key_debounce_ms + pm8941-pwrkey press/release chatter holdoff), replace ignored col-scan-delay-ms with col-scan-delay-us = <0x32> and raise DT debounce intervals across all 6 DTS/DTBs, configure per-target key_debounce_ms at boot and xset r rate 300 25, and add C/DTS verification in scripts/test-keypad-debouncer.py

- Isolate Nokia 8000 4G (nokia-sparkler / nokia-leo) media playback from the shared 157 Hz SPK_DRV vibrator channel via dynamic Speaker-only filtering in music.so, files.so, and ringtones.so, explicit RX3/SPK mixer zeroing on Earpiece/Headphones/Bluetooth routes in sxmo_audio.sh and preview plugins, and Sparkler/Leo-only /etc/mpv/mpv.conf provisioning

- Register upcoming build a1125 (ampere) in scripts/version.sh, scripts/check-rebuild.sh, AGENTS.md, and CHANGELOG.md, fix --for-rebuild pre-rebuild stale output checks in check-rebuild.sh/test-cover-dt.py, rebuild vmlinuz/DTBs/plugins and all 4 --mkinitfs target images stamped a1125 (ampere), and pin their verified SHA-256 checksums
This commit is contained in:
Luxferre committed 2026-11-23 15:26:56 +02:00
1 parent c529463ae3
commit 5d427e39ab
55 files changed
+78935 -77569

No files matched your search

+16 -8
View File
@@ -240,6 +240,9 @@ def test_power_policy_rat(tmp):
res = run_policy(env, "_park_rat")
if res.returncode != 0 or qmi_log.exists():
return fail("expected no QMI calls once gsm_unsupported exists")
if read_lines(dsds_log) != ["--sig-hysteresis dark", "--sig-hysteresis dark"]:
return fail(f"unexpected DSDS calls during GSM parking: {read_lines(dsds_log)}")
dsds_log.unlink()
# 4) screenoff / screenon invoke bananarchy-dsds --sig-hysteresis dark / wake.
res = run_policy(env, "screenoff")
@@ -284,18 +287,22 @@ def test_power_policy_rat(tmp):
ims_state = tmp / "ims_state.env"
ims_conf = tmp / "ims.conf"
accept_ra = tmp / "accept_ra"
disable_ipv6 = tmp / "disable_ipv6"
write_text(ims_conf, "keep_lte_on_screen_off=1\n")
write_text(ims_state, "VOLTE_ACTIVE=1\nVOWIFI_ACTIVE=0\nVOWIFI_IPV6_EPDG=0\n")
write_text(accept_ra, "1\n")
write_text(disable_ipv6, "0\n")
env["BANANARCHY_IMS_STATE_PATH"] = str(ims_state)
env["BANANARCHY_IMS_CONF_PATH"] = str(ims_conf)
env["BANANARCHY_ACCEPT_RA_PATH"] = str(accept_ra)
env["BANANARCHY_DISABLE_IPV6_PATH"] = str(disable_ipv6)
res = run_policy(env, "_park_rat")
if res.returncode != 0 or (rundir / "rat_parked").exists():
return fail("active VoLTE (without VoWiFi) must skip GSM RAT parking")
# 6b) Active VoWiFi allows GSM RAT parking; VOWIFI_IPV6_EPDG=0 mutes accept_ra,
# while VOWIFI_IPV6_EPDG=1 preserves wlan0 accept_ra across screenoff/screenon.
# 6b) Active VoWiFi allows GSM RAT parking; VOWIFI_IPV6_EPDG=0 mutes accept_ra
# and sets disable_ipv6=1, while VOWIFI_IPV6_EPDG=1 preserves both across
# screenoff/screenon.
mock_bin = tmp / "bin"
mock_ip = mock_bin / "ip"
write_text(mock_ip, """#!/bin/sh
@@ -310,9 +317,10 @@ exit 0
write_text(ims_state, "VOLTE_ACTIVE=1\nVOWIFI_ACTIVE=1\nVOWIFI_IPV6_EPDG=0\n")
write_text(accept_ra, "1\n")
write_text(disable_ipv6, "0\n")
res = run_policy(env, "screenoff")
if res.returncode != 0 or accept_ra.read_text().strip() != "0":
return fail("VOWIFI_IPV6_EPDG=0 must mute wlan0 accept_ra on screenoff")
if res.returncode != 0 or accept_ra.read_text().strip() != "0" or disable_ipv6.read_text().strip() != "1":
return fail("VOWIFI_IPV6_EPDG=0 must mute wlan0 accept_ra and set disable_ipv6=1 on screenoff")
deadline = time.monotonic() + 3.0
while time.monotonic() < deadline and not (rundir / "rat_parked").exists():
time.sleep(0.05)
@@ -320,13 +328,13 @@ exit 0
if not (rundir / "rat_parked").exists():
return fail("active VoWiFi screenoff should allow cellular GSM standby parking")
res = run_policy(env, "screenon")
if res.returncode != 0 or accept_ra.read_text().strip() != "1":
return fail("screenon must restore wlan0 accept_ra to 1")
if res.returncode != 0 or accept_ra.read_text().strip() != "1" or disable_ipv6.read_text().strip() != "0":
return fail("screenon must restore wlan0 accept_ra=1 and disable_ipv6=0")
write_text(ims_state, "VOLTE_ACTIVE=1\nVOWIFI_ACTIVE=1\nVOWIFI_IPV6_EPDG=1\n")
res = run_policy(env, "screenoff")
if res.returncode != 0 or accept_ra.read_text().strip() != "1":
return fail("VOWIFI_IPV6_EPDG=1 must keep wlan0 accept_ra unmuted")
if res.returncode != 0 or accept_ra.read_text().strip() != "1" or disable_ipv6.read_text().strip() != "0":
return fail("VOWIFI_IPV6_EPDG=1 must keep wlan0 accept_ra unmuted and disable_ipv6=0")
deadline = time.monotonic() + 3.0
while time.monotonic() < deadline and not (rundir / "rat_parked").exists():
time.sleep(0.05)