[Pkg-alsa-devel] Bug#618911: alsa-utils: amixer fails to do decremented set of volume correctly

Alexander Velin velin at fccf.net
Sat Mar 19 14:26:53 UTC 2011


Package: alsa-utils
Version: 1.0.23-3
Severity: normal


Commandline mixer amixer fails to set volume correctly when using decremented 
values. Example:

$ amixer set PCM playback 31
Simple mixer control 'PCM',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 31 [100%] [12.00dB] [on]
  Front Right: Playback 31 [100%] [12.00dB] [on]

$ amixer set PCM playback 1-
Simple mixer control 'PCM',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 30 [97%] [10.50dB] [on]
  Front Right: Playback 30 [97%] [10.50dB] [on]

$ amixer set PCM playback 1-
Simple mixer control 'PCM',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 29 [94%] [9.00dB] [on]
  Front Right: Playback 29 [94%] [9.00dB] [on]

$ amixer set PCM playback 1-
Simple mixer control 'PCM',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 27 [87%] [6.00dB] [on]
  Front Right: Playback 28 [90%] [7.50dB] [on]

$ amixer set PCM playback 1-
Simple mixer control 'PCM',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 25 [81%] [3.00dB] [on]
  Front Right: Playback 27 [87%] [6.00dB] [on]

$ amixer set PCM playback 1-
Simple mixer control 'PCM',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 23 [74%] [0.00dB] [on]
  Front Right: Playback 26 [84%] [4.50dB] [on]

$ amixer set PCM playback 1-
Simple mixer control 'PCM',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 21 [68%] [-3.00dB] [on]
  Front Right: Playback 25 [81%] [3.00dB] [on]

$ amixer set PCM playback 1-
Simple mixer control 'PCM',0
  Capabilities: pvolume pswitch penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 19 [61%] [-6.00dB] [on]
  Front Right: Playback 24 [77%] [1.50dB] [on]

... and so on, difference is getting bigger.

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing-proposed-updates
  APT policy: (500, 'testing-proposed-updates'), (500, 'lenny'), (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages alsa-utils depends on:
ii  dialog                    1.1-20100428-1 Displays user-friendly dialog boxe
ii  libasound2                1.0.23-2.1     shared library for ALSA applicatio
ii  libc6                     2.11.2-11      Embedded GNU C Library: Shared lib
ii  libncursesw5              5.7+20100313-5 shared libraries for terminal hand
ii  linux-sound-base          1.0.23+dfsg-2  base package for ALSA and OSS soun
ii  lsb-base                  3.2-27         Linux Standard Base 3.2 init scrip
ii  module-init-tools         3.12-1         tools for managing Linux kernel mo
ii  udev                      166-1          /dev/ and hotplug management daemo
ii  whiptail                  0.52.11-2      Displays user-friendly dialog boxe

Versions of packages alsa-utils recommends:
ii  alsa-base                  1.0.23+dfsg-2 ALSA driver configuration files
ii  pciutils                   1:3.1.7-7     Linux PCI Utilities

alsa-utils suggests no packages.

-- no debconf information





More information about the Pkg-alsa-devel mailing list