-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Install script not working anymore #63
Comments
I've the same output and it also doesn't work for me anymore. I'm also on Ubuntu 22.04. |
This appears to be the new error caused by the removal of a pre-existing variable (force_status_change) in the original kernel file patch_cs8409.h at base linux kernel version 5.19. Doesnt seem to be a good solution to these sort of updates without having multiple patch files - which have to depend on differing kernel versions depending on distribution. instructions to fix: you need to look at patch_patch_cs8409.h.diff do not rerun the install script |
Thanks for the quick answer!!! The following lines already are in the file patch_cs8409.h after the line unsigned int mic_jack_in:1; #ifdef APPLE_CODECS ...so no need to add them. Error still there... |
I need to see the specific error messages - if those lines are in then you cant get the errors as listed by martroben. |
With the pull request of BenChaimberg included, everyting works as expected. Thank you so much :) |
I can also confirm, that after applying the pull request by @BenChaimberg, it starts working again. git clone https://github.com/davidjo/snd_hda_macbookpro
cd snd_hda_macbookpro/
curl https://patch-diff.githubusercontent.com/raw/davidjo/snd_hda_macbookpro/pull/64.diff | git apply
sudo ./install.cirrus.driver.sh |
Thank you! This works like a charm! |
confirmed this worked on clean (updated) installation of Fedora 36 after installing the dependencies in the main readme and a missing package
|
I can confirm that after testing. |
With Kernel 6.1 after try to install patch git clone https://github.com/davidjo/snd_hda_macbookpro i take this error : error: patch failed: patch_patch_cs8409.h.diff:420 |
I have this exact issue on kernel 6.2.6. Help much appreciated. |
You may not need the 64.diff patch now - I added a fixup for this I think in January. |
This worked for me thank you very much! I do want to ask though, as I'm not as familiar with linux as I'd like to be: this audio driver is installed as a patch onto the kernel, right? So if apt updates my kernel, will it also automatically apply the patch to the new one or will I have to reinstall the driver? |
The linux kernel has kernel modules for adding functionality, its not really a patch. This repo creates a modified kernel module (ie it is an updated version of an existing kernel module) which is added to the kernel modules (usually stored in /lib/modules/kernel version dependent names) for a specific kernel version. |
Thanks Davidjo for you good job and for your info |
I've been re-installing the driver periodically, since somehow my system always drops back to "dummy output" after apt upgrades. It has always worked well.
Now I got an unexpected "dummy output" just from connect headphones. (The same headphones have always worked fine before.)
I rebooted, did a fresh clone of the repository and attempted to re-install the driver. Alas, it doesn't seem to work anymore. Here's the output:
After running the script and rebooting, the device audio is still at "dummy output" and there is no sound.
I also tried re-installing the linux-headers, but it's already at the latest version.
Here's the system info:
I'm not sure if it's an issue with the script or with my system. Would you mind giving me some pointers on how to investigate and solve the problem?
The text was updated successfully, but these errors were encountered: