Search Criteria
Package Details: snd-hda-macbookpro-dkms-git 0.1-1
Package Actions
Git Clone URL: | https://aur.archlinux.org/snd-hda-macbookpro-dkms-git.git (read-only, click to copy) |
---|---|
Package Base: | snd-hda-macbookpro-dkms-git |
Description: | Kernel driver for sound on Macs with Cirrus 8409 HDA chips |
Upstream URL: | https://github.com/davidjo/snd_hda_macbookpro |
Licenses: | unknown |
Submitter: | kyeh |
Maintainer: | kyeh |
Last Packager: | kyeh |
Votes: | 2 |
Popularity: | 0.073100 |
First Submitted: | 2023-11-09 07:03 (UTC) |
Last Updated: | 2023-11-09 07:03 (UTC) |
Latest Comments
kyeh commented on 2024-11-15 17:43 (UTC)
Hi @LyricLaw! Could you please confirm whether for you installing this package results in 1) no kernel module present in /lib/modules/$(uname -r)/updates/, 2) a kernel module present but apparently broken, e.g. broken audio after rebooting, or 3) installing this package does not result in a kernel module in /lib/modules/$(uname -r)/updates/?
It's important to remember that each kernel version will have its own directory of installed kernel modules, so for pacman's attempt to install it to fail because an identical kernel module is already present is not really a huge problem, because that means that the the kernel module you want is already installed, and your audio should work fine.
The problem here is that the build/install script installs the kernel module itself, while dkms expects to be handed a kernel module to install, and currently both are happening. For me this has always resulted in my audio working. It's not exactly the right way to do it though (neither would --force), and a PR has been open for several months to fix it, https://github.com/davidjo/snd_hda_macbookpro/pull/119 .
If you you're audio isn't working after installing this package, try changing the package source to this branch, which contains the PR to fix the dkms warnings: https://github.com/BrewCoffeeAddict/snd_hda_macbookpro/tree/dkms_fix . If you're not sure how to do that let me know and I can help (perhaps it would be easier via email). If this package is leaving your audio broken, and switching to that repo fixes it, then I'll change the PKGBUILD to use it until the PR gets merged upstream.
Regarding the SSL errors, it's not totally clear to me whether it is an issue with the packaging or upstream code, as it doesn't seem to meaningfully effect the installation, but I'll look into it more.
LyricLaw commented on 2024-11-15 16:26 (UTC)
Meeting with the same issue as @flipmess on Arch. But cloning from the git repo then executes ./install.cirrus.driver.sh works perfectly.
I think maybe there's 2 problems from the building script.
The SSL error maybe relative to kernel module signing. The error log indicates that no signing key is not exist. Have you ever create a signing key? You can refer to this question: https://superuser.com/questions/1214116/no-openssl-sign-file-signing-key-pem-leads-to-error-while-loading-kernel-modules/1322832#1322832
And according to the issue from the origin git repo, the existing kernel module snd-hda-codec-cs8409.ko.zst is conflict with the installing module. https://github.com/davidjo/snd_hda_macbookpro/issues/112 So a force flag should be added to the install command.
kyeh commented on 2024-08-12 05:37 (UTC)
Hi, thanks for the info! The SSL error is a little odd looking, I think I've seen it before, but don't remember if it was associated with any problems for me. The other message about module versions and needing to use the force flag are basically just noise: They have always been present for me, but have never actually resulted in the module not being installed.
It would be very helpful if you could remove the kernel module and then: 1) try installing the package again, 2) check the contents of /lib/modules/$(uname -r)/updates/ (That's the directory on Arch, idk if it might be different on Manjaro), 3) reboot, and 4) confirm whether or not you have working audio afterwards.
In any case it's true that the PKGBUILD and/or dkms script are little janky; they've been working fine for me so far, so I haven't looked too much into it, but I'll see if I can find some time to clean it up a bit.
flipmess commented on 2024-08-12 05:05 (UTC) (edited on 2024-08-12 05:06 (UTC) by flipmess)
hi, i installed this package on a macbookpro14,1. unfortunately it didn't work. i get:
running the "install.cirrus.driver.sh" from the github did work. so i hope this is fixable to prevent re-installation on every kernel upgrade. thx for your work.