And again: No Sound on Thinkpad T61 under openSUSE 11.0

Hi,

since installing openSUSE 11.0 on my Lenovo Thinkpad T61 there is no sound.

The machine uses an Intel 82801 using audio codec AD1984 and alsa 1.0.15.

The openSUSE support database says I need to modify the codec options in
/etc/modprobe.d/sound.

The SDB also says I would find these options in “ALSA-Configuration.txt”
in “/usr/src/linux/Documentation/sound/alsa”.

I can’t find this file on my system.

Anybody know this file? Where can I find the appropriate codec options for AD1984 on a Lenovo Thinkpad T61.

Cheers.

H.

I’m not at a Linux PC, and I don’t have this memorized, so I can’t point out the file precise location to you. Typically it comes with one’s kernel documentation, or with the alsa tarball/documentation (for cases where one downloads an updated alsa tarball).

If you search the web (google) for ALSA-Configuration.txt its very easy to find. For example:
Linux Kernel Documentation :: sound : alsa : ALSA-Configuration.txt

… of course there is always the question, for which version of ALSA does this specific ALSA-Configuration.txt file apply. I think the one I linked is for the stable 1.0.16 of ALSA. Hence for your AD1984:

926		AD1984
927		  basic		default configuration
928		  thinkpad	Lenovo Thinkpad T61/X61
929		  dell		Dell T3400 

which means you need to insert “model=thinkpad” in the appropriate place in your /etc/modprobe.d/sound file. If you post the contents of that file here, I can make some suggestions (re: the syntax). to get the file contents, simply type:
cat /etc/modprobe.d/sound

Hi there oldcpu,

Thanks for your help again. I’ve already modified /etc/modprobe.d/sound like that and when doing a rcalsasound start I get these error messages.

Can you make something out of that? Something with the kernel?

linux-vc38 2.6.25.5-1.1-default

WARNING: Error inserting snd (/lib/modules/2.6.25.5-1.1-default/kernel/sound/core/snd.ko):
Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_hwdep (/lib/modules/2.6.25.5-1.1-default/kernel/sound/core/snd-hwdep.ko):
Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_timer (/lib/modules/2.6.25.5-1.1-default/kernel/sound/core/snd-timer.ko):
Unknown symbol in module, or unknown parameter (see dmesg)
WARNING: Error inserting snd_pcm (/lib/modules/2.6.25.5-1.1-default/kernel/sound/core/snd-pcm.ko):
Unknown symbol in module, or unknown parameter (see dmesg)
FATAL: Error inserting snd_hda_intel (/lib/modules/2.6.25.5-1.1-default/kernel/sound/pci/hda/snd-hda-intel.ko):
Unknown symbol in module, or unknown parameter (see dmesg)
…failed

Please, can you provide the output of:
cat /etc/modprobe.d/sound

I had this on my t61p under SLED 10.2, all I had to do was run alsaconf
once and it works fine now.

Andrew C Taubman
Novell Support Forums Volunteer SysOp
http://forums.novell.com/
(Sorry, support is not provided via e-mail)

Opinions expressed above are not
necessarily those of Novell Inc.

Hi,

Here are the details: content /etc/modprobe.de/sound, hwinfo --sound and the installed ALSA packages.

/etc/modprobe.d/sound

options snd slots=snd-hda-intel

u1Nb.iJWhLrosxI5:ThinkPad T61

alias snd-card-0 snd-hda-intel

hwinfo --sound

29: PCI 1b.0: 0403 Audio device
[Created at pci.310]
UDI: /org/freedesktop/Hal/devices/pci_8086_284b
Unique ID: u1Nb.iJWhLrosxI5
SysFS ID: /devices/pci0000:00/0000:00:1b.0
SysFS BusID: 0000:00:1b.0
Hardware Class: sound
Model: “Lenovo ThinkPad T61”
Vendor: pci 0x8086 “Intel Corporation”
Device: pci 0x284b “82801H (ICH8 Family) HD Audio Controller”
SubVendor: pci 0x17aa “Lenovo”
SubDevice: pci 0x20ac “ThinkPad T61”
Revision: 0x03
Driver: “HDA Intel”
Driver Modules: “snd_hda_intel”
Memory Range: 0xfe020000-0xfe023fff (rw,non-prefetchable)
IRQ: 17 (6339 events)
Module Alias: “pci:v00008086d0000284Bsv000017AAsd000020ACbc04sc03i00”
Driver Info #0:
Driver Status: snd_hda_intel is active
Driver Activation Cmd: “modprobe snd_hda_intel”
Config Status: cfg=no, avail=yes, need=no, active=unknown

