leifliddy / macbook12-audio-driver

WIP audio driver for the cs4208 codec found in the 12" MacBook (MacBook9,1, MacBook10,1).
84 stars 9 forks source link

Linux Kernel 6 Compiles and Installs but No Sound #21

Open eggsnblakey opened 1 year ago

eggsnblakey commented 1 year ago

Thanks for making this available. Just a note that the driver appears to correctly compile and install using Linux kernel 6 (current POP_OS 22.04 build as of 10 Feb 2022), but I'm not getting any sound on a 2015 12" MacBook. I'll keep fiddling with it.

leifliddy commented 1 year ago

The 2015 model isn't supported.

eggsnblakey commented 1 year ago

Haha that would explain it. Thanks

leifliddy commented 1 year ago

It's not for lack of trying either. I spent weeks trying to get it to work. There's just something different with that model.

amirian commented 1 year ago

Would you post any changes about Macbook8,1 here? I tested with Ubuntu 22.04.2 LTS, not working. What's the difference with Macbook9,1?

leifliddy commented 1 year ago

I don't own a macbook8,1 any longer and can't recall exactly what the differences were -- but they were pretty minor.

megabitsenmzq commented 7 months ago

This driver also does not work on my 2017 Pro. The old driver snd_hda_macbookpro worked before. I removed the old one and then installed this one. Both dkms and non-dkms methods don't work. The OS shows there is a dummy output, but that's it.

Do you have any ideas 🤔?

System Info: Linux version 6.1.0-13-amd64 (debian-kernel@lists.debian.org) (gcc-12 (Debian 12.2.0-14) 12.2.0, GNU ld (GNU Binutils for Debian) 2.40) #1 SMP PREEMPT_DYNAMIC Debian 6.1.55-1 (2023-09-29)

leifliddy commented 7 months ago

@megabitsenmzq The project only supports the macbook9,1 and 10,1 models -- which are the macbook (2016 - 2017) 12-inch models.

Only davidjo's project supports the macbook pro models https://github.com/davidjo/snd_hda_macbookpro It also supports dkms -- which is something that I wrote for him https://github.com/davidjo/snd_hda_macbookpro/commit/3c19d07b2068810d86d2d92567d3b42d23715860

But, it looks like it's not documented on the README page. Anyways....try his driver out. I'm not sure why you removed snd_hda_macbookpro if it was working before. It's not an old driver -- it's the driver for the macbook pro models.

megabitsenmzq commented 7 months ago

@megabitsenmzq The project only supports the macbook9,1 and 10,1 models -- which are the macbook (2016 - 2017) 12-inch models.

Only davidjo's project supports the macbook pro models https://github.com/davidjo/snd_hda_macbookpro It also supports dkms -- which is something that I wrote for him davidjo/snd_hda_macbookpro@3c19d07

But, it looks like it's not documented on the README page. Anyways....try his driver out. I'm not sure why you removed snd_hda_macbookpro if it was working before. It's not an old driver -- it's the driver for the macbook pro models.

Got it! Thank you for your reply.