As far as I know there are only 3 speakers on the machine: Front left,
front right, and a third on the bottom.

THIS IS EXACTLY WHAT I NEEDED!!!!!
=======================

I suspected that there had to be some configuration file somewhere that
would control mixer settings on plug/unplug, I just didn't know where to
look.  Now you have shown me the light!

I looked at
/usr/share/pulseaudio/alsa-mixer/paths/analog-output-headphones.conf:

    [Element Front]
    switch = mute
    volume = zero


I changed that to read:

    [Element Front]
    switch = off
    volume = zero


And then rebooted.  Now the speakers mute and un-mute properly when
headphones are inserted.

AWESOME!  Thank you guys for all your help!

Michael


On 02/15/2013 11:22 AM, Raymond wrote:
> Now many internal speaker did your notebook have ?
>
> the pin-ctls of three speaker nodes were zero
>
> do you mean setting pin-ctls is not enough to mute ?
>
> you can modified pulseaudio conf to mute those front, surround,..
> playback switch
>
> http://cgit.freedesktop.org/pulseaudio/pulseaudio/tree/src/modules/alsa/mixer/paths
>
> Node 0x14 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
>   Control: name="Front Playback Switch", index=0, device=0
>     ControlAmp: chs=3, dir=Out, idx=0, ofs=0
>   Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
>   Amp-Out vals:  [0x00 0x00]
>   Pincap 0x0001003e: IN OUT HP EAPD Detect Trigger
>   EAPD 0x2: EAPD
>   Pin Default 0x99130120: [Fixed] Speaker at Int ATAPI
>     Conn = ATAPI, Color = Unknown
>     DefAssociation = 0x2, Sequence = 0x0
>     Misc = NO_PRESENCE
>   Pin-ctls: 0x00:
>   Unsolicited: tag=00, enabled=0
>   Power states:  D0 D1 D2 D3 EPSS
>   Power: setting=D0, actual=D0
>   Connection: 1
>      0x0c
> Node 0x15 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
>   Control: name="Center Playback Switch", index=0, device=0
>     ControlAmp: chs=1, dir=Out, idx=0, ofs=0
>   Control: name="LFE Playback Switch", index=0, device=0
>     ControlAmp: chs=2, dir=Out, idx=0, ofs=0
>   Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
>   Amp-Out vals:  [0x80 0x80]
>   Pincap 0x00000036: IN OUT Detect Trigger
>   Pin Default 0x99130130: [Fixed] Speaker at Int ATAPI
>     Conn = ATAPI, Color = Unknown
>     DefAssociation = 0x3, Sequence = 0x0
>     Misc = NO_PRESENCE
>   Pin-ctls: 0x00:
>   Unsolicited: tag=00, enabled=0
>   Power states:  D0 D1 D2 D3 EPSS
>   Power: setting=D0, actual=D0
>   Connection: 1
>      0x0d
> Node 0x16 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
>   Control: name="Surround Playback Switch", index=0, device=0
>     ControlAmp: chs=3, dir=Out, idx=0, ofs=0
>   Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
>   Amp-Out vals:  [0x80 0x80]
>   Pincap 0x00000036: IN OUT Detect Trigger
>   Pin Default 0x99130140: [Fixed] Speaker at Int ATAPI
>     Conn = ATAPI, Color = Unknown
>     DefAssociation = 0x4, Sequence = 0x0
>     Misc = NO_PRESENCE
>   Pin-ctls: 0x00:
>   Unsolicited: tag=00, enabled=0
>   Power states:  D0 D1 D2 D3 EPSS
>   Power: setting=D0, actual=D0
>   Connection: 1
>      0x0e
>

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to alsa-driver in Ubuntu.
https://bugs.launchpad.net/bugs/1123595

Title:
  [System76 Bonobo Pro, Realtek ALC892, jack sensing] Alsa does not mute
  speakers when headphones are plugged

Status in “alsa-driver” package in Ubuntu:
  New

Bug description:
  When plugging in headphones, the headphone sense happens properly, and
  most speaker output is muted (Surround, Center, LFE), but the Front
  speakers are still at regular volume.  Muting the Front speakers also
  mutes the Master, and sound stops to both headphone and speakers.  a
  workaround is to set Front to 0 after plugging the speakers with the
  following command: /usr/bin/amixer -c 0 set 'Front' 0

  This is a new development brought on by a recent update.  Sound used
  to work properly.

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: alsa-base 1.0.25+dfsg-0ubuntu1
  ProcVersionSignature: Ubuntu 3.2.0-37.58-generic 3.2.35
  Uname: Linux 3.2.0-37-generic x86_64
  NonfreeKernelModules: nvidia
  AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
  ApportVersion: 2.0.1-0ubuntu17.1
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC1:  michael    1995 F.... pulseaudio
   /dev/snd/controlC0:  michael    1995 F.... pulseaudio
  Card0.Amixer.info:
   Card hw:0 'PCH'/'HDA Intel PCH at 0xf6500000 irq 52'
     Mixer name : 'Realtek ALC892'
     Components : 'HDA:10ec0892,15587100,00100302'
     Controls      : 37
     Simple ctrls  : 20
  Card1.Amixer.info:
   Card hw:1 'NVidia'/'HDA NVidia at 0xf6080000 irq 17'
     Mixer name : 'Nvidia GPU 15 HDMI/DP'
     Components : 'HDA:10de0015,10de0101,00100100'
     Controls      : 24
     Simple ctrls  : 4
  Date: Tue Feb 12 19:00:51 2013
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Release amd64 
(20120425)
  MarkForUpload: True
  PackageArchitecture: all
  ProcEnviron:
   SHELL=/bin/bash
   TERM=xterm
   PATH=(custom, no user)
   LANG=en_US.UTF-8
  PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No 
PulseAudio daemon running, or not running as session daemon.
  SourcePackage: alsa-driver
  UpgradeStatus: No upgrade log present (probably fresh install)
  dmi.bios.date: 04/06/2011
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: 4.6.4
  dmi.board.asset.tag: Not Applicable
  dmi.board.name: Bonobo Professional
  dmi.board.vendor: System76, Inc.
  dmi.board.version: bonp5
  dmi.chassis.asset.tag: Not Applicable
  dmi.chassis.type: 10
  dmi.chassis.vendor: System76, Inc.
  dmi.chassis.version: bonp5
  dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvr4.6.4:bd04/06/2011:svnSystem76,Inc.:pnBonoboProfessional:pvrbonp5:rvnSystem76,Inc.:rnBonoboProfessional:rvrbonp5:cvnSystem76,Inc.:ct10:cvrbonp5:
  dmi.product.name: Bonobo Professional
  dmi.product.version: bonp5
  dmi.sys.vendor: System76, Inc.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/alsa-driver/+bug/1123595/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to