ALSA Packages

alsa-oss-32bit-1.0.15-48.1
alsa-1.0.16-39.1
alsa-oss-1.0.15-48.1
alsa-utils-1.0.16-35.1
alsa-plugins-1.0.16-57.1

I have tried alsaconf. It successfully installs the sound card, but there is no test sound playing.

In alsamixer I have spotted the label of a roll bar at the right end of the window labelled “internal speakers”. I cannot access the roll bar and adjust the values.

Thanks again.

Heinrich

The file producing the errors shown in my first posting looked like this:

options snd slots=snd-hda-intel model=thinkpad enable=1 index=0

u1Nb.iJWhLrosxI5:ThinkPad T61

alias snd-card-0 snd-hda-intel

Please:
a. install alsa-firmware and restart your pc; and
b. change your /etc/modprobe.d/sound file to:

options snd slots=snd-hda-intel
# u1Nb.iJWhLrosxI5:ThinkPad T61
alias snd-card-0 snd-hda-intel 
options snd-hda-intel model=thinkpad

and restart your alsa with root permissions with rcalsasound restart and test your sound by copying and pasting the following line into an xterm konsole:
speaker-test -c2 -Ddefault -l5 -twav

Please do NOT use alsaconf nor yast>hardware>sound while trying this hand edit method. But alsaconf & yast will remove those custom settings from the /etc/modprobe.d/sound file.

If that syntax does not work in the /etc/modprobe.d/sound file, then try:

options snd slots=snd-hda-intel model=thinkpad
# u1Nb.iJWhLrosxI5:ThinkPad T61
alias snd-card-0 snd-hda-intel 

and restart your alsa with root permissions with rcalsasound restart
and test your sound by copying and pasting the following line into an xterm konsole:
speaker-test -c2 -Ddefault -l5 -twav

and if that syntax does not work with /etc/modprobe.d/sound file, then try:

options snd-hda-intel enable=1 index=0 model=thinkpad
# u1Nb.iJWhLrosxI5:ThinkPad T61
alias snd-card-0 snd-hda-intel 

and restart your alsa with root permissions with rcalsasound restart
and test your sound by copying and pasting the following line into an xterm konsole:
speaker-test -c2 -Ddefault -l5 -twav

Also, if the above does not work, remove all your pulseaudio applications, and try again from the start.

Please also post error messages. If too long, paste them in general pastebin - simplified internet collaboration

Please also keep a record of the exact contents of each /etc/modprobe.d/sound file you tried that failed, and post the exact file contents here. I am finding an increasing number of openSUSE users are making typing/syntax errors when editing this fail, in essence dooming their sound to non-functionality. If they post precisely what they tried, then at least I can point out syntax errors, and the correct file can be tried.

This is the syntax that produced the errors as you find it on SDB:Intel-HDA sound problems - openSUSE

options snd slots=snd-hda-intel model=thinkpad enable=1 index=0

u1Nb.iJWhLrosxI5:ThinkPad T61

alias snd-card-0 snd-hda-intel

Then try:

options snd-hda-intel enable=1 index=0 model=thinkpad 
# u1Nb.iJWhLrosxI5:ThinkPad T61
alias snd-card-0 snd-hda-intel

and restart alsa with
rcalsasound restart
and test your sound with the test that I suggested.

Hi,

After having installed alsa-firmware I have tried all the syntax options for /etc/modprobe.d/sound.

Whenever doing speaker test after rcalsasound startI get the same error messages

speaker-test -c2 -Ddefault -l1 -twav

speaker-test 1.0.16

Playback device is default
Stream parameters are 48000Hz, S16_LE, 2 channels
WAV file(s)
ALSA lib confmisc.c:768parse_card) cannot find card ‘0’
ALSA lib conf.c:3513_snd_config_evaluate) function snd_func_card_driver returned error: No such file or directory
ALSA lib confmisc.c:392snd_func_concat) error evaluating strings
ALSA lib conf.c:3513_snd_config_evaluate) function snd_func_concat returned error: No such file or directory
ALSA lib confmisc.c:1251snd_func_refer) error evaluating name
ALSA lib conf.c:3513_snd_config_evaluate) function snd_func_refer returned error: No such file or directory
ALSA lib conf.c:3985snd_config_expand) Evaluate error: No such file or directory
ALSA lib pcm.c:2144snd_pcm_open_noupdate) Unknown PCM default
Playback open error: -2,No such file or directory

Are you certain you have sound switched ON in the BIOS?

Can you provide the output URL created by running the following two diagnostic scripts:

wget -O alsa-info.sh http://www.alsa-project.org/alsa-info.sh && bash alsa-info.sh 

For the following, enter your root password when prompted for a password, and answer NO for every question you do not understand.

su -c 'wget -O tsalsa wget http://home.cfl.rr.com/infofiles/tsalsa && bash tsalsa'

Then post here the ULR that script provides.

Have uploaded script output.

Did not find option for sound in the BIOS set up.

I wonder whether I should have a technician check the speakers.

Great! BUT please, you have to tell me the URL where it was uploaded! The script gives you that URL and asks you to pass the URL on to the person attempting to help you. If you don’t tell me the URL, I can’t help.

Do you have another OS on that PC ? If not, download kanotix, or sidux, or knoppix Live CD, and boot to the live CD, and check your sound with that.
kanotix: kanotix.com :: GNU Linux Live system based on Debian, optimized for HD-install and high performance
sidux: sidux.com :: debian based live cd development
knoppix: KNOPPIX Linux Live CD

OOOOPS.Sorry about that. I thought the uploading is done by the scripts themselves as I thought I had seen some output under the URL shown at the end of the second script.

I’ll run the scripts again when I get home tonight.

I don’t have any other operating system on my T61.

I bought the T61 with SLED 10 pre-loaded which I didn’t like.
So I installed openSUSE 10.3 and got I everything (except the PCMCIA card reader)
going nicely with your help. After playing around with various media players and CD rippers sound was gone entirely. So I hoped installing openSUSE 11.0 would help.

I checked the sound, too, using Live CDs with openSUSE 10.3 and some Ubuntu version. No sound there, too. So it could be a hardware problem. Maybe I have blown out the speakers when playing around some Sunday morning.

I’m reasonably confident we can get this working. … but I need the script output. With the information from the script, we should be able to decide if it is necessary to update alsa, and if necessary come up with a better change to the /etc/modprobe.d/sound file.

URL
tsalsa.txt - nopaste.com (beta)

Please try again the following in your /etc/modprobe.d/sound file:

options snd slots=snd-hda-intel
# u1Nb.iJWhLrosxI5:ThinkPad T61
alias snd-card-0 snd-hda-intel 
options snd-hda-intel model=thinkpad

and restart your alsa from a konsole/xterm with root permissions by typing: rcalsasound restart and test your sound. check your mixer.

If that fails, try:

options snd slots=snd-hda-intel
# u1Nb.iJWhLrosxI5:ThinkPad T61
alias snd-card-0 snd-hda-intel 
options snd-hda-intel model=basic

and restart your alsa from a konsole/xterm with root permissions by typing: rcalsasound restart and test your sound. check your mixer.

If that fails, try:

options snd slots=snd-hda-intel
# u1Nb.iJWhLrosxI5:ThinkPad T61
alias snd-card-0 snd-hda-intel 
options snd-hda-intel model=dell

and restart your alsa from a konsole/xterm with root permissions by typing: rcalsasound restart and test your sound. check your mixer.

If that fails, then please type:
dmesg > dmesg.txt
and paste the contents of dmesg.txt in general pastebin - simplified internet collaboration
and post the URL here.

Hello,

I might have a very similar sound problem with my ThinkPad T61 running OpenSuSE 10.3 with ALSA updated to 1.0.16. The sound chip is recognized as
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)
A recent online update broke the sound; it works nicely before. It might be of interest that since the update I am getting the following messages on booting
(in /var/log/messages)
Jul 5 23:30:40 c2lap2 kernel: ACPI: PCI Interrupt 0000:00:1b.0** → GSI 17 (level, low) → IRQ 17
Jul 5 23:30:40 c2lap2 kernel: hda_intel: probe_mask set to 0x1 for device 17aa:20ac
Jul 5 23:30:40 c2lap2 kernel: PCI: Setting latency timer of device 0000:00:1b.0 to 64
Jul 5 23:30:40 c2lap2 kernel: ALSA /usr/src/packages/BUILD/alsa-driver/pci/hda/…/…/alsa-kernel/pci/hda/hda_intel.c:1214:
hda-intel: no codecs initialized
Jul 5 23:30:40 c2lap2 kernel: ACPI: PCI interrupt for device 0000:00:1b.0 disabled

Is there an interrupt conflict here?

Best,
Dmitrij**