Activity log for bug #488103

Date Who What changed Old value New value Message
2009-11-25 09:52:18 Alexey Spiridonov bug added bug
2009-12-04 08:16:50 Alexey Spiridonov summary Poor support for MacBook Pro 5,1: no jack sense, no in-line headset microphones, broken volume control Poor support for MacBook Pro 5,1: noise, no jack sense, no in-line headset microphones, broken volume control
2009-12-04 08:24:27 Alexey Spiridonov description I have carefully read through these bugs: https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/337314 https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/433633 https://bugs.launchpad.net/alsa-driver/+bug/396563 They conflate a bunch of snd_hda_intel driver issues, and pulseaudio issues across many hardware platforms. However, some of these issues are quite separate between different chipsets. E.g. model=laptop does different things on different chipsets, and doesn't do a thing for my chipset ALC889A. See the full quirks list here: http://www.kernel.org/doc/Documentation/sound/alsa/HD-Audio-Models.txt I am reporting this from a x86_64 install, but my sound was broken in exactly the same way when I was running i386. I have not found a published configuration, which makes the sound on my MacBook Pro 5,1 work completely. I have tried: 1) linux-backports-modules-alsa-generic + snd_hda_linux option "model=mb5" (same as autodetected), 2) default 2.6.31-15-generic + snd_hda_linux option "model=mb5". In both: * (GOOD) Both left and right speakers work (and subwoofer too, I suspect). * (BAD) No jack sense: "cat /proc/asound/card*/codec*" is the same regardless of whether headphones are plugged in * (BAD) Speakers always on: Volume controls always enable + maximize Front+LFE+Surround outputs (in tandem), never touch headphones (which are muted by default, and labeled "HP" -- which I suspect breaks PulseAudio paths that depend on the string Headphones). The only manual way (i.e. using alsamixer) to silence the speakers is to 0 (but not mute) those three sliders in alsamixer, and then never to touch the PulseAudio volume controls ever again. That's sad. * (SLIGHTLY BAD) Headphones should be on by default, not to make users set them up. * (BAD) Headset microphones don't work. Apple extensively uses a 3.5 jack standard which combines stereo output and microphone input. This is supported by iPhones & co, and their computers. Apple, and many external vendors manufacture such headsets. The headset works automagically under MacOS, but fails to work under linux, no matter what input settings I choose. 3) linux-backports-modules-alsa-generic + snd_hda_linux option "model=mbp3" (recommended by community page https://help.ubuntu.com/community/MacBook5-1/Karmic), 4) default 2.6.31-15-generic + snd_hda_linux option "model=mbp3". In both: * (BAD) Only the right speaker works, and even that after switching alsamixer from 2 channels to 4 channels. * (BAD) No jack sense -- just as above * (OKAYISH) The system volume controls affect only the headphone volume. You are free to manually choose the speaker volume via "Surround". * (SLIGHTLY BAD) If "4 channel" mode is what it takes to have some semblance of speaker sound, that should be on by default. * (BAD) Headset microphones don't work. 5) model=imac24 -- useless for this machine, the mixer settings are totally broken, still no jack sense. In particular, the latest karmic backports have no effect on my problems. On the basis of the above, I'm changing the community docs to no longer make a blanket recommendation for model=mbp3. People have to make a choice between two different sets of issues. In an ideal world: 1) The driver would support jack sense. 2) The driver would add an extra input for microphones connected through the output 3.5 jack. 3) PulseAudio would automatically mute the speakers on headphones being plugged in. 4) PulseAudio would switch to the headset microphone when that's plugged in. 5) PulseAudio would provide overrides for both of those behaviors. I have carefully read through these bugs:   https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/337314   https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/433633   https://bugs.launchpad.net/alsa-driver/+bug/396563 They conflate a bunch of snd_hda_intel driver issues, and pulseaudio issues across many hardware platforms. However, some of these issues are quite separate between different chipsets. E.g. model=laptop does different things on different chipsets, and doesn't do a thing for my chipset ALC889A. See the full quirks list here:   http://www.kernel.org/doc/Documentation/sound/alsa/HD-Audio-Models.txt I am reporting this from a x86_64 install, but my sound was broken in exactly the same way when I was running i386. I have not found a published configuration, which makes the sound on my MacBook Pro 5,1 work completely. I have tried: 1) linux-backports-modules-alsa-generic + snd_hda_linux option "model=mb5" (same as autodetected), 2) default 2.6.31-15-generic + snd_hda_linux option "model=mb5". In both:  * (GOOD) Both left and right speakers work (and subwoofer too, I suspect). * (BAD) Severe noise issues with headphones -- there is a reasonably quiet white noise floor (though the fact that it's audible is sad). But, on top of that there is a variety of noises, which vary in severity, and every time I unload and reload snd_hda_intel, I get a different result. The noises sometimes sound like radio static -- a crackling that gets quieter and louder with a period of a few seconds. Sometimes, they are tuned, high-pitch tones. The noise pattern varies when I adjust the headphone mixer control. It doesn't get quieter at lower volumes, but changes randomly depending on the slider's position.  * (BAD) No jack sense: "cat /proc/asound/card*/codec*" is the same regardless of whether headphones are plugged in  * (BAD) Speakers always on: Volume controls always enable + maximize Front+LFE+Surround outputs (in tandem), never touch headphones (which are muted by default, and labeled "HP" -- which I suspect breaks PulseAudio paths that depend on the string Headphones). The only manual way (i.e. using alsamixer) to silence the speakers is to 0 (but not mute) those three sliders in alsamixer, and then never to touch the PulseAudio volume controls ever again. That's sad.  * (SLIGHTLY BAD) Headphones should be on by default, not to make users set them up.  * (BAD) Headset microphones don't work. Apple extensively uses a 3.5 jack standard which combines stereo output and microphone input. This is supported by iPhones & co, and their computers. Apple, and many external vendors manufacture such headsets. The headset works automagically under MacOS, but fails to work under linux, no matter what input settings I choose. 3) linux-backports-modules-alsa-generic + snd_hda_linux option "model=mbp3" (recommended by community page https://help.ubuntu.com/community/MacBook5-1/Karmic), 4) default 2.6.31-15-generic + snd_hda_linux option "model=mbp3". In both: * (GOOD) Tolerable noise floor -- sounds like quiet white noise  * (BAD) Only the right speaker works, and even that after switching alsamixer from 2 channels to 4 channels.  * (BAD) No jack sense -- just as above  * (OKAYISH) The system volume controls affect only the headphone volume. You are free to manually choose the speaker volume via "Surround".  * (SLIGHTLY BAD) If "4 channel" mode is what it takes to have some semblance of speaker sound, that should be on by default.  * (BAD) Headset microphones don't work. 5) model=imac24, macpro, and many others -- useless for this machine, no sound, the mixer settings are totally broken, still no jack sense. The latest karmic backports have no effect on my problems. I have also tried compiling the latest alsa-driver (1.0.21), which didn't solve any of the above problems. On the basis of the above, I'm changing the community docs to no longer make a blanket recommendation for model=mbp3. People have to make a choice between two different sets of issues. In an ideal world: 0) The driver would not produce sporadic noise on the headphones. 1) The driver would support jack sense. 2) The driver would add an extra input for microphones connected through the output 3.5 jack. 3) PulseAudio would automatically mute the speakers on headphones being plugged in. 4) PulseAudio would switch to the headset microphone when that's plugged in. 5) PulseAudio would provide overrides for both of those behaviors.
2009-12-04 08:26:59 Alexey Spiridonov description I have carefully read through these bugs:   https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/337314   https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/433633   https://bugs.launchpad.net/alsa-driver/+bug/396563 They conflate a bunch of snd_hda_intel driver issues, and pulseaudio issues across many hardware platforms. However, some of these issues are quite separate between different chipsets. E.g. model=laptop does different things on different chipsets, and doesn't do a thing for my chipset ALC889A. See the full quirks list here:   http://www.kernel.org/doc/Documentation/sound/alsa/HD-Audio-Models.txt I am reporting this from a x86_64 install, but my sound was broken in exactly the same way when I was running i386. I have not found a published configuration, which makes the sound on my MacBook Pro 5,1 work completely. I have tried: 1) linux-backports-modules-alsa-generic + snd_hda_linux option "model=mb5" (same as autodetected), 2) default 2.6.31-15-generic + snd_hda_linux option "model=mb5". In both:  * (GOOD) Both left and right speakers work (and subwoofer too, I suspect). * (BAD) Severe noise issues with headphones -- there is a reasonably quiet white noise floor (though the fact that it's audible is sad). But, on top of that there is a variety of noises, which vary in severity, and every time I unload and reload snd_hda_intel, I get a different result. The noises sometimes sound like radio static -- a crackling that gets quieter and louder with a period of a few seconds. Sometimes, they are tuned, high-pitch tones. The noise pattern varies when I adjust the headphone mixer control. It doesn't get quieter at lower volumes, but changes randomly depending on the slider's position.  * (BAD) No jack sense: "cat /proc/asound/card*/codec*" is the same regardless of whether headphones are plugged in  * (BAD) Speakers always on: Volume controls always enable + maximize Front+LFE+Surround outputs (in tandem), never touch headphones (which are muted by default, and labeled "HP" -- which I suspect breaks PulseAudio paths that depend on the string Headphones). The only manual way (i.e. using alsamixer) to silence the speakers is to 0 (but not mute) those three sliders in alsamixer, and then never to touch the PulseAudio volume controls ever again. That's sad.  * (SLIGHTLY BAD) Headphones should be on by default, not to make users set them up.  * (BAD) Headset microphones don't work. Apple extensively uses a 3.5 jack standard which combines stereo output and microphone input. This is supported by iPhones & co, and their computers. Apple, and many external vendors manufacture such headsets. The headset works automagically under MacOS, but fails to work under linux, no matter what input settings I choose. 3) linux-backports-modules-alsa-generic + snd_hda_linux option "model=mbp3" (recommended by community page https://help.ubuntu.com/community/MacBook5-1/Karmic), 4) default 2.6.31-15-generic + snd_hda_linux option "model=mbp3". In both: * (GOOD) Tolerable noise floor -- sounds like quiet white noise  * (BAD) Only the right speaker works, and even that after switching alsamixer from 2 channels to 4 channels.  * (BAD) No jack sense -- just as above  * (OKAYISH) The system volume controls affect only the headphone volume. You are free to manually choose the speaker volume via "Surround".  * (SLIGHTLY BAD) If "4 channel" mode is what it takes to have some semblance of speaker sound, that should be on by default.  * (BAD) Headset microphones don't work. 5) model=imac24, macpro, and many others -- useless for this machine, no sound, the mixer settings are totally broken, still no jack sense. The latest karmic backports have no effect on my problems. I have also tried compiling the latest alsa-driver (1.0.21), which didn't solve any of the above problems. On the basis of the above, I'm changing the community docs to no longer make a blanket recommendation for model=mbp3. People have to make a choice between two different sets of issues. In an ideal world: 0) The driver would not produce sporadic noise on the headphones. 1) The driver would support jack sense. 2) The driver would add an extra input for microphones connected through the output 3.5 jack. 3) PulseAudio would automatically mute the speakers on headphones being plugged in. 4) PulseAudio would switch to the headset microphone when that's plugged in. 5) PulseAudio would provide overrides for both of those behaviors. I have carefully read through these bugs:   https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/337314   https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/433633   https://bugs.launchpad.net/alsa-driver/+bug/396563 They conflate a bunch of snd_hda_intel driver issues, and pulseaudio issues across many hardware platforms. However, some of these issues are quite separate between different chipsets. E.g. model=laptop does different things on different chipsets, and doesn't do a thing for my chipset ALC889A. See the full quirks list here:   http://www.kernel.org/doc/Documentation/sound/alsa/HD-Audio-Models.txt I am reporting this from a x86_64 install, but my sound was broken in exactly the same way when I was running i386. I have not found a published configuration, which makes the sound on my MacBook Pro 5,1 work completely. I have tried: 1) linux-backports-modules-alsa-generic + snd_hda_linux option "model=mb5" (same as autodetected), 2) default 2.6.31-15-generic + snd_hda_linux option "model=mb5". In both:  * (GOOD) Both left and right speakers work (and subwoofer too, I suspect).  * (BAD) Severe noise issues with headphones -- there is a reasonably quiet white noise floor (though the fact that it's audible is sad). But, on top of that there is a variety of noises, which vary in severity, and every time I unload and reload snd_hda_intel, I get a different result. The noises sometimes sound like radio static -- a crackling that gets quieter and louder with a period of a few seconds. Sometimes, they are tuned, high-pitch tones. The noise pattern varies when I adjust the headphone mixer control. It doesn't get quieter at lower volumes, but changes randomly depending on the slider's position. I tried "position_fix=1" and "=2" as module arguments, to no avail.  * (BAD) No jack sense: "cat /proc/asound/card*/codec*" is the same regardless of whether headphones are plugged in  * (BAD) Speakers always on: Volume controls always enable + maximize Front+LFE+Surround outputs (in tandem), never touch headphones (which are muted by default, and labeled "HP" -- which I suspect breaks PulseAudio paths that depend on the string Headphones). The only manual way (i.e. using alsamixer) to silence the speakers is to 0 (but not mute) those three sliders in alsamixer, and then never to touch the PulseAudio volume controls ever again. That's sad.  * (SLIGHTLY BAD) Headphones should be on by default, not to make users set them up.  * (BAD) Headset microphones don't work. Apple extensively uses a 3.5 jack standard which combines stereo output and microphone input. This is supported by iPhones & co, and their computers. Apple, and many external vendors manufacture such headsets. The headset works automagically under MacOS, but fails to work under linux, no matter what input settings I choose. 3) linux-backports-modules-alsa-generic + snd_hda_linux option "model=mbp3" (recommended by community page https://help.ubuntu.com/community/MacBook5-1/Karmic), 4) default 2.6.31-15-generic + snd_hda_linux option "model=mbp3". In both:  * (GOOD) Tolerable noise floor -- sounds like quiet white noise  * (BAD) Only the right speaker works, and even that after switching alsamixer from 2 channels to 4 channels.  * (BAD) No jack sense -- just as above  * (OKAYISH) The system volume controls affect only the headphone volume. You are free to manually choose the speaker volume via "Surround".  * (SLIGHTLY BAD) If "4 channel" mode is what it takes to have some semblance of speaker sound, that should be on by default.  * (BAD) Headset microphones don't work. 5) model=imac24, macpro, and many others -- useless for this machine, no sound, the mixer settings are totally broken, still no jack sense. The latest karmic backports have no effect on my problems. I have also tried compiling the latest alsa-driver (1.0.21), which didn't solve any of the above problems. On the basis of the above, I'm changing the community docs to no longer make a blanket recommendation for model=mbp3. People have to make a choice between two different sets of issues. In an ideal world: 0) The driver would not produce sporadic noise on the headphones. 1) The driver would support jack sense. 2) The driver would add an extra input for microphones connected through the output 3.5 jack. 3) PulseAudio would automatically mute the speakers on headphones being plugged in. 4) PulseAudio would switch to the headset microphone when that's plugged in. 5) PulseAudio would provide overrides for both of those behaviors.
2009-12-04 14:06:12 Ricky Campbell bug task added mactel-support
2010-01-13 11:03:54 Alex Murray attachment added Patch to enable speaker muting when headphones inserted on MB(P) 5,1 / 5,2 http://launchpadlibrarian.net/37845261/alsa-driver-1.0.22.1-mb5.patch
2010-01-15 14:53:40 Leo Jääskeläinen attachment added Contents of /proc/asound/card0/codec#0 http://launchpadlibrarian.net/37924087/proc-asound-card0-codec-0
2010-01-18 09:15:07 Leo Jääskeläinen attachment added alsa-base.conf http://launchpadlibrarian.net/38027026/alsa-base.conf
2010-02-04 08:58:43 Luke Symes alsa-driver (Ubuntu): status New In Progress
2010-02-07 04:41:17 Chase Douglas bug task added linux (Ubuntu)
2010-02-07 04:41:42 Chase Douglas linux (Ubuntu): assignee Chase Douglas (chasedouglas)
2010-02-07 04:41:52 Chase Douglas linux (Ubuntu): status New In Progress
2010-02-16 22:30:32 Brian Murray tags patch
2010-02-17 22:37:20 Stefan Bader bug task added linux-backports-modules-2.6.31 (Ubuntu)
2010-02-17 22:38:02 Stefan Bader linux-backports-modules-2.6.31 (Ubuntu): importance Undecided Low
2010-02-17 22:38:02 Stefan Bader linux-backports-modules-2.6.31 (Ubuntu): status New In Progress
2010-02-17 22:58:44 Chase Douglas linux-backports-modules-2.6.31 (Ubuntu): status In Progress Fix Committed
2010-02-17 23:46:45 Chase Douglas linux (Ubuntu): importance Undecided Low
2010-02-17 23:46:56 Chase Douglas alsa-driver (Ubuntu): status In Progress New
2010-02-19 23:33:10 Brian Murray removed subscriber Ubuntu Review Team
2010-03-02 17:13:39 Chase Douglas linux (Ubuntu): status In Progress Fix Released
2010-03-24 07:31:27 Martin Pitt tags patch patch verification-needed
2010-03-24 08:10:29 Launchpad Janitor branch linked lp:ubuntu/karmic-proposed/linux-backports-modules-2.6.31
2010-03-28 02:15:33 Brad Figg tags patch verification-needed kj-triage needs-required-logs no-sound-mic patch sound-macbook verification-needed volume-control
2010-04-06 09:13:19 Martin Pitt tags kj-triage needs-required-logs no-sound-mic patch sound-macbook verification-needed volume-control kj-triage needs-required-logs no-sound-mic patch sound-macbook verification-done volume-control
2010-04-14 07:27:24 Kjetil Thuen removed subscriber Kjetil Thuen
2010-04-15 00:22:58 Nigel Babu removed subscriber Ubuntu Review Team
2010-04-28 17:37:11 Launchpad Janitor linux-backports-modules-2.6.31 (Ubuntu): status Fix Committed Fix Released
2010-07-15 20:52:53 David Ward linux-backports-modules-2.6.31 (Ubuntu): assignee David Ward (david-ward87)
2010-07-15 20:53:22 David Ward linux-backports-modules-2.6.31 (Ubuntu): assignee David Ward (david-ward87)
2010-09-06 22:20:27 Jérôme Pouiller attachment added /proc/asound/card0/codec#0 https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/488103/+attachment/1551841/+files/proc_asound_card0
2010-09-07 12:59:32 Brian Richards removed subscriber Brian Richards
2010-09-30 19:32:19 Vitali Kulikou alsa-driver (Ubuntu): status New Fix Released
2010-09-30 19:33:30 Vitali Kulikou mactel-support: status New Fix Released