Repository navigation
Conversation
|
The speakers-off part holds up: no safe level,
Assisted-by: LLM (Claude:Opus 5.5) |
|
Tested on the J704 together with #2582: a local merge of 0bb4e1b and 15a449a (it merges cleanly),
No headset was plugged in for this boot, so jack detection and headset capture were not exercised again. Those were tested before the PR was opened. AI-assisted (Assisted-by: LLM), tested by me on the hardware. |
|
Thanks, both in two commits on top:
No functional change; both commits change only comments. AI-assisted (Assisted-by: LLM). |
|
Re-review of 569258b: Blockers: 1. Both points from our last comment are resolved:
Assisted-by: LLM (Claude:Opus 5.5) |
DjDeveloperr
left a comment
There was a problem hiding this comment.
Pre-PR checklist review at 569258bb54cf: 1 blocker (§4 attribution).
Code, DT, and Safety Audit (§1–§3, §6)
- Clean.
Documentation/devicetree/bindings/sound/apple,macaudio.yaml,sound/soc/apple/macaudio.c,sound/soc/apple/macaudio-admission-test.h,arch/arm64/boot/dts/apple/t8142-j704-audio.dtsi, andt8142-j704.dtsall check out with no bugs or conflicts across the othert8142-j704-*.dtsifiles. - Speaker safety (§3): Speakers are strictly off by defense-in-depth —
speaker_*,i2c3, and/sound/dai-link@1are deleted from the J704 DT,macaudio_j704_cfgsets.enable_speakers = falseand.safe_vol = 0, andmacaudio_speakers_allowed(&macaudio_j704_cfg)is covered by KUnit. (Note for future speaker bring-up: per §3, speaker protection will requirespeakerguarddv2 rather than legacyspeakersafetyd.) - CI:
dt-checksandhost-testsare green.
Blockers
- §4 commit trailers: All five commits (
9aa30bb068a0,43c7dec8fc56,0bb4e1bf3b6b,cb4e2678124c,569258bb54cf) include anAssisted-by: LLMtrailer in the commit message. Per §4 of the pre-PR checklist, commits must carry human author/committer identity and humanSigned-off-by:only, with zeroAssisted-by:or AI trailers in commit messages (disclosure stays in the PR body only).
§5 Evidence Notes (non-blocking; worth attaching on re-push)
- The J704 boot was reported at
0bb4e1bf+ #2582 (the two commits on top are comment-only), but please include the §5 regression counts (0 SELinux denials, 0 failed units, 0 new kernel errors) on the updated head, and replace the<S2>placeholder in the PR body'salsa-ucm-conf-asahireference.
Assisted-by: LLM (Gemini 4 Neon)
The MacBook Pro (14-inch, M5) J704 sound card, a J813-style AOP-fed macaudio card. Signed-off-by: termg <hello@termg.com>
The J704 has J813's AOP-fed audio: the T8152-style AOP audio driver as the CPU component and a CS42L84 headphone jack on "cout". Its six SN012776 speakers (two woofers and a tweeter per side) sit in an order of their own, not J815's, and have no verified slots or protection profile yet. Add a J704 entry with J813's jack format and front-ends, and no safe level, so macaudio_speakers_allowed() never admits a J704 speaker link. The admission KUnit case checks that. Tested on a J704 (Fedora 44) with the J704 audio tree: the jack plays (volume, both channels), the headset mic captures, no speaker is bound. Signed-off-by: termg <hello@termg.com>
The J704 (MacBook Pro 14", M5) ADT shows J813's audio wiring: the AOP (ascwrap-v6, mailbox IRQs 490-493), dart-aop, admac-base-ns (IRQ 549) and admac-leap-s (IRQ 551) at the same addresses, the CS42L84 jack codec at i2c1 0x4b (IRQ on AP pin 100, reset on nub pin 18) and the three-microphone LEAP stream. Reuse t8142-j813-audio.dtsi as J815 does, with the J704 names. The six SN012776 speakers on i2c3 (0x38-0x3d) are in an order of their own (0x39 left woofer 2, 0x3a left tweeter, 0x3c right woofer 2, 0x3d right tweeter), so until their slots and a protection profile are verified neither the amps nor i2c3 are described: their driver never binds and they stay in shutdown. The card is "apple,j704-macaudio", whose macaudio entry admits no speaker link. Tested on a J704 (Fedora 44, aurora 7.3.0): the CS42L84 probes (revision 36), the jack plays with volume and both channels, jack and headset-mic detection work, and the HPAI card captures the three microphones (3 x float, 48 kHz). Signed-off-by: termg <hello@termg.com>
…onfigured The comment said the J704's SN012776 amplifiers "stay in shutdown". With neither i2c3 nor their shutdown (SDZ) line described, Linux never touches them, so they stay in whatever state iBoot left them in after the chime. They still cannot play: there is no speaker link, so no bit clock. Say that instead. Signed-off-by: termg <hello@termg.com>
The J704 row listed a gain of 15, but macaudio_j704_cfg has no safe level: its speakers are off. Write "-", as the J775 rows do. Signed-off-by: termg <hello@termg.com>
|
Status: still needed. integration/aurora at 4a17f73 has no J704 entry in macaudio and no t8142-j704-audio.dtsi. The five commits merge cleanly onto 4a17f73 (the PMP report change to the J704 tree, d32242d, does not overlap) and they apply without #2582. Neither review found a code, DT or speaker-safety problem. @term-guy, what is left from the 2026-11-22 review is the regression counts on the current head (0 SELinux denials, 0 failed units, 0 new kernel errors) and the |
569258b to
9377776
Compare
|
Updated: all five commits now carry only my Signed-off-by (9aa30bb..569258b rewritten as f7e582e..9377776, trees identical). The description's J704 boot on this head merged with #2582 (installed 7.3.0 kernel, on-Mac self-test): cards AppleJ704 (macaudio, Primary/Secondary, jack capture) and AppleJ704HPAI (microphone array). A 2 s capture from each: the jack gives peak 0 (no headset), the array gives a signal. 0 SELinux denials (enforcing), 0 failed units, 0 new kernel errors. The ASoC line The five commits still merge cleanly onto the current integration/aurora tip (da67077). Assisted-by: LLM (Claude:Opus 5.5) |
|
Thanks. Everything from the status check is now there: the five commits carry only your Signed-off-by with trees identical to before, the Assisted-by: LLM (Claude:Opus 5.5) |
RyanTheTide
left a comment
There was a problem hiding this comment.
Approved at 9377776: J704 boot row and regression counts at this head; speakers off.
|
@DjDeveloperr could you re-review at Assisted-by: LLM (Claude:Opus 5.5) |
DjDeveloperr
left a comment
There was a problem hiding this comment.
Re-review at 9377776ee95f (checked against integration/aurora 70a00e583b03): Approved — all §1–§6 checks pass.
- §4 attribution resolved: All five commits (
f7e582e04877..9377776ee95f) now carry human author/committer identity and humanSigned-off-by:only (zero AI trailers in commit messages). The PR description replaces<S2>withaurora-silicon/alsa-ucm-conf-asahi#22and carries theAssisted-by:disclosure. - §1–§3 & §6 clean:
Documentation/devicetree/bindings/sound/apple,macaudio.yaml,sound/soc/apple/macaudio.c,sound/soc/apple/macaudio-admission-test.h,arch/arm64/boot/dts/apple/t8142-j704-audio.dtsi, andt8142-j704.dtsremain clean and compatible with currentintegration/aurora(including recentmacaudio.cceiling updates); not superseded. Speakers remain strictly off by defense-in-depth (enable_speakers = false,safe_vol = 0, amp nodes /i2c3/dai-link@1deleted, covered by KUnit). Live CI (dt-checks,host-tests) is green on9377776ee95f. - §5 evidence resolved: Exact-head J704 boot at
9377776ee95fconfirmsAppleJ704andAppleJ704HPAI, microphone array signal, speakers unbound, and0 SELinux denials (enforcing), 0 failed units, 0 new kernel errors(alongside the prior jack playback, headset detection, PipeWire/UCM, and 63/63 KUnit passes on identical trees).
Assisted-by: LLM (Gemini 4 Neon)
|
Speakers will be easy to make work by the way. Same chassis as the M5 Pro 14" that I use speakers on just fine. |
Sound for the J704 without the speakers:
The J704 ADT shows J813's audio wiring (AOP, dart-aop, admac-base-ns, admac-leap-s at the same addresses and IRQs, the CS42L84 at i2c1 0x4b with its IRQ on AP pin 100 and reset on nub pin 18, the three-microphone LEAP stream), so the tree includes
t8142-j813-audio.dtsias J815 does and renames the card and chassis.Its six SN012776 speakers are on i2c3 0x38-0x3d, but not in J815's order: the ADT names 0x39 left woofer 2, 0x3a left tweeter, 0x3c right woofer 2 and 0x3d right tweeter, and its speaker-config id list does not map one-to-one onto the six addresses. Until the slots and a speakersafetyd profile are verified on the hardware, neither the amps nor i2c3 are described, and the J704 macaudio entry has no safe level, so
macaudio_speakers_allowed()refuses any J704 speaker link(the admission KUnit case checks it).
Tested on a J704 (Fedora 44, aurora 7.3.0, with the J704 PCIe tree of #2582 underneath):
cs42l84 0-004b: Cirrus Logic CS42L84, Revision: 36; cards "MacBook Pro J704" and "MacBook Pro J704 HPAI"make dt_binding_check DT_SCHEMA_FILES=sound/apple,macaudio.yamlandCHECK_DTBS=y apple/t8142-j704.dtbclean; macaudio KUnit (kunit.py run --arch=arm64 'apple-*'): 63/63 passedAssisted-by: LLM (Claude:Opus 5.5)