← Back to team overview

mactel-support team mailing list archive

[Bug 480796] Re: Speakers not muted when headphones inserted (Macbook 5.1, late 2008)

 

I've developed a patch against alsa-driver-1.0.22.1 which should fix
this (which I've attached to this bug), which you can test as follows:

First make sure you don't have any versions of linux-backports-modules-
alsa installed:

apt-cache --names-only search linux-backports-modules-alsa | cut -f 1 -d
' ' | xargs sudo apt-get remove --purge

Now download alsa driver source and the patch, and compile and install a
patched version of the driver:

cd ~
wget ftp://ftp.alsa-project.org/pub/driver/alsa-driver-1.0.22.1.tar.bz2
wget http://dl.dropbox.com/u/174251/alsa-driver-1.0.22.1-mb5.patch
tar xjf alsa-driver-1.0.22.1.tar.bz2
patch -p0 < alsa-driver-1.0.22.1-mb5.patch
cd alsa-driver-1.0.22.1
./configure
make
sudo make install

Now you need to reboot your machine. If this works I'll push the patch
upstream and hopefully we can get it applied to linux-backports-modules-
alsa as well.

** Attachment added: "Patch to enable speaker muting when headphones inserted on MB(P) 5,1 / 5,2"
   http://launchpadlibrarian.net/37844781/alsa-driver-1.0.22.1-mb5.patch

-- 
Speakers not muted when headphones inserted (Macbook 5.1, late 2008)
https://bugs.launchpad.net/bugs/480796
You received this bug notification because you are a member of Mactel
Support, which is the registrant for Mactel Support.

Status in The Linux Kernel: New
Status in Mactel Support: New
Status in “linux” package in Ubuntu: Confirmed

Bug description:
Hiya,

The title pretty much says it. When I insert headphones into the jack on my laptop, the external speakers are not muted and the headphones are not activated. I have to lower the master volume to the minimum level (not 0 as this mutes all outputs) and raise the headphone volume. This should be done automatically.

  - Jack sense should work
  - Adjusting the master volume should also adjust the headphone volume (providing that the speakers are correctly muted...)

Regards,
Iain

ProblemType: Bug
Architecture: i386
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0:  laney      2112 F.... pulseaudio
 /dev/snd/pcmC0D0p:   laney      2112 F...m pulseaudio
Card0.Amixer.info:
 Card hw:0 'NVidia'/'HDA NVidia at 0x93380000 irq 23'
   Mixer name	: 'Realtek ALC889A'
   Components	: 'HDA:10ec0885,106b3f00,00100103'
   Controls      : 36
   Simple ctrls  : 20
Date: Wed Nov 11 17:13:18 2009
DistroRelease: Ubuntu 9.10
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release Candidate i386 (20091020.3)
NonfreeKernelModules: nvidia wl
Package: alsa-base 1.0.20+dfsg-1ubuntu5
PackageArchitecture: all
ProcEnviron:
 PATH=(custom, user)
 LANG=en_GB.UTF-8
 SHELL=/usr/bin/zsh
ProcVersionSignature: Ubuntu 2.6.31-14.48-generic
SourcePackage: alsa-driver
Uname: Linux 2.6.31-14-generic i686