Sound only working during YAST-Configuration

Hi There,
I have a strange problem configuring my soundcard. My System:

  • lenovo 3000 n200
  • opensuse 11.0 with Kernel 2.6.25.11-0.1-pae
  • soundcard recognised as “82801H (ICH 8 Family) HD Audio
    Controller”

When I open YAST → Hardware → Sound, configuring my soundcard “82801H (ICH 8 Family) HD Audio Controller” with advanced setup, I have to add model = lenovo. When I test my configuration clicking the Test-Button (after clicking next), the Sound works well. If I keep the YAST-Window where it is at the moment, I can go to the Console and do “speaker-test -c2 -Ddefault -l5 -twav” (as root): “left - right - left…” everything works fine. Even in the Control-Center → Sound & Multimedia → Sound-System I can Test the sound (as normal user) and it works fine. :slight_smile:

But as soon as I confirm the changes in Yast, the sound is dead again. :’(

When I go back to reconfigurate the Soundcard in Yast, all configurations (model=lenovo, singel_cmd=0, position_fix=0) are lost and its values are empty… …YAST doesn’t saving anything >:(

Can anyone help me please?

It reads like YaST is not doing things properly. … Lets try this without yast. Add the following line as a last line in your /etc/modprobe.d/sound file:
options snd-hda-intel model=lenovo … then save the change and restart your sound by typing in a konsole / gnome-terminal:
su -c ‘rcalsasound restart’ and test your sound.

After getting your sound working, if you find after booting, your sound is not keeping its default value properly, then adjust your sound to the correct level and then save the level by typing in a konsole / gnome-terminal:su -c ‘alsactl store’

and if the above does not work, please do the following to provide more information, … ie with your PC connected to the internet, please copy and paste the following into a gnome-terminal / konsole:

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

when prompted for a password please enter your root password. Please try to accurately answer the question on the number of plugs/jacks on your PC (for example my PC has 3 i/o plugs/jacks). When the script completes it will pass you a URL. Please post that URL here.

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

Good luck!

Thanks oldcpu for your help so far, but I still can’t get my soundcard configured. I tried adding the “options snd-hda-intel model=lenovo” to my /etc/modprobe.d/sound. Now it looks like

options snd slots=snd-hda-intel
# u1Nb.cOzUFd_gaWF:82801H (ICH8 Family) HD Audio Controller
alias snd-card-0 snd-hda-intel
options snd-hda-intel model=lenovo

…there were no errors restarting alsasound (su -c ‘rcalsasound restart’)… …but it’s still not working…

the tsalsa-script gives the following information (I have two audio-plugs on my laptop but additionally one build in mic… …I answered to have 2 plugs… …not sure, if it’s right:

tsalsa.txt - nopaste.com (beta)

The other commands:


# rpm -qa | grep alsa
alsa-oss-1.0.17.git20080715-2.9
alsa-utils-1.0.16-35.1
java-1_6_0-sun-alsa-1.6.0.u7-1.1
alsa-1.0.17.git20080901-1.1
alsa-firmware-1.0.17.git20080617-2.1
alsa-plugins-1.0.17.git20080827-1.

# rpm -qa | grep pulse
rpm -qa | grep alsa

# rpm -q libasound2
libasound2-1.0.17.git20080901-1.1

# uname -a
Linux linux-dc5w 2.6.25.11-0.1-pae #1 SMP 2008-07-13 20:48:28 +0200 i686 i686 i386 GNU/Linux


Hope you can give me a hint what to try next.:\

Thanks again!

Thanks, that may help, but first …

It looks like you attempted to update alsa to 1.0.17. But if you do that, you need alsa-driver-kmp-pae, which I do not see installed.

So, send the following 6 zypper commands. They are basically in two groups, where the first group of 3 updates (possibly) the apps you already have, and the second group of 3 will update alsa-driver-kmp-pae. Its possible you will get a warning message with the first 3 saying the application is already installed. Thats OK, send all 6 commands in sequence anyway.

First open a gnome-terminal / konsole, and type “su” to get root permissions (enter root password when prompted) and then copy and paste the following in sequence, and run them one at a time:

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

Then reboot your PC, and try test your sound again. …

IT WORKS!! Thank you very much!

That was the right hint with the missing “alsa-driver-kmp-pae”. I am wondering, why YAST didn’t suggest to install it. Isn’t there a dependency on the alsa-driver to be solved?

Never mind… …Thanks again for your great help!!

Great! Congratulations.