Kevin, please note the root cause is the communication between amixer
and pulseaudio, see comment #29

command like "amixer -D pulse ..." could look like to "solve" this issue
because amixer builds the mixer control directly from the "virtul"
device Pulseaudio instead of the "real" device, say your audio card.

To bind the hotkey together with a new command like "amixer -D ..." is
only a workaround.

PS
1. If you are interested in this, you could try "alsamixer" and "alsamixer -D 
pulse" and see what's difference between the device name on the alsamixer panel.

2. another interesting experiment: you could try to un-mute all of the
channels besides Master (e.g. Speaker, Headphone, PCM ...etc. ), and you
should see the sound comes back.

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

Title:
  amixer -q sset Master toggle does mute, but does not unmute!

Status in “pulseaudio” package in Ubuntu:
  Triaged

Bug description:
  I am using keyboard shortcuts to increase/decrease/mute volume by executing:
  amixer -q sset Master 5+
  amixer -q sset Master 5-
  amixer -q sset Master toggle

  From when I have updated to Ubuntu 11.10, 'amixer sset Master toggle'
  does mute the volume, but when i execute it again it does not unmute
  it. In command line, it looks fine:

  :~$ amixer sset Master toggle
  Simple mixer control 'Master',0
    Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum
    Playback channels: Mono
    Limits: Playback 0 - 31
    Mono: Playback 16 [52%] [-22.50dB] [off]

  :~$ amixer sset Master toggle
  Simple mixer control 'Master',0
    Capabilities: pvolume pvolume-joined pswitch pswitch-joined penum
    Playback channels: Mono
    Limits: Playback 0 - 31
    Mono: Playback 16 [52%] [-22.50dB] [on]

  but it remains muted. I use pavucontrol to unmute sound from the GUI.

  
  Info:
  :~$ apt-cache policy alsa-utils
  alsa-utils:
    Installed: 1.0.24.2-0ubuntu8
    Candidate: 1.0.24.2-0ubuntu8
    Version table:
   *** 1.0.24.2-0ubuntu8 0
          500 http://rs.archive.ubuntu.com/ubuntu/ oneiric/main amd64 Packages
          100 /var/lib/dpkg/status

  :~$ lsb_release -rd
  Description:  Ubuntu 11.10
  Release:      11.10

  ProblemType: Bug
  DistroRelease: Ubuntu 11.10
  Package: linux-image-3.0.0-12-generic 3.0.0-12.20
  ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
  Uname: Linux 3.0.0-12-generic x86_64
  NonfreeKernelModules: fglrx
  AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
  ApportVersion: 1.23-0ubuntu3
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  instructor  19328 F.... pulseaudio
   /dev/snd/pcmC0D0p:   instructor  19328 F...m pulseaudio
  CRDA: Error: [Errno 2] No such file or directory
  Card0.Amixer.info:
   Card hw:0 'Intel'/'HDA Intel at 0xfe9f8000 irq 43'
     Mixer name : 'Realtek ALC883'
     Components : 'HDA:10ec0883,1043829f,00100002'
     Controls      : 37
     Simple ctrls  : 22
  Card1.Amixer.info:
   Card hw:1 'HDMI'/'HDA ATI HDMI at 0xfeafc000 irq 44'
     Mixer name : 'ATI R6xx HDMI'
     Components : 'HDA:1002aa01,00aa0100,00100000'
     Controls      : 4
     Simple ctrls  : 1
  Card1.Amixer.values:
   Simple mixer control 'IEC958',0
     Capabilities: pswitch pswitch-joined penum
     Playback channels: Mono
     Mono: Playback [on]
  Date: Thu Oct 20 19:31:13 2011
  HibernationDevice: RESUME=UUID=cf6e9ff7-a63e-457c-aba4-706765c58de1
  InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
  IwConfig:
   lo        no wireless extensions.
   
   eth0      no wireless extensions.
  MachineType: System manufacturer P5K
  ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.0.0-12-generic 
