Repository navigation
session: add the J873g (Mac mini, M6) fixture and AID48 playback row - #285
Conversation
Add the J873g (Mac mini, M6, T8152) session fixture derived from the compiled t8152-j873g.dtb (aurora-silicon/linux#3434) and AID48's single full-range Atsp lane structure (wiring hash d1d62e8a0aaaef3d), generate packaging/pipewire/sgv2-j873.conf and packaging/wireplumber/60-sgv2-j873.conf, record the 420 s AID48 protected playback ladder row in packaging/session/gate.json, and document the hardware verification in docs/J873-INTEGRATION.md. Signed-off-by: Thomas Glanzmann <thomas@glanzmann.de>
|
The macOS |
|
Merge readiness at
Areas: none matched in CODEOWNERS Updated by pr-readiness on pushes, edits, reviews and comments, and on a schedule. Rules: merge policy · labels. |
There was a problem hiding this comment.
Verdict: MERGE at d34eebc5
Blockers: none in this repo (note: aurora-silicon/aura#548 is merged; aurora-silicon/linux#3434 is still open — coordinate landing order with linux#3434).
Checked: no Apple material, no AI attribution, no hardcoded safety limits (all limits read from the Mac's ADT/ESP bundle, generic box names only), no chip/board gates, human Signed-off-by, Clean-publish check and all 10/10 CI checks green, live J873g hardware verification row PASS (wiring hash d1d62e8a0aaaef3d match, silent self-check, 420 s protected playback ladder with 0 lost records and 0 amp faults, kill -9 withdrawal and thermal-state re-grant).
Evidence
- Inspected
docs/J873-INTEGRATION.md,packaging/session/fixtures/j873.json,packaging/session/gate.json,packaging/pipewire/sgv2-j873.conf, andpackaging/wireplumber/60-sgv2-j873.conf. - Verified fixture contains only DT-derived wiring and generic
Atsptopology without Apple tuning values;Clean-publish check,policy,selftest,Rust,Rig tools,Session side, andaurora-speaker-upgradeall PASS atd34eebc5. - Hardware row on J873g (T8152 Mac mini M6, firmware 27.2, AID48
26B123) verified silent self-check (derived-nosense,wiring d1d62e8a0aaaef3d), full 420 s0.3/0.6/1.0protected playback ladder (39,990records,lost=0,health_or=0x0,Amp Fault Status = 0,0,0), andkill -9immediate withdrawal + clean re-grant in 0.488 s.
There was a problem hiding this comment.
Verdict: MERGE at d34eebc5.
Blocker: none.
Checked:
- Read the whole diff (fixture, both generated confs, gate.json, docs). Head is one commit on 5bd2d65. It has a DCO sign-off and no AI attribution.
- At the head:
python3 -I packaging/session/gen.py --checkexit 0.pytest -q packaging/session/ tools/diffrig/aidgate/test_attest.pygave 314 passed, 1 skipped, 38 subtests../tools/check-clean.shwas clean. - Hand-edited each committed j873 conf (
60-sgv2-j873.confandsgv2-j873.confDEV=1 -> 3), and--checkflags both as stale. So the confs are exactly what gen.py derives fromfixtures/j873.json(wiringd1d62e8a0aaaef3d, card AppleJ873, aop-dma, 1 amp, 0 sense,sgv2#1ch). - Compared the fixture with
t8152-j873-audio.dtsiat linux#3434 head 18a0e3bc. Compatibles, model, dma-namescout/cin/spkr(no sense), codec nodes @4b/@38 and imon 2/vmon 0 all match. The fixture carries no tuning values. - gate.json at the head vs 5bd2d65: the only change is the new
playback_rows.AID48. Every other key and AID row is byte-identical. The row has the same shape as AID12/AID37 (date/board/what/covers/evidence, both covers).units_at_parityandunits_need_playback_rowsare untouched.gen.playback_rows("AID48")now returns the row and AID42 stays unproven. AID48 is atsp, not lsid, so the row has no provisioning effect. It only marks AID48 proven for aurora-speaker-upgrade. - Merging before linux#3434 is safe. Nothing in this PR acts without a live J873 card. The self-check derives the wiring from the live DT, the supervisor takes its machine from the self-check bind and refuses any other card id, and
install-dev.shrefuses without the card and itsSpeaker Protectioncontrol. Main's kernel keeps the J873 speaker disabled (macaudio_speakers_allowedis false until #3434). git merge-treeagainst main bf15a88 and against #286 is clean. Main + #285 + #286 merged: gen --check 0, the same pytest result (314/1/38), check-clean clean, cargoparity_law1 passed,sgv2-supervisortests 115 + 4 passed.
Non-blocking:
- The row has no V/I sense (the Mac has none) and no mic capture. It proves the thermal model and the kill/regrant path, not acoustic level. AID12 (J473) is the precedent for a desktop with no mic.
- The open-loop coil model peaked at 114.99 C with gain 0.00 dB, so the limiter never engaged. The row shows headroom, not limiting.
- The row and fixture are pinned to linux#3434 at 18a0e3bc. If its DT changes, the live wiring hash changes and the self-check refuses (fail-safe), so refresh then.
- After #286 lands, the parity prerequisite text in
docs/J873-INTEGRATION.mdis stale.
|
@aurora-silicon/core @aurora-silicon/omarchy-mac @DjDeveloperr: merge notice. This has an independent adversarial review (no blocking findings, App approval at |
RyanTheTide
left a comment
There was a problem hiding this comment.
Verdict: MERGE at d34eebc5
Blockers: none.
Checked: Read the whole diff (fixture, both generated confs, the gate.json row, the doc) and tried to make it grant playback where protection isn't proven. It doesn't. atsp was already in units_at_parity on main, and playback_rows gates only LSID provisioning (held_for_playback_rows, units_need_playback_rows = ["lsid"]) and aurora-speaker-upgrade's automatic move. So the AID48 row qualifies nothing by itself. The packaged path does not read the committed fixture or confs either: speakerguardd-selfcheck regenerates both from the live self-check record. The J873g is first admitted when linux#3434 lands, not by this PR. The fixture carries only DT facts and the lane structure. The fixture's aid is -, so an offline voicing_pre build of it refuses (speaker_identity). The row's numbers are our own measurements (model temperatures, power, counts), and the two hashes in the doc are bundle digests. No tuning values. The row has the same shape as AID12/AID37. Treating the J873 as not in voicing_pre (offline interim mode, runtime compiles the full chain) is the same convention as the J815. CI 10/10 green at the head. The hardware row is at the head in the body.
Evidence
- Head
d34eebc5(one commit on 5bd2d65):python3 -I packaging/session/gen.py --checkexit 0.pytest packaging/session tools/diffrig/aidgate314 passed, 1 skipped, 38 subtests (test_timing.pyskipped locally: it needs numpy).packaging/upgradetests 81 passed, 1 skipped.tools/check-clean.shexit 0. - main bf15a88 + #285 + #286 merged cleanly: gen
--check0, andcargo test -p aurora-speaker-tuningall green (94 unit tests plus every integration binary, includingparity_law). - Live
voicing_pre=trueconf, generated with the AID48 identity set in memory:sgv2#voicing-1chis its own filter-chain in front ofalsa_output.platform-sound.RawSpeakers(protect stage, wiringd1d62e8a0aaaef3d), the same layout as every other board.
Non-blocking:
- With #278 closed, the J873g's low-frequency limit now comes only from the bundle's voicing stage. That stage sits in front of the protect stage, and Atsp is thermal only on this sense-less speaker. Whether a no-sense speaker needs its high-pass enforced in or checked by the protect stage (the #222/#278 policy question) is still open for the owner. It applies when linux#3434 enables the speaker, not to this PR.
install-dev.sh j873installs the committed interim conf, which loads/usr/share/asahi-audio/j873/graph.json. If asahi-audio has no j873 graph, the dev path plays with no voicing (so no high-pass). The packaged path is unaffected.- The
_playback_rows_doctext says a row is measured with V/I sense and the Mac's microphone. This row has neither, because the Mac has neither. Worth one line in the doc so the next sense-less desktop row isn't questioned.
The microphone tests need every fixture to say whether its Mac has an array. The J873g (Mac mini, M6) fixture came in with #285 after this branch was cut, so it had no "mic" key and test_wiring failed once main was merged in. Its AOP audio node at linux#3434 (23235970) lists dma-names "cout cin spkr" with no microphone stream, and read_mic_dtb() on that compiled t8152-j873g.dtb returns None. So "mic" is null, as on the other desktop Macs. Signed-off-by: Ryan Murray <81541646+RyanTheTide@users.noreply.github.com>
…nding After aurora-silicon#285 (J873g fixture and 420 s AID48 playback ladder) and aurora-silicon#286 (macOS 26B123/26B131 Audio Unit voicing parity attestation), J873g is no longer a model-less speaker awaiting a standalone high-pass fallback from linux#1862: it compiles its full AID48 Atsp protection model and pre-protection --voicing-pre chain (compiler-gaps: none, sgv2#voicing-1ch ahead of sgv2#1ch). Update the J873g row in docs/CAPABILITIES.md (while keeping the general standalone high-pass admission item open for any future speaker without a compiled model/voicing chain) and update the now-landed 26B123/26B131 attestation bullet in docs/J873-INTEGRATION.md. Signed-off-by: Thomas Glanzmann <thomas@glanzmann.de>
What: Add the J873g (Mac mini, M6, T8152) session fixture (
packaging/session/fixtures/j873.json), generated PipeWire/WirePlumber configs (sgv2-j873.conf,60-sgv2-j873.conf),AID48playback_rowsentry inpackaging/session/gate.json, and hardware integration record indocs/J873-INTEGRATION.md. Merge order: depends on aurora-silicon/aura#548 (or #115/#287) and aurora-silicon/linux#3434.Tested: Mac mini (M6, J873g, T8152), firmware 27.2, with Aura
1.0.0b17-gc83bcb7f(aurora-silicon/aura#548), Linux7.3.0-aurora-j873-speaker+(aurora-silicon/linux#343418a0e3bcd3f7), andspeakerguarddv25bd2d652(plus this commitd34eebc5whose derived wiring hashd1d62e8a0aaaef3dmatches the live self-check byte-for-byte), using the Mac's ownAID48(26B123) bundle compiled with--voicing-pre:speakerguardd-selfcheck run --switch-interface): PASS (derived-nosense,wiring d1d62e8a0aaaef3d,params 23c445a123c3),Amp Gain Volumecapped at15,Speaker Volumelocked at floor, no Speaker Sense PCM.0.3 / 0.6 / 1.0for60 / 60 / 300 s,-8 dBFSRMS stereo pink noise) throughsgv2#voicing-1ch->sgv2#1ch(Atsp) ->hw:CARD=AppleJ873,DEV=1:39,990engine records (512-frame quantum),lost = 0,health_or = 0x0, open-loop coil model climbed from50.00 Cto114.99 Cmax (tmg_max = 84.52 C,pmod_max = 3.402 W,gain = 0.00 dB) and cooled smoothly on stop;kill -9onspeakerguarddat300.2 simmediately withdrew protection (Speaker Volume -> 0), supervisor offered saved thermal state (106.45 C -> 105.63 C) and re-granted in0.488 s(0starts refused), idle released cleanly to muted floor;Amp Fault Status = 0,0,0throughout,0kernel audio/DART errors,0failed units.d34eebc5:packaging/session/gen.py --check,pytest -q packaging/session/(306 passed, 1 skipped, 38 subtests passed),./tools/check-clean.shclean.Risk: two-way door — adds the J873g offline fixture, generated configs, documentation, and
AID48playback row record; no existing board's behavior or policy changes.Not yet: Formal macOS
26B123voicing parity attestation inpackaging/session/parity.jsonstill requires runningtools/diffrig/aidgate/attest-build.shon a booted macOS 26B123 host (note: the J873g26B123AID48voicing key463b0cb03eb03b1c378da4bd4e82f036a7c50a4a6c1dafb1b07c071afb33b7b4and law5740f31784993ecbe6e1236cb26341430ca0c64e66fb596847ee5e0a9b28d3b0match the passing26A428AID48entry already inparity.json,+0.143 / -0.011 dBacross 36 cells).Details
packaging/session/fixtures/j873.json: publicwiring.read_dtb()output fromt8152-j873g.dtb(ASoC/arm64: enable the Mac mini M6 (J873g) speaker behind protection linux#3434) + AID48's single full-rangeAtsplane structure (no tuning values).packaging/pipewire/sgv2-j873.confandpackaging/wireplumber/60-sgv2-j873.conf: generated bypackaging/session/gen.py(sgv2.wiring = d1d62e8a0aaaef3d).packaging/session/gate.json: adds theAID48playback_rowsentry coveringloud-stepandthermal-ramp.docs/J873-INTEGRATION.md: summarizes J873g speaker topology, prerequisites, fixture, and live ladder evidence.Evidence
python3 -I packaging/session/gen.py --check: exit 0.pytest -q packaging/session/:306 passed, 1 skipped, 38 subtests passed../tools/check-clean.sh: exit 0.engine-watch,0.3 / 0.6 / 1.0for60 / 60 / 300 s,-8 dBFSRMS pink noise):39,990records,lost = 0,health_or = 0x0,512-frame quantum (94 calls/s,48,128 frames/s).ol_temp_c:50.00 -> 114.99 Cmax (tmg_max = 84.52 C,pmod_max = 3.402 W,min_gain_db = 0.00 dB).kill -9at300.2 s:Speaker protection withdrawn: owner gone,Speaker Volume -> 0,thermal: offering the state saved 0 s ago(106.45 -> 105.63 C), re-grant in0.488 s(refused_delta = 0),Amp Fault Status = 0,0,0.Speaker protection withdrawn: released by the owner,Speaker Protection = 0,Speaker Volume = 0,0failed units.