Sound dissappeared

Hi everybody. First problem was that laptop speakers didn’t mute when connecting a headphones(sound coming from both laptop speakers and headphones), then tried to solve it and sound disappeared:( Can somebody help me on this? Using openSUSE 11.1. The same thread was on mandriva.

I might be able to help …

First, you could try working your way thru the openSUSE audio troubleshooting guide:
SDB:AudioTroubleshooting - openSUSE

Ensure you moved both master and PCM volume and headphone controls up in your mixer to 95% when testing sound. After you have confirmed basic sound you can move those down to a lower level to remove distortion.

To test your sound I recommend you try each of these sound tests (as both a regular user, and with root permissions) to see if one might work:
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 75%. Note the test for surround sound is different.

If that test yields errors, try instead this more simple test: speaker-test -c2 -l5 -twavTry as both a regular user and with root permissions. Ideally, you should hear (in one of those two tests, and not necessary both) a lady’s voice saying ‘FRONT RIGHT’,‘FONT LEFT’ five times.

If you have no success with the audio troubleshooting guide, then I will need more information if I am to make a recommendation … So can you provide more very detailed information so a good recommendation can be given? In the case of openSUSE-11.1, you can do that, with your PC connected to the internet, by opening a gnome-terminal or a kde konsole and typing with root permissions twice:/usr/sbin/alsa-info.shthe first time it will update the diagnostic script, and the second time that will run the 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.

If not openSUSE-11.1 you will have to use the method described in the troubleshooting guide to run the script.

Also, please to provide additional information, 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
rpm -q libasound2
uname -a
cat /etc/modprobe.d/sound

Link: http://www.alsa-project.org/db/?f=94e416302157f465cbd63bb1c53cd8c95e3dd64c

rpm -qa | grep alsa:

alsa-oss-1.0.17-1.37
alsa-utils-1.0.18-6.4
alsa-plugins-pulse-1.0.18-6.12
alsa-driver-kmp-default-1.0.19.20090306_2.6.27.7_9.1-3.1
alsa-tools-1.0.18-1.13
alsa-1.0.18-8.7
alsa-plugins-jack-1.0.18-6.12
alsa-plugins-1.0.18-6.12
alsa-firmware-1.0.17-1.42
alsa-driver-unstable-kmp-default-1.0.19.20090306_2.6.27.7_9.1-2.1

rpm -qa | grep pulse:

pulseaudio-0.9.12-9.6
pulseaudio-module-gconf-0.9.12-9.6
pulseaudio-module-lirc-0.9.12-9.6
libpulse-mainloop-glib0-0.9.12-9.6
alsa-plugins-pulse-1.0.18-6.12
libpulse-browse0-0.9.12-9.6
pulseaudio-utils-0.9.12-9.6
pulseaudio-module-zeroconf-0.9.12-9.6
pulseaudio-module-jack-0.9.12-9.6
libxine1-pulse-1.1.15-20.8
libpulse0-0.9.12-9.6
libpulsecore4-0.9.12-9.6
pulseaudio-esound-compat-0.9.12-9.6
pulseaudio-module-x11-0.9.12-9.6
pulseaudio-module-bluetooth-0.9.12-9.6

rpm -q libasound2:

libasound2-1.0.18-8.7

uname -a:

Linux linux-mmbw 2.6.27.7-9-default #1 SMP 2008-12-04 18:10:04 +0100 i686 athlon i386 GNU/Linux

cat /etc/modprobe.d/sound:

options snd-hda-intel model=targa-dig
options snd slots=snd-hda-intel
# 5Dex.IOFetRyhSn6:SBx00 Azalia (Intel HDA)
alias snd-card-0 snd-hda-intel

sound OK!!!:slight_smile: but no pc speaker mute when headphones are connected:(

OK, … there are some things wrong with your PCs setup, and this may explain why your PC speaker mute does not work when the headphones are attached.

First, I note this:

You are lucky here to have any sound. You have installed both the nominal kmp driver and the unstable kmp. Thats a no no. Only install the unstable if asked by a developer. You need to remove that!! (its in red). Please remove alsa-driver-unstable-kmp-default now !!

Next you have mixed nominal alsa rpms with the 1.0.19 alsa. Thats also a NO NO. It could easily break your sound. If you are going to install 1.0.19 of alsa, then you also need to install the regular 1.0.19 for alsa, alsa-tools, alsa-oss, alsa-plugins-pulse, alsa-plugins-jack, alsa-plugins, alsa-firmware … So please, open a gnome terminal or a kde konsole and type ‘su’ (no quotes - enter root password when prompted) and with your PC connected to the internet copy and paste the following six zypper commands to the same terminal or konsole and and execute them in that sequence, one at a time:

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

Then go into /etc/modprobe.d/sound and remove the line
“options snd-hda-intel model=targa-dig”
thats the wrong line for your hardware !!

Then reboot your PC and test your sound. Check your mixer.

If that does not work, then edit your /etc/modprobe.d/sound file, but insteaad of “targa-dig” select from this list:

ALC861VD/660VD
==============
  3stack	3-jack
  3stack-dig	3-jack with SPDIF OUT
  6stack-dig	6-jack with SPDIF OUT
  3stack-660	3-jack (for ALC660VD)
  3stack-660-digout 3-jack with SPDIF OUT (for ALC660VD)
  lenovo	Lenovo 3000 C200
  dallas	Dallas laptops
  hp		HP TX1000
  asus-v1s	ASUS V1Sn
  auto		auto-config reading BIOS (default)

ie to try “3stack-660-digout” you would change your /etc/modprobe.d/sound file to:

options snd-hda-intel model=3stack-660-digout
options snd slots=snd-hda-intel
# 5Dex.IOFetRyhSn6:SBx00 Azalia (Intel HDA)
alias snd-card-0 snd-hda-intel

then restart your alsa sound driver with su -c ‘rcalsasound restart’ and enter root password when prompted, then restart your mixer and test your sound and headset.

If “3stack-660-digout” does not work, try a different option from the list I provided, where that list comes from the HD-Audio-Models.txt file for 1.0.19 of alsa.

then restart your alsa sound driver with su -c ‘rcalsasound restart’ and enter root password when prompted, then restart your mixer and test your sound and headset.

If “3stack-660-digout” does not work, try a different option from the list I provided, where that list comes from the HD-Audio-Models.txt file for 1.0.19 of alsa.

how to restart mixer??

If running KDE, just open a konsole as a regular user and type: kmix

If running gnome, … hmmm … ask a gnome user :slight_smile: … maybe alsamixer ? … I don’t know … I don’t use gnome.

Hi every one,
Thanks Oldcpu for advice, I have ALC660VD driver on my ATI SB intel HDA card in Asus FK3a laptop. After Opensuse 11.2 64bit install sound was just perfect, sound switch to headphones worked with no trouble (which was not the case in OS11.1). But i messed up something on my system and sound was completely gone.
I found your post very useful. The option “options snd-hda-intel model=3stack-dig”, was the one that worked. Uch:shame: i was very close to total fresh reinstall of OS 11.2.
Thanks