Skip to content

session: add the J815 (MacBook Air 15-inch, M5) fixture - #187

Merged
RyanTheTide merged 1 commit into
aurora-silicon:v2from
m0d16l14n1:j815/fixture
Nov 19, 2026
Merged

RyanTheTide merged 1 commit into
aurora-silicon:v2from
m0d16l14n1:j815/fixture

Conversation

@m0d16l14n1

Copy link
Copy Markdown
Contributor

This adds the MacBook Air 15-inch M5 (J815) to the boards with a fixture, so its PipeWire and WirePlumber files ship generated like the other boards' instead of being made only at runtime.

The board

The J815 is a T8142 Mac like the J813. It uses the same apple,t8142-aop-audio transport entry, but the speaker system is different:

J813 J815
Amps 4 SN012776 6 SN012776 (LW1, RW1, LT, RT, LW2, RW2)
Sense 8 ch 12 ch, [V, I] per amp
Tuning AID42, LSM2 + LSID AID43, SPP3, no LSID
Plugin 4ch 6ch-vi

SPP3 is already in units_at_parity, so the J815 qualifies through the normal derived path. gate.json is unchanged.

Change

  • packaging/session/fixtures/j815.json: wiring.py's reading of the compiled t8142-j815.dtb (arm64: dts: apple: t8142-j815: speakers and sound card linux#1534) and AID43's lane structure (woofers on unit channels 0, 1, 4 and 5, tweeters on 2 and 3), with generic box names and no tuning values.
  • sgv2-j815.conf and 60-sgv2-j815.conf, generated by gen.py.
  • test_wiring.py: a J815 test covering physical order, identity unit map, [V, I] sense, the wiring hash, and the aop-dma description. It's the first fixture on the T8142 transport.
  • docs/J815-INTEGRATION.md and a T8142 entry in NEW-PLATFORM.md §7.

Hardware evidence

These results are from one J815 with its own AID43 bundle (collected from its macOS, 26B123 and later 26B131), running 7.3.0 J815 kernels:

  • aurora-speaker-upgrade --check passed. The blob compiled as SPP3 with 6 channels and 12 sense channels at 48 kHz, with no refusals. The silent switch test passed. Voicing was within ±0.017 dB of the 25G83 AU references.
  • The supervisor logged self-check: j815 wiring 725f518662e42388 (derived) and then protection ready: every check holds, granted while a stream plays. Grants and releases happened per stream, and playback was normal. The fixture derives the same hash, 725f518662e42388.
  • After the boot firmware moved from the 27.0 stub to the 27.2 stub, the check and the switch passed again. The silent boot that followed was the /etc/speakerguardd 0700 bug, which isn't J815-specific (upgrade, provision: keep /etc/speakerguardd readable for the seat user #186).

Still open: a long full-volume run with thermal logging, and late stream start or restart (same as the J813 notes).

Tests

  • gen.py --check, test_wiring.py, test_provision.py, test_verify.py and packaging/upgrade/tests all pass. tools/check-clean.sh is clean.
  • test_session.py: 219 passed, 1 skipped. Idle::test_the_report_carries_play fails only because the macOS host I ran it on has no /proc/self/stat.

@RyanTheTide could you take a look?

Assisted-by: Claude Opus 5.5

The J815 is a T8142 Mac like the J813: same t8152_aop_audio T8142
transport, but six SN012776 amps (LW1, RW1, LT, RT, LW2, RW2) with [V, I]
sense per amp, and AID43 tuning with SPP3 protection and no LSID. SPP3 is
in units_at_parity, so the J815 qualifies the way the other SPP3 Macs do,
and gate.json needs no entry for it.

The fixture is wiring.py's reading of the compiled t8142-j815.dtb
(aurora-silicon/linux#1534) plus AID43's lane structure, with generic box
names and no tuning values. gen.py produces sgv2-j815.conf and
60-sgv2-j815.conf from it. The derived wiring hash, 725f518662e42388, is
the one the Mac's own self-check proved from the live device tree and
the owner's bundle. On that Mac, protection was then granted per stream.

docs/J815-INTEGRATION.md records what was checked on the hardware and
what is still open.

Assisted-by: Claude Opus 5.5
@RyanTheTide
RyanTheTide merged commit a20d8ac into aurora-silicon:v2 Nov 19, 2026
11 of 12 checks passed
erikwb pushed a commit to erikwb/speakerguardd that referenced this pull request Nov 22, 2026
aurora-silicon#187 generated the J815 graph before aurora-silicon#176 added the hold sink and its
links to the generator, so the checked-in file is stale: gen.py --check
fails and the J815 graph lacks the hold sink that keeps the protect
stage running between a stream's end and the grant's end.

Regenerated with packaging/session/gen.py; no hand edits.

Signed-off-by: Ryan <ryan@aurorasilicon.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants