Fix WCD 48 kHz interpolators, CAJON analog codec, PipeWire mono downmix, and gain staging for a1125 (ampere)
- Add patches/kernel/0015-msm8909-wcd-digital-interpolator-cajon-analog.patch and rebuild kernel + audio codec modules (prebuilt/ + overlay/rootfs/) so REGCACHE_FLAT keeps 48 kHz POR interpolator/decimator defaults (RX1/2/3_B5_CTL=0x68, TX1/2_CLK_FS_CTL=0x03) and PM8909 CAJON_2_0 analog defaults, non-boost Class-D SPK PA, HPH DAC/PA sequencing, EAR +6 dB headroom, and pm8909_s2 wakeup restore apply cleanly. - Add WirePlumber create-item.lua item.features.mono = true support and PipeWire client drop-ins so Speaker and Earpiece present a positioned [ MONO ] PortConfig (0.5 * FL + 0.5 * FR with channelmix.normalize = true and triangular TPDF dithering) over 2 ch 48 kHz S16LE hardware while keeping Headphones and Bluetooth A2DP sinks stereo. - Sync unity 100% PipeWire software sink volume when card0 is present and cap UCM2/plugin digital ALSA playback ceiling at <= 84 (0 dB). - Add scripts/test-audio-quality.py wired into scripts/check-rebuild.sh, pin all 7 rebuilt a1125 (ampere) image SHA-256 hashes, and update CHANGELOG.md, MANUAL.md, and AGENTS.md.
This commit is contained in:
1 parent
1a229b0587
commit
4f73c28e5e
39 files changed
+1398
-55
No files matched your search
@@ -564,15 +564,15 @@ fi
|
||||
|
||||
echo "[check] Known-good flashable image set..."
|
||||
for pair in \
|
||||
"2ba4620680a981a87fa8adf7a2fb6ab98d932c73f9de9be1c69981edc096d2a8 images/bananarchy-nokia-argon.img" \
|
||||
"23d1fdd6598bf0c5497b1e41a16888d966ad4ac3f4eee3aa04623b339c896c59 images/bananarchy-nokia-beatles.img" \
|
||||
"0459151f37c746963dc734539a4284a0524b1b8ad777cd8690a87f928d2cec58 images/boot-bananarchy-nokia-beatles.img" \
|
||||
"e15e0fff0e68d059000caf28f73a061170a9da62368531499c6d82b275821903 images/bananarchy-nokia-argon.img" \
|
||||
"64fcf14fbe8863490d8a3b2838e66baa9e9b5712450526ca0b9e3bed5d724437 images/bananarchy-nokia-beatles.img" \
|
||||
"7c6aec20941b074cd36c856f62cb9b51b4ad2fe111c4f43f68844e07b828fb84 images/boot-bananarchy-nokia-beatles.img" \
|
||||
"f13db705a714aaebd2d8fcc2e0f7266d0e40268c0a276208117dfdf9d8f45351 images/boot-lk2nd-nokia-beatles-display.img" \
|
||||
"1f47b0f6b96c1637e1febaa6b5d150c2dd661ba9d200286315cb0400ca61a6a0 images/bananarchy-nokia-coconut.img" \
|
||||
"81695b3242403ebbd8631957a0ca67128b9791199e8121f58ed5e8f32ea2cc77 images/boot-bananarchy-nokia-coconut.img" \
|
||||
"753029acf664a78b6990d799c060ee29ccb8b464bc0a4c40c1909b1a1a5dbfcb images/bananarchy-nokia-coconut.img" \
|
||||
"948c44097e069624d60cf952de065961b38e9d45c77bcee958684b96d86dbb7c images/boot-bananarchy-nokia-coconut.img" \
|
||||
"9a5bd2da6cfd95c745d9c1acb2e3bc61afa339824810e3d160bf079e17b23192 images/boot-lk2nd-nokia-coconut-display.img" \
|
||||
"7e6b7bdc1ac96f748c46c6fde0f7debe2ae5562d0c2feb1f5ddfc274fd22717e images/bananarchy-nokia-sparkler.img" \
|
||||
"5fde23c229bcfcec276bfa064308a37736dc9f34bcb80c6f5b6c16400417adfa images/boot-bananarchy-nokia-sparkler.img" \
|
||||
"36e3a663de0d2586422aa5303a18ce2a70f05274d4d2ff7e377cf5dad243c777 images/bananarchy-nokia-sparkler.img" \
|
||||
"f40757646fb9a5c0c489df370f59a97a5638d36bda037042a98be894b47bcf8e images/boot-bananarchy-nokia-sparkler.img" \
|
||||
"120ade81bc5416263a1afd95a29981675358b98516e105e5ed611edf258a29f7 images/boot-lk2nd-nokia-sparkler-display.img"; do
|
||||
set -- $pair
|
||||
want=$1
|
||||
@@ -2531,6 +2531,13 @@ elif ! "$BASE_DIR/scripts/test-keypad-debouncer.py" >/dev/null 2>&1; then
|
||||
fail "host keypad debouncer test failed"
|
||||
fi
|
||||
|
||||
echo "[check] WCD 48 kHz interpolators, CAJON_2_0 analog codec, PipeWire downmix, and gain staging..."
|
||||
if [ ! -x "$BASE_DIR/scripts/test-audio-quality.py" ]; then
|
||||
fail "missing executable host test scripts/test-audio-quality.py"
|
||||
elif ! "$BASE_DIR/scripts/test-audio-quality.py" >/dev/null 2>&1; then
|
||||
fail "host audio quality test failed"
|
||||
fi
|
||||
|
||||
echo "[check] microSD sdhci@7864000 non-removable and zero-polling invariants..."
|
||||
for dts in \
|
||||
"$BASE_DIR/devices/nokia-argon/qcom-msm8905-nokia-argon.dts" \
|
||||
|
||||
Reference in new issue
Block a user