root=UUID=5611c46a-40ee-4ded-bbda-b8365335826b ro acpi_enforce_resources=lax 
quiet splash vt.handoff=7
  RelatedPackageVersions:
   linux-restricted-modules-3.0.0-12-generic N/A
   linux-backports-modules-3.0.0-12-generic  N/A
   linux-firmware                            1.60
  RfKill:
   
  SourcePackage: linux
  UpgradeStatus: Upgraded to oneiric on 2011-10-16 (3 days ago)
  dmi.bios.date: 07/03/2007
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: 0603
  dmi.board.asset.tag: To Be Filled By O.E.M.
  dmi.board.name: P5K
  dmi.board.vendor: ASUSTeK Computer INC.
  dmi.board.version: Rev 1.xx
  dmi.chassis.asset.tag: Asset-1234567890
  dmi.chassis.type: 3
  dmi.chassis.vendor: Chassis Manufacture
  dmi.chassis.version: Chassis Version
  dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvr0603:bd07/03/2007:svnSystemmanufacturer:pnP5K:pvrSystemVersion:rvnASUSTeKComputerINC.:rnP5K:rvrRev1.xx:cvnChassisManufacture:ct3:cvrChassisVersion:
  dmi.product.name: P5K
  dmi.product.version: System Version
  dmi.sys.vendor: System manufacturer
  --- 
  AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.24.
  ApportVersion: 1.23-0ubuntu3
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  instructor  19328 F.... pulseaudio
   /dev/snd/pcmC0D0p:   instructor  19328 F...m pulseaudio
  Card0.Amixer.info:
   Card hw:0 'Intel'/'HDA Intel at 0xfe9f8000 irq 43'
     Mixer name : 'Realtek ALC883'
     Components : 'HDA:10ec0883,1043829f,00100002'
     Controls      : 37
     Simple ctrls  : 22
  Card1.Amixer.info:
   Card hw:1 'HDMI'/'HDA ATI HDMI at 0xfeafc000 irq 44'
     Mixer name : 'ATI R6xx HDMI'
     Components : 'HDA:1002aa01,00aa0100,00100000'
     Controls      : 4
     Simple ctrls  : 1
  Card1.Amixer.values:
   Simple mixer control 'IEC958',0
     Capabilities: pswitch pswitch-joined penum
     Playback channels: Mono
     Mono: Playback [on]
  DistroRelease: Ubuntu 11.10
  InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
  NonfreeKernelModules: fglrx
  Package: alsa-base 1.0.24+dfsg-0ubuntu2
  PackageArchitecture: all
  ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
  Tags:  oneiric
  Uname: Linux 3.0.0-12-generic x86_64
  UpgradeStatus: Upgraded to oneiric on 2011-10-16 (3 days ago)
  UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare
  dmi.bios.date: 07/03/2007
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: 0603
  dmi.board.asset.tag: To Be Filled By O.E.M.
  dmi.board.name: P5K
  dmi.board.vendor: ASUSTeK Computer INC.
  dmi.board.version: Rev 1.xx
  dmi.chassis.asset.tag: Asset-1234567890
  dmi.chassis.type: 3
  dmi.chassis.vendor: Chassis Manufacture
  dmi.chassis.version: Chassis Version
  dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvr0603:bd07/03/2007:svnSystemmanufacturer:pnP5K:pvrSystemVersion:rvnASUSTeKComputerINC.:rnP5K:rvrRev1.xx:cvnChassisManufacture:ct3:cvrChassisVersion:
  dmi.product.name: P5K
  dmi.product.version: System Version
  dmi.sys.vendor: System manufacturer
  --- 
  ApportVersion: 1.23-0ubuntu3
  Architecture: amd64
  DistroRelease: Ubuntu 11.10
  InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release amd64 (20110427.1)
  NonfreeKernelModules: fglrx
  Package: alsa-utils 1.0.24.2-0ubuntu8
  PackageArchitecture: amd64
  ProcVersionSignature: Ubuntu 3.0.0-12.20-generic 3.0.4
  Tags:  oneiric
  Uname: Linux 3.0.0-12-generic x86_64
  UpgradeStatus: Upgraded to oneiric on 2011-10-16 (3 days ago)
  UserGroups: adm admin cdrom dialout lpadmin plugdev sambashare

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/878986/+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

Reply via email to