Repository navigation
Enable speakers on Late 2015 21.5-inch iMacs - #10458
inspiretelapps wants to merge 2 commits into
Conversation
iMac16,1 and iMac16,2 drive four digital CS4208 speaker channels. Analog Stereo is the headphone DAC and HDMI is the internal display, so both look like valid outputs while the speakers stay silent, and Master hardware volume does not change speaker loudness. Select Analog Surround 4.0, use software volume, and deprioritize HDMI on those machines. Verified on iMac16,2.
Migrations run under bash -euo pipefail, so when aplay -l lists no CS4208 card (no seat ACL over SSH, or the codec not enumerated yet) the card lookup fails, the assignment aborts the migration, and it stays pending, blocking every later one. The mixer writes are already best-effort; the lookup now is too. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Reviewed on a disposable Omarchy VM (WirePlumber 0.5.17, PipeWire 1.6.8), with a second review by Codex Medium. Pushed: f9ee539. Migrations run under Open: software volume is never enabled. The first rule in Open: the manual's fallback. Codex Medium raised the soft-mixer mechanism and the manual problem, and I confirmed both as described above. It agreed with the migration fix after I described it, so that agreement is not an independent check. Draft #12689 carries the same iMac files inside a larger Cirrus audio bundle, has the same lookup failure, and has not been tested on hardware. For this bug, this PR is the focused fix. Waiting on the author for the matcher and the manual, then on a test of the new head on an iMac16,1 or iMac16,2. |
|
| mkdir -p ~/.config/wireplumber/wireplumber.conf.d/ | ||
| cp "$OMARCHY_PATH/default/wireplumber/wireplumber.conf.d/imac-cs4208-speakers.conf" \ | ||
| ~/.config/wireplumber/wireplumber.conf.d/ | ||
| rm -rf ~/.local/state/wireplumber/default-routes |
There was a problem hiding this comment.
Saved HDMI default survives. If an existing iMac has HDMI saved as its default output, deleting
default-routes leaves that choice in default-nodes. The saved choice can still take precedence over the new sink priorities after audio restarts, so the migration may leave playback on silent HDMI instead of the speakers.
Knowledge Base Used: Hardware profiles and device controls
| mkdir -p ~/.config/wireplumber/wireplumber.conf.d/ | ||
| cp "$OMARCHY_PATH/default/wireplumber/wireplumber.conf.d/imac-cs4208-speakers.conf" \ | ||
| ~/.config/wireplumber/wireplumber.conf.d/ | ||
| rm -rf ~/.local/state/wireplumber/default-routes |
There was a problem hiding this comment.
Unrelated audio routes are erased. This removes the entire
default-routes file, including saved choices for other sound cards on the iMac. Users may have to set those outputs up again even though only the CS4208 needs adjustment.
Knowledge Base Used: Hardware profiles and device controls
|
|
||
| ### No sound from the built-in speakers on a Late 2015 21.5-inch iMac | ||
|
|
||
| Those machines (iMac16,1 and iMac16,2) drive four digital speaker channels on the CS4208 codec. Analog Stereo is the headphone DAC, and HDMI is the internal display — both look like valid outputs but stay silent. Omarchy selects Analog Surround 4.0 and software volume automatically. If you still hear nothing, pick Analog Surround 4.0 in the volume popup rather than Analog Stereo or HDMI. |
There was a problem hiding this comment.
Popup cannot change profiles. If the card remains on Analog Stereo, the volume popup cannot perform the suggested recovery step. It selects output sinks, not card profiles, so users cannot switch the card to Analog Surround 4.0 there.
Knowledge Base Used: Hardware profiles and device controls
Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!
Summary
Late 2015 21.5-inch iMacs (
iMac16,1/iMac16,2) drive four digital CS4208 speaker channels. Analog Stereo is the headphone DAC and HDMI is the internal display, so both look like valid outputs while the speakers stay silent. Master hardware volume also does not change speaker loudness, so the Omarchy output slider moves with no audible change.This installs a DMI-gated WirePlumber drop-in that:
api.alsa.soft-mixer)Same shape as the ASUS ROG audio mixer quirk. Does not overlap with the CS8409 DKMS work for 2016–2019 Macs.
Hardware
Verified on iMac16,2 (Cirrus Logic CS4208, codec subsystem
0x106b8100) on linux 7.1.9 / Omarchy 4.0.2: YouTube silent on Analog Stereo and HDMI, plays on Analog Surround 4.0; system volume slider works after software volume.Test plan
bash test/shell.d/imac-cs4208-speakers-test.sh./test/cliomarchy restart audio→ speakers play, output slider changes loudness