Repository navigation
linux-aurora v272-26 candidate: speaker V/I sense from a driver-owned ring (backport aurora-silicon/linux #3084) - #35
Conversation
…from a driver-owned ring (aurora-silicon/linux #3084) - Backports Erik Bourget's #3084 (merged on main after our 7f00dc6 pin), four commits unchanged; t8152_aop_audio.rs is then byte-identical to upstream main's. - Fixes the J714s's 12 V/I sense words rotating across the six amplifiers whenever PipeWire restarted the sense capture (shifts of 2 to 10 seen on v272-24), which had speakerguardd v2 protecting each speaker on another's voltage and current. - On our J714s on v272-26: shift 0 in every steady stretch over six forced restarts; after 2 of 6 the shift was off for under a second and recovered by itself. Amp faults 0. Not published.
… amplifier's own V/I sense - Plays a faint 2.5 kHz tone (-34 dBFS, asks first) and finds which sense word carries it against the self-check's map; forced restarts, fresh starts and the right side. Exit 0/1/2. - Channel map, card and sink come from speakerguardd's own files, so it runs on any v2 machine. - Fresh-install checklist row; what-works notes the first-boot speaker delay and the sense fix.
|
Added @ja-818, if your J716s runs speakerguardd v2, could you run it once on your current kernel and once on this one, and paste both outputs here? Pause other audio first. Before this kernel, a J714s showed non-zero shifts after any PipeWire restart. The J716s uses the same driver path ( The J714s result is also posted on the upstream PR: aurora-silicon/linux#3084 (comment) |
|
Checked against upstream: 0014-0017 are the four commits of aurora-silicon/linux #3084 (edf11ddd623b, b7028feb2f7a, cf330a1c264c, 5f1321879f34), and the fifth commit there is only a merge of main. The PR doesn't touch speakerguardd. The script only reads its files and asks before it plays the tone. It merges cleanly. Since v272-26 also carries 0013 (the camera indicator), it replaces our unpublished v272-25 candidate. Plan: merge after the owner's review, build on ush, and run the camera indicator check and your sense test on our J714s in the same boot. If both pass, publish v272-26 to the [omarchy-m5] repo. The short shifts after 2 of the 6 forced restarts are worth reporting on #3084. 🤖 Generated with Claude Code |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BUGDaPyizD5rK8xwr1vfPq
betizzel#30) and open ucm betizzel#34/betizzel#35 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01BUGDaPyizD5rK8xwr1vfPq
What
Kernel v272-26 candidate: patches 0014-0017 backport aurora-silicon/linux #3084 (Erik Bourget, merged on upstream main after our
7f00dc6bc52cpin), four commits unchanged. With them oursound/soc/apple/t8152_aop_audio.rsis byte-identical to upstream main's.Why
After the v272-24 update, audio from a video sounded dull on our J714s and the right side dropped out. The amps were healthy: no faults, same gains, same feed on both sides. The problem was the speaker protection's feedback: the 12 V/I sense words of the six amplifiers come back with no frame marker, and every time PipeWire restarted the sense capture under a running serializer the ADMAC resumed at an arbitrary word offset. speakerguardd v2 then modelled each speaker from another amplifier's voltage and current (and, at odd shifts, swapped V and I) until the next restart. Its boot-time switch test can't see this, because the rotation happens later.
#3084 serves the sense from a driver-owned ring that is armed only on a stopped, verified-
pw0serializer, so frame offset 0 is always slot 0.Tested on our J714s (M5 Pro 14")
Tone test: 4 kHz at -22 dBFS on one side, reading the sense from the protect stage's input and finding which V/I pair carries the tweeter (shift 0 is right). Restarts were forced by stalling PipeWire for 150 ms.
7.3.0-17.v272-26-ARCH; protection is granted, and the owner hears both sides normally.makepkg, clang 23.1.5, Rust 1.98.1); recipe checksums verified; the combined patch equalspatches/j714s-27.2/linux/*.patch.Not done
realign_sense/ring path).