[alsa-devel] No sound on MacBook 3.1
Hi there,
I hope that someone can help me, as I've tried everything conceivable to get sound working on my Macbook 3.1. I've visited many a forum, and eventually came across this list. My last hope :)
I purchased a Macbook 3.1 earlier this year. On installing Linux, I haven't been able to get any sound going. I've tried several distributions: Ubuntu Hardy, Fedora 8/9, and now openSuse. I came across a script that uploads local relevant information to a paste bin, so here's a link: http://pastebin.ca/1055610
Please help, I'm desperate to get this going on my machine! Thanks & Regards, Marco.
On Wed, Jun 25, 2008 at 5:58 AM, Marco Vermeulen vermeulen.mp@gmail.com wrote:
I purchased a Macbook 3.1 earlier this year. On installing Linux, I haven't been able to get any sound going. I've tried several distributions: Ubuntu Hardy, Fedora 8/9, and now openSuse.
I received a contribution of a Macbook 3.1 codec data from Leonardo Boiko (leoboiko at the same domain as yours), perhaps you could contact him to see what he did to have sound working.
Best regards, Claudio
Marco Vermeulen wrote:
Hi there,
I hope that someone can help me, as I've tried everything conceivable to get sound working on my Macbook 3.1. I've visited many a forum, and eventually came across this list. My last hope :)
I purchased a Macbook 3.1 earlier this year. On installing Linux, I haven't been able to get any sound going. I've tried several distributions: Ubuntu Hardy, Fedora 8/9, and now openSuse. I came across a script that uploads local relevant information to a paste bin, so here's a link: http://pastebin.ca/1055610
Please help, I'm desperate to get this going on my machine! Thanks & Regards, Marco.
It looks like you should have sound. Alsa is recognizing your card and loading the driver.
You could upgrade to alsa 1.0.17.RC2 to see if that helps. You could try sending parameters to the driver load (3-stack, 6-stack, etc.) to see if that helps.
Also try aplay -D plughw:0,0 some.wav to see if there is any sound.
Are you running any sound servers? They can interfere if the rest of the system isn't compatible with them.
Maybe someone else here knows exactly what is wrong.
Hi all, I just wanted to let everyone know that I got it working on my Macbook. I got hold of Leonardo, and we compared specs (to rule out that my machine was some fringe case). It turned out that we had identical machines...
Next up I started playing with the module options, restarted the alsa daemon and then it worked!
Thanks for pointing me in the right direction!
One last thing: my volume in Linux seems far lower than in OSX. All the faders are on max, yet the volume remains low. Any ideas how I might boost this?
Thanks again, Marco.
On 25 Jun 2008, at 18:05, stan wrote:
It looks like you should have sound. Alsa is recognizing your card and loading the driver.
You could upgrade to alsa 1.0.17.RC2 to see if that helps. You could try sending parameters to the driver load (3-stack, 6- stack, etc.) to see if that helps.
Also try aplay -D plughw:0,0 some.wav to see if there is any sound.
Are you running any sound servers? They can interfere if the rest of the system isn't compatible with them.
Maybe someone else here knows exactly what is wrong.
At Thu, 26 Jun 2008 00:08:40 +0100, Marco Vermeulen wrote:
Hi all, I just wanted to let everyone know that I got it working on my Macbook. I got hold of Leonardo, and we compared specs (to rule out that my machine was some fringe case). It turned out that we had identical machines...
Next up I started playing with the module options, restarted the alsa daemon and then it worked!
It'd be helpful if we can share the solution in a bit more details...
thanks,
Takashi
On Thu, 2008-06-26 at 07:51 +0200, Takashi Iwai wrote:
It'd be helpful if we can share the solution in a bit more details...
thanks,
Takashi
Sure, no problem. The MacBook in question is the black model, version 3.1. The lspci dump of the sound card is as follows:
00:1b.0 Audio device [0403]: Intel Corporation 82801H (ICH8 Family) HD Audio Controller [8086:284b] (rev 03) Subsystem: Apple Computer Inc. Device [106b:00a1] Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0, Cache Line Size: 256 bytes Interrupt: pin A routed to IRQ 20 Region 0: Memory at d0700000 (64-bit, non-prefetchable) [size=16K] Capabilities: <access denied> Kernel driver in use: HDA Intel Kernel modules: snd-hda-intel
On comparing my dump with Leonardo's I found that they were identical. Now I knew that it could be done.
I then added the following line to my /etc/modprobe.d/sound file: options snd_hda_intel model=mbp3
This worked fine on openSuse 11.0, but I simply could not get the same thing to work on Ubuntu Hardy. Perhaps the mactel patches were not applied to the kernel or something?
Apart from that, the volume still seems to be very low, but sound quality is perfect.
Hope that sheds some light on it all, Regards, Marco.
At Thu, 26 Jun 2008 09:02:02 +0100, Marco Vermeulen wrote:
On Thu, 2008-06-26 at 07:51 +0200, Takashi Iwai wrote:
It'd be helpful if we can share the solution in a bit more details...
thanks,
Takashi
Sure, no problem. The MacBook in question is the black model, version 3.1. The lspci dump of the sound card is as follows:
00:1b.0 Audio device [0403]: Intel Corporation 82801H (ICH8 Family) HD Audio Controller [8086:284b] (rev 03) Subsystem: Apple Computer Inc. Device [106b:00a1] Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx- Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0, Cache Line Size: 256 bytes Interrupt: pin A routed to IRQ 20 Region 0: Memory at d0700000 (64-bit, non-prefetchable) [size=16K] Capabilities: <access denied> Kernel driver in use: HDA Intel Kernel modules: snd-hda-intel
On comparing my dump with Leonardo's I found that they were identical. Now I knew that it could be done.
I then added the following line to my /etc/modprobe.d/sound file: options snd_hda_intel model=mbp3
This worked fine on openSuse 11.0, but I simply could not get the same thing to work on Ubuntu Hardy. Perhaps the mactel patches were not applied to the kernel or something?
I guess so. openSUSE 11.0 has the backport of HD-audio codes from 2.6.26 and fixes.
Apart from that, the volume still seems to be very low, but sound quality is perfect.
Hope that sheds some light on it all,
There is already a quirk for your device, but maybe it's a wrong value. Could you run alsa-info.sh with --no-upload option and attach the generated file for a more comprehensive information? The script is found in /usr/share/doc/packages/alsa on openSUSE 11.0, or http://www.alsa-project.org/alsa-info.sh
thanks,
Takashi
On Thu, 2008-06-26 at 10:09 +0200, Takashi Iwai wrote:
I guess so. openSUSE 11.0 has the backport of HD-audio codes from 2.6.26 and fixes.
Apart from that, the volume still seems to be very low, but sound quality is perfect.
Hope that sheds some light on it all,
There is already a quirk for your device, but maybe it's a wrong value. Could you run alsa-info.sh with --no-upload option and attach the generated file for a more comprehensive information? The script is found in /usr/share/doc/packages/alsa on openSUSE 11.0, or http://www.alsa-project.org/alsa-info.sh
thanks,
Takashi
Sure, here it is...
participants (4)
-
Claudio Matsuoka
-
Marco Vermeulen
-
stan
-
Takashi Iwai