No sound in openSuSE 11.2 (Optiplex 380)

Hello everyone

I have a problem with my new openSuSE installation regarding the sound and I would like to mention that I not an expert in using linux and I’m a rookie with this distribution.

Environment:

  • Dell Optiplex 380
  • openSuSE 11.2 i586
  • KDE graphical environment

current lspci -v result:

00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01)
Subsystem: Dell Device 0400
Flags: fast devsel, IRQ 16
Memory at fe6fc000 (64-bit, non-prefetchable) [size=16]
Capabilities: [50] Power Management version 2
Capabilities: [60] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
Capabilities: [100] Virtual Channel <?>
Capabilities: [130] Root Complex Link <?>

Symptoms:

  • No sound at all
  • tried to play the test sound from YaST but with no success
  • tried to play the sound usind the terminal command

Steps made to solve the problem:

  • visited this thread: 11.2 sound - openSUSE Forums and tried all that applied to me but nothing worked

  • visited SDB:AudioTroubleshooting - openSUSE and made the steps 1 and 2. I have to mention that in a moment of absence of mind I have executed the command alsaconf.
    Before trying this to steps, lspci -v had one more line specifying the kernel module used and it was something like:

Kernel driver in use: HDA Intel

I can’t do the step 3 because I don’t have the path /proc/asound.

Any suggestion it will be welcome.

Thank you for your help in advance.

Best regards,
Florin[/size]

alsaconf may create an /etc/modprobe.d/sound file which is useless in 11.2 as 11.2 uses an /etc/modprobe.d/50-sound.conf file. So you could look under /etc/modprobe.d/ and if you see a “sound” file, then delete it.

Reference step-1 in the troubleshooting guide, did you try ALL THREE tests for sound?
SDB:AudioTroubleshooting - openSUSE

ie. the two speaker-tests and the one aplay test?

Well, then just skip step 3 and go on to 4.

But if you find that guide too hard to follow, instead provide detailed information here on our forum, providing information recommended to be provided as detailed in the second half of our multimedia stickie:

… please post in this … sub-forum, providing in your post the following information:

  • provide the URLs (of a summary webpage) that are created by running the diagnostic script noted here:
    SDB:AudioTroubleshooting - openSUSE - Script to run to obtain detailed information. On openSUSE-11.1 and newer that will ask you to run the script /usr/sbin/alsa-info.sh and after the script finishes it will give you a URL to pass to the support personnel. Please post here the output URL. Just the URL. You may need to run that script twice (the first time with root permissions to update in the /usr/sbin directory, and the second time to get the URL).
  • in a terminal, or xterm, or konsole, type: rpm -qa ‘alsa#and post output here
  • in a terminal, or xterm, or konsole, type: rpm -qa ‘pulse#and post output here
  • in a terminal, or xterm, or konsole, type: rpm -q libasound2 #and post output here
  • in a terminal, or xterm, or konsole, type: uname -a #and post output here
  • for openSUSE-11.2 or later, in a terminal, or xterm, or konsole, type: cat /etc/modprobe.d/50-sound.conf #and post output here

When running the diagnostic script, be certain your PC is connected to the Intenet and also select the UPLOAD/SHARE option.

Thank you for your quick answer

Here are the information requested:

> after running

/usr/sbin/alsa-info.sh

I obtained this link: http://www.alsa-project.org/db/?f=159253cad2f5d69d089aea1e26ae56280fce6a93

> after running

rpm -qa ‘alsa

I have obtained the following result:

alsa-1.0.21-3.2.i586
alsa-plugins-1.0.21-3.3.i586
alsa-devel-1.0.21-3.2.i586
alsa-utils-1.0.21-3.1.i586
alsa-oss-1.0.17-25.2.i586
alsa-firmware-1.0.20-3.2.noarch

> after running

rpm -qa ‘pulse

I have obtained the following result:

libpulse-browse0-0.9.19-2.3.i586
libxine1-pulse-1.1.16.1-7.6.i586
libpulse-devel-0.9.19-2.3.i586
libpulse-mainloop-glib0-0.9.19-2.3.i586
libpulse0-0.9.19-2.3.i586

> after running

rpm -q libasound2

I have obtained the following result:

libasound2-1.0.21-3.2.i586

> after running

uname -a

I have obtained the following result:

Linux romflt-linux 2.6.31.5-0.1-desktop #1 SMP PREEMPT 2009-10-26 15:49:03 +0100 i686 i686 i386 GNU/Linux

> after running

cat /etc/modprobe.d/50-sound.conf

I have obtained the following result:

options snd slots=snd-hda-intel

u1Nb.5JnQy4kmGO9:82801G (ICH7 Family) High Definition Audio Controller

alias snd-card-0 snd-hda-intel

I would also like to mention that when I ran the command /usr/sbin/alsa-info.sh, I had the following errors:

cat: /proc/asound/version: No such file or directory
grep: /proc/asound/cards: No such file or directory
cat: /proc/asound/cards: No such file or directory
cat: /proc/asound/modules: No such file or directory
ls: cannot access /dev/snd/*: No such file or directory
grep: /proc/asound/cards: No such file or directory
/usr/sbin/alsactl: save_state:1502: No soundcards found…
cat: /tmp/alsa-info.cbcteVgZ1Y/alsactl.tmp: No such file or directory

Thank you

OK, thanks. I note the 2.6.31.5 kernel (not updated) on a 32-bit openSUSE-11.2 install. Clearly the ALC269Q hardware audio codec on your Dell OptiPlex 380 is not working with alsa.

Do you have the sound switched ON in the BIOS ? Can you boot to the BIOS and check ?

Can you type as a regular user:

dmesg > dmesg.txt

and open dmesg.txt with a text editor and copy and paste its contents to PasteBin.be and press “dump” on that site, which will give you a URL indicating where the contents of your paste are posted. Please post here that URL. Just the URL.

I did a search on an ALC269Q on the alsa site and found nothing, but I did find entries for the ALC269: Search results - AlsaProject

Assuming sound is switched ON in the BIOS, I suspect you may need to udate the alsa driver, and possibly even the kernel.

Guidance for updating alsa driver is here: Alsa-update - openSUSE Note the version of alsa-driver-kmp-desktop you install is dependant on the kernel version you have in place. Also note that when updating alsa, alsa-plugins, alsa-devel, alsa-utils, alsa-oss, alsa-firmware and libasound2 you MUST be careful to ensure they are updated and you are not fooled into thinking they are updated when they are not. I put a couple of images on the “alsa-update wiki” to try help new users avoid making that mistake, as sooooooo many make that mistake. After updating alsa one MUST reboot.

Waiting for a response I had reinstalled openSuSE. Here are the new informations:

> after running lspci -v:

00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01)
Subsystem: Dell Device 0400
Flags: bus master, fast devsel, latency 0, IRQ 16
Memory at fe6fc000 (64-bit, non-prefetchable) [size=16]
Capabilities: [50] Power Management version 2
Capabilities: [60] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [70] Express Root Complex Integrated Endpoint, MSI 00
Capabilities: [100] Virtual Channel <?>
Capabilities: [130] Root Complex Link <?>
Kernel driver in use: HDA Intel

> after installing alsa-firmware I had ran /usr/sbin/alsa-info.sh; the link for the result is: http://www.alsa-project.org/db/?f=a3fd595233f8321f5241ccb4459180d47fe3d8cb;

> result for rpm -qa ‘alsa’:

alsa-1.0.21-3.2.i586
alsa-plugins-1.0.21-3.3.i586
alsa-utils-1.0.21-3.1.i586
alsa-firmware-1.0.20-3.2.noarch
alsa-oss-1.0.17-25.2.i586

> result for rpm -qa ‘pulse’:

libpulse-mainloop-glib0-0.9.19-2.3.i586
libpulse0-0.9.19-2.3.i586
libxine1-pulse-1.1.16.1-7.6.i586

> result for rpm -q libasound2:

libasound2-1.0.21-3.2.i586

> result for uname -a:

Linux linux-pme8 2.6.31.5-0.1-desktop #1 SMP PREEMPT 2009-10-26 15:49:03 +0100 i686 i686 i386 GNU/Linux

> result for cat /etc/modprobe.d/50-sound.conf:

options snd slots=snd-hda-intel

u1Nb.5JnQy4kmGO9:82801G (ICH7 Family) High Definition Audio Controller

alias snd-card-0 snd-hda-intel

I am waiting for new instructions. Should I follow the steps for upgrading alsa and the kernel?

Thank you[/size]

This time the script output is different. SIGNIFICANTLY different. That is suprising to me. Clearly something was wrong with your first install.

This second install is better.

I note this:

Card hw:0 ‘Intel’/‘HDA Intel at 0xfe6fc000 irq 16’
** Mixer name : ‘Realtek ALC269’**Simple mixer control ‘Master’,0
Mono: Playback 71 [82%] -12.00dB] [on]
Simple mixer control ‘Speaker’,0
Front Left: Playback 87 [100%] [0.00dB] [on]
Front Right: Playback 87 [100%] [0.00dB] [on]
Simple mixer control ‘PCM’,0
Front Left: Playback 0 [0%] -51.00dB]
Front Right: Playback 0 **[0%] **-51.00dB]

Your PCM at 0% is muting your sound. Turn that up to 100% and run the 3 speaker tests that are in the troubleshooting guide.

Note I am a volunteer. I have a regular job. Sometimes it can take me a day or two to respond. So if you keep changing things while waiting for a reply, then you invalidate my reply.

Anyway, see if you can get sound by increasing PCM to 100%. If that does NOT work, then try updating alsa. ONLY update alsa if you have no other choice.

Yes, I know that, and that’s why appreciate more your help. Thank you. Unfortunately, I was forced to reinstall the OS, I didn’t do it because I thought it will solve my problem.
Indeed, you were right, PCM volume was 0, but even if I change it to 100% I still have no sound.
I re-ran /usr/sbin/alsa-info.sh and I have to tell you that I have the same value for PCM.
I will try to upgrade alsa and I will let you know if it works.

Thank you again.

PS: I want you to know that I will appreciate the same your answer even if it will come after two days since my last reply.

Best regards.

OK, … when testing your sound, be certain to try EACH of those speaker tests (and the aplay test). Try as both a regular user and in a terminal with root permissions. If you can plug in a headset and try with that, then that would be good also.

You need to move that PM up to 100% and have it shown as being up. :slight_smile:

OK, good luck. Don’t forget what I noted about being certain you update and don’t be fooled into thinking you have updated when you have not.

ok. I have updated the drivers but the sound still doesn’t work.

I have to admit that I don’t know if I understood clearly what you wanted to say by

Don’t forget what I noted about being certain you update and don’t be fooled into thinking you have updated when you have not.

If you (oldcpu) or anybody else wants me to provide additional information just ask me to.

Thank you.

Yes, more information please.

Please provide output of:

rpm -qa '*alsa*'
rpm -qa '*pulse*'
rpm -q libasound2
rpm -qa '*kernel*'
uname -a
cat /etc/modprobe.d/50-sound.conf

and again run the diagnotic script

/usr/sbin/alsa-info.sh

and select the UPLOAD/SHARE option and then post here the URL it provides. Just the URL.

Please also confirm you have sound working in another operating system.

Thank you for your help

> the result for

rpm -qa '*alsa*'
alsa-utils-1.0.21-23.1.i586
alsa-firmware-1.0.20-11.1.noarch
alsa-1.0.22-57.1.i586
alsa-driver-kmp-desktop-1.0.22.1.20100323_2.6.31.5_0.1-5.1.i586
alsa-oss-1.0.17-53.1.i586
alsa-plugins-1.0.22-26.1.i586

the result for

rpm -qa '*pulse*'
libpulse-mainloop-glib0-0.9.19-2.3.i586
libxine1-pulse-1.1.16.1-7.6.i586
libpulse0-0.9.21-1.2.1.i586

the result for

rpm -q libasound2

libasound2-1.0.22-57.1.i586

the result for

rpm -qa '*kernel*'
kernel-desktop-2.6.31.5-0.1.1.i586
kernel-default-2.6.31.12-0.2.1.i586
linux-kernel-headers-2.6.31-3.4.noarch
kernel-pae-2.6.31.12-0.2.1.i586
kernel-firmware-20090821-4.1.noarch
kernel-debug-2.6.31.12-0.2.1.i586

the result for

uname -a
Linux romflt-linux 2.6.31.5-0.1-desktop #1 SMP PREEMPT 2009-10-26 15:49:03 +0100 i686 i686 i386 GNU/Linux

the result for

cat /etc/modprobe.d/50-sound.conf
options snd slots=snd-hda-intel
# u1Nb.5JnQy4kmGO9:82801G (ICH7 Family) High Definition Audio Controller
alias snd-card-0 snd-hda-intel

> the link to the report for /usr/sbin/alsa-info.sh si: http://www.alsa-project.org/db/?f=b2136a5dfa46c3f0028cd71a602a909f2cc518c5

i had to deselect pulseaudio in the sound settings
also try to change: systemsettings

can you please give me more details mik334?

Thank you

I found PulseAudio unde System Settings but unfortunately I cannot delete it nor deactivate it. How did you do it?

not there but in yast2 - sound - other - do not support pulseaudio

in yast2 -> sound -> other I only have “Pulse Audio configuration” but when I click on it it gives me an error message that says: “PulseAudio is not installed or cannot be configured”. Any other ideas?

Thank you

make sure to have all ( except devel packages ) of alsa and pulseaudio installed. ( with yast2 )
could be the alsa-pulse plugin i believe?

Can you please be more specific?

Thank you

For PulseAudio I have installed the following components:

> libpulse-mainloop-glib0
> libpulse0
> libxine1-pulse

alsa-plugins-pulse - Pulseaudio Plug-In for the ALSA Library

As far as i remember i had to install this and set to “not support pulse” well I’ve sound now. rotfl! pulseaudio is not ready for prime time…

82801I (ICH9 Family) HD Audio Controller
Als Soundkarte Nummer 0 konfiguriert
Treiber snd-hda-intel