no sound after trying realtek hd audio install

hello,
I’ve installed OpenSuse 11 on my PC. Almost everything works fine but my mic was not working so I tried installing realtek hd audio driver that was supposed to work. result is the PC doesn’t play any sound anymore.
I’ve been googling quite a lot but couldn’t find any suitable answer…

tried
speaker-test -Dplug:front -c2 -l5 -twav
answer is
“ALSA lib pcm.c:2144:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.front
Playback open error: -2,Aucun fichier ou dossier de ce type”

tried
alsaconfig
answer is
“no supported PnP or PCI card found”

the following might help you:
linux-o8re:/home/matthieu # rpm -qa | grep alsa
alsa-oss-1.0.15-48.1
alsa-tools-1.0.16-47.1
alsa-utils-1.0.16-35.1
alsa-firmware-1.0.16-24.1
alsa-plugins-1.0.16-57.1
kalsatools-1.5.0-544.1
alsa-tools-gui-1.0.16-47.1
alsa-1.0.16-39.1
linux-o8re:/home/matthieu # rpm -qa | grep pulse
linux-o8re:/home/matthieu # rpm -q libasound2
libasound2-1.0.16-39.1
linux-o8re:/home/matthieu # uname -a
Linux linux-o8re 2.6.25.11-0.1-pae #1 SMP 2008-07-13 20:48:28 +0200 i686 i686 i386 GNU/Linux
linux-o8re:/home/matthieu # cat /etc/modprobe.d/sound

options snd slots=snd-hda-intel

u1Nb.vhmk7fPeOp7:82801I (ICH9 Family) HD Audio Controller

alias snd-card-0 snd-hda-intel

I’m a beginner with linux but I like to learn.

thanks for any help

… < sigh > … I have read of more users failing with the realtek audio driver than users succeeding … if I may be so bold to suggest (ie close the barn door after the horse is gone) next time before install a custom driver, … maybe ask for the view of those on the forum as to the relative merits of such a driver?

Reference your audio, I have no idea what the realtek driver did, so I do not know if I can help.

I would need more information to try. Perhaps you could provide the output URL provided by running the following diagnostic script:

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

when prompted for password, enter your root password. Try to accurately estimate the number of jacks/plugs on your pc (and answer when propmted). For example, my PC has 3 I/O plugs (microphone, line-in, line-out). When the script is complete, it will provide you a URL. Please post that output URL here.

I am having the same troubles as the other poster is, so I ran that script, which gave me the following URL:
tsalsa.txt - nopaste.com (beta)

I had sound trouble once back a couple of versions. Try the following commands, as root:
cd /etc
rcalsasound start

IF is says it is already running OR starts then try the following:
set_default_volume -f
aplay /usr/share/sounds/alsa/test.wav

IF you hear something then you’ll know that it is really working and you’ll just have to set your volume if/when you start up and don’t have any sound.

The-Oz, you are having a sound problem, but as near as I can tell it is NOT THE SAME as the “other poster”. … Far from it. Other than the symptom that you have no sound, I do not see any similarity.

Your sound hardware is not even recognized. You need to figure out why. Is sound switched ON in your BIOS ?

I need you to provide the following info (in addition to the script) … copy and paste the following one line at a time and paste here the output:
rpm -qa | grep alsa
rpm -qa | grep pulse
rpm -q libasound2
uname -a
cat /etc/modprobe.d/sound

also run in a konsole / gnome-terminal
lspci
and paste to general pastebin - simplified internet collaboration the output and submit it, and provide here the URL.

and also reboot, and immediately after reboot run in a konsole / gnome-terminal
dmesg > dmesg.txt
and open up dmesg.txt with a text editor and paste its output to general pastebin - simplified internet collaboration the output and submit it, and provide here the URL.

Its also possible the “rcalsasound restart” recommendation (run with root permissions) as recommended by chucktr may help. But it may not.

hello there,

thanks for your quick response old cpu… I’ve been doing a bit of house cleaning behind the PC…
so here is the output of your script:
tsalsa.txt - nopaste.com (beta)

and something new: one new record appeared in my menu.lst and is proposed by GRUB (!).

  • the option “(pae)” runs Suse without sound (that’s the one I’ve used for you script)
  • the option “(default)” runs Suse with sound (but no microphone).
    I’ve checked the options in menu.lst but can’t find any difference…
    thanks

Thats not surprising. Alsa is typically built for a specific kernel. the two “options” you refer to load different kernel versions. The kernel is the “heart” of your operating system (its the lowest level code that connects the software to the hardware). Take a look at openSUSE concepts:
Concepts - openSUSE

You need to decide which of these “options” (as you call it) you are going to use. I can help with one, … not both simultaneous.

strange thing is that the kernel version # is exactly the same. but maybe the “pae” whatever was installed when I’ve tried to reinstall ALSA…
well, anyway I guess I’ll use the “default” because it emits sounds…
I’ve tested the microphone and this one still didn’t seem to input anything until I’ve set “capture” to the max in Kmix. Now I can hear my own voice in the speakers when talking in the microphone (kind of echo). However, the microphone test of Skype doesn’t playback what I say, even if I shout.

OK, if you are going to use “default”, can you run that script again, because when you ran it last, you had booted to the “pae” kernel.

also, can you provide the other information that I requested here:
no sound after trying realtek hd audio install - openSUSE Forums

Note alsa drivers are built for a specific kernel, so its quite likely that alsa drivers built for a “default” kernel will NOT function properly with a “pae” kernel. … I don’t know how to make it more clear than that.

