Install CS8409 speaker driver on pre-T2 MacBook Pros and iMacs - #9516
Open
j7j7 wants to merge 3 commits into
Open
Install CS8409 speaker driver on pre-T2 MacBook Pros and iMacs#9516j7j7 wants to merge 3 commits into
j7j7 wants to merge 3 commits into
Conversation
Those machines have speakers that stay silent with the in-tree codec. Detect MacBookPro13,* / 14,* and install snd-hda-macbookpro-dkms so the Apple amp path loads after reboot.
assert_hw used to rm the DMI fixture only after the assertion. fail() exits the process, so a mismatch leaked the file.
MacBookPro13/14 coverage from the existing CS8409 work also applies to iMac18,x and iMac19,x (CS8409/CS42L83). Verified on iMac18,3. Co-authored-by: Cursor <cursoragent@cursor.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
snd-hda-macbookpro-dkms(+linux-headers) on pre-T2 Macs whose speakers stay silent under in-treesnd_hda_codec_cs8409: MacBookPro13,x / 14,x and iMac18,x / iMac19,x.quattroand extends detection / docs / tests for iMacs.In-tree CS8409 binds the codec but never programs the external amps / CS42L83 path, so PipeWire shows a healthy unmuted sink with no output. The DKMS module replaces
snd-hda-codec-cs8409underupdates/after reboot.T2 Macs stay on
fix-t2.sh/apple-t2-audio-configand are excluded (iMacPro1,1,MacBookPro15,1, etc.).Hardware note
Verified on iMac18,3 (CS8409/CS42L83, codec subsystem
0x106b1000) on linux 7.1.9: speakers work once the Apple CS8409 path is loaded. MacBook Pro coverage is from #7140 (MacBookPro14,3).Test plan
./test/shell.d/cs8409-audio-test.sh(MacBook + iMac match/skip cases, install hook, migration, manual wording)lsmod | grep cs8409,aplay -lshows CS8409/CS42L83, speakers playMacBookPro15,1/iMacPro1,1): hook and migration no-opSupersedes / can close #7140 and draft #8285 once this and the pkgs package land together.
Made with Cursor