Public bug reported:

It seems as though the channel for enabling/disabling headphone jack
sense is missing for this card (looked for it in alsamixer and kmix,
found nothing). There are separate channels "Headphone" and "Speaker".
Both work as intended, I can change the volume and mute both channels
independently and get the expected results. I'm just missing the
functionality that the internal speaker is automatically disabled when a
headphone is plugged in (and re-enabled when it's NOT plugged in).

There's a mute button on the chassis (produces no key events with xev)
which mutes the internal speakers, but not the headphone channel. When
using this button to mute, the mixer doesn't show that the speaker is
muted, though.

The machine is a Lenovo ThinkPad SL510 (with the latest BIOS installed,
1.35-1.19). alsamixer reports the card as "HDA Intel", chip "Intel G45
DEVCTG". /proc/asound/card0/codec#0 says "Codec: Realtek ALC269".

lspci says:
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio 
Controller (rev 03)


I compared the contents of /proc/asound/card*/codec#* with and without a 
headphone plugged in:

je...@tp:~$ cat /proc/asound/card*/codec#* > no-headphone
je...@tp:~$ cat /proc/asound/card*/codec#* > headphone
je...@tp:~$ diff -U 2 no-headphone headphone 
--- no-headphone        2010-05-13 16:42:07.715206723 +0200
+++ headphone   2010-05-13 16:42:15.643206222 +0200
@@ -225,6 +225,6 @@
 Node 0x20 [Vendor Defined Widget] wcaps 0xf00040: Mono
   Processing caps: benign=0, ncoeff=33
-  Processing Coefficient: 0x227
-  Coefficient Index: 0x0f
+  Processing Coefficient: 0xa100
+  Coefficient Index: 0x10
 Node 0x21 [Vendor Defined Widget] wcaps 0xf00000: Mono
 Node 0x22 [Vendor Defined Widget] wcaps 0xf00000: Mono

These values are the only differences, but they seem to change all the
time, no matter whether a headphone is plugged in or not:

je...@tp:~$ cat /proc/asound/card*/codec#* > no-headphone1
je...@tp:~$ cat /proc/asound/card*/codec#* > no-headphone2
je...@tp:~$ diff -U 2 no-headphone1 no-headphone2 
--- no-headphone1       2010-05-13 16:39:28.836209887 +0200
+++ no-headphone2       2010-05-13 16:39:31.360207130 +0200
@@ -225,6 +225,6 @@
 Node 0x20 [Vendor Defined Widget] wcaps 0xf00040: Mono
   Processing caps: benign=0, ncoeff=33
-  Processing Coefficient: 0x480
-  Coefficient Index: 0x0d
+  Processing Coefficient: 0xb000
+  Coefficient Index: 0x0e
 Node 0x21 [Vendor Defined Widget] wcaps 0xf00000: Mono
 Node 0x22 [Vendor Defined Widget] wcaps 0xf00000: Mono

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: alsa-utils 1.0.22-0ubuntu5
ProcVersionSignature: Ubuntu 2.6.32-22.33-generic 2.6.32.11+drm33.2
Uname: Linux 2.6.32-22-generic i686
Architecture: i386
Date: Thu May 13 16:24:23 2010
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100427.1)
ProcEnviron:
 LC_TIME=de_AT.UTF-8
 LANGUAGE=
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: alsa-utils

** Affects: ubuntu
     Importance: Undecided
         Status: New


** Tags: apport-bug i386 lucid

-- 
Headphone jack sense missing on Realtek ALC269
https://bugs.launchpad.net/bugs/580006
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to