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
@@ -211,6 +211,56 @@ class TestSparklerPort(unittest.TestCase):
|
||||
self.assertEqual(spec["addrs"], (0x80008000, 0x82700000, 0x82500000))
|
||||
self.assertEqual(bootfs_mod.DEVICE_DTB_NAMES["nokia-sparkler"], "qcom-msm8909-nokia-sparkler.dtb")
|
||||
|
||||
def test_vibrator_channel_media_isolation(self):
|
||||
vib_c = read_text("src/dwm-plugins/sxmo_vibrate.c")
|
||||
self.assertIn("157.0", vib_c)
|
||||
self.assertIn("HAPTIC_REF_RX3_VOL", vib_c)
|
||||
|
||||
for rel in (
|
||||
"src/dwm-plugins/music_plugin.cpp",
|
||||
"src/dwm-plugins/files_plugin.cpp",
|
||||
"src/dwm-plugins/ringtones_plugin.cpp",
|
||||
):
|
||||
src = read_text(rel)
|
||||
for expected in (
|
||||
"isHapticAudioSpeakerDevice",
|
||||
"highpass=f=260",
|
||||
"bandreject=f=157",
|
||||
):
|
||||
self.assertIn(expected, src, rel)
|
||||
|
||||
music_src = read_text("src/dwm-plugins/music_plugin.cpp")
|
||||
self.assertIn('set_property', music_src)
|
||||
self.assertIn(r'\"af\"', music_src)
|
||||
self.assertIn('"AUDIO_ROUTE"', music_src)
|
||||
|
||||
for rel in (
|
||||
"src/dwm-plugins/files_plugin.cpp",
|
||||
"src/dwm-plugins/ringtones_plugin.cpp",
|
||||
):
|
||||
src = read_text(rel)
|
||||
for expected in (
|
||||
"Bluetooth",
|
||||
"Headphones",
|
||||
"Earpiece",
|
||||
r'''cset \"name='RX3 MIX1 INP1'\" ''' + "'ZERO'",
|
||||
r'''cset \"name='SPK DAC Switch'\" 0''',
|
||||
):
|
||||
self.assertIn(expected, src, rel)
|
||||
|
||||
audio_sh = read_text("overlay/rootfs/usr/bin/sxmo_audio.sh")
|
||||
self.assertIn("cset \"name='SPK DAC Switch'\" 0", audio_sh)
|
||||
self.assertIn("cset \"name='RX3 MIX1 INP1'\" 'ZERO'", audio_sh)
|
||||
self.assertIn("dwm_plugin_music.fifo", audio_sh)
|
||||
self.assertIn("AUDIO_ROUTE", audio_sh)
|
||||
|
||||
ov_sh = read_text("scripts/apply-bananarchy-overlay.sh")
|
||||
self.assertIn("nokia-sparkler|nokia-leo", ov_sh)
|
||||
self.assertIn("/etc/mpv/mpv.conf", ov_sh)
|
||||
self.assertIn("highpass=f=260", ov_sh)
|
||||
self.assertIn("bandreject=f=157", ov_sh)
|
||||
self.assertIn('rm -f "$TARGET_ROOTFS/etc/mpv/mpv.conf"', ov_sh)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
unittest.main()
|
||||
Reference in new issue
Block a user