Headphone jack sense missing on Lenovo Thinkpad SL410 and SL510
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Bug Description
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/
lspci says:
00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
I compared the contents of /proc/asound/
jensi@tp:~$ cat /proc/asound/
jensi@tp:~$ cat /proc/asound/
jensi@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:
jensi@tp:~$ cat /proc/asound/
jensi@tp:~$ cat /proc/asound/
jensi@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
ProcVersionSign
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=
LANGUAGE=
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: alsa-utils
---
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.21.
Architecture: i386
ArecordDevices:
**** List of CAPTURE Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC269 Analog [ALC269 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
AudioDevicesInUse:
USER PID ACCESS COMMAND
/dev/snd/
Card0.Amixer.info:
Card hw:0 'Intel'/'HDA Intel at 0xf2a00000 irq 22'
Mixer name : 'Intel G45 DEVCTG'
Components : 'HDA:10ec0269,
Controls : 18
Simple ctrls : 10
DistroRelease: Ubuntu 10.04
HibernationDevice: RESUME=
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100427.1)
MachineType: LENOVO 28477MG
Package: linux (not installed)
ProcCmdLine: BOOT_IMAGE=
ProcEnviron:
LC_TIME=
LANGUAGE=
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcVersionSign
Regression: No
RelatedPackageV
Reproducible: Yes
Tags: lucid needs-upstream-
Uname: Linux 2.6.32-22-generic i686
UserGroups: adm admin audio cdrom dialout dip fax floppy fuse lpadmin netdev plugdev sambashare tape video
dmi.bios.date: 04/30/2010
dmi.bios.vendor: LENOVO
dmi.bios.version: 6JET77WW (1.35 )
dmi.board.name: 28477MG
dmi.board.vendor: LENOVO
dmi.board.version: Not Available
dmi.chassis.
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.
dmi.modalias: dmi:bvnLENOVO:
dmi.product.name: 28477MG
dmi.product.
dmi.sys.vendor: LENOVO
affects: | ubuntu → linux (Ubuntu) |
Changed in linux (Ubuntu): | |
status: | Incomplete → In Progress |
status: | In Progress → Triaged |
importance: | Undecided → Medium |
tags: | added: alc269 |
Changed in linux (Ubuntu): | |
status: | Incomplete → Confirmed |
tags: | added: hda-jack-sense |
summary: |
- Headphone jack sense missing on Realtek ALC269 + Headphone jack sense missing on Lenovo Thinkpad SL410 and SL510 |
Changed in linux (Ubuntu): | |
assignee: | nobody → David Henningsson (diwic) |
status: | Confirmed → In Progress |
Changed in linux (Ubuntu): | |
status: | Fix Committed → Fix Released |
assignee: | David Henningsson (diwic) → nobody |
tags: | added: hwe-blocker |
Probably not relevant for the jack sense I guess, but concerning the mute button I mentioned, there's a difference in /proc/asound/ card0/codec# 0 when the button is pressed:
jensi@tp:~$ diff -U 2 unmuted muted
--- unmuted 2010-05-13 16:52:49.520209649 +0200
+++ muted 2010-05-13 16:52:54.276207621 +0200
@@ -65,5 +65,5 @@
Node 0x0b [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
- Amp-In vals: [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x00 0x00]
+ Amp-In vals: [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
Connection: 5
0x18 0x19 0x1a 0x1b 0x1d