Difference between revisions of "Patch webOS Increase Volume"

From WebOS Internals
Jump to navigation Jump to search
Line 12: Line 12:
 
     start on stopped finish
 
     start on stopped finish
 
     stop on runlevel [!2]
 
     stop on runlevel [!2]
 
+
   
 
     pre-start script
 
     pre-start script
 
     amixer set 'AIF1 Boost' 2
 
     amixer set 'AIF1 Boost' 2
 
     end script
 
     end script
 
</code>
 
</code>

Revision as of 16:17, 20 July 2011

Patch webOS Increase Volume

Introduction

Increases the volume of the touchpad by setting the amixer property from 0 to 2 (67%) on startup.

Details

Simply adds the file /var/palm/event.d/increase_volume.sh

which contains the following:

   start on stopped finish
   stop on runlevel [!2]
   
   pre-start script
   amixer set 'AIF1 Boost' 2
   end script