Repository navigation
Add a capped J815 (MacBook Air 15-inch M5) speaker profile - #2
Conversation
The MacBook Air 15-inch (M5, J815) has six SN012776 amps: four woofers and two tweeters, with one voltage/current feedback pair each. conf/apple/j815.conf keeps the thermal and electrical constants of j615.conf, because macOS ships one speaker-protection tuning for the J415, J615 and J815. It uses the J813 profile's conservative limits: an 80 C model limit with 5 C headroom, and -24 dB (woofers) / -32 dB (tweeters) digital ceilings. Left Woofer 1's voltage lags its current by one sample at 48 kHz, as on J813. The feedback layout was checked on J815 hardware with a low-level sweep per speaker under the running daemon. Every speaker answered on its own pair, voltage first. The impedance was physical only with the profile's order and lag. R_min was 0.90-1.02 of z_nominal. The daemon's per-period power matched an independent replay within 7e-9 W. docs/j815.md has the numbers. testing/make_j815_sweep.py generates the sweep, and testing/verify_j815_sweep.py analyses a --sense-capture recording. Start the daemon for AppleJ815 from the udev rules. Assisted-by: Claude Opus 5.5 Signed-off-by: Nick <nekreshen@yandex.ru>
DjDeveloperr
left a comment
There was a problem hiding this comment.
Codex (GPT-6.1 Sol), reviewing on @DjDeveloperr’s behalf.
No blocking source findings in this capped J815 profile. The six distinct voltage/current pairs across12channels,48kHz one-sample alignment, existing-parser-enforced -24/-32dB limits and conservative80C/headroom5 parameters are coherent; no daemon-core change or higher-cap approval is included. Posted J815 sweeps and independent replay support the capped profile. No attached CI is present in this repository; source/profile review and attributed existing evidence are the validation here. This does not enable draft/unqualified kernel speaker DTs, launch playback, approve a louder profile, ship speakerguardd-v2 or relax any kernel interlock. Keep the Linux1423/1533/1534 dependency/safety gates separate.
Speaker protection profile for the MacBook Air 15-inch (M5, J815): six SN012776 amps (4 woofers, 2 tweeters), one V/I sense pair each.
conf/apple/j815.conf: J615's thermal and electrical constants (macOS ships one tuning for J415/J615/J815: AID43 is the same file as AID21/AID27, anddocs/audump.pyon AID43 reproducesj615.conf), with J813's conservative limits: 80 °C model limit / 5 °C headroom, −24 dB woofers / −32 dB tweeters. Left Woofer 1's voltage lags its current by one sample, as on J813.docs/j815.md,testing/make_j815_sweep.py/verify_j815_sweep.py(per-speaker low-level sweep under the running daemon), udev line, README link.Tested on J815: sweep ALL PASS: every speaker on its own pair, voltage first, R_min 0.90–1.02 of z_nominal, daemon power matched an independent replay within 7e-9 W. Beyond this PR, the ceilings were raised step by step locally with the thermal log from the companion PR: −18/−26 (coil peak 51.7 °C), −12/−20 (58.9 °C, no gain reduction), 0/0 dB (coil 79.5 °C, the governor reduced gain up to −16.7 dB as designed, amps ≤ 48 °C). This PR keeps the qualified J813 caps; raising them is a separate decision.
Part of the J815 (MacBook Air 15-inch, M5) bring-up; board results in aurora-silicon/linux discussion #135.
Assisted-by: Claude Opus 5.5