← Back to team overview

mactel-support team mailing list archive

[Bug 437150] Re: Headphone jack sense doesn't work on MacBook Pro 15" unibody (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/37844789/alsa-driver-1.0.22.1-mb5.patch

-- 
Headphone jack sense doesn't work on MacBook Pro 15" unibody (5,1 late 2008)
https://bugs.launchpad.net/bugs/437150
You received this bug notification because you are a member of Mactel
Support, which is the registrant for Mactel Support.

Status in Mactel Support: New
Status in “linux” package in Ubuntu: Won't Fix
Status in “linux-backports-modules-2.6.31” package in Ubuntu: Triaged

Bug description:
I have managed how to manually mute internal speaker without muting headphones:
I dropped down to 0 the volume of Front/Surround/LFE (not muted them, otherwise also headphones will mute) and after un-mute the HP channel and rise volume.

ProblemType: Bug
Architecture: amd64
AudioDevicesInUse:
 USER        PID ACCESS COMMAND
 /dev/snd/controlC0:  scorp      1824 F.... pulseaudio
 /dev/snd/pcmC0D0p:   scorp      1824 F...m pulseaudio
Card0.Amixer.info:
 Card hw:0 'NVidia'/'HDA NVidia at 0xdf480000 irq 21'
   Mixer name	: 'Realtek ALC889A'
   Components	: 'HDA:10ec0885,106b4000,00100103'
   Controls      : 36
   Simple ctrls  : 20
Date: Sat Sep 26 13:32:22 2009
DistroRelease: Ubuntu 9.10
NonfreeKernelModules: nvidia wl
Package: alsa-base 1.0.20+dfsg-1ubuntu4
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=en_US.UTF-8
 LANG=en_US.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-11.36-generic
SourcePackage: alsa-driver
Uname: Linux 2.6.31-11-generic x86_64