Headphone jack sense missing on Lenovo Thinkpad SL410 and SL510
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| | linux (Ubuntu) |
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
| jk (mail-j-k) wrote : | #1 |
| jk (mail-j-k) wrote : | #2 |
| affects: | ubuntu → linux (Ubuntu) |
| Jeremy Foshee (jeremyfoshee) wrote : | #3 |
Hi jk,
If you could also please test the latest upstream kernel available that would be great. It will allow additional upstream developers to examine the issue. Refer to https:/
Thanks in advance.
[This is an automated message. Apologies if it has reached you inappropriately; please just reply to this message indicating so.]
| tags: | added: kernel-sound |
| tags: | added: needs-upstream-testing |
| tags: | added: kj-triage |
| Changed in linux (Ubuntu): | |
| status: | New → Incomplete |
| Jennifer Paykin (jpaykin) wrote : | #4 |
I am experiencing exactly the same issue on a ThinkPad SL410 running Ubuntu 10.04. The codec#0 is also Realtek ALC269. I installed the latest kernel from today, May 18th, which was linux-image-
| tags: | removed: needs-upstream-testing |
| Jeremy Foshee (jeremyfoshee) wrote : | #5 |
Hi Jennifer,
Would you mind opening a new bug for me on your issue?
Thanks!
~JFo
| jk (mail-j-k) wrote : | #6 |
Tested with linux-image-
| Jeremy Foshee (jeremyfoshee) wrote : | #7 |
Hi jk,
Would you mind running 'apport-collect -p linux 580006' so that we can gather some logging and debug information to this bug?
Thanks!
~JFo
| jk (mail-j-k) wrote : AlsaDevices.txt | #8 |
apport information
| tags: | added: apport-collected |
| description: | updated |
| jk (mail-j-k) wrote : AplayDevices.txt | #9 |
apport information
| jk (mail-j-k) wrote : BootDmesg.txt | #10 |
apport information
| jk (mail-j-k) wrote : CRDA.txt | #11 |
apport information
| jk (mail-j-k) wrote : Card0.Amixer.values.txt | #12 |
apport information
| jk (mail-j-k) wrote : Card0.Codecs.codec.0.txt | #13 |
apport information
| jk (mail-j-k) wrote : Card0.Codecs.codec.3.txt | #14 |
apport information
| jk (mail-j-k) wrote : CurrentDmesg.txt | #15 |
apport information
| jk (mail-j-k) wrote : IwConfig.txt | #16 |
apport information
| jk (mail-j-k) wrote : Lspci.txt | #17 |
apport information
| jk (mail-j-k) wrote : Lsusb.txt | #18 |
apport information
| jk (mail-j-k) wrote : PciMultimedia.txt | #19 |
apport information
| jk (mail-j-k) wrote : ProcCpuinfo.txt | #20 |
apport information
| jk (mail-j-k) wrote : ProcInterrupts.txt | #21 |
apport information
| jk (mail-j-k) wrote : ProcModules.txt | #22 |
apport information
| jk (mail-j-k) wrote : RfKill.txt | #23 |
apport information
| jk (mail-j-k) wrote : UdevDb.txt | #24 |
apport information
| jk (mail-j-k) wrote : UdevLog.txt | #25 |
apport information
| jk (mail-j-k) wrote : WifiSyslog.txt | #26 |
apport information
| Changed in linux (Ubuntu): | |
| status: | Incomplete → In Progress |
| status: | In Progress → Triaged |
| importance: | Undecided → Medium |
Hi,
There is a workaround for this issue, though it differs a bit depending on the model of the computer.
I too have a Lenovo SL510, and just managed to solve it. Just open the Alsa config file with "sudo gedit /etc/modprobe.
| tags: | added: alc269 |
| David Henningsson (diwic) wrote : | #28 |
Could you please try the following terminal commands:
echo 0x1d 0x411111f0 > /sys/class/
echo 1 > /sys/class/
Then log out and in again and see if auto-mute is then enabled? Thanks!
| Changed in linux (Ubuntu): | |
| status: | Triaged → Incomplete |
| Fan Yang (snisiarc) wrote : | #29 |
The workaround in #27 sort of worked for me. But I had to change "options snd_hda_intel model=quanta" to "options snd_hda_intel model=-2". I have a Lenovo ideapad v460, which uses the same type of sound card as thinkpad described above.
| jk (mail-j-k) wrote : | #30 |
David: Had to kill gdm and pulseaudio first to be able to issue "echo 1 > /sys/class/
| Changed in linux (Ubuntu): | |
| status: | Incomplete → Confirmed |
| Alexander Shutyaev (shutyaev) wrote : | #31 |
I have the same problem with ALC269 on my Acer Aspire 3810T laptop. model=quanta helped me.
On Sat, Oct 16, 2010 at 23:28, Alexander Shutyaev <<email address hidden>
> wrote:
> I have the same problem with ALC269 on my Acer Aspire 3810T laptop.
> model=quanta helped me.
>
> --
> Headphone jack sense missing on Realtek ALC269
> https:/
> You received this bug notification because you are a direct subscriber
> of the bug.
>
--
/thomas
http://
| Sheridan Hutchinson (sheridan-shezza) wrote : Re: Headphone jack sense missing on Realtek ALC269 | #33 |
I'm affected by this bug on my Lenovo SL410 and would be happy to test anything that would help get this working for people right out-of-the-box.
| 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 |
| David Henningsson (diwic) wrote : | #34 |
Patch sent upstream: http://
| David Henningsson (diwic) wrote : | #35 |
Patch accepted upstream.
| Changed in linux (Ubuntu): | |
| status: | In Progress → Fix Committed |
| David Henningsson (diwic) wrote : | #36 |
This means that in a day or two, you can use the procedure here: https:/
| madbiologist (me-again) wrote : | #37 |
The abovementioned fix is included upstream in kernel 2.6.37-rc8. From the changelog:
commit 022c92befa53917
Author: David Henningsson
Date: Fri Dec 17 20:43:04 2010 +0100
ALSA: HDA: Add auto-mute for Thinkpad SL410/SL510
BugLink: http://
SKU turns off auto-mute for these machines, so ignore the SKU.
Signed-off-by: David Henningsson
Signed-off-by: Takashi Iwai
| Changed in linux (Ubuntu): | |
| status: | Fix Committed → Fix Released |
| assignee: | David Henningsson (diwic) → nobody |
| bbcycling (bbcycling) wrote : | #38 |
The work around in comment #27 fixed my speaker auto-mute problem. (Speakers would play music while headphones were plugged in.) My mute button does not mute the speakers after this work around.
After, installing the LinuxAlsaDriver
...my mute button works. (However, mute button will not mute headphones.)
Lenovo Thinkpad SL410 model 2842.
| 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