no automute when headphones are plugged

Hi everybody…I’ve just installed suse 11.1 but since 10.3 I’ve had the same problem: each time I plug my headphones to my laptop (MSI gx610 with HD card) the speakers still sounding and it’s really boring…I have seen some post where the most probable solution is to add options snd-hda- intel model=laptop-automute to /etc/modprobe.d/sound but when I reboot the sound is gone and either kmix or alsamixer show any channel it seems like the sound has ‘dissapear’…after that I erase that line from the file and reboot but…there’s not sound at all…also I don’t know what is going on with flash pluggin in firefox I downloaded from adobe but firefox doesn’t reconigze it and when i try to ‘reinstall’ yast tells me that I cannot because it’s already installed…:frowning: I hope somebady may halp me…thank you so much

I just saw your post today, when doing a search for headphones! Apologies in being so slow to reply.

I would find this lack of functionality very irritating, so I hope together we can solve it (assuming you are still interested in a fix for openSUSE). To help solve, I need more information. Please, when running openSUSE-11.1 on your laptop, with your laptop connected to the internet, can you open a gnome terminal or kde konsole, and type with root permissions:
/usr/sbin/alsa-info.sh
you may need to run that twice. The first time to update, and the second time to copy your audio sound/hardware configuration to a pastebin site. Please post the URL from that site (so we can see your configuration details).

In addition to that, please in a gnome terminal or a kde konsole 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

Dear oldcpu I’m sorry cause i didn’t reply before but I was traveling without this laptop. the URL is http://www.alsa-project.org/db/?f=9d334fe76675ba9142bdc5d5750cbe83c341b4a6 and the output from the command line is:

options snd slots=snd-hda-intel,snd-hda-intel

5Dex.zVYo3o+kve0:SBx00 Azalia (Intel HDA)

alias snd-card-0 snd-hda-intel

NXNs.JPS6WT8bfU4:RV630/M76 audio device [Radeon HD 2600 Series]

alias snd-card-1 snd-hda-intel

thank you very much

Thanks … also, I would like to see what rpms you have installed, … ie the output of:

Once again thx for your help. Here is the complete output:

rpm -qa | grep alsa
alsa-plugins-pulse-1.0.18-6.13
alsa-plugins-1.0.18-6.13
alsa-oss-1.0.17-1.43
alsa-oss-32bit-1.0.17-1.37
alsa-1.0.18-8.9
alsa-utils-1.0.18-6.4

rpm -qa | grep pulse
libpulse0-0.9.12-9.5
alsa-plugins-pulse-1.0.18-6.13
libpulse-browse0-0.9.12-9.5
pulseaudio-utils-0.9.12-9.5
pulseaudio-module-x11-0.9.12-9.5
pulseaudio-module-lirc-0.9.12-9.5
pulseaudio-esound-compat-0.9.12-9.5
libpulse-mainloop-glib0-0.9.12-9.5
pulseaudio-0.9.12-9.5
pulseaudio-module-zeroconf-0.9.12-9.5
pulseaudio-module-jack-0.9.12-9.5
libpulsecore4-0.9.12-9.5
libxine1-pulse-1.1.15-20.8
pulseaudio-module-bluetooth-0.9.12-9.5

rpm -q libasound2
libasound2-1.0.18-8.9

uname -a
Linux linux-fdg5 2.6.27.7-9-default #1 SMP 2008-12-04 18:10:04 +0100 x86_64 x86_64 x86_64 GNU/Linux

cat /etc/modprobe.d/sound
options snd slots=snd-hda-intel,snd-hda-intel
# 5Dex.zVYo3o+kve0:SBx00 Azalia (Intel HDA)
alias snd-card-0 snd-hda-intel
# NXNs.JPS6WT8bfU4:RV630/M76 audio device [Radeon HD 2600 Series]
alias snd-card-1 snd-hda-intel

OK, thanks for the diagnostic script output, and for the list of the audio relevant rpms you have installed.

All of that looks correct and nominal, so it looks like the auto probe of 1.0.18 of alsa did not succeed in properly configuring the ALC888 that is in your PC. The ALC888 has been difficult in openSUSE-11.1 (especially for 64-bit AMD users), but lets see what we can do.

When I search on the ALC888 on the alsa web site, I get this:
Search results for alc888 - AlsaProject
Now openSUSE-11.1 comes with a mix of 1.0.17 and 1.0.18 of alsa (with various 1.0.18 fixes backported to 1.0.17). I’m not a dev, so its not clear to me which of the 1.0.18 fixes made it to 11.1.

What you could do is:
a. update your alsa to 1.0.19 (with complication side effect that every time you kernel is updated, you will likely have to do this update again), and
b. if update to 1.0.19 does not work, we can try assigning various model options, one at a time, to your /etc/modprobe.d/sound file, in the hope that one of them will work, where the auto probe of alsa failed.

So to update your alsa version, with your PC connected to the internet, open a gnome terminal or a kde konsole , type ‘su’ (no quotes - enter root permission when prompted) and then copy and paste the following commands one at a time in sequence (execute them one at a time) to download and update your alsa version:

 zypper ar http://download.opensuse.org/repositories/multimedia:/audio/openSUSE_11.1/ multimedia 
 zypper install alsa alsa-oss-32bit alsa-oss alsa-plugins alsa-plugins-pulse alsa-utils alsa-tools alsa-firmware 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  

and then restart your PC and test your audio. Test your headphone functionality.

If that still does not work, then with that updated alsa version in place, lets try some updates to your /etc/modprobe.d/sound file. First I note that 1.0.19 of alsa has this list in the HD-Audio-Models.txt file for the ALC888:

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
  acer-aspire-4930g Acer Aspire 4930G
  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
  lenovo-sky	Lenovo Sky
  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
  fujitsu-xa3530 Fujitsu AMILO XA3530
  3stack-6ch-intel Intel DG33* boards
  auto		auto-config reading BIOS (default)

I don’t see “laptop-automute” in that list. Searching the HD-Audio-Model.txt file, I note the AD1986A ahas a “laptop-automute” function, but thats not your hardware.

The alsa/openSUSE dev have tried to have the approx config automatically identified, but the auto probe does not always work. So you could try those one at at time, restarting your alsa sound driver after each, restarting your mixer, and then testing your headphone automute.

Anyway, lets say, for example, you decide to test “auto”. Then change your /etc/modprobe.d/sound file to:

options snd-hda-intel model=auto
options snd slots=snd-hda-intel,snd-hda-intel
# 5Dex.zVYo3o+kve0:SBx00 Azalia (Intel HDA)
alias snd-card-0 snd-hda-intel
# NXNs.JPS6WT8bfU4:RV630/M76 audio device [Radeon HD 2600 Series]
alias snd-card-1 snd-hda-intel 

Note the line I added at the beginning. Then save that, restart your alsa sound driver with su -c ‘rcalsasound restart’ and restart your mixer and test your sound and headphone. If “auto” does not work, try another from the list. For example, to try “3stack-dig”, simply replace “auto” with “3stack-dig”, and restart the alsa sound driver, restart your mixer, and test your headphone. Keep trying each one, one-by-one, save the change, restarting your alsa sound driver and your mixer after each attempt, and testing your headphone.

Hopefully one of them will work.

I know, its a lot of work.

No matter if you succeed or fail, I think you should write a bug report on openSUSE that the sound did not work by default with your ALC888. Provide relevant details in the bug report. Submitting Bug Reports - openSUSE

Dear oldcpu I must thank so much your help…after 1.5 years my sound problem is finally solved. I tried all of those options above and with some of them i was able to disable the laptop speakers by muting the headphone channel in alsamixer. those options are: 3stack-6ch, 3stack-6ch-dig, acer, medion, laptop-eadp, lenovo-ms7195-dig, lenovo-sky, 6stack-dell

But targa-dig that seems to be made for MSI laptops is able to automute the speaker. At the beggining I thought that the built-in mic was not working but I installed skype and I use it and seems to be fine. Nevertheless, I was talking by skype and suddenly the laptop speakers started to sound but I unplugged-replugged my headphones and once again ok. really thx so much. Tomorrow i will send the bug report. One favor…how can I mark this thread as solved?

Congratulations on getting it to work most of the time. Thankyou for sharing your solution.

I think sending the bug report, noting what you had to do to get it to function, is a good idea. It will also give the developers some feedback on your hardware. One should not have to go through what you had to do, in order for their headphones to function properly.

Don’t worry about marking the thread solved. We had many internal admin/moderator discussions on this very subject (of marking threads solved) and in the end, we decided not to, as it was fraught with complications (others jumping with similar or new problems, original author never replying, original author not accepting solutions, original author bring up new problems … etc …) so we decided not to mark threads with an assessment.

But I’m glad to read you had some measure of success.

dear oldcpu I don’t know what happen but now it does not recognize my built-in microphone. When I start suse it appeared a message saying something like the module AC88 was not able to load therefore another module is loaded…something like it was fast, unexpected and quick(it vanished quickly).

I an hear my play back but when i’m going to use it with programs like skype or the linux sound recorder is like if i don’t have any mic. I have several times changing the levels with alsamixer as well as i have changed the options in /etc/modprobe.d/sound (i.e. putting another one from targa-dig) but they don’t work either…what can be? any idea will be appreciated. thank you for helping me throughout this issue.

Please leave your /etc/modprobe.d/sound setting EXACTLY as it was when your mic last worked. And reboot then with that setting in place. If you have a constantly changing setting, it will not be possible to find the problem.

I don’t have this laptop. So you will have to provide more information.

After putting your /etc/modprobe.d/sound back to the last known functional setting for your mic, you can then start by posting a URL with your mixer settings. You can do that by copy and pasting the following into a terminal or konsole when your laptop is connected to the internet:
amixer > amixer.txt && curl -F file=@amixer.txt nopaste.com/athat will give you a URL with your mixer settings. Post that here.

I do not use either of these applications, so if that is what you are using then I can not help you.

The basic application I use for testing a microphone is “arecord”. Try to record with a simple terminal record application as a test with “arecord”. I typically use: arecord -d 10 myrecording.wavand then I play back “myrecording.wav” with a nominal player. The “-d 10” specifies a 10 second recording.

here is the output amixer.txt - nopaste.com (beta)

The basic application I use for testing a microphone is “arecord”. Try to record with a simple terminal record application as a test with “arecord”.I typically use: arecord -d 10 myrecording.wav
and then I play back “myrecording.wav” with a nominal player .

I used it but it didn’t sound anything at all.

Do you think that can be something at load the module. As i told you last night when it worked I turn the laptop off and when I started again I received that message like it couldn’t load some module…and after a couple of restarts it doesn’t show nothing about it.

OK, thanks.

It appears to me your PC’s mixer is configured wrong. I note this from the script output:

Simple mixer control ‘Mic’,0
Front Left: Playback 31 [100%] [12.00dB] [on]
Front Right: Playback 31 [100%] [12.00dB] [on]
Simple mixer control ‘Mic Boost’,0
Front Left: 1 [33%]
Front Right: 1 [33%]
Simple mixer control ‘IEC958’,0
Mono: Playback [off]
Simple mixer control ‘IEC958 Default PCM’,0
Mono: Playback [on]
Simple mixer control ‘Capture’,0
Front Left: Capture 0 [0%] -16.50dB] [on]
Front Right: Capture 0 [0%] -16.50dB] [on]
Simple mixer control ‘Capture’,1
Front Left: Capture 0 [0%] -16.50dB] [off]
Front Right: Capture 0 [0%] -16.50dB] [off]
Simple mixer control ‘Digital’,0
Front Left: Capture 60 [50%] [0.00dB]
Front Right: Capture 60 [50%] [0.00dB]
Simple mixer control ‘Input Source’,0
Items: ‘Mic’ ‘Front Mic’ ‘Line’ ‘CD’
Item0: ‘Mic’
Simple mixer control ‘Input Source’,1
Items: ‘Mic’ ‘Front Mic’ ‘Line’ ‘CD’
Item0: ‘Mic’

You have digital audio OFF (ok thats probably good) but then have the digital mic up 50%. Why, if digital audio is off?

Then you have boost only at 33%. Why not move it higher until you get basic recording, then back off to remove distortion.

You have the capture ON on one mic, but have it at 0%. You won’t capture anything at 0%.

And you have the other mic OFF and at 0% capture. Again, you won’t capture anything at 0%.

Unless you can be more precise as to the message, I can’t comment.

hi I just modified everything and put them up to 100% (or ON if is the case) but the problem remains. I have a new output in amixer.txt - nopaste.com (beta)
From that file there are 5 items that I cannot see inside alsamixer so I don’t know how to configure them:

Simple mixer control ‘Capture’,0
Capabilities: cvolume cswitch
Capture channels: Front Left - Front Right
Limits: Capture 0 - 31
Front Left: Capture 19 [61%] [12.00dB] [on]
Front Right: Capture 19 [61%] [12.00dB] [on]
Simple mixer control ‘Capture’,1
Capabilities: cvolume cswitch
Capture channels: Front Left - Front Right
Limits: Capture 0 - 31
Front Left: Capture 0 [0%] -16.50dB] [on]
Front Right: Capture 0 [0%] -16.50dB] [on]
Simple mixer control ‘Digital’,0
Capabilities: cvolume
Capture channels: Front Left - Front Right
Limits: Capture 0 - 120
Front Left: Capture 60 [50%] [0.00dB]
Front Right: Capture 60 [50%] [0.00dB]
Simple mixer control ‘Input Source’,0
Capabilities: cenum
Items: ‘Mic’ ‘Front Mic’ ‘Line’ ‘CD’
Item0: ‘Mic’
Simple mixer control ‘Input Source’,1
Capabilities: cenum
Items: ‘Mic’ ‘Front Mic’ ‘Line’ ‘CD’
Item0: ‘Mic’

I tried also with yast but they don’t appear either and when I try to run kmix it just simply don’t start appears the icon like if the program is opening but nothing happens. Do you know how to modify those values because I see the item ‘Capture 1’ as 0% and it may be the problem but as I cannot see it in alsamixer I haven’t modified it.

I do not know off the top of my head, but I suspect you can do this with “amixer”. I recommend you research that to learn the syntax.

Further to my last … what desktop are you using. One can configure these under kmix. If using kde4, via a menu item in kmix, one can add more controls.

If using gnome, then I am surprised gnome does not offer a mixer with gui that allows one to change such settings. If true, then its just another reason not to use Gnome!! Maybe a Gnome user can chime in here with the application to use.

YaST is not meant for that sort of fine tuning. Take a look here at amixer: Amixer - ALSA wiki

For example try:
amixer scontrols
or
amixer controls
to get a list of the controls possible.

Once you have that, you can figure out what settings to apply to enable capture and adjust volume and capture levels.

But again, is it true this can not be done in Gnome with a simple GUI ?? Really surprising (and a bad mark against Gnome) if true.

I am using KDE4. I know that with kmix it is possible to add more controls but the problem is that kmix simply does not start. even if I go through K-menu, application launcher (Alt+F2) or from the console (with root permisions). Before we started to fix the problem I used it and it was ok but now it just simply doesn’t start. When I try to launch it the cursor becomes a jumping icon from kmix like if it’s going to start but suddenly it stops and kmix doesn’t appear :\

Later I’ll try to read about amixer and see if I can fix it with it.

In Linux, when ever that sort of behaviour happens from a GUI, you MUST get more information. And most of the time, its simple to get more information. Simply open a konsole, and type “kmix” and make note of the errors.

Hi. Finally I fixed it. I did it with alsamixer, I read a little and found that pressing F4 it shows the capture channels and they were 0% so I just simply adjusted them nicely sorry for being so dumb:shame:.

Simply open a konsole, and type “kmix” and make note of the errors.

However, kmix still not working. Even in the konsole It just simply doesn’t open and don’t show any message. It stays as:

linux-fdg5:/home/pelusa # kmix

Also when the suse updated tried to update flash. It shows the following error:

PackageKit Error dep-resolution-failed: alsa-driver-kmp-default-1.0.19.20090223_2.6.27.7_9.1-4.1.x86_64 requires kernel(default:arch_x86_kernel) = f90a87e7f08a5b2f, but this requirement cannot be provided ati-fglrxG01-kmp-default-8.573_2.6.27.7_9.1-0.1.x86_64 requires kernel(default:arch_x86_kernel) = f90a87e7f08a5b2f, but this requirement cannot be provided.

I see that there are problems with sound and video modules but I don’t know how to manage. any idea?.

Once again thanks so much for your kind help.

It looks like openSUSE have released a kernel updating, updating the kernel from 2.6.27.7-9 to 2.6.27.19-3.2-6.1 (or something like that - I have not updated the kernel myself yet … I’ll do it this weekend when I have some time).

Hence your alsa may require an update to the new kernel version! Note guidance for the alsa update for the new kernel is located here.
Alsa-update - openSUSE

With the following 3 commands updating your alsa driver once the new kernel is installed:

 zypper ar http://download.opensuse.org/repositories/multimedia:/audio:/KMP/openSUSE_11.1_Update/ multimedia  
 zypper install alsa-driver-kmp-default  
 zypper rr multimedia  

Note the change in repos for the driver for the updated kernel.

Hi, finally I got once again the error message when I start the laptop (please note that I’m posting here a translation since I have suse in Spanish):

The sound playback device HDA ATI SB(ALC888 analog) does not work. HDAATI HDMI, ATI HDMI (HDMI Audio Output) is used instead.

This is going to be my first time updating a kernel…it sounds nice but…how can i do this? I mean I tried via yast but then the same messages regarding dependencies for alsa and fglrx appears (it says: ignore, unistall so I preferred cancel the process).

is there some way for updating via command line? I know that this question goes in another way that the thread but I really want to update my system.