Bug 252413 - Fix sound for Lenovo Thinkpad's T61/X61
Summary: Fix sound for Lenovo Thinkpad's T61/X61
Status: CLOSED DUPLICATE of bug 252373
Alias: None
Product: Red Hat Enterprise Linux 5
Classification: Red Hat
Component: kernel
Version: 5.1
Hardware: All
OS: Linux
Target Milestone: ---
: ---
Assignee: Brian Maly
QA Contact: Martin Jenner
Keywords: Patch
Depends On: 254233
Blocks: 246139 418031 410251
TreeView+ depends on / blocked
Reported: 2007-08-15 21:42 UTC by Traxtopel
Modified: 2008-04-03 18:08 UTC (History)
4 users (show)

Clone Of:
Last Closed: 2008-04-03 18:07:02 UTC

Attachments (Terms of Use)
scsconfig.log for F7 (updates applied) on T61 (58.58 KB, text/plain)
2007-08-24 21:00 UTC, Matthew Saltzman
no flags Details
T61_dmidecode.larry (13.85 KB, application/octet-stream)
2008-01-18 19:58 UTC, Larry Troan
no flags Details
X61_dmidecode.larry (13.19 KB, application/octet-stream)
2008-01-18 19:59 UTC, Larry Troan
no flags Details
dmidecode of my X61 as requested (13.19 KB, application/octet-stream)
2008-02-14 10:09 UTC, Jan Wildeboer
no flags Details

Description Traxtopel 2007-08-15 21:42:54 UTC
Description of problem:
On a T61 sound does not work with RHEL5 U1, can be fixed by adding the following


More information found here

--- a/pci/hda/patch_analog.c	Fri Jun 08 11:41:34 2007 +0200
+++ b/pci/hda/patch_analog.c	Fri Jun 08 12:25:25 2007 +0200
@@ -2982,6 +2982,8 @@ static struct snd_kcontrol_new ad1984_th
 	HDA_CODEC_VOLUME("Mic Boost", 0x14, 0x0, HDA_INPUT),
 	HDA_CODEC_VOLUME("Internal Mic Boost", 0x15, 0x0, HDA_INPUT),
 	HDA_CODEC_VOLUME("Docking Mic Boost", 0x25, 0x0, HDA_OUTPUT),
+	HDA_CODEC_VOLUME("Beep Playback Volume", 0x20, 0x03, HDA_INPUT),
+	HDA_CODEC_MUTE("Beep Playback Switch", 0x20, 0x03, HDA_INPUT),
 	HDA_CODEC_VOLUME("Capture Volume", 0x0c, 0x0, HDA_OUTPUT),
 	HDA_CODEC_MUTE("Capture Switch", 0x0c, 0x0, HDA_OUTPUT),
 	HDA_CODEC_VOLUME_IDX("Capture Volume", 1, 0x0d, 0x0, HDA_OUTPUT),
@@ -3011,6 +3013,8 @@ static struct hda_verb ad1984_thinkpad_i
 	/* Analog mixer - docking mic; mute as default */
+	/* enable EAPD bit */
 	{ } /* end */

Comment 1 Peter Martuccelli 2007-08-16 14:23:18 UTC
Dup of bug 249388 and bug 252373, close out as a dup when final patch is submitted.

Comment 2 Traxtopel 2007-08-24 11:37:56 UTC
I see that patch is applied to 2.6.18-43.el5, however still does not produce any
sound. Comment from fedora forum is you require.

The line in /etc/modprobe.conf that current looks like
options snd-hda-intel index=0
needs to be changed so that it looks like...
options snd-hda-intel index=0 model=thinkpad

We have tested this on both a t61 & t61p and this works.

Is there any chance a workaround can be created so this is no longer necessary.

Comment 3 Matthew Saltzman 2007-08-24 20:22:01 UTC
Also affects F7 kernels through kernel-

Comment 4 Matthew Saltzman 2007-08-24 20:25:08 UTC
And the workaround in Comment #2 does not help on F7.

Comment 5 Traxtopel 2007-08-24 20:51:44 UTC
I should of mentioned, you open "volume control" and enable the speaker.

Comment 6 Matthew Saltzman 2007-08-24 21:00:33 UTC
Created attachment 172457 [details]
scsconfig.log for F7 (updates applied) on T61

Comment 7 Matthew Saltzman 2007-08-24 21:01:51 UTC
(In reply to comment #5)
> I should of mentioned, you open "volume control" and enable the speaker.

I open the volume control and only see the Playback tab and Master control.  It
is not muted and volume is up full.

scsconfig.log attached.

Comment 8 Traxtopel 2007-08-24 21:03:16 UTC
Matthew this ticket is/was opened for RHEL5 U1 not FC7. 

Comment 9 Matthew Saltzman 2007-08-24 21:25:10 UTC
OK cloned under F7.  Hope that's the right thing to do.

Comment 10 Dax Kelson 2007-09-05 19:15:52 UTC
(In reply to comment #2)
> The line in /etc/modprobe.conf that current looks like
> options snd-hda-intel index=0
> needs to be changed so that it looks like...
> options snd-hda-intel index=0 model=thinkpad
> We have tested this on both a t61 & t61p and this works.
> Is there any chance a workaround can be created so this is no longer necessary.

On my T61p I updated all of ALSA to 1.0.15rc1 and now the sound in my T61p works
fine. I didn't have to touch my stock modprobe.conf.

Comment 13 Larry Troan 2008-01-17 16:27:58 UTC
Just tried to recreate on my T61 with x86_64 kernel from 5.1
(kernel-2.6.18-53.el5 SMP). WORKSFORME.

PCM device AD198x Analog
Driver snd-hda-intel

lspci -vv |grep Audio
00:16.0 Audio Device Intel Conntroller 82801H (ICH8 family) HD audio controller
(rev 3). 

cat /proc/asound/version
Advanced Linux Sound Architecture Driver Version 1.0.14rc3 (Wed Mar 14 07:25:50
2007 UTC)

cat /proc/asound/modules
0 snd_hda_intel

Can't try xen kernel due to bug 372741 which is scheduled to be fixed in 5.2.

Will try x86 install next with and without xen.....

Comment 14 Larry Troan 2008-01-17 20:37:12 UTC
x86 xen, PAE and kernel all have sound working in RHEL5.1. Will try X61 next.

Sound on my T61 appears to work fine.

Comment 15 Larry Troan 2008-01-18 19:44:31 UTC
Just tried sound on my X61 x86 kernel and it works fine with RHEL5.1.
Sound on my X61 appears to work fine.

Same hardware/software as comment #13. Obtaining dmidecode output from both
systems and will append to this bug.

Comment 16 Larry Troan 2008-01-18 19:51:13 UTC
Comment #9 From Matthew Saltzman (mjs@clemson.edu)....
Cloned bug referred to in that comment under F7 is bug 254233 which is

Comment 17 Larry Troan 2008-01-18 19:58:45 UTC
Created attachment 292191 [details]

Comment 18 Larry Troan 2008-01-18 19:59:15 UTC
Created attachment 292192 [details]

Comment 19 RHEL Product and Program Management 2008-02-01 22:40:53 UTC
This request was evaluated by Red Hat Product Management for
inclusion, but this component is not scheduled to be updated in
the current Red Hat Enterprise Linux release. If you would like
this request to be reviewed for the next minor release, ask your
support representative to set the next rhel-x.y flag to "?".

Comment 22 Larry Troan 2008-02-11 02:13:26 UTC
Could you please provide dmidecode command output from your failing system to
this bugzilla.

Comment 23 Jan Wildeboer 2008-02-14 10:09:47 UTC
Created attachment 294902 [details]
dmidecode of my X61 as requested

Added dmidecode from my X61


Comment 24 Jan Wildeboer 2008-02-14 10:12:58 UTC
A diff of the dmidecode tells me that I might have to update my BIOS. Will do
and report if that helps.

Comment 25 Larry Troan 2008-02-20 20:56:50 UTC
Latest BIOS (for a different bug) per Yoshiyama-san at Lenovo is as follows:
On Thu, 2008-02-07 at 09:35 +0900, Noritoshi Yoshiyama wrote:
? 372741 [ON_QA] Lenovo T61/X61 lock up with xen kernel.
>                 Not sure exactly which one is the root. 
>                 The latest  BIOS on web shoud have fixed USB spurious 
> interrupts . Please make sure Version 7NETA6WW (2.06)
> http://www-307.ibm.com/pc/support/site.wss/document.do?lndocid=MIGR-67982
>                 X61 - With the -61 still no luck on my X61. The moment X 
> starts - cold reset. I *guess* this is more a x11-driver problem then it 
> is a kernel prob as booting to runlevel 3 works.
>                 T61  Odd.  When I was doing the testing on the R61 and 
> T61, X worked just fine
> X61
> http://www-307.ibm.com/pc/support/site.wss/document.do?lndocid=MIGR-67982
> T61/T61p:
> http://www-307.ibm.com/pc/support/site.wss/document.do?lndocid=MIGR-67988
> R61 ( some of R61s)
> http://www-307.ibm.com/pc/support/site.wss/document.do?lndocid=MIGR-67988
> --------------
> http://www-307.ibm.com/pc/support/site.wss/document.do?lndocid=TPAD-MATRIX

Comment 26 Jan Wildeboer 2008-03-07 09:18:07 UTC
I am now on 2.06. Updating BIOS on X61 is a *big* problem, BTW. Only works woth
optical drive in docking station, not with standard USB CD drive.

So with 2.06, still no sound.


Comment 28 Larry Troan 2008-03-07 20:40:18 UTC
Comment #26 satisfies NEEDINFO. Setting to ASSIGNED.

Comment 29 Peter Martuccelli 2008-04-03 18:07:02 UTC

*** This bug has been marked as a duplicate of 252373 ***

Note You need to log in before you can comment on or make changes to this bug.