[alsa-devel] Status of ALSA support for MacBook Pro 5, 2 in kernel 2.6.32
Hello,
there had been a lot of messages here on the list and in other internet sources about patches to snd-hda-intel regarding the sound support for MacBook Pro 5,1 and MacBook Pro 5,2. But the situation is far from being clear.
Some sources stated that the patches for the MacBook Pro 5,1 would support the MacBook Pro 5,2 as well, others disagreed.
Recently on this list I've seen efforts to integrate the current ALSA 1.0.21+x into kernel 2.6.32.
Fact is that with kernel 2.6.30-2, which has ALSA 1.0.20, from Debian testing my MacBook Pro 5,2 is not working. There is no sound at all.
Compilation of ALSA sources 1.0.21 using the module assistant fails with an error message regarding a missing curly bracket. There is a bug report in the Debian bug tracker regarding this, but no progress is visible.
Compiling the sources directly using the 1.0.21 sources from the ALSA project page goes through, but the resulting modules do not load, give an error message about an unknown symbol. Therefore I was not able to find out if ALSA 1.0.21 supports the MacBook Pro 5,2.
Please, can anyone of the development team help with a statement clearing up things by answering the following questions?
* Will the support for the MacBook Pro 5,2 be part of the soon to be released kernel 2.6.32? * Or is it already present in kernel 2.6.31? * What is the correct parameter for the loading of the module? Is it just "auto" or "mb5"? Or anything else?
Your help is greatly appreciated.
Best regards, Adolf
On Wed, Nov 18, 2009 at 6:23 AM, Adolf Winterer adolf.j.winterer@inn-salzach.de wrote:
Some sources stated that the patches for the MacBook Pro 5,1 would support the MacBook Pro 5,2 as well, others disagreed.
The patches that have been applied for 2.6.32 only add a model quirk so that you don't have to manually pass model=mbp5 to snd-hda-intel.
Fact is that with kernel 2.6.30-2, which has ALSA 1.0.20, from Debian testing my MacBook Pro 5,2 is not working. There is no sound at all.
This is, of course, unrelated to 2.6.32, which has a fairly different patch_realtek.c to 2.6.30's.
Compilation of ALSA sources 1.0.21 using the module assistant fails with an error message regarding a missing curly bracket. There is a bug report in the Debian bug tracker regarding this, but no progress is visible.
Again, unrelated to 2.6.32.
Compiling the sources directly using the 1.0.21 sources from the ALSA project page goes through, but the resulting modules do not load, give an error message about an unknown symbol. Therefore I was not able to find out if ALSA 1.0.21 supports the MacBook Pro 5,2.
You need to unload *all* the previous ALSA modules. Debian provides /usr/sbin/alsa to do that:
# /usr/sbin/alsa force-unload
- Will the support for the MacBook Pro 5,2 be part of the soon to be
released kernel 2.6.32?
Limited support. For instance, jack sensing doesn't work; you need to manually adjust the 'Headphone' mixer control, among other things.
- Or is it already present in kernel 2.6.31?
To some degree support is already present in 2.6.31. You just need to provide model=mbp5 manually after applying a patch.
- What is the correct parameter for the loading of the module? Is it
just "auto" or "mb5"? Or anything else?
See above.
HTH, Dan
participants (2)
-
Adolf Winterer
-
Daniel Chen