[CentOS] plug in phones, speaker does not mute.

Fri May 9 00:08:04 UTC 2014
Fred Smith <fredex at fcshome.stoneham.ma.us>

On Thu, May 08, 2014 at 07:00:19PM +0000, Matthew Gillespie wrote:
> Fred Smith <fredex at ...> writes:
> 
> > 
> > Hi all!
> > 
> > Using C6 on an Asus M5A99X EVO R2.0 motherboard with AMD six core FX6300.
> > That board uses Realtek ALC892 audio chipset.
> > 
> > For the first time since I got that motherboard I tried plugging in
> > headphones to the front panel speaker output. I was somewhat displeased
> > to note that the speakers don't mute when that happens.
> > 
> > I recall seeing info on that in Fedora, but not Centos, and haven't
> > so far scared up how to troubleshoot it.
> > 
> > I can MANUALLY change the setting in sound preferences, which offers
> > only two choices: "Analog Output" and "Analog Headphones".
> > 
> > Suggestions will be welcomed!
> > 
> > Fred
> 
> Might have a look at amixer and see if you have an option you can alter
> similar to:
> 
> Simple mixer control 'Auto-Mute Mode',0
>   Capabilities: enum
>   Items: 'Disabled' 'Speaker Only' 'Line Out+Speaker'
>   Item0: 'Line Out+Speaker'
> 
> And see if you can set it ala:
> 
> /usr/bin/amixer -c0 set "Auto-Mute Mode" "Line Out+Speaker"
> 
> -Matthew Gillespie

Matthew:

thanks for the reply. so far, that isn't working, and I'm still
perusing the man page. here's what I get:

$ /usr/bin/amixer -c0 set "Auto-Mute Mode" "Line Out+Speaker"
amixer: Unable to find simple control 'Auto-Mute Mode',0

I also note that when I do amixer -c0 controls, the resulting list
does NOT contain either "Auto-Mute Mode" or "Line Out+Speaker"
as permissible controls:

amixer -c0 controls 
numid=42,iface=CARD,name='Front Headphone Phantom Jack'
numid=35,iface=CARD,name='Front Mic Phantom Jack'
numid=37,iface=CARD,name='Line Jack'
numid=40,iface=CARD,name='Line Out CLFE Jack'
numid=38,iface=CARD,name='Line Out Front Jack'
numid=41,iface=CARD,name='Line Out Side Jack'
numid=39,iface=CARD,name='Line Out Surround Jack'
numid=36,iface=CARD,name='Rear Mic Jack'
numid=43,iface=CARD,name='SPDIF Phantom Jack'
numid=44,iface=CARD,name='SPDIF Phantom Jack',index=1
numid=34,iface=MIXER,name='Master Playback Switch'
numid=33,iface=MIXER,name='Master Playback Volume'
numid=12,iface=MIXER,name='Headphone Playback Switch'
numid=11,iface=MIXER,name='Headphone Playback Volume'
numid=45,iface=MIXER,name='PCM Playback Volume'
numid=25,iface=MIXER,name='Front Mic Boost Volume'
numid=14,iface=MIXER,name='Front Mic Playback Switch'
numid=13,iface=MIXER,name='Front Mic Playback Volume'
numid=2,iface=MIXER,name='Front Playback Switch'
numid=1,iface=MIXER,name='Front Playback Volume'
numid=4,iface=MIXER,name='Surround Playback Switch'
numid=3,iface=MIXER,name='Surround Playback Volume'
numid=7,iface=MIXER,name='Center Playback Switch'
numid=5,iface=MIXER,name='Center Playback Volume'
numid=8,iface=MIXER,name='LFE Playback Switch'
numid=6,iface=MIXER,name='LFE Playback Volume'
numid=27,iface=MIXER,name='Line Boost Volume'
numid=18,iface=MIXER,name='Line Playback Switch'
numid=17,iface=MIXER,name='Line Playback Volume'
numid=22,iface=MIXER,name='Capture Switch'
numid=24,iface=MIXER,name='Capture Switch',index=1
numid=21,iface=MIXER,name='Capture Volume'
numid=23,iface=MIXER,name='Capture Volume',index=1
numid=32,iface=MIXER,name='IEC958 Default PCM Playback Switch'
numid=28,iface=MIXER,name='IEC958 Playback Con Mask'
numid=29,iface=MIXER,name='IEC958 Playback Pro Mask'
numid=30,iface=MIXER,name='IEC958 Playback Default'
numid=31,iface=MIXER,name='IEC958 Playback Switch'
numid=19,iface=MIXER,name='Input Source'
numid=20,iface=MIXER,name='Input Source',index=1
numid=26,iface=MIXER,name='Rear Mic Boost Volume'
numid=16,iface=MIXER,name='Rear Mic Playback Switch'
numid=15,iface=MIXER,name='Rear Mic Playback Volume'
numid=10,iface=MIXER,name='Side Playback Switch'
numid=9,iface=MIXER,name='Side Playback Volume'

-- 
-------------------------------------------------------------------------------
 .----    Fred Smith   /              
( /__  ,__.   __   __ /  __   : /     
 /    /  /   /__) /  /  /__) .+'           Home: fredex at fcshome.stoneham.ma.us 
/    /  (__ (___ (__(_ (___ / :__                                 781-438-5471 
-------------------------------- Jude 1:24,25 ---------------------------------