Soundcard Settings on an Realtek hda-intel chip (SuSE 11.0)

I have the following Problem:
In my Laptop (LG E500) there is an Realtek HD-Sound Chip. It works right out of the box. But i couldn’t disable the integrated speakers by default.
In older Versions of SuSE I just have to go to Yast -> Sound, and give there the option “model=laptop-eapd”, then I was able to switch the internal speakers off via Kmix (Headphone Switch).

In SuSE 11, when i enter this value, Yast restarts the soundserver directly after I entered the value, and go back to the “overview” of the installed cards. At this point, the driver seems to be loaded correct, i’m able to switch speakers off. But when I quit Yast now, settings will be stored and Soundserver will be restartet again - and - all Options are gone ;(

Also adding “model=laptop-eapd” to /etc/modprobe.d/sound doesn’t work any longer (as it does in 10.x), restarting of Alsa failes, and i get lots of “unknown Symbol”-Messages in dmesg…

Maybe anyone has the same problem or an solution?

terward, I note the information you provided here in this thread: terward’s piggy backed post on someone else’s sound problem

terward, please, can you work your way through the audio troubleshooting guide:
SDB:AudioTroubleshooting - openSUSE

In particular, if you have no luck there, then please post here:

a. the output URL(s) generated by running the audio troubleshooting guide’s two diagnostic scripts:
Scripts_to_run_to_obtain_detailed_information

b. the output of:
rpm -qa | grep alsa
rpm -qa | grep pulse
rpm -q libasound2
uname -a
cat /etc/modprobe.d/sound

Thankyou.

I don’t know if the troubleshooting guide is the right place, because the syntax in /etc/modprobe.d/sound is slightly different in SuSE 11 and the guide (see below), maybe that’s also the point, but i’m wondering that yast also doesn’t do the job (it also doesn’t change that file)…

The URL’s from the scripts:
general pastebin - alex - post number 1052444
tsalsa.txt - nopaste.com (beta)

alex-laptop:/home/alex/Documents/Hardware/alsa_suse11 # rpm -qa | grep alsa
alsa-oss-1.0.15-48.1
alsa-plugins-1.0.16-57.1
alsa-utils-1.0.16-35.1
alsa-1.0.16-39.1

alex-laptop:/home/alex/Documents/Hardware/alsa_suse11 # rpm -qa | grep pulse

alex-laptop:/home/alex/Documents/Hardware/alsa_suse11 # rpm -q libasound2
libasound2-1.0.16-39.1
alex-laptop:/home/alex/Documents/Hardware/alsa_suse11 # uname -a
Linux alex-laptop 2.6.25.5-1.1-pae #1 SMP 2008-06-07 01:55:22 +0200 i686 i686 i386 GNU/Linux

alex-laptop:/home/alex/Documents/Hardware/alsa_suse11 # cat /etc/modprobe.d/sound

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

As I mentioned before - when I load the driver via modprobe snd-hda-intel model=xxx", it works perfect, so I think it’s a problem of the SuSE11 alsa-skripts, not a Problem with alsa itself…

Thank’s a lot, Alex

Here is what I learned from your previous posts… your scripts told me that you have an ALC883 codec in your Microstar E500-SP13G laptop. Searching on the alsa site for the ALC883, I see there was a recent update in alsa 1.0.17RC1 which may or may not help, if you upgrade your alsa.
Search results on ALC883 - AlsaProject

I noted in the ALSA-Configuration.txt file (and there is a copy of this configuration guidance file on your openSUSE install, and hence on your hard drive), that for the ALC883 :

	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)

I see your setting of “laptop-eapd” there. … Its possible some of the other codes might work, but why not try a hand edit to your /etc/modprobe.d/sound file with:

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

then restart your sound from an xterm/konsole with root permissions by typing: rcalsasound restart
and test your sound.

and if that doesn’t work, then back it up, and try a more conventional /etc/modprobe.d/sound file:

options snd-hda-intel enable=1 index=0 model=laptop-eapd
# u1Nb.Tpl9SMkJSdD:82801H (ICH8 Family) HD Audio Controller
alias snd-card-0 snd-hda-intel 

then restart your sound from an xterm/konsole with root permissions by typing: rcalsasound restart
and test your sound.

If that doesn’t work, you could try some different codes OTHER than “laptop-eapd”. … And if that doesn’t work, you could try upgrade to 1.0.17RC2 of alsa … the links in the audio troubleshooting guide will direct you to zypper commands to do that. … I’m not convinced the 1.0.17RC2 will work for you, as when I compare the ALSA-Configuration.txt files between 1.0.16 and 1.0.17RC2 I note under the ALC883 that 6stack-hp model was removed and clevo-m720 and fujitsu-pi2515 models were added … neither of which are specific to your laptop.

Good luck.

I forgot to mention in my previous post. … you may wish to install alsa-firmware, and then reboot your PC, BEFORE you try any of the above post ideas.

I know i’m doing a double post right here, but i want to give this thread the “right ending”:

I have it working for me now (usual case of RTFM :))

All you have to do is adding a line to /etc/modprobe.d/sound

Before:

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

After:

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

Be sure to replace “laptop-eapd” with the right model
after that run “rcalsasound restart”, press alt+F2 and enter “kmix” to restart the mixer tray applet (Or simply reboot)
Good Luck…

Congratulations - and thanks for sharing your solution!

Hello, i’ve been having these same problems for quite a while and i also gave up several times (after trying loads of things with NO success)
So i downloaded the latest version of linux and hoped, that it will work this time, but it didn’t. So again i did some editing to the sound file in etc/mdprobe but no success again. So i tried the troubleshooting you posted, i got the the step 3 where my alsa generated this information that might help if somebody is willing to help me.

salsa version 2008-07-02 Ne júl 6 17:31:54 CEST 2008
Enter Sound Problem here: sound is played from speakers and headphones at the same time

PC type/make/model: Laptop:MSI number GX700

    plugs: 3         
    surround sound system: yes        
    model options: yes        
    number of speakers... 5         
    digital receiver... yes         

Distro: Welcome to openSUSE 11.0 (i586)

Release: SuSE-release
2.6.25.5-1.1-pae
System: Linux linux-9jm6 2.6.25.5-1.1-pae #1 SMP 2008-06-07 01:55:22 +0200 i686 i686 i386 GNU/Linux

Vendor/dev id:

Vendor/dev module:

Vendor/device:
Lspci info:

Alsa driver: 1.0.16rc2
dpkg path:
Alsa utils: 1.0.16

Alsa modules:
snd_hda_intel

Snd/soundcore:
snd 79544 12 snd_pcm_oss
snd_mixer_oss
snd_seq
snd_seq_device
snd_hda_intel
snd_pcm
snd_timer
snd_hwdep
soundcore 24264 1 snd

Alsa cards:
0 [Intel ]: HDA-Intel - HDA Intel
HDA Intel at 0xfebf8000 irq 21

Codec:

    Codec: Realtek ALC888  

note:all the models for ALC888 didn’t work for me so far

There could be many things wrong, … but I can not tell based on the “filtered” paste you gave me. So please, provide the following …the output URL(s) NOT your summary ] generated by running the audio troubleshooting guide’s two diagnostic scripts in an xterm/konsole while your laptop is connected to the internet:

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

and when prompted for a password in the following script enter your root password, and type NO for every question that you do NOT understand

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

Also please provide the output of:
rpm -qa | grep alsa
rpm -qa | grep pulse
rpm -q libasound2
cat /etc/modprobe.d/sound

Also, a cautionary note, if you change your configuration in the middle of this help request, I will need the above run again. I can not help with a moving configuration.

Thankyou.

general pastebin - teq - post number 1064076
tsalsa.txt - nopaste.com (beta)

alsa-plugins-pulse-1.0.16-57.1
alsa-tools-gui-1.0.16.91.git20080610-1.3
alsa-1.0.16.92.git20080617-3.1
alsa-firmware-1.0.16.92.git20080617-1.1
alsa-utils-1.0.16.92.git20080617-1.3
alsa-driver-unstable-kmp-pae-1.0.16.20080704_2.6.25.5_1.1-1.1
alsa-plugins-1.0.16-57.1
alsa-driver-kmp-pae-1.0.16.20080706_2.6.25.5_1.1-1.1
alsa-oss-1.0.15-48.1

alsa-plugins-pulse-1.0.16-57.1
libpulse-browse0-0.9.10-26.1
pulseaudio-utils-0.9.10-26.1
pulseaudio-module-x11-0.9.10-26.1
libpulse0-0.9.10-26.1
pulseaudio-module-bluetooth-0.9.10-26.1
libpulse-mainloop-glib0-0.9.10-26.1
pulseaudio-esound-compat-0.9.10-26.1
pulseaudio-module-zeroconf-0.9.10-26.1
pulseaudio-module-gconf-0.9.10-26.1
libpulsecore4-0.9.10-26.1
gstreamer-0_10-pulse-0.9.7-42.pm.1
pulseaudio-0.9.10-26.1
pulseaudio-module-lirc-0.9.10-26.1

