[PATCH] add volume keys of the SYMPHONY 6.0/7.0 to the keymap

Adel Gadllah adel.gadllah at gmail.com
Sun Jun 29 05:45:11 PDT 2008


Hi,
The attached patch maps the keycodes 174 and 176 to the volumeup/down
keys on this laptop.

----------
Signed-off-by: Adel Gadllah <adel.gadllah at gmail.com>

diff --git a/fdi/information/10freedesktop/30-keymap-misc.fdi
b/fdi/information/10freedesktop/30-keymap-misc.fdi
index def976f..3365dae 100644
--- a/fdi/information/10freedesktop/30-keymap-misc.fdi
+++ b/fdi/information/10freedesktop/30-keymap-misc.fdi
@@ -82,6 +82,8 @@
 	<match key="/org/freedesktop/Hal/devices/computer:system.hardware.product"
string="SYMPHONY 6.0/7.0">
 	  <append key="input.keymap.data" type="strlist">e073:prog2</append>
<!-- "P2" programmable button -->
 	  <append key="input.keymap.data" type="strlist">e074:prog1</append>
<!-- "P1" programmable button -->
+    	  <append key="input.keymap.data"
type="strlist">174:volumedown</append> <!-- "-" volumedown -->
+  	  <append key="input.keymap.data"
type="strlist">176:volumeup</append> <!-- "+" volumeup -->
 	  <append key="info.capabilities" type="strlist">input.keymap</append>
 	</match>
       </match>


More information about the hal mailing list