IBM X31 Open SUSE 11.1 Sound problem, ICH4

Hello
Have a problem with playing sound
Please see details below

tsalsa version 2008-09-14 Sat Jul 11 17:29:16 CEST 2009
Problem: No sound comes from soundspeaker

PC type/make/model: laptop : IBM X31
Plugs: 3
Surround sound system: no
Model options: no
Number of speakers: 1
Linux install is an upgrade from a previous version: no
PC age (approximate 3 years
Groups: user is in these groups: Hardware Mixing: enabled if count is greater than 1: subdevices_count: 1

Distro: Welcome to openSUSE 11.1 - Kernel

Release: lsb-release
SuSE-release
2.6.27.23-0.1-default
System: Linux linux-fxce 2.6.27.23-0.1-default #1 SMP 2009-05-26 17:02:05 -0400 i686 i686 i386 GNU/Linux

Vendor/dev id:
8086 24c5

Vendor/dev module:

Vendor/device: 8086:24c5 Subsystem: IBM Device 0534

Lspci info:
00:1f.5 Multimedia audio controller: Intel Corporation 82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC’97 Audio Controller (rev 01)

Alsa driver: 1.0.17
dpkg path:
Alsa utils: 1.0.18

Alsa modules:
snd_intel8x0

Snd/soundcore:
snd 56816 12 snd_pcm_oss
snd_mixer_oss
snd_seq
snd_seq_device
snd_intel8x0
snd_ac97_codec
snd_pcm
snd_timer
soundcore 6660 1 snd

Alsa cards:
0 [I82801DBICH4 ICH4 - Intel 82801DB-ICH4
Intel 82801DB-ICH4 with AD1981B at irq 11

Codec:
0-0/0: Analog Devices AD1981B

  PCI Subsys Vendor: 0x1014        
  PCI Subsys Device: 0x0534        

Lsof output:
COMMAND PID USER FD TYPE DEVICE SIZE/OFF NODE NAME
pulseaudi 3310 nikolay 18u CHR 116,9 0t0 4065 /dev/snd/controlC0
kmix 3331 nikolay 10u CHR 116,9 0t0 4065 /dev/snd/controlC0

cardcnt: 0
Amixer item options for card 0 [I82801DBICH4] _________________________________

product_uuid:DAF66C81-46EC-11CB-B486-FBA830CEB4C2
product_version:ThinkPad X31
sys_vendor:IBM
uevent:MODALIAS=dmi:bvnIBM:bvr1QET73WW(2.11):bd02/13/2004:svnIBM:pn2672NG9:pvrThinkPadX31:rvnIBM:rn2672NG9:rvrNotAvailable:cvnIBM:ct10:cvrNotAvailable:

Sound works. I’m guessing that pulseaudio hasn’t been unmuted, separate from the regular mixer. I had the same issue and had to unmute the sound in 3 different areas before anything came out.

tslalsa is no longer maintained. Instead the developer of that application is helping to support the script alsa-info.sh where the alsa-info.sh script is now included with alsa as of version 1.0.17 and subsequent versions of alsa.

The output you provided from tsalsa is missing the mixer settings (and some other output) making it less useful.

Note, when testing if you have sound, please copy and paste the following speaker-test into a Gnome terminal or a kde konsole: speaker-test -Dplug:front -c2 -l5 -twav
Note Linux is case sensitive, and “D” is not the same as “d”. To stop the above test, while the konsole/xterm has the mouse focus, press <CTRL><C> on the keyboard. Note you should check your mixer settings (kmix if using KDE, and alsamixer if using Gnome) to ensure that PCM and Master Volume are set around 95%. Once you have basic sound established you can back off to lower volume levels. Note the test for surround sound is different.

If that test yields errors (and its not uncommon to get errors there), try instead this more simple test: speaker-test -c2 -l5 -twavYou should hear a female voice saying ‘FRONT LEFT’, ‘FRONT RIGHT’ five times. Its quite common that one of those speaker tests will work and one will NOT work, so don’t be distressed if that is the case. IF that test gives sound, stop now, post that the sound test gives sound, and we will look at other possible causes for your applications not giving you the sound you want (such as missing codecs, using the wrong packaged version … etc … ).

Try those speaker-tests as both a regular user, and with root permissions. If you have a headset, try with your headset plugged in, and also with your headset not plugged in (for speakers).

Assuming no sound, can you provide more very detailed information so a good recommendation can be given? For openSUSE-11.1, you can do that, with your laptop connected to the internet, by opening a gnome-terminal or a kde konsole, type “su” (no quotes - enter root password) and then copy and paste to run the following into that terminal/konsole

/ussr/sbin/alsa-info.sh

The first time it will offer to update. Select YES for the update. After the update is done, run it again. The second time that will run a diagnostic script and post the output to a web site on the Internet. It will give you the URL of the web site. Please post that URL here. JUST the URL.

Also, please copy and paste the following commands one line at a time into a gnome-terminal or a konsole and post here the output: rpm -qa | grep alsa
rpm -qa | grep pulse
uname -a
cat /etc/modprobe.d/sound

You also could try working your way through the openSUSE audio troubleshooting guide:
SDB:AudioTroubleshooting - openSUSE

Hello,
Thanks for support
Below info you requested
Main Page - AlsaProject
/db/?f=dc33efbd99b03e4cee5ed6628f675a7de8d99f67

rpm -qa | grep alsa
alsa-1.0.18-8.7
alsa-firmware-1.0.17-1.42
alsa-driver-kmp-default-1.0.20.20090705_2.6.27.23_0.1-2.1
alsa-plugins-pulse-1.0.18-6.12
tsalsa-20080914-0.pm.1
alsaplayer-0.99.80-1.pm.1
alsa-plugins-1.0.18-6.12
alsa-utils-1.0.18-6.4
alsa-driver-doc-1.0.20.20090711-1.1
alsa-oss-1.0.17-1.37
linux-fxce:/ # rpm -qa | grep pulse
libxine1-pulse-1.1.15-23.3.3
pulseaudio-0.9.14-2.2.1
pulseaudio-module-jack-0.9.14-2.2.1
pulseaudio-module-zeroconf-0.9.14-2.2.1
alsa-plugins-pulse-1.0.18-6.12
pulseaudio-utils-0.9.14-2.2.1
libpulse0-0.9.14-2.2.1
pulseaudio-module-bluetooth-0.9.14-2.2.1
pulseaudio-module-lirc-0.9.14-2.2.1
pulseaudio-lang-0.9.14-2.2.1
libpulse-mainloop-glib0-0.9.14-2.2.1
libpulse-browse0-0.9.14-2.2.1
pulseaudio-esound-compat-0.9.14-2.2.1
pulseaudio-module-x11-0.9.14-2.2.1
vlc-aout-pulse-0.9.9_1.0.0rc4-1.3
linux-fxce:/ # uname -a
Linux linux-fxce 2.6.27.23-0.1-default #1 SMP 2009-05-26 17:02:05 -0400 i686 i686 i386 GNU/Linux
linux-fxce:/ # cat /etc/modprobe.d/sound

options snd slots=snd-intel8x0

W60f.UInOZMzYosD:82801DB/DBL/DBM (ICH4/ICH4-L/ICH4-M) AC’97 Audio Controller

alias snd-card-0 snd-intel8x0

Hi , could you specify exact problems ypu had if possible
and …
which distro d’u think is most suitable for X31. I heard it shipped before with SLED 9/10 or RHEL
Personally ME tried , Mint, Debian, Fedora 11, OpenSuse 11.1
so far OSuse is favorite

Ok, you have problems … either you got lost trying to follow the troubleshooting guide, or you followed it partially and simply failed to follow the reboot instructions?

The script tells me you have this:

Driver version:     1.0.17
...
Utilities version:  1.0.18

But your rpms installed have this:

alsa-1.0.18-8.7
alsa-firmware-1.0.17-1.42
alsa-driver-kmp-default-1.0.20.20090705_2.6.27.23_0.1-2.1
alsa-plugins-pulse-1.0.18-6.12
tsalsa-20080914-0.pm.1
alsaplayer-0.99.80-1.pm.1
alsa-plugins-1.0.18-6.12
alsa-utils-1.0.18-6.4
alsa-driver-doc-1.0.20.20090711-1.1
alsa-oss-1.0.17-1.37

Thats not consistent. If you sent the six zypper commands required by this URL (referenced in the troubleshooting guide) Alsa-update - openSUSE you would have different alsa apps installed (version 1.0.20). You can’t do only part, stop and expect this to work.

Are you confused by that alsa update URL ? Alsa-update - openSUSE Do you need me to tell you what six zypper commands to send?

Further more, I note this in your mixer:

!!Amixer output
!!-------------

!!-------Mixer controls for card 0 [I82801DBICH4]

Card hw:0 ‘I82801DBICH4’/‘Intel 82801DB-ICH4 with AD1981B at irq 11’
Mixer name : ‘Analog Devices AD1981B’
Simple mixer control ‘Master’,0
Capabilities: pvolume pswitch
Front Left: Playback 31 [100%] [0.00dB] off]
Front Right: Playback 31 [100%] [0.00dB] off]
You have your PC’s MASTER volume muted. That will guarantee no sound even if the other aspects were correct, which they are not.

Thank You for immidiate answer!
will follow instructions

Hi, i got confused even more after entering those 6 commands for my kernel
zypper ar Index of /repositories/multimedia:/audio/openSUSE_11.1 multimedia

     zypper install alsa-utils alsa-tools alsa-firmware alsa-oss alsa-plugins alsa-plugins-pulse

     zypper rr multimedia

     zypper ar [Index of /repositories/multimedia:/audio:/KMP/openSUSE_11.1_Update](http://download.opensuse.org/repositories/multimedia:/audio:/KMP/openSUSE_11.1_Update/) multimedia

     zypper install alsa-driver-kmp-default

     zypper rr multimedia

it doesnt work anyway and driver , app and firmware versions are still mismatch

rpm -qa | grep alsa
alsa-utils-1.0.18-6.4
tsalsa-20080914-0.pm.1
alsa-plugins-1.0.18-6.12
alsaplayer-0.99.80-1.pm.1
alsa-driver-kmp-default-1.0.20.20090711_2.6.27.23_0.1-1.1
alsa-driver-doc-1.0.20.20090711-1.1
alsa-firmware-1.0.17-1.42
alsa-oss-1.0.17-1.37
alsa-tools-1.0.18-1.13
alsa-plugins-pulse-1.0.18-6.12
linux-fxce:~ # rpm -qa | grep pulse
libxine1-pulse-1.1.15-23.3.3
pulseaudio-0.9.14-2.2.1
pulseaudio-module-jack-0.9.14-2.2.1
pulseaudio-module-zeroconf-0.9.14-2.2.1
pulseaudio-utils-0.9.14-2.2.1
libpulse0-0.9.14-2.2.1
pulseaudio-module-bluetooth-0.9.14-2.2.1
pulseaudio-module-lirc-0.9.14-2.2.1
pulseaudio-lang-0.9.14-2.2.1
libpulse-mainloop-glib0-0.9.14-2.2.1
libpulse-browse0-0.9.14-2.2.1
pulseaudio-esound-compat-0.9.14-2.2.1
pulseaudio-module-x11-0.9.14-2.2.1
vlc-aout-pulse-0.9.9_1.0.0rc4-1.3
alsa-plugins-pulse-1.0.18-6.12
linux-fxce:~ # uname -a
Linux linux-fxce 2.6.27.23-0.1-default #1 SMP 2009-05-26 17:02:05 -0400 i686 i686 i386 GNU/Linux
linux-fxce:~ # cat /etc/modprobe.d/sound
alias snd-card-0 snd-intel8x0
alias sound-slot-0 snd-intel8x0

alsa-info.sh disappeared

Did I do smth wrong ?
Is there any quick fix

before i start troubleshooting according to mentioned link
Thanks

It was brought to my attention earlier to day, that the structure of the multimedia directories has been changed by the openSUSE alsa dev (or by someone else).

Try these six zypper commands instead (with root permissions and with your PC connected to internet):

zypper ar http://download.opensuse.org/repositories/multimedia:/audio:/snapshot/openSUSE_11.1/ multimedia
zypper install alsa-utils alsa-tools alsa-firmware alsa-oss alsa-plugins alsa-plugins-pulse
zypper rr multimedia
zypper ar http://download.opensuse.org/repositories/multimedia:/audio:/KMP/openSUSE_11.1_Update/ multimedia
zypper install alsa-driver-kmp-default
zypper rr multimedia

Reboot and test your sound.

I’ve sent the alsa dev an email to try and find out his plan for those directories, but in the interim, give the above a try.

Sorry, it didnt help

rpm -qa | grep alsa
alsa-plugins-pulse-1.0.18-6.12
tsalsa-20080914-0.pm.1
alsa-firmware-1.0.17-1.42
alsaplayer-0.99.80-1.pm.1
alsa-oss-1.0.17-1.37
alsa-driver-doc-1.0.20.20090711-1.1
alsa-utils-1.0.18-6.4
alsa-tools-1.0.18-1.13
alsa-driver-kmp-default-1.0.20.20090711_2.6.27.23_0.1-1.1
alsa-plugins-1.0.18-6.12
linux-fxce:~ # rpm -qa | grep pulse
libxine1-pulse-1.1.15-23.3.3
pulseaudio-0.9.14-2.2.1
pulseaudio-module-jack-0.9.14-2.2.1
alsa-plugins-pulse-1.0.18-6.12
pulseaudio-module-zeroconf-0.9.14-2.2.1
pulseaudio-utils-0.9.14-2.2.1
libpulse0-0.9.14-2.2.1
pulseaudio-module-bluetooth-0.9.14-2.2.1
pulseaudio-module-lirc-0.9.14-2.2.1
pulseaudio-lang-0.9.14-2.2.1
libpulse-mainloop-glib0-0.9.14-2.2.1
libpulse-browse0-0.9.14-2.2.1
pulseaudio-esound-compat-0.9.14-2.2.1
pulseaudio-module-x11-0.9.14-2.2.1
vlc-aout-pulse-0.9.9_1.0.0rc4-1.3
linux-fxce:~ # uname -a
Linux linux-fxce 2.6.27.23-0.1-default #1 SMP 2009-05-26 17:02:05 -0400 i686 i686 i386 GNU/Linux
linux-fxce:~ # cat /etc/modprobe.d/sound
alias snd-card-0 snd-intel8x0
alias sound-slot-0 snd-intel8x0

alsa-info is missing still

It looks to me like you must have had an error message, as none of the rpms installed. What was the error?

Did you copy and paste the commands I gave you above? Or did you retype them?

Hi,
Indeed fistly it indicated that packages are installed already.
that’s why
i removed packages before insalling from new repository
by command zypper remove <xxxx>
then i had no errors

Thanks for nearly real time response

What packages did you remove? I am worried you removed an app that you should not have. I don’t see the basic ‘alsa’ package.

A clarification. … the script “alsa-info.sh” typically comes with the basic ‘alsa’ and it appears you inappropriately removed that. >:(

Also note a URL that I provided in the commands I quoted IS DIFFERENT than what I think you sent. So please COPY and PASTE the commands I provided. You also need to install “alsa” as you appear to have removed it inappropriately.

Hi,

I’ve just purchased SLED 11.1, which is very similar to OpenSuse 11 AFAIK - I’m thinking of installing it on this X31, but not decided yet.

One thing I noticed when running fedora 12 (which is what I’m using as we speak), is that you need to make sure that the volume is actually switched on in the BIOS.

I thought I had a hardware issue, as with even a live usb os, it refused to work, yet the same usb key worked on my other identical X31.

I installed the thinkpad utilities, and then simply hit the volume up button, lo and behold it worked again.

On Fedora, this is called “tpb.i686 : ThinkPad button support utility”, I assume its available via zypper, else add a repo.

Also, run “alsamixer” and be sure its not muted there either.

But if yer missing alsa base package then that’s you issue. Run alsamixer and you will know for sure. :wink: