Re: [Desktop-packages] [Bug 1123595] Re: [System76 Bonobo Pro, Realtek ALC892, jack sensing] Alsa does not mute speakers when headphones are plugged

2013-02-15 Thread msp3k
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 0x0036: 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 0x0036: 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:
   USERPID ACCESS COMMAND
   /dev/snd/controlC1:  michael1995 F pulseaudio
   /dev/snd/controlC0:  michael1995 F pulseaudio
  Card0.Amixer.info:
   Card hw:0 'PCH'/'HDA Intel PCH at 0xf650 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 0xf608 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
  

Re: [Desktop-packages] [Bug 1123595] Re: [System76 Bonobo Pro, Realtek ALC892, jack sensing] Alsa does not mute speakers when headphones are plugged

2013-02-14 Thread msp3k
It seems to have no effect:

$ amixer -c 0 | grep -i auto-mute
Simple mixer control 'Auto-Mute Mode',0

$ amixer -c 0 set 'Auto-Mute Mode' Enabled
Simple mixer control 'Auto-Mute Mode',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Enabled'

$ amixer -c 0 | grep -i auto-mute
Simple mixer control 'Auto-Mute Mode',0

Plugging and unplugging the headphones still leaves Front speakers on.

On 02/13/2013 08:31 PM, Raymond wrote:
 you have disabled the auto mute

 Simple mixer control 'Auto-Mute Mode',0
   Capabilities: enum
   Items: 'Disabled' 'Enabled'
   Item0: 'Disabled'


-- 
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:
   USERPID ACCESS COMMAND
   /dev/snd/controlC1:  michael1995 F pulseaudio
   /dev/snd/controlC0:  michael1995 F pulseaudio
  Card0.Amixer.info:
   Card hw:0 'PCH'/'HDA Intel PCH at 0xf650 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 0xf608 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 : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


Re: [Desktop-packages] [Bug 1123595] Re: [System76 Bonobo Pro, Realtek ALC892, jack sensing] Alsa does not mute speakers when headphones are plugged

2013-02-14 Thread msp3k
I re-ran alsa-info.sh both with and without headphones.  Attached is the
output.  With headphones attached it reads:

control.33 {
iface CARD
name 'Headphone Jack'
value true
comment {
access read
type BOOLEAN
count 1
}
}


Michael

On 02/13/2013 08:29 PM, Raymond wrote:
 did you run alsa-info.sh after you plugged the headphone ?

   control.33 {
   iface CARD
   name 'Headphone Jack'
   value false
   comment {
   access read
   type BOOLEAN
   count 1
   }
   }



** Attachment added: alsa-info.txt.no-headphones
   
https://bugs.launchpad.net/bugs/1123595/+attachment/3528735/+files/alsa-info.txt.no-headphones

** Attachment added: alsa-info.txt.with-headphones
   
https://bugs.launchpad.net/bugs/1123595/+attachment/3528736/+files/alsa-info.txt.with-headphones

-- 
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:
   USERPID ACCESS COMMAND
   /dev/snd/controlC1:  michael1995 F pulseaudio
   /dev/snd/controlC0:  michael1995 F pulseaudio
  Card0.Amixer.info:
   Card hw:0 'PCH'/'HDA Intel PCH at 0xf650 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 0xf608 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 : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp


Re: [Desktop-packages] [Bug 1123595] Re: [System76 Bonobo Pro, Realtek ALC892, jack sensing] Alsa does not mute speakers when headphones are plugged

2013-02-13 Thread msp3k
I have:
$ dpkg -l | grep system76
ii  system76-driver   
3.2.3   Universal driver for System76
computers.

I have:
1) Run System76 Driver
2) Clicked Install Drivers
3) Rebooted

And the problem persists.  Don't know if a quick screenshot might help,
but here it is:

Before plugging in headphones:


After plugging in headphones:


Michael

On 02/13/2013 12:38 AM, Dave Lentz wrote:
 Make sure the System76 driver = 2.6.5
 Version 2.6.5 -  Fix Bonobo (bonp5) headphone detection and speaker mute 
 http://www.knowledge76.com/index.php/System76_Driver_Changelog

 ** Summary changed:

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



** Attachment added: Screenshot from 2013-02-13 09:41:20.png
   
https://bugs.launchpad.net/bugs/1123595/+attachment/3526533/+files/Screenshot%20from%202013-02-13%2009%3A41%3A20.png

** Attachment added: Screenshot from 2013-02-13 09:41:42.png
   
https://bugs.launchpad.net/bugs/1123595/+attachment/3526534/+files/Screenshot%20from%202013-02-13%2009%3A41%3A42.png

-- 
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:
   USERPID ACCESS COMMAND
   /dev/snd/controlC1:  michael1995 F pulseaudio
   /dev/snd/controlC0:  michael1995 F pulseaudio
  Card0.Amixer.info:
   Card hw:0 'PCH'/'HDA Intel PCH at 0xf650 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 0xf608 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 : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp