No sound in Suse11/Kde4

Hello
I recently installed OpenSuse11 and KDE4 onto my computer (working 100% fine in 10.3 and Kde3.5) and now I have no sound.

It seems in Yast2 > Hardware > Sound, the card is recognised but no matter what I do, I just can not get any sound.

(Before anyone says anything, yes I have checked the speakers are connected, turned on and not on “mute” in kmix)

I don’t know what information to post but I am online for the rest of tonight and can post anything you may need.

The soundcard is a Soundblaster 2 Audigy ZS, old by today’s standards but does the job for me :wink:

Thank you as always in advance for any assistance!

Understand, … but please, … can you check your mixer one more time … per this guide:
[Solution] Creative Audigy 1/2 + 11.0 + KDE/GNOME + ALSA - openSUSE Forums](http://forums.opensuse.org/hardware/386773-solution-creative-audigy-1-2-11-0-kde-gnome-alsa.html)

oldcpu, you are my hero!
I should have come out of noob mode and searched the forum lol but i think my brain was too fried with clicking about to no avail hahaha!!!

Thank you again!!

I also do not have sound in my new installation of opensuse 11.0. I have been using 10.3 ever since it was released with no problems. This laptop has both versions installed. My 10.3 has both the wireless and sound working, but when I boot into 11.0 I have no sound at all. Prior to configuring the wireless with NDISWRAPPER the sound was working. It seems to be some sort of conflict with wireless and sound. Currently it indicates I have no sound card, however I can see the details of the “detected” sound card in YAST2 under hardware. I’ve gotten all the updates complete and have been working this problem since 11.0 was available. My laptop is a Compaq 2598US and worked like a charm with 10.3. Does anyone have a solution to this problem? I’m currently using KDE 3.5 because I thought the problem may have been with the KDE 4 mixer, but it wasn’t. KDE 3.5 mixer says no sound card and no sliders available to configure. When I try to configure the sound card manually in YAST2 it locks up the computer and I have to reboot.

I would like to try help.

I searched the openSUSE HCL for laptops to see if you had entered sound configuration details/information on your laptop there, but you had not, so I am going to have to ask a bunch of questions.

My reference for the questions is the openSUSE audio troubleshooting guide:
SDB:AudioTroubleshooting - openSUSE

With your laptop connected to the internet (assuming you can get a wired connection) can you run a diagnostic script that will post information on your laptop’s hardware/software audio configuration to a pastebin site. Specifically, copy and paste the following line to a konosle:

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

When prompted for a password enter the root password. When it is complete it will give you a URL. Please paste that URL here.

Also, please run the following commands in a konsole and paste their output here:**
rpm -qa | grep alsa
rpm -qa | grep pulse
rpm -q libasound2
uname -a
cat /etc/modprobe.d/sound**

With that information, I may be able to make a recommendation that will help.

Using the link you provided, it went through various screens of questions, then froze when it reached this point:

lsof: status error on /dev/dsp*: No such file or directory
cat: /proc/asound/card0/pcm0p/info: No such file or directory
amixer: Mixer attach default error: No such file or directory

I’ll run the remainder of your suggestions and post them.

Here is the output after running the remainder of those commands:

sgbrockman@laplinux11:~> rpm -qa | grep alsa
alsa-utils-1.0.16-35.1
alsa-plugins-1.0.16-57.1
alsa-1.0.16-39.1
alsa-oss-1.0.15-48.1
sgbrockman@laplinux11:~> rpm -qa | grep pulse
sgbrockman@laplinux11:~> rpm -q libasound2
libasound2-1.0.16-39.1
sgbrockman@laplinux11:~> uname -a
Linux laplinux11 2.6.25.9-0.2-pae #1 SMP 2008-06-28 00:00:07 +0200 i686 i686 i386 GNU/Linux
sgbrockman@laplinux11:~> cat /etc/modprobe.d/sound

options snd slots=snd-ali5451

H0_h.z99F9d4RLw6:M5451 PCI AC-Link Controller Audio Device

alias snd-card-0 snd-ali5451
sgbrockman@laplinux11:~>

Hmmm… without the script, its hard to make a good recommendation. Try this other script:

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

and if it completes, post the URL that it provides here.

OK, thats consistent with what I see a Gentoo user (who has a Compaq 2598us), where that user noted the audio is an ALi M5451 which uses a snd-ali5451.

I searched the ALSA-Configuration.txt file, and found this:

  Module snd-ali5451
  ------------------

    Module for ALi M5451 PCI chip.

    pcm_channels    - Number of hardware channels assigned for PCM
    spdif           - Support SPDIF I/O
    		    - Default: disabled

    This module supports one chip and autoprobe.

    The power-management is supported. 

Which doesn’t say much.

Pending confirmation from a review of the diagnostic script, I’m thinking the best thing to do is try to update to the latest alsa. There are rpms available for an easy update of alsa. I can help you there.

general pastebin - sgbrockman - post number 1077125

I’m trying to figure the above out, … so I’m checking the syntax for alsa modules:

http://svn.opensuse.org/svn/yast/trunk/sound/data/alsa-module-syntax
snd-ali5451	index	enable:(enable),allows:{{0,7}},unique,skill:required,dialog:list
snd-ali5451	id	enable:(enable),unique
snd-ali5451	enable	allows:{{0,Disabled},{1,Enabled}},default:0,dialog:check
snd-ali5451	pcm_channels	enable:(enable),default:32,allows:{{1,32}}
snd-ali5451	spdif	enable:(enable),allows:{{0,Disabled},{1,Enabled}},default:0,dialog:check 

I’m hoping we wont have to change that … for now maybe just “file it away”.

Hmm… I just noticed, … no “alsa-firmware”. Please install alsa-firmware, and then reboot, and test your sound.

If that doesn’t work, we can update alsa (as there is an updated driver for your Ali5451 on the alsa (and openSUSE cutting edge alsa rpm) site) in 1.0.17 of alsa.

Ok, searching alsa website for your ali5451 I see there are updates in 1.0.17 of alsa:
Search results - AlsaProject for ali5451

So if installing alsa-firmware doesn’t work then I recommend you update your alsa.

So based on this (and your alsa rpm query) please copy and paste the following 6 commands (one at a time in sequence) into a konsole with root permissions:

zypper ar http://download.opensuse.org/repositories/multimedia:/audio/openSUSE_11.0/ multimedia
zypper install alsa alsa-utils alsa-tools alsa-firmware alsa-plugins alsa-oss libasound2
zypper rr multimedia
zypper ar http://download.opensuse.org/repositories/multimedia:/audio:/KMP/openSUSE_11.0_Update/ multimedia
zypper install alsa-driver-kmp-pae
zypper rr multimedia

Then reboot your pc and test your sound.

I tried all the suggestions and finally ended up updating to the latest ALSA. Still no sound though. I tried manually configuring my sound card in YAST2 and locked up the computer again. My KMIX doesn’t show any sliders, just and empty window.

sgbrockman@laplinux11:~> rpm -qa | grep alsa
alsa-driver-kmp-pae-1.0.16.20080719_2.6.25.9_0.2-1.1
alsa-oss-1.0.17.git20080715-2.1
alsa-firmware-1.0.16.92.git20080617-3.1
alsa-utils-1.0.17.git20080715-1.3
alsa-driver-unstable-kmp-pae-1.0.16.20080717_2.6.25.9_0.2-1.1
alsa-plugins-1.0.17.git20080717-2.1
alsa-1.0.17.git20080717-1.1
alsa-tools-1.0.17.git20080715-1.3
sgbrockman@laplinux11:~>

Please also try running in a konsole with root permissions:
alsaconf
… and see if you can configure your sound with that.

OK, but maybe with the up to date alsa we can get more information on your sound device.

With your laptop connected to the internet (assuming you can get a wired connection) can you run a diagnostic script that will post information on your laptop’s hardware/software audio configuration to a pastebin site. Specifically, copy and paste the following line to a konosle:

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

When prompted for a password enter the root password. When it is complete it will give you a URL. Please paste that URL here.

You can also try this other script:

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

and if it completes, post the URL that it provides here.

ALSACONF failed and locked up the computer. Here’s the first output for tsalsa:

tsalsa.txt - nopaste.com (beta)

The alsa-info.sh appeared to run (didn’t detect a soundcard though), when finished it appeared to finish correctly, however it didn’t give me a URL like it was supposed to. Here’s the last lines from my terminal window.

Your ALSA information is located at
Please inform the person helping you.

laplinux11:/home/sgbrockman #

Did you do a complete copy of that, or did you copy it in pieces? I find that some users have their terminals setup with specific colours, such that they can not see the colour text that represents the URL. But if one drags the mouse over the “invisible” text, and then paste it, the text will become apparent.

Can you type:
dmesg > dmesg.txt
then open the text file “dmesg.txt” and paste it on general pastebin - simplified internet collaboration, submit it, and post the URL pastebin provides here.

Can you confirm you installed from a good CD/DVD? I assume you installed from a downloaded CD/DVD.

Did you confirm the md5sum was correct when comparing the md5sum on the openSUSE web site against the md5sum calculated on your hard drive of the CD/DVD iso file you downloaded?

Also, if installing from CD, did you perform the “media check”? If not, please re-insert the installation CD, and do the media check now.