Skip to content

arm64: dts: apple: t6041-j614c: enable the speaker card and amps - #2061

Merged
RyanTheTide merged 2 commits into
aurora-silicon:mainfrom
mouthmantra:j614c-speakers
Nov 29, 2026
Merged

RyanTheTide merged 2 commits into
aurora-silicon:mainfrom
mouthmantra:j614c-speakers

Conversation

@mouthmantra

@mouthmantra mouthmantra commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

The J614c (MacBook Pro 14-inch, M4 Max) kept its speaker card and six SN012776 amps disabled, as the J614s did before #1665 brought its speakers up. The J614c has the same 14-inch chassis and speakers: macOS on a J614c reports acoustic-id 34 (0x22), the J614s value, and a six-record speaker-thiele-small.

This drops the disabled overrides so the J614c binds the J614 card (apple,j614-macaudio, macaudio_j614_cfg) over the shared J614c/J616c amp description. Protection is unchanged: every amp keeps apple,sdz-group-fail-closed, the card still needs the boot loader's apple,speaker-config row on each amp, and playback waits for a speakerguardd v2 lease, with the amps held at the floor until one is granted.

The header of t6041-j614c.dts now says what comes from the J614c (the speakers) and what is still borrowed: CPU limits and operating points, trackpad and keyboard wiring and panel brightness from the J616c, and the Wi-Fi island from the J614s.

One commit on top of 110861f, signed off by me only.

Testing

Mac: J614c, MacBook Pro (14-inch, M4 Max, 2024), asahi,os-fw-version 26.6.2.

Kernel: kernel-aurora 7.3.0-40 (9125b314) built with this change, package 7.3.0-40.fc45.aurora.j614ctb1. The DT change is the same as on this branch; the branch only adds the header comment. That build also carries two local patches that do not touch sound (trackpad resume and the USB4 routers). The command line has user4k=on and arm64.nosme, for x86 emulation and an unrelated SME fault in a userspace app; speakers do not depend on either. RyanTheTide's build and CHECK_DTBS run covers 110861f plus this change.

Speaker packages: speakerguardd-v2 1.0.0~alpha.1-0.48 (git 04169c447065), speakerguardd-v2-selinux at the same version, aurora-speaker-upgrade 0.1-0.15.

Bring-up (Nov 16): the Stage 2 trial committed, AppleJ614 binds with all six amps and both protection interfaces, aurora-speaker-upgrade --check passes with this Mac's AID34 tuning, and the speakers play under speakerguardd v2. joske confirmed the same on a second J614c.

Regression run (Nov 23, fresh boot):

Check Result
SELinux denials this boot 0
Failed units 1: me.proton.vpn.split_tunneling.service, Proton VPN's third-party split-tunneling daemon, which hits its restart limit at boot. It is userspace and unrelated to the kernel or audio.
New kernel errors 0, compared with the most recent stock kernel-aurora boot in the journal (7.3.0-40.fc44.aurora). This boot's only error-level kernel lines are the reserved-memory overlap between asc-firmware and the isp-firmware regions, which appears on all 48 earlier boots back to 7.3.0-36.

100% music run under speakerguardd v2: a music track looped for 361 s on the "MacBook Pro J614 speakers" sink at 100% volume. speakerguardd-v2-session stayed active and granted the lease (granted=1 play=1 report=ok). Die temperatures come from each amp's hwmon sensor, read every 15 s. Fault status is the per-amp Amp Fault Status control: fault bits, fault interrupt count, SDZ group forced off.

Amp Die temperature during the run (°C) Fault status before Fault status after
Left Woofer 1 32–33 0,0,0 0,0,0
Left Woofer 2 34–35 0,0,0 0,0,0
Left Tweeter 34 0,0,0 0,0,0
Right Woofer 1 34–35 0,0,0 0,0,0
Right Woofer 2 32–33 0,0,0 0,0,0
Right Tweeter 30–31 0,0,0 0,0,0

During the run: 0 kernel errors and 0 SELinux denials.

Assisted-by: Claude Opus 5.5

@joske

joske commented Nov 16, 2026

Copy link
Copy Markdown
Contributor

Confirmed on a second J614c (M4 Max, 16 CPU / 40 GPU cores) with this change on a 7.3.0 integration/aurora tree (c0a2a75 + a few T6041 PRs): AppleJ614 binds with all six amps, aurora-speaker-upgrade --check passes (tuning AID34, route 1 from Macintosh HD on 26A434, whose speaker files are byte-identical to 25G83's; voicing within +0.14/-0.10 dB of macOS), run switches it to speakerguardd v2 and the speakers play.

🤖 Generated with Claude Code

@RyanTheTide

Copy link
Copy Markdown
Contributor

Blockers: 1.

  1. The commit (1f8405e) has Co-Authored-By: Claude Opus 5.5 and Claude-Session: trailers. Please re-commit with only your Signed-off-by, and put the disclosure as the last line of the PR body (Assisted-by: LLM (<Vendor>:<Model>)).
  2. arch/arm64/boot/dts/apple/t6041-j614c.dts:6-10 still says there is no J614c ADT yet and that the J614s wiring is guessed. The commit now relies on the J614c's own acoustic ID and its six speaker records. Please update the header to say which parts of the file come from the J614c and which are still borrowed.

The change is safe as far as the code goes. The six amps come from t6041-j614c-j616c.dtsi:2388-2464, each with apple,sdz-group-fail-closed. macaudio_sn012776_levels_present() keeps the speakers off unless every amp has its apple,speaker-config row from the loader, and playback still waits for the protection lease in macaudio_j614_cfg. Two J614c units, yours and joske's, pass aurora-speaker-upgrade --check.

HW row: J614c on 7.3.0-40 plus this commit: amp temperatures and fault status after a 100 % music run under speakerguardd v2, and 0 AVC, 0 failed units, 0 new kernel errors.

Assisted-by: LLM (Claude:Opus 5.5)

@RyanTheTide

Copy link
Copy Markdown
Contributor

On 110861f, the J614c sound card and its six amps are still disabled. The commit applies cleanly on 110861f. Since this branch's base the tip's J614c changes are unrelated (panel nits, CLPC/cooling, port-controller interrupt). @mouthmantra, the review points are still open: re-commit with only your Signed-off-by, and update the file header to say which parts now come from the J614c. Also add the row: amp temperatures and fault status after a 100% music run under speakerguardd v2, with 0 AVC, 0 failed units and no new kernel errors.

Build check of 110861f plus this change (arm64, LLVM=1, Image, dtbs and every directory it touches, Fedora config plus asahi.config): builds, no warnings in the files it touches; CHECK_DTBS over the 138 Apple DTBs this change rebuilds: no new warnings against the tip.

@DjDeveloperr DjDeveloperr left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pre-PR checklist review at 1f8405e96461 (checked against integration/aurora 70a00e583b03): 2 blockers (§4 attribution, §5 exact-head regression & thermal verification).

Code, DT, and Safety Audit (§1–§3, §6)

  • DT & speaker safety (§3) are sound: Removing the status = "disabled" overrides on &sound (apple,j614-macaudio, macaudio_j614_cfg) and the six SN012776 amps inherited from t6041-j614c-j616c.dtsi (each with apple,sdz-group-fail-closed) keeps fail-closed protection intact: macaudio_sn012776_levels_present() requires the boot loader's apple,speaker-config row on every amp, and playback requires a speakerguardd v2 lease (staying at the floor otherwise). Two J614c units confirmed aurora-speaker-upgrade --check and playback under speakerguardd v2. Not superseded on integration/aurora.
  • Live CI: dt-checks and host-tests are green on 1f8405e96461.

Blockers

  1. §4 commit trailers & PR disclosure: Commit 1f8405e96461 includes Co-Authored-By: Claude Opus 5.5 <[email protected]> and Claude-Session: trailers. Per §4, re-commit with human author/committer identity and human Signed-off-by: only (zero AI or session trailers in commit messages), and add an Assisted-by: disclosure line at the end of the PR description.
  2. §5 regression counts & speaker thermal/fault run: Please attach §5 regression counts (0 SELinux denials, 0 failed units, 0 new kernel errors) on the updated head along with amp temperatures and fault status after a 100% music playback run under speakerguardd v2.

Cleanliness Note (please update on re-push)

  • arch/arm64/boot/dts/apple/t6041-j614c.dts:7-10 still says "There is no J614c ADT yet" while this change relies on the J614c's acoustic ID 34 and speaker-config records. Please update the file header comment to state which parts come from the J614c and which remain borrowed.

Assisted-by: LLM (Gemini 4 Neon)

The J614c (MacBook Pro 14-inch, M4 Max) kept its speaker card and six
SN012776 amps disabled, as the J614s did before aurora-silicon#1665 brought its
speakers up. The J614c has the same 14-inch chassis and speakers:
macOS on a J614c reports acoustic-id 34 (0x22), the J614s value, and a
six-record speaker-thiele-small.

Drop the disabled overrides so the J614c binds the J614 card
(apple,j614-macaudio, macaudio_j614_cfg) over the shared J614c/J616c amp
description. Protection is unchanged: playback still waits for a
speakerguardd v2 lease, and without it the amps stay at the floor.

Tested on a J614c with kernel-aurora 7.3.0-40 (9125b31) plus this
change: the Stage 2 trial committed, AppleJ614 binds with all six amps
and both protection interfaces, aurora-speaker-upgrade --check passes
with this Mac's AID34 tuning, and the speakers play under speakerguardd
v2.

Signed-off-by: mouthmantra <[email protected]>
@mouthmantra

Copy link
Copy Markdown
Contributor Author

Thanks for the reviews. Updated to a single commit, 0c01b8362a9f, on top of 110861f:

  1. Commit trailers (§4): re-committed with my identity and my Signed-off-by only, with no AI or session trailers. The Assisted-by: line is at the end of the PR description.
  2. Regression and speaker run (§5): the results are in the Testing section of the description. On a fresh boot there were 0 SELinux denials and 0 new kernel errors compared with a stock kernel-aurora boot. The 6-minute 100% music run under speakerguardd v2 had 0 kernel errors and 0 denials, the amps stayed at 30–35 °C, and all six amps read 0,0,0 for fault status before and after. One unit failed, Proton VPN's split-tunneling daemon, which is third-party and unrelated. The run was on 9125b314 built with the same DT change, not on a 110861f build. RyanTheTide's build check covers 110861f.
  3. Header: t6041-j614c.dts now says the speakers come from the J614c and lists what is still borrowed.

@DjDeveloperr DjDeveloperr left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pre-PR checklist re-review at 0c01b8362a9f (base 110861f4; checked against integration/aurora 04e94d272cf6). All three points from my review at 1f8405e9 are resolved, and so are RyanTheTide's. Approving the code. It can merge once dt-checks and host-tests pass on this exact head.

Prior blockers

  1. §4 attribution: resolved. 0c01b836 has mouthmantra as author and committer and carries only Signed-off-by: mouthmantra. It has no Co-Authored-By:, Claude-Session: or Assisted-by: trailers. The PR body ends with the Assisted-by: disclosure.
  2. §5 evidence: resolved. The PR now reports a fresh-boot regression run: 0 SELinux denials and 0 new kernel errors against the last stock kernel-aurora boot. The only error-level lines are the pre-existing asc-firmware/isp-firmware reserved-memory overlap, which appears on all 48 earlier boots. There was also a 361 s, 100% music run under speakerguardd v2 (granted=1 play=1 report=ok). All six amps stayed at 30–35 °C, their Amp Fault Status read 0,0,0 before and after, and the run logged 0 kernel errors and 0 denials.
  3. Header: resolved. t6041-j614c.dts now says which part comes from the J614c (the speakers: AID 34, six records, the loader-filled speaker-config rows). It also lists what is still borrowed: CPU limits, operating points, trackpad and keyboard wiring, and panel brightness from the J616c, and the Wi-Fi island from the J614s.

Audit §1–§6

  • §1 / §2: This is a DT-only change and adds no gates in code. The J614c binds the existing apple,j614-macaudio / macaudio_j614_cfg path. No parameters are added. The test boot's user4k=on and arm64.nosme are unrelated to sound, and the speakers don't need them.
  • §3 safety holds. The six SN012776 amps come from t6041-j614c-j616c.dtsi, and each keeps apple,sdz-group-fail-closed (6/6 at the base and at the tip). The speakers stay off unless the loader supplies apple,speaker-config on every amp, and playback still waits for a speakerguardd v2 lease, holding the amps at the floor until one is granted. The legacy protection has no J614 profile, so without v2 the speakers stay muted. The change has no hardcoded safety values.
  • Re-push delta: Compared with 1f8405e9, the functional DT diff is byte-identical: the same status = "disabled" lines are removed from &sound and the six amps. Only comments and the commit trailers changed. The HW run on 9125b314 + this DT change is therefore valid for this head. RyanTheTide's build + CHECK_DTBS run covers 110861f + this change (no new warnings across 138 DTBs).
  • Not superseded: At the integration/aurora tip the J614c card and amps are still disabled. Nothing on the tip since 110861f touches t6041-j614c* or macaudio.
  • §4 clean-room: No Apple code or tuning values are in the diff. AID 34 and the record count are what macOS reports on this Mac.
  • §6: n/a.

Remaining gate (maintainer action, not author)

  • §5 exact-head CI: Device tree checks and Host tests on 0c01b8362a9f are action_required: these are fork workflows waiting for a maintainer to approve them, so they have not run yet. Both passed on 1f8405e9, which has the same functional diff. Merge only after both are green on 0c01b8362a9f.

Non-blocking: the one failed unit in the regression run is Proton VPN's third-party split-tunneling daemon. It is userspace and unrelated to this change.

Assisted-by: LLM (Claude Opus 5.5)

@RyanTheTide
RyanTheTide requested review from a team as code owners November 29, 2026 22:32
@RyanTheTide RyanTheTide removed needs-hw-row No hardware row at the PR head (bot) needs-template PR body lacks Tested or Risk (bot) labels Nov 29, 2026
@github-actions github-actions Bot added needs-hw-row No hardware row at the PR head (bot) needs-template PR body lacks Tested or Risk (bot) labels Nov 29, 2026
@github-actions

Copy link
Copy Markdown

Merge readiness at 3022b6de: not ready yet

Check Detail
CI at head running running: dt-checks, host-tests, pr-text / pr-text
Review ok approved by DjDeveloperr
Requested changes ok none
Hardware row at head no no line with the head SHA 3022b6de, a Mac and a result in the PR body or a comment
Conflicts ok none
PR text adopt when you next edit add a 'Tested:' line; a 'Risk:' line (door and Macs) (guide)

Areas: area:bringup

Updated by pr-readiness on pushes, edits, reviews and comments, and on a schedule. Rules: merge policy · labels.

@RyanTheTide

Copy link
Copy Markdown
Contributor

Merging at 3022b6de (ORCH5 priority; Ryan and the community asked). Dj (code owner) approved at this head, and dt-checks, host-tests and pr-text are green at this head (the fork's runs needed a maintainer approval to start, which I gave). The owner's J614c rows cover it, including full-volume music under speakerguardd v2 with 0 faults. J614c DTS only (t6041-j614c.dts). Stale labels cleared. Revert: git revert -m 1 <merge>. Thanks @mouthmantra!

@RyanTheTide
RyanTheTide merged commit c4af887 into aurora-silicon:main Nov 29, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:bringup Area from CODEOWNERS (bot) needs-hw-row No hardware row at the PR head (bot) needs-template PR body lacks Tested or Risk (bot)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants