Headphones fail to cut speaker sound

  1. On my surround-sound pc, I use a simple speaker pair plugged in the back for normal sound. When I use headphones plugged into the front, I can hear the sound on the headphones ok, but it does not shut off the external speakers, and sound comes thru both at the same time. The hardware is ok. In windows, the speaker sound automatically turns off when the headphones are plugged in.

  2. Also please advise if I should be using a better driver to utilize the features of my sound system. (I don’t want to invest in a complete 7 speaker system, unless my software will really make use of it.)

Here is a snapshot of my settings in YaST:
Picasa Web Albums - natG - Public Album-1

Here is relevant output from lspci -v:

00:07.0 Audio device: nVidia Corporation Device 0774 (rev a1)
        Subsystem: Hewlett-Packard Company Device 2a6e
        Flags: bus master, 66MHz, fast devsel, latency 0, IRQ 21
        Memory at f9e78000 (32-bit, non-prefetchable) [size=16]
        Capabilities: [44] Power Management version 2
        Capabilities: [50] Message Signalled Interrupts: Mask+ 64bit+ Queue=0/0 Enable-
        Capabilities: [6c] HyperTransport: MSI Mapping Enable+ Fixed+
        Kernel driver in use: HDA Intel
        Kernel modules: snd-hda-intel


More stuff about my system:

nat@phenom9600:~> uname -a
Linux phenom9600 2.6.25.11-0.1-pae #1 SMP 2008-07-13 20:48:28 +0200 i686 athlon i386 GNU/Linux
nat@phenom9600:~>
nat@phenom9600:~> rpm -qa | grep alsa
alsa-utils-1.0.16-35.1
alsa-1.0.16-39.1
alsa-plugins-pulse-1.0.16-57.1
alsa-oss-1.0.15-48.1
alsa-plugins-1.0.16-57.1
nat@phenom9600:~>
nat@phenom9600:~> rpm -qa | grep pulseaudio
pulseaudio-module-bluetooth-0.9.10-26.3
pulseaudio-utils-0.9.10-26.3
pulseaudio-0.9.10-26.3
pulseaudio-esound-compat-0.9.10-26.3
pulseaudio-module-x11-0.9.10-26.3
pulseaudio-module-lirc-0.9.10-26.3
pulseaudio-module-gconf-0.9.10-26.3
pulseaudio-module-zeroconf-0.9.10-26.3
nat@phenom9600:~>
nat@phenom9600:~> cat /etc/modprobe.d/sound

options snd slots=snd-hda-intel
# M71A.XerVYJNE1a0:nVidia Corporation
alias snd-card-0 snd-hda-intel

Thank you all.
nat[/size]

This happens for some of the newer sound devices. The alsa developers are constantly updating alsa to deal with this.

The openSource drivers for Linux audio are alsa and oss. Oss was the initial driver, and it went proprietary for many years, and was basically dropped from almost all Linux distributions for many years as a result, and alsa has been used since. Most sound servers (aRts, ESD) … etc interface well to alsa, but the interface to OSS is a bit more problematic (IMHO). Recently OSS has returned to being openSouce, but the experience/documentation on OSS is now very thin in comparison to alsa.

IMHO you should try to make the alsa drivers work.

In case you are curious, here are some openSUSE sound concepts:
Sound-concepts - openSUSE

Can you provide some more information on your system? Please, with your PC connected to the internet, copy and paste the following script into an xterm/konsole and press < enter > to run it:

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

when prompted for a password, enter your root password. The script, when finished, will give you a URL. Please post the URL here.

With that, and with the information you have already provided, it may be possible to make a recommendation.

oldcpu: Thank you for the effort.

Here is the url you requested:
tsalsa.txt - nopaste.com (beta)

nat

Based on the large number of pulse audio apps you have, I assume you have either Gnome or KDE4.x (as KDE-3.5.9 has minimal pulse audio apps).

The script you ran tells me you have an ALC888. The ALSA-Configuration.txt file (which comes as documentation with the alsa driver) notes the follow model options can be selectively (and carefully) applied with an 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
	  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 recommend you start by editing your /etc/modprobe.d/sound file, changing it to:

options snd slots=snd-hda-intel
options snd-hda-intel model=auto
# M71A.XerVYJNE1a0:nVidia Corporation
alias snd-card-0 snd-hda-intel 

save the change, and restart your alsa from an xterm/konsole with root permissions with rcalsasound restart and then test your speakers and your headphones. Note this could make it worse (which is not a worry as it is easily removed). Also do NOT run alsaconf nor YaST > Hardware > Sound after making this hand edit as those config apps will wipe out your /etc/modprobe.d/sound custom settings.

Now if the above doesn’t work, in the /etc/modprobe.d/sound file, change “auto” to “6stack-hp” , save the change and restart your alsa with rcalsasound restart and then test your speakers and your headphones. Note I chose “6stack” since you stated 6 plugs.

If that fails to work, try “6stack-dig” instead of “6stack-hp”, … etc … etc … trying different options, restarting your alsa, etc …

… and if after trying most of those model options, if none make it better, you could consider updating alsa. I note for the ALC888 there was a very minor alsa update, noted here:
Search results ALC888 search - AlsaProject

Hence you could update per the 6 zypper commands provided here:
Alsa-update - openSUSE
if you find that confusing, advise, and I can tell you exact what 6 zypper commands to run.

Good luck.

First, thanks again.
Now;

I have all three desktops installed, mainly working with KDE-3.5.9.
The main reason I have all that load installed is for comparing various functionality (especially multi media!) on this new machine. (I had tried 64 bit kernel first and had various -and differing- stability issues with the desktops, anyhow…)
I had thought that pulse audio was going to solve all our audio problems, but I have a hunch on contrair.

I tried [almost] all of your recommendations to no avail, but I didn’t really finish step 6 of zypper. Maybe once that error is resolved, it will work.
Also, please note that after each sound restart, I did NOT close/reopen my browser (using youtube for the test), but I did close the youtube page and reopen it. fwiw, a side note, if you reset the sound in middle of the video it knocks out firefox.:stuck_out_tongue:

Here is the trace of it all:

phenom9600:/etc/modprobe.d # cat sound
options snd slots=snd-hda-intel
options snd-hda-intel model=auto
# M71A.XerVYJNE1a0:nVidia Corporation
alias snd-card-0 snd-hda-intel
phenom9600:/etc/modprobe.d # rcalsasound restart
Shutting down sound driver                                           done
Starting sound driver:  hda-intel                                    done
phenom9600:/etc/modprobe.d # kwrite sound
phenom9600:/etc/modprobe.d # cat sound
options snd slots=snd-hda-intel
options snd-hda-intel model=6stack-hp
# M71A.XerVYJNE1a0:nVidia Corporation
alias snd-card-0 snd-hda-intel
phenom9600:/etc/modprobe.d # rcalsasound restart
Shutting down sound driver                                           done
Starting sound driver:  hda-intel                                    done
phenom9600:/etc/modprobe.d # kwrite sound
phenom9600:/etc/modprobe.d # cat sound
options snd slots=snd-hda-intel
options snd-hda-intel model=6stack-dig
# M71A.XerVYJNE1a0:nVidia Corporation
alias snd-card-0 snd-hda-intel
phenom9600:/etc/modprobe.d # rcalsasound restart
Shutting down sound driver                                           done
Starting sound driver:  hda-intel                                    done
phenom9600:/etc/modprobe.d # kwrite sound
phenom9600:/etc/modprobe.d # cat sound
options snd slots=snd-hda-intel
options snd-hda-intel model=6stack-dig-demo
# M71A.XerVYJNE1a0:nVidia Corporation
alias snd-card-0 snd-hda-intel
phenom9600:/etc/modprobe.d # rcalsasound restart
Shutting down sound driver                                           done
Starting sound driver:  hda-intel                                    done
phenom9600:/etc/modprobe.d # kwrite sound
phenom9600:/etc/modprobe.d # cat sound
options snd slots=snd-hda-intel
options snd-hda-intel model=3stack-hp
# M71A.XerVYJNE1a0:nVidia Corporation
alias snd-card-0 snd-hda-intel
phenom9600:/etc/modprobe.d # rcalsasound restart
Shutting down sound driver                                           done
Starting sound driver:  hda-intel                                    done
phenom9600:/etc/modprobe.d # kwrite sound
phenom9600:/etc/modprobe.d # cat sound
options snd slots=snd-hda-intel
options snd-hda-intel model=auto
# M71A.XerVYJNE1a0:nVidia Corporation
alias snd-card-0 snd-hda-intel
phenom9600:/etc/modprobe.d # rcalsasound restart
Shutting down sound driver                                           done
Starting sound driver:  hda-intel                                    done
phenom9600:/etc/modprobe.d #

Please excuse me for using kwrite this time [instead of vi].:o

And here is the zypper stuff. Note failure at the very end.

phenom9600:~ # zypper ar http://download.opensuse.org/repositories/multimedia:/audio/openSUSE_11.0/multimedia:audio.repo
Adding repository 'audiophile (openSUSE_11.0)' [done]
Repository 'audiophile (openSUSE_11.0)' successfully added
Enabled: Yes
Autorefresh: Yes
URI: http://download.opensuse.org/repositories/multimedia:/audio/openSUSE_11.0/

phenom9600:~ # zypper install alsa alsa-utils alsa-tools alsa-firmware libasound2
Do you want to trust key id F54EB54C20F035D8, multimedia:audio OBS Project <multimedia:audio@build.opensuse.org>, fingerprint F293D117CA0C96D2BFF429B1F54EB54C20F035D8 [yes/NO]: yes
Import key F54EB54C20F035D8 to trusted keyring? [yes/NO]: yes
Downloading repository 'audiophile (openSUSE_11.0)' metadata [done]
Building repository 'audiophile (openSUSE_11.0)' cache [done]
Reading installed packages...

The following packages are going to be upgraded:
  alsa-utils alsa libasound2


The following NEW packages are going to be installed:
  fxload alsa-firmware alsa-tools


The following packages are going to change vendor:
  alsa-utils alsa libasound2


Overall download size: 4.6 M. After the operation, additional 8.4 M will be used.
Continue? [YES/no]: YES
Downloading package fxload-2002_04_11-212.1.i586 (1/6), 22.0 K (41.0 K unpacked)
Downloading: fxload-2002_04_11-212.1.i586.rpm [done]
Installing: fxload-2002_04_11-212.1 [done]
Downloading package alsa-firmware-1.0.16.92.git20080617-3.1.noarch (2/6), 2.0 M (7.5 M unpacked)
Downloading: alsa-firmware-1.0.16.92.git20080617-3.1.noarch.rpm [done (68.4 K/s)]
Installing: alsa-firmware-1.0.16.92.git20080617-3.1 [done]
Downloading package libasound2-1.0.17.git20080721-1.1.i586 (3/6), 331.0 K (1.1 M unpacked)
Downloading: libasound2-1.0.17.git20080721-1.1.i586.rpm [done (62.2 K/s)]
Installing: libasound2-1.0.17.git20080721-1.1 [done]
Downloading package alsa-utils-1.0.17.git20080715-1.4.i586 (4/6), 942.0 K (1.7 M unpacked)
Downloading: alsa-utils-1.0.17.git20080715-1.4.i586.rpm [done (94.1 K/s)]
Installing: alsa-utils-1.0.17.git20080715-1.4 [done]
Downloading package alsa-tools-1.0.17.git20080715-1.4.i586 (5/6), 169.0 K (563.0 K unpacked)
Downloading: alsa-tools-1.0.17.git20080715-1.4.i586.rpm [done (21.7 K/s)]
Installing: alsa-tools-1.0.17.git20080715-1.4 [done]
Downloading package alsa-1.0.17.git20080721-1.1.i586 (6/6), 1.1 M (1.4 M unpacked)
Downloading: alsa-1.0.17.git20080721-1.1.i586.rpm [done (82.2 K/s)]
Installing: alsa-1.0.17.git20080721-1.1 [done]
phenom9600:~ # zypper ar http://download.opensuse.org/repositories/multimedia:/audio:/KMP/openSUSE_11.0_Update/multimedia:audio:KMP.repo
Adding repository 'ALSA driver kernel modules (openSUSE_11.0_Update)' [done]
Repository 'ALSA driver kernel modules (openSUSE_11.0_Update)' successfully added
Enabled: Yes
Autorefresh: Yes
URI: http://download.opensuse.org/repositories/multimedia:/audio:/KMP/openSUSE_11.0_Update/

phenom9600:~ # zypper install alsa-driver-kmp-pae
Downloading repository 'ALSA driver kernel modules (openSUSE_11.0_Update)' metadata [done]
Building repository 'ALSA driver kernel modules (openSUSE_11.0_Update)' cache [done]
Reading installed packages...

The following NEW package is going to be installed:
  alsa-driver-kmp-pae


Overall download size: 1.4 M. After the operation, additional 7.8 M will be used.
Continue? [YES/no]: YES
Downloading package alsa-driver-kmp-pae-1.0.16.20080721_2.6.25.11_0.1-1.2.i586 (1/1), 1.4 M (7.8 M unpacked)
Downloading: alsa-driver-kmp-pae-1.0.16.20080721_2.6.25.11_0.1-1.2.i586.rpm [done (89.9 K/s)]
Installing: alsa-driver-kmp-pae-1.0.16.20080721_2.6.25.11_0.1-1.2 [done]
phenom9600:~ # zypper rr multimedia
Repository multimedia not found by alias, number or URI.
phenom9600:~ #

Thanks again.
nat

