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:
1 parent
c529463ae3
commit
5d427e39ab
55 files changed
+78935
-77569
No files matched your search
@@ -78,11 +78,38 @@ fi
|
||||
# K10: no IPv6 on interfaces created after boot (also in sysctl.d).
|
||||
{ printf '1\n' > /proc/sys/net/ipv6/conf/default/disable_ipv6; } 2>/dev/null || true
|
||||
|
||||
# Configure system-core physical keypad bounce debounce window (in ms).
|
||||
if [ -w /sys/module/input_core/parameters/key_debounce_ms ]; then
|
||||
_kdb_ms=45
|
||||
if [ -r /sys/firmware/devicetree/base/compatible ] && \
|
||||
tr '\0' '\n' < /sys/firmware/devicetree/base/compatible 2>/dev/null | \
|
||||
grep -qxE 'nokia,(argon|sparkler|leo)'; then
|
||||
_kdb_ms=55
|
||||
fi
|
||||
if [ -r /etc/bananarchy/key-debounce.conf ]; then
|
||||
_kdb_cfg="$(sed -n 's/^[[:space:]]*KEY_DEBOUNCE_MS=\([0-9][0-9]*\).*/\1/p' /etc/bananarchy/key-debounce.conf | tail -n 1)"
|
||||
[ -n "$_kdb_cfg" ] && _kdb_ms="$_kdb_cfg"
|
||||
fi
|
||||
printf '%s\n' "$_kdb_ms" > /sys/module/input_core/parameters/key_debounce_ms 2>/dev/null || true
|
||||
fi
|
||||
|
||||
# Wi-Fi power save is enabled by NetworkManager (wifi.powersave=3) and by the
|
||||
# wcn36xx WIPHY_FLAG_PS_ON_BY_DEFAULT / dynamic_ps_timeout=200 kernel patch.
|
||||
# Verified on-device: "iw dev wlan0 get power_save" reports "Power save: on".
|
||||
# No iw binary is shipped, so no userspace iw call belongs here.
|
||||
|
||||
# Keep Bluetooth RF-killed and stopped at boot unless explicitly enabled
|
||||
bt_want=0
|
||||
if [ -r /home/user/.config/sxmo/bt_enabled ]; then
|
||||
IFS= read -r bt_val < /home/user/.config/sxmo/bt_enabled 2>/dev/null || bt_val=""
|
||||
case "$bt_val" in 1|on|ON|yes|YES|true|TRUE) bt_want=1 ;; esac
|
||||
fi
|
||||
if [ "$bt_want" = "0" ]; then
|
||||
rfkill block bluetooth >/dev/null 2>&1 || true
|
||||
rc-service bluetooth status >/dev/null 2>&1 && rc-service bluetooth stop >/dev/null 2>&1 || true
|
||||
rc-update del bluetooth default >/dev/null 2>&1 || true
|
||||
fi
|
||||
|
||||
# Restore any persistent Engineering Menu Wi-Fi/BT MAC and IMEI override state
|
||||
if [ -x /usr/bin/bananarchy-engmenu-ctl ]; then
|
||||
/usr/bin/bananarchy-engmenu-ctl apply-boot >/dev/null 2>&1 || true
|
||||
|
||||
Reference in new issue
Block a user