#12527 NORM Not Tri: XO-4 volume adjust is too coarse

Zarro Boogs per Child bugtracker at laptop.org
Mon Feb 4 15:06:11 EST 2013


#12527: XO-4 volume adjust is too coarse
------------------------------------+---------------------------------------
           Reporter:  wad           |       Owner:                   
               Type:  defect        |      Status:  new              
           Priority:  normal        |   Milestone:  Not Triaged      
          Component:  not assigned  |     Version:  not specified    
         Resolution:                |    Keywords:  XO-4 audio volume
        Next_action:  diagnose      |    Verified:  0                
Deployment_affected:                |   Blockedby:                   
           Blocking:                |  
------------------------------------+---------------------------------------

Comment(by pgf):

 investigation shows that this is due to amixer not honoring the "%"-style
 arguments for volume change correctly.

 set the volume to max:
 {{{
 bash-4.2# amixer set Master 100
 Simple mixer control 'Master',0
   Capabilities: pvolume pvolume-joined pswitch
   Playback channels: Front Left - Front Right
   Limits: Playback 0 - 39
   Mono:
   Front Left: Playback 39 [100%] [0.00dB] [on]
   Front Right: Playback 39 [100%] [0.00dB] [on]
 }}}
 and then go down by 10% in increments:
 {{{
 bash-4.2# amixer set Master 10%-
 Simple mixer control 'Master',0
   Capabilities: pvolume pvolume-joined pswitch
   Playback channels: Front Left - Front Right
   Limits: Playback 0 - 39
   Mono:
   Front Left: Playback 31 [79%] [-12.00dB] [on]
   Front Right: Playback 31 [79%] [-12.00dB] [on]
 bash-4.2# amixer set Master 10%-
 Simple mixer control 'Master',0
   Capabilities: pvolume pvolume-joined pswitch
   Playback channels: Front Left - Front Right
   Limits: Playback 0 - 39
   Mono:
   Front Left: Playback 23 [59%] [-24.00dB] [on]
   Front Right: Playback 23 [59%] [-24.00dB] [on]
 bash-4.2#
 bash-4.2# amixer set Master 10%-
 Simple mixer control 'Master',0
   Capabilities: pvolume pvolume-joined pswitch
   Playback channels: Front Left - Front Right
   Limits: Playback 0 - 39
   Mono:
   Front Left: Playback 15 [38%] [-36.00dB] [on]
   Front Right: Playback 15 [38%] [-36.00dB] [on]
 bash-4.2# amixer set Master 10%-
 Simple mixer control 'Master',0
   Capabilities: pvolume pvolume-joined pswitch
   Playback channels: Front Left - Front Right
   Limits: Playback 0 - 39
   Mono:
   Front Left: Playback 7 [18%] [-48.00dB] [on]
   Front Right: Playback 7 [18%] [-48.00dB] [on]
 bash-4.2# amixer set Master 10%-
 Simple mixer control 'Master',0
   Capabilities: pvolume pvolume-joined pswitch
   Playback channels: Front Left - Front Right
   Limits: Playback 0 - 39
   Mono:
   Front Left: Playback 0 [0%] [-58.50dB] [on]
   Front Right: Playback 0 [0%] [-58.50dB] [on]
 bash-4.2#
 }}}
 we've reached 0 in just 5 steps.  going back up is similar:
 {{{
 bash-4.2# amixer set Master 10%+
 Simple mixer control 'Master',0
   Capabilities: pvolume pvolume-joined pswitch
   Playback channels: Front Left - Front Right
   Limits: Playback 0 - 39
   Mono:
   Front Left: Playback 8 [21%] [-46.50dB] [on]
   Front Right: Playback 8 [21%] [-46.50dB] [on]
 bash-4.2# amixer set Master 10%+
 Simple mixer control 'Master',0
   Capabilities: pvolume pvolume-joined pswitch
   Playback channels: Front Left - Front Right
   Limits: Playback 0 - 39
   Mono:
   Front Left: Playback 16 [41%] [-34.50dB] [on]
   Front Right: Playback 16 [41%] [-34.50dB] [on]
 bash-4.2# amixer set Master 10%+
 Simple mixer control 'Master',0
   Capabilities: pvolume pvolume-joined pswitch
   Playback channels: Front Left - Front Right
   Limits: Playback 0 - 39
   Mono:
   Front Left: Playback 24 [62%] [-22.50dB] [on]
   Front Right: Playback 24 [62%] [-22.50dB] [on]
 bash-4.2# amixer set Master 10%+
 Simple mixer control 'Master',0
   Capabilities: pvolume pvolume-joined pswitch
   Playback channels: Front Left - Front Right
   Limits: Playback 0 - 39
   Mono:
   Front Left: Playback 32 [82%] [-10.50dB] [on]
   Front Right: Playback 32 [82%] [-10.50dB] [on]
 bash-4.2# amixer set Master 10%+
 Simple mixer control 'Master',0
   Capabilities: pvolume pvolume-joined pswitch
   Playback channels: Front Left - Front Right
   Limits: Playback 0 - 39
   Mono:
   Front Left: Playback 39 [100%] [0.00dB] [on]
   Front Right: Playback 39 [100%] [0.00dB] [on]
 bash-4.2#
 }}}

-- 
Ticket URL: <http://dev.laptop.org/ticket/12527#comment:1>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system


More information about the Bugs mailing list