libasound2-1.0.16-39.1

options snd slots=snd-hda-intel
options snd-hda-intel model=3stack-6ch-dig

u1Nb.Tpl9SMkJSdD:82801H (ICH8 Family) HD Audio Controller

alias snd-card-0 snd-hda-intel

ok, i will not change or update or do anything that might alter this, thanks for your willingness to help :slight_smile:

So your laptop is a MS-1719x, MSI-GX700.

It looks like you are familiar with doing edits to your /etc/modprobe.d/sound file. Besides “3stack-6ch-dig”, did you try any other model options? The choices are:

	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
	  3stack-hp	HP machines with 3stack (Lucknow, Samba boards)
	  6stack-dell	Dell machines with 6stack (Inspiron 530)
	  mitac		Mitac 8252D
	  clevo-m720	Clevo M720 laptop series
	  fujitsu-pi2515 Fujitsu AMILO Pi2515
	  auto		auto-config reading BIOS (default)

If it were me (and if I had not read of the Ubuntu user’s experience noted below), I would start with ‘auto’ (replacing ‘3stack-6ch-dig’ in the /etc/modprobe.d/sound file, and then work my way through the list from the top to bottom. After each /etc/modprobe.d/sound edit, you need to restart your alsa with “rcalsasound restart”. I suspect that most of the options will generate error messages and won’t work at all.

If that doesn’t help you, then I think you need to raise a bug report on openSUSE-11.0 and/or on the alsa driver you are using.

===============
Further to the above, just before posting I did a search on google for your laptop, … I noted this URL on an Ubuntu users experience:
https://wiki.ubuntu.com/LaptopTestingTeam/MSIMegabookGX700
where they noted: *

to be able to use headphones one must change /etc/modprobe.d/alsa-base and add : options snd-hda-intel model=targa-dig, otherwise connecting headphones does not disconnect internal speakers (the system works then as 4+1 with subwoofer under the chasiss).

which suggests to me you should replace model=3stack-6ch-dig with targa-dig. i.e. change your /etc/modprobe.d/sound file to:

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

then restart your alsa with rcalsasound restart

Good luck!!

I tried all the models, again with no success(in the order you recommended and i also didn’t forget to restart my alsa) , anyway, thanks for your help. Will to try to read up the page you posted and maybe even post the bug report

Good luck with the bug report. I’m surprised the “targa-dig” option did not work.

yeah, me too, so i decided to do it one more time, all over again.
I configured the sound card with yast, so it deleted all changes in mdprobe/sound. Then i manually changed the model. Again i got error messages when i tried to play some sound. So i just logged off, logged in. Tried to play a sound, speakers and headphones were playing…so uugh…let’s just try to unplug this jack and plug it in again…o_O and the sound works fine…weird stuff, but I’m happy that it works again.
So here’s a note for MSI GX700 (even ALC888) users : after changing sound file to proper model, in my case :

options snd slots=snd-hda-intel
options snd-hda-intel model=targa-dig

u1Nb.Tpl9SMkJSdD:82801H (ICH8 Family) HD Audio Controller

alias snd-card-0 snd-hda-intel

restart your alsa, logg off, logg in and replug the jack :wink:

Great news!! Congratulations.

Thanks for sharing your solution!

Setting up a new notebook with the same alc888 codec and with the same issue (sound playing from speakers when headphones are plugged in) so I used the targa-dig model in the configuration file and it worked.
However the microphone stopped working. The build-in notebook microphone didn’t work even in the default cinfiguration, but when i edited the configuration with the targa-dig model even external line-in microphone stopped working. Any ideas how to fix this? Running opensuse 11.2 with the newest alsa stuff (tools, firmware, etc…)

I just returned home after a business trip, followed immediately by a vacation, and I’m reading your message now.

I need the standard information in order for me to do a quality check on what you have done. Else I really can’t help.

Please setup your mixer EXACTLY how you think it should be set up for your mic to work. Then please post in this “multimedia” 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

Also, when testing your mic, please use the command:

 arecord -vv -fdat foo.wav

where “foo.wav” is just a file name I made up, … it could be “anything.wav” instead.