No headphone jack output on T400s

Bug #600096 reported by William Bohn on 2010-06-30
This bug affects 5 people
Affects Status Importance Assigned to Milestone
alsa-driver (Ubuntu)

Bug Description

Sound out of speakers works fine.
When plugging in headphones into the headphone jack, no sound comes out of the speakers (as expected) but then no sound comes out of the headphones (not expected).

ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: alsa-base
Uname: Linux 2.6.35-999-generic x86_64
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.23.
Architecture: amd64
 **** List of CAPTURE Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: CONEXANT Analog [CONEXANT Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
 /dev/snd/controlC0: will 1499 F.... pulseaudio
 Card hw:0 'Intel'/'HDA Intel at 0xf2920000 irq 48'
   Mixer name : 'Conexant CX20585'
   Components : 'HDA:14f15069,17aa2132,00100300'
   Controls : 12
   Simple ctrls : 10
 Card hw:29 'ThinkPadEC'/'ThinkPad Console Audio Control at EC reg 0x30, fw 6HHT14WW-1.02'
   Mixer name : 'ThinkPad EC 6HHT14WW-1.02'
   Components : ''
   Controls : 1
   Simple ctrls : 1
 Simple mixer control 'Console',0
   Capabilities: pswitch pswitch-joined penum
   Playback channels: Mono
   Mono: Playback [on]
CheckboxSubmission: 51faabf3890cfea94341cf57731e3dd8
CheckboxSystem: bb422ca46d02494cdbc459927a98bc2f
Date: Wed Jun 30 15:57:24 2010
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
PackageArchitecture: all
SourcePackage: alsa-driver 04/21/2010
dmi.bios.vendor: LENOVO
dmi.bios.version: 6HET29WW (1.14 ) 2801CTO
dmi.board.vendor: LENOVO
dmi.board.version: Not Available
dmi.chassis.asset.tag: No Asset Information
dmi.chassis.type: 10
dmi.chassis.vendor: LENOVO
dmi.chassis.version: Not Available
dmi.modalias: dmi:bvnLENOVO:bvr6HET29WW(1.14):bd04/21/2010:svnLENOVO:pn2801CTO:pvrThinkPadT400s:rvnLENOVO:rn2801CTO:rvrNotAvailable:cvnLENOVO:ct10:cvrNotAvailable: 2801CTO
dmi.product.version: ThinkPad T400s
dmi.sys.vendor: LENOVO

William Bohn (shambler) wrote :
William Bohn (shambler) wrote :

I think this only affects me on the newer kernel. Using the older, supported Lucid kernel seems to work, so I've marked this as "invalid."

Changed in alsa-driver (Ubuntu):
status: New → Invalid
alien8 (fb-alien8) wrote :

That will affect Ubuntu 10.10. I had the same problem while testing the latest beta.

Please try to load the sound module like that: snd-hda-intel model="ideapad"
Or, just create a file named something like /etc/modprobe.d/alsa-intel.conf and put the line

options snd-hda-intel model="ideapad"

I bisected that issue and found out that git commit 7b2bfdb kind of broke it.

I just reported this issue upstream to the linux-kernel and alsa-devel mailing lists. I don't expect Canonical to fix this issue.

To me the bug is very valid. ;)

- a8

Changed in alsa-driver (Ubuntu):
status: Invalid → In Progress
alien8 (fb-alien8) wrote :

Sorry, forgot to mention the internal mic doesn't work as well.

alien8 (fb-alien8) wrote :

It's better to add model="thinkpad". The bug is reported to be fixed in the sound git tree.

- a8

William Bohn (shambler) wrote :

Thanks alien8. Yeah, I was having that problem upstream. Things seem to be working with the Ubuntu kernels, though.

alien8 (fb-alien8) wrote :

With or without the model="thinkpad" parameter? I had this problem even with the Maverick beta.

Takashi Iwai fixed that problem in the sound git tree commit id 4d15564. Took 'em one day. I assume that will go into 2.6.36 and I hope Canonical adds this one-liner to their Maverick kernel too.

I add the patch here:

more:/usr/src/sound-2.6# git show 4d155641c81203440da64c4633b4efaab75f63b3
commit 4d155641c81203440da64c4633b4efaab75f63b3
Author: Takashi Iwai <email address hidden>
Date: Tue Sep 7 11:58:30 2010 +0200

    ALSA: hda - Add quirk for Lenovo T400s

    Lenovo T400s requires the quirk to make automatic HP/mic switching working.

    Reported-by: Frank Becker <email address hidden>
    Cc: <email address hidden>
    Signed-off-by: Takashi Iwai <email address hidden>

diff --git a/sound/pci/hda/patch_conexant.c b/sound/pci/hda/patch_conexant.c
index 4f06199..71f9d64 100644
--- a/sound/pci/hda/patch_conexant.c
+++ b/sound/pci/hda/patch_conexant.c
@@ -3094,6 +3094,7 @@ static struct snd_pci_quirk cxt5066_cfg_tbl[] = {
        SND_PCI_QUIRK(0x103c, 0x360b, "HP G60", CXT5066_HP_LAPTOP),
        SND_PCI_QUIRK(0x1179, 0xff50, "Toshiba Satellite P500-PSPGSC-01800T", CXT5066_OLPC_XO_1_5),
        SND_PCI_QUIRK(0x1179, 0xffe0, "Toshiba Satellite Pro T130-15F", CXT5066_OLPC_XO_1_5),
+ SND_PCI_QUIRK(0x17aa, 0x20f2, "Lenovo T400s", CXT5066_THINKPAD),
        SND_PCI_QUIRK(0x17aa, 0x21b2, "Thinkpad X100e", CXT5066_IDEAPAD),
        SND_PCI_QUIRK(0x17aa, 0x21b3, "Thinkpad Edge 13 (197)", CXT5066_IDEAPAD),
        SND_PCI_QUIRK(0x17aa, 0x21b4, "Thinkpad Edge", CXT5066_IDEAPAD),

- a8

That patch should certainly make it into maverick, if not by the final release, then certainly within a month or so of the final release.

 affects ubuntu/alsa-driver
 status fixcommitted

Changed in alsa-driver (Ubuntu):
status: In Progress → Fix Committed
alien8 (fb-alien8) wrote :

Just for the records: It's in LK

- a8

inode77 (simon-gerber) wrote :

Is there a ETA for .5 patch availability in maverick?

Other than add the patch and compile manually, there's no way around this issue right?

@inode77: The workaround alien8 gave in #3 and #5 works in Maverick. Just create a file /etc/modprobe.d/alsa-intel.conf with the content 'options snd-hda-intel model="thinkpad"' and restart the system. Headphones and internal microphones are then working again.

Mathieu Simon (mathieu-simon) wrote :

Well, to report: The described module configuration fixes the problem.

Still it's not that great to still see it in both maverick.
I didn't realize it since i passed from 9.10 to a fresh install of 10.10 amd64 on my main machine.
Hope a proper fix get's released soon.

Student (ein-student) wrote :

I had the same problem, doing a fresh install of 10.10 amd64 (keeping /home partition).
The described fix helped.

Julian Wiedmann (jwiedmann) wrote :

the patch ("ALSA: hda - Add quirk for Lenovo T400s") landed in Maverick with 2.6.35-23.40 - is this still an issue?

Paul White (paulw2u) wrote :

No reply from reporter, others say fixed so closing now.

Changed in alsa-driver (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers