Since I bought my computer and I installed Linux on it, I had this problem... 
Back in the day I never Found a REAL Solution and finally my solution (in Fedora)
was installing "pavucontrol" to choose the Devices when I needed to Switch.

Via the Pulse Audio Volume Control I was able to Mute speakers or Headphones
at my will, even if I had both connected, this thing worked from F12 to F14 very well...

(The same problem is present in every distro I tried and sometimes it was solved the
same way in other distros)

But Now, I'm in F15 And my magic workout doesn't work anymore... it doesn't matter
wich device I choose as output, the PC simple don't mute one or another and my headphones
and speakers sound at the same time, Can you tell me How to Fix it?

The Sound card is a HDA INTEL with the Realtek ALC662 rev1 Chip, as I said before,
I'm using Fedora 15 KDE (64 Bit version) and I'm running ALSA v 1.0.23

Any Help will be really nice

Thanks!

--
<-Manuel Escudero->
Linux User #509052
@GWave: jmlevick@googlewave.com
@Blogger: http://www.blogxenode.tk/ (Xenode Systems Blog)
PGP/GnuPG: E2B4 31CE F2BF 1944 8664  3E22 88C8 DFC9 4D7C 1B35