Skip to content

Add snd-hda-macbookpro-dkms for 2016-2017 MacBook speakers - #155

Open
shawnyeager wants to merge 2 commits into
omacom:masterfrom
shawnyeager:cs8409-dkms
Open

Add snd-hda-macbookpro-dkms for 2016-2017 MacBook speakers#155
shawnyeager wants to merge 2 commits into
omacom:masterfrom
shawnyeager:cs8409-dkms

Conversation

@shawnyeager

@shawnyeager shawnyeager commented Aug 16, 2026

Copy link
Copy Markdown

Pairs with omacom/omarchy#7140. That PR detects CS8409 MacBook Pros and installs this package.

In-tree snd_hda_codec_cs8409 enumerates the CS8409 but never programs the MAX98706 / SSM3515 / TAS5764L speaker amps, so those machines show an unmuted Analog Stereo sink and play nothing. davidjo/snd_hda_macbookpro is the Apple path.

The AUR package (snd-hda-macbookpro-dkms-git) copies only a subset of the tree and does not depend on wget, which PRE_BUILD needs to fetch matching kernel sources. This package:

  • pins commit 6c324f6 (verified on MacBookPro14,3 / linux 7.1.8)
  • installs the full tree with executable install scripts
  • depends on dkms, wget, and patch

source: local so an AUR sync does not replace it.

Verified on this machine: after DKMS install + reboot, srcversion is the patched module, dmesg takes the APPLE path, and speakers play.

In-tree snd_hda_codec_cs8409 leaves the MAX98706/SSM3515/TAS5764L
amps unprogrammed. Pin davidjo's driver at the commit verified on
MacBookPro14,3 / linux 7.1.8, and ship the full tree so PRE_BUILD
can fetch kernel sources (wget + patch).
Arch's alpm hook parses /usr/src/<name>-<ver> and runs
`dkms install <name>/<ver>`. A hyphen dest made that
snd-hda-macbookpro/0.1, which exits 7 because dkms.conf
PACKAGE_NAME is snd_hda_macbookpro. Pair hook
omarchy-pkg-add relies on the hook succeeding.
@shawnyeager

Copy link
Copy Markdown
Author

Automated fix: install DKMS sources at /usr/src/snd_hda_macbookpro-0.1 so the name matches PACKAGE_NAME in upstream dkms.conf.

The AUR dest (/usr/src/snd-hda-macbookpro-0.1) makes Arch's alpm hook run dkms install snd-hda-macbookpro/0.1, which exits 7. omarchy-pkg-add linux-headers snd-hda-macbookpro-dkms (omacom/omarchy#7140) relies on that hook. The working install on this machine already used the underscore path via dkms.sh.

bdf0fcf

@j7j7

j7j7 commented Sep 1, 2026

Copy link
Copy Markdown

Thanks — I carried your snd-hda-macbookpro-dkms packaging forward and only widened the package description/comments for 2017–2019 iMacs (same CS8409 Apple path).

Follow-up: #249
Omarchy hook (MacBook + iMac): omacom/omarchy#9516

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants