sound regression in 3.2-rc3 (lenovo laptops)
Hi everyone,
I installed rc6 today on my laptop and discovered sound
no longer works. I can hear a few clicks from the speakers as it boots, but nothing else.
After a while I got the internal speaker in the laptop working by randomly clicking between all the permutations of (mute, speaker, headphone, main, speaker, beep, alsa, pulseaudio) in my mixer app. But, I couldn't get any noise out of the headphone jack.
I took a wild guess based on the changesets to snd-hda-intel and narrowed it down to the change below. With this reverted, I don't have an alsa headphone output anymore (just master, pcm) and everything is working again.
My laptop is an x201, not a T510...
-chris
commit 29c5fbbcfefba5225a6783683c46c39e10877703
Author: David Henningsson <[email protected]> Date: Mon Jan 23 16:39:55 2012 +0100
ALSA: HDA: Use model=auto for Thinkpad T510
The user reports that model=auto works fine for him. Using model=auto bring in new features such as jack detection notification to userspace.
Alsa info is available at http://paste.ubuntu.com/805351/
sound/pci/hda/patch_conexant.c +1 -1
@@ -3027,7 +3027,7 @@ static const struct snd_pci_quirk cxt5066_cfg_tbl[] = {SND_PCI_QUIRK (0x17aa ,0x20f2 ,"Lenovo T400s" ,CXT5066_THINKPAD ),SND_PCI_QUIRK (0x17aa ,0x21c5 ,"Thinkpad Edge 13" ,CXT5066_THINKPAD ),SND_PCI_QUIRK (0x17aa ,0x21c6 ,"Thinkpad Edge 13" ,CXT5066_ASUS ), -SND_PCI_QUIRK (0x17aa ,0x215e ,"Lenovo Thinkpad" ,CXT5066_THINKPAD ), +SND_PCI_QUIRK (0x17aa ,0x215e ,"Lenovo T510" ,CXT5066_AUTO ),SND_PCI_QUIRK (0x17aa ,0x21cf ,"Lenovo T520 & W520" ,CXT5066_AUTO ),SND_PCI_QUIRK (0x17aa ,0x21da ,"Lenovo X220" ,CXT5066_THINKPAD ), SND_PCI_QUIRK(0x17aa, 0x21db, "Lenovo X220-tablet", CXT5066_THINKPAD),
At Mon, 5 Mar 2012 16:11:12 -0500,
Quoted 12 lines · Chris Mason
Hi everyone,
I installed rc6 today on my laptop and discovered sound
no longer works. I can hear a few clicks from the speakers as it boots, but nothing else.After a while I got the internal speaker in the laptop working by randomly clicking between all the permutations of (mute, speaker, headphone, main, speaker, beep, alsa, pulseaudio) in my mixer app. But, I couldn't get any noise out of the headphone jack.
Quoted 4 lines
I took a wild guess based on the changesets to snd-hda-intel and narrowed it down to the change below. With this reverted, I don't have an alsa headphone output anymore (just master, pcm) and everything is working again.
FYI, the same effect could be achieved by passing model=thinkpad option to snd-hda-intel module without recompiling, too.
Quoted 1 line
My laptop is an x201, not a T510...
Could you give alsa-info.sh outputs (run with --no-upload option) on both working and non-working kernels?
thanks,
Takashi
Quoted 32 lines
-chris
commit
29c5fbbcfefba5225a6783683c46c39e10877703Author: David Henningsson <[email protected]> Date: Mon Jan 23 16:39:55 2012 +0100ALSA: HDA: Use model=auto for Thinkpad T510
The user reports that model=auto works fine for him. Using model=auto bring in new features such as jack detection notification to userspace.
Alsa info is available at http://paste.ubuntu.com/805351/
Signed-off-by David Henningsson <[email protected]>Signed-off-by Takashi Iwai <[email protected]>sound/pci/hda/patch_conexant.c +1
-1@@ -3027,7 +3027,7 @@ static const struct snd_pci_quirk cxt5066_cfg_tbl[] = {SND_PCI_QUIRK (0x17aa ,0x20f2 ,"Lenovo T400s" ,CXT5066_THINKPAD ),SND_PCI_QUIRK (0x17aa ,0x21c5 ,"Thinkpad Edge 13" ,CXT5066_THINKPAD ),SND_PCI_QUIRK (0x17aa ,0x21c6 ,"Thinkpad Edge 13" ,CXT5066_ASUS ), -SND_PCI_QUIRK (0x17aa ,0x215e ,"Lenovo Thinkpad" ,CXT5066_THINKPAD ), +SND_PCI_QUIRK (0x17aa ,0x215e ,"Lenovo T510" ,CXT5066_AUTO ),SND_PCI_QUIRK (0x17aa ,0x21cf ,"Lenovo T520 & W520" ,CXT5066_AUTO ),SND_PCI_QUIRK (0x17aa ,0x21da ,"Lenovo X220" ,CXT5066_THINKPAD ), SND_PCI_QUIRK(0x17aa, 0x21db, "Lenovo X220-tablet", CXT5066_THINKPAD),