ok, so here is the first set of scripts:
~> rpm -qa | grep alsa
alsa-oss-1.0.15-48.1
alsa-tools-1.0.16-47.1
alsa-utils-1.0.16-35.1
alsa-firmware-1.0.16-24.1
alsa-plugins-1.0.16-57.1
kalsatools-1.5.0-544.1
alsa-tools-gui-1.0.16-47.1
alsa-1.0.16-39.1
~> rpm -qa | grep pulse
matthieu@linux-o8re:~> rpm -q libasound2
libasound2-1.0.16-39.1
~> uname -a
Linux linux-o8re 2.6.25.11-0.1-default #1 SMP 2008-07-13 20:48:28 +0200 i686 i686 i386 GNU/Linux
~> cat /etc/modprobe.d/sound

options snd slots=snd-hda-intel

u1Nb.vhmk7fPeOp7:82801I (ICH9 Family) HD Audio Controller

alias snd-card-0 snd-hda-intel

lspci says “command not found”

the alsa script says: tsalsa.txt - nopaste.com (beta)

and pastebin.ca does not answer for dmesg…

if you really need this last one, I’ll try later or I can copy part of the file in a post.

thanks

Thats because you need to run it with root permissions.

Type: su -c lspci
and enter root password when prompted.

I’ll checkout the rest of your post soon.

There are many paste sites … instead use one of PasteBin.be or Nopaste or New - Pastie

thanks for the clues…
so the lspci output is there: PasteBin.be
and the dmesg output is there: PasteBin.be

thxs

I do not use Skype, so I can’t help you there, … but I recommend you test your abiltity to record sounds with something simple, … like arecord. For example type:
arecord -d 10 myrecording.wav
where “-d 10” specifies a 10 second recording. Then try to play that back with:
aplay myrecording.wav

Check your mixer carefully! I note this:

Amixer contents for card 0 [Intel] _____________________________________
amixer set ‘Front Mic’,0 100%,100% on
amixer set ‘Front Mic Boost’,0 100% 100%
amixer set ‘Mic’,0 100%,100% on
amixer set ‘Mic Boost’,0 100% 100%
amixer set ‘IEC958’,0 off Capture off
amixer set ‘IEC958 Default PCM’,0 on
amixer set ‘Capture’,0 Capture 31 100% off Capture 31 100% off
amixer set ‘Capture’,1 Capture 0 0% off Capture 0 0% off
amixer set ‘Digital’,0 Capture 120 100% Capture 120 100%
amixer set ‘Input Source’,0 Items: ‘Mic’ ‘Front Mic’ ‘Line’ ‘CD’ Item0: ‘Front Mic
amixer set ‘Input Source’,1 Items: ‘Mic’ ‘Front Mic’ ‘Line’ ‘CD’ Item0: ‘Mic

… you have IEC958 OFF (and its capture OFF). Is your Mic a digital Mic ? also, you have capture OFF in other places. You also have a “Mic” selected but not your “Front Mic” (and visa versa). Have you chosen the correct Mic? I can only ask the questions … not answer.

If necessary, we can try an edit to your /etc/modprobe.d/sound file. It appears you have an ALC883. In which case options we can try are one of the following:

	ALC883/888
	  3stack-dig	3-jack with SPDIF I/O
	  6stack-dig	6-jack digital with SPDIF I/O
	  3stack-6ch    3-jack 6-channel
	  3stack-6ch-dig 3-jack 6-channel with SPDIF I/O
	  6stack-dig-demo  6-jack digital for Intel demo board
	  acer		Acer laptops (Travelmate 3012WTMi, Aspire 5600, etc)
	  acer-aspire	Acer Aspire 9810
	  medion	Medion Laptops
	  medion-md2	Medion MD2
	  targa-dig	Targa/MSI
	  targa-2ch-dig	Targs/MSI with 2-channel
	  laptop-eapd   3-jack with SPDIF I/O and EAPD (Clevo M540JE, M550JE)
	  lenovo-101e	Lenovo 101E
	  lenovo-nb0763	Lenovo NB0763
	  lenovo-ms7195-dig Lenovo MS7195
	  haier-w66	Haier W66
	  6stack-hp	HP machines with 6stack (Nettle boards)
	  3stack-hp	HP machines with 3stack (Lucknow, Samba boards)
	  6stack-dell	Dell machines with 6stack (Inspiron 530)
	  mitac		Mitac 8252D
	  auto		auto-config reading BIOS (default) 

alright, after having set “capture 0” to on, the microphone is finally hearing something.
I’ve played a bit to try and improve recording quality but it’s honestly crap…

looking at the sound file, it contains:
options snd slots=snd-hda-intel

u1Nb.vhmk7fPeOp7:82801I (ICH9 Family) HD Audio Controller

alias snd-card-0 snd-hda-intel

do you propose to erase these 3 lines and replace by the options of your previous post?

thanks for your help, we’re getting close (and I know this must be boring for you…)

Maybe the laptop mic is bad no matter what? … anyway, … we can try a bit more tuning to see if it helps (it may not).

Not exactly. I propose adding a 4th line. Change that file (you will need to do this with root permissions) to be as follows:

**options snd slots=snd-hda-intel

u1Nb.vhmk7fPeOp7:82801I (ICH9 Family) HD Audio Controller

alias snd-card-0 snd-hda-intel
options snd-hda-intel model=6stack-dell**

and restart your alsa with
su -c 'rcalsasound restart’
and test your audio. Don’t forget to check your mixer.

If “6stack-dell” does not work, then replace “6stack-dell” with “auto” and try again (retart alsa as before).

If “auto” does not work, you can try “6stack-dig” and restart alsa … etc … and try all the other various options. I think you “catch the drift” … :wink:

Good luck!

this one seems to work fine to me!
options snd-hda-intel model=6stack-dell

thanks a lot for your help oldcpu
and for the number of things I’ve learned (the practical way) too…