amixer not setting Master volume at a given percentage value (check with 85% to 90%)

GitHub issues - opened github at alsa-project.org
Sat Feb 22 11:12:14 CET 2020


alsa-project/alsa-utils issue #35 was opened from immortalaxay:

I am using Ubuntu 18.04 (alsa-utils/amixer version 1.1.3) and trying to set volume using amixer command but amixer not setting Master volume at the given percentage value.



$ amixer -M -c PCH sset Master **85**%
Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 87
  Mono: Playback 81 [**83**%] [-4.50dB] [on]

$ amixer -M -c PCH sset Master **86**%
Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 87
  Mono: Playback 82 [**85**%] [-3.75dB] [on]

$ amixer -M -c PCH sset Master **87**%
Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 87
  Mono: Playback 82 [**85**%] [-3.75dB] [on]

$ amixer -M -c PCH sset Master **88**%
Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 87
  Mono: Playback 82 [**85**%] [-3.75dB] [on]

$ amixer -M -c PCH sset Master **89**%
Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 87
  Mono: Playback 83 [**88**%] [-3.00dB] [on]

$ amixer -M -c PCH sset Master **90**%
Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 87
  Mono: Playback 83 [**88**%] [-3.00dB] [on]

Issue URL     : https://github.com/alsa-project/alsa-utils/issues/35
Repository URL: https://github.com/alsa-project/alsa-utils


More information about the Alsa-devel mailing list