Difference between revisions of "Patch webOS Increase Volume"

From WebOS Internals
Jump to navigation Jump to search
(Created page with "=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 /va...")
 
Line 1: Line 1:
=Patch webOS Increase Volume
+
=Patch webOS Increase Volume=
  
==Introduction
+
==Introduction==
 
Increases the volume of the touchpad by setting the amixer property from 0 to 2 (67%) on startup.
 
Increases the volume of the touchpad by setting the amixer property from 0 to 2 (67%) on startup.
  
==Details
+
==Details==
 
Simply adds the file /var/palm/event.d/increase_volume.sh
 
Simply adds the file /var/palm/event.d/increase_volume.sh
  
Line 10: Line 10:
  
 
<code>
 
<code>
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:16, 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