Woops, just realized that rr means remove repos! (Excuse me but I grew up on yum…)
So…installation of updated drivers were complete.
But… no cigar.
-nat

Frankly, I can’t tell what you have installed. You definitely deviated from the zypper commands, which are pretty simple, …ie

  1. zypper ar <URL-for-alsa-general> <alias>
  2. zypper install < various alsa packages>
  3. zypper rr <alias>
  4. zypper ar <URL-for-alsa-kernel> <alias>
  5. zypper install < alsa-kernal-package>
  6. zypper rr <alias>

As you noted, you didn’t follow that. I could not see the item-3 nor item-6 commands. They are there for a reason.

Note its easiest for you to restart after an alsa update. That unloads the old alsa module and reloads the new module. “rcalsasound restart” is inadequate to handle the alsa unload/load after an alsa update.

Also note the options for the ALC888 are slightly different for 1.0.17 alsa, as opposed to 1.0.16 alsa.

	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) 

Your browser/youtube comments simply confused me. Why not do a simple sound test, instead of messing around with factors that could confuse the situation?
speaker-test -Dplug:front -c2 -l5 -twav

I didn’t ‘get’ the alias bit so I thought I copy the complete url. But I did miss step 3 6 altogether, correct.
But the following still didn’t fix it.

phenom9600:~ #  zypper ar http://download.opensuse.org/repositories/multimedia:/audio/openSUSE_11.0/ multimedia
Adding repository 'multimedia' [done]
Repository 'multimedia' successfully added
Enabled: Yes
Autorefresh: No
URI: http://download.opensuse.org/repositories/multimedia:/audio/openSUSE_11.0/

phenom9600:~ #      zypper install alsa alsa-utils alsa-tools alsa-firmware libasound2
Building repository 'multimedia' cache \]
Building repository 'multimedia' cache [done]
Downloading repository 'Packman Repository' metadata [done]
Building repository 'Packman Repository' cache [done]
Reading installed packages...
'alsa' is already installed.
'alsa-utils' is already installed.
'alsa-tools' is already installed.
'alsa-firmware' is already installed.
'libasound2' is already installed.
Nothing to do.
phenom9600:~ #
phenom9600:~ #  zypper rr multimedia
Removing repository 'multimedia' [done]
Repository 'multimedia' has been removed.
phenom9600:~ # zypper ar http://download.opensuse.org/repositories/multimedia:/audio:/KMP/openSUSE_11.0_Update/ multimedia
Adding repository 'multimedia' [done]
Repository 'multimedia' successfully added
Enabled: Yes
Autorefresh: No
URI: http://download.opensuse.org/repositories/multimedia:/audio:/KMP/openSUSE_11.0_Update/

phenom9600:~ # zypper install alsa-driver-kmp-pae
Building repository 'multimedia' cache [done]
Reading installed packages...
'alsa-driver-kmp-pae' is already installed.
Nothing to do.
phenom9600:~ # zypper rr multimedia
Removing repository 'multimedia' [done]
Repository 'multimedia' has been removed.
phenom9600:~ #

After the above, I shutdown and restarted.
After verification that 1.0.17 is installed,

 rpm -qa | grep alsa
alsa-1.0.17.git20080721-1.1
alsa-plugins-pulse-1.0.16-57.1
alsa-tools-1.0.17.git20080715-1.4
alsa-utils-1.0.17.git20080715-1.4
alsa-driver-kmp-pae-1.0.16.20080721_2.6.25.11_0.1-1.2
alsa-oss-1.0.15-48.1
alsa-plugins-1.0.16-57.1
alsa-firmware-1.0.16.92.git20080617-3.1

, I again edited /etc/modprobe.d/sound using the updated values you posted, restarted, etc., but same result. (I even tried the Dell option.) One variation I had was with the 6stack-dig-demo option, which now gave me an error on reset.

Thanks for the tip.

Since this is not yet working, and since I have a bluetooth stereo headset, would you say that a usb-bluetooth device might work? (They are available for < $20.00) Or is usb-bluetooth another can of worms?

Thank you much.
nat

IMHO you should try all of the model options listed. If none of them work, I recommend you raise a bug report on openSUSE and on alsa.
openSUSE bugs: Submitting Bug Reports - openSUSE
alsa bugs: https://bugtrack.alsa-project.org/alsa-bug/login_page.php

My recommendation, as with all new hardware, is to research first if it is supported by Linux. Does it mention Linux support on the manufacturer’s package? On the manufacturer’s web site? Can you find a 3rd party site with clear instructions on how to get this specific model of headset to work with Linux?

I will need to research this further.

Thank you much.

nat