Dell Precision M65 keys.

Dave Jones davej at redhat.com
Mon Oct 15 18:21:23 PDT 2007


These seem to mostly do the right thing.  I say mostly, because the
brightness keys pop up the brightness dialog onscreen, but it seems to
fail to read the current brightness, so there's no visible feedback in
the dialog. The brightness does change though.

	Dave

diff --git a/fdi/information/10freedesktop/30-keymap-dell.fdi b/fdi/information/10freedesktop/30-keymap-dell.fdi
index a6d7aa9..8933661 100644
--- a/fdi/information/10freedesktop/30-keymap-dell.fdi
+++ b/fdi/information/10freedesktop/30-keymap-dell.fdi
@@ -100,6 +100,18 @@
             <append key="info.capabilities" type="strlist">input.keymap</append>
           </match>
         </match>
+
+        <match key="/org/freedesktop/Hal/devices/computer:system.hardware.product" prefix="Precision">
+          <match key="/org/freedesktop/Hal/devices/computer:system.hardware.product" contains="M65">
+            <append key="input.keymap.data" type="strlist">e005:brightnessdown</append> <!-- Fn+Down arrow Brightness Down -->
+            <append key="input.keymap.data" type="strlist">e006:brightnessup</append> <!-- Fn+Up arrow Brightness Up -->
+            <append key="input.keymap.data" type="strlist">e007:battery</append> <!-- Fn+F3 battery icon -->
+            <append key="input.keymap.data" type="strlist">e00a:suspend</append> <!-- Fn+F1 hibernate -->
+            <append key="input.keymap.data" type="strlist">e00f:switchvideomode</append> <!-- Fn+F7 aspect ratio -->
+            <append key="input.keymap.data" type="strlist">e013:f23</append> <!-- Fn+Left arrow Auto Brightness -->
+            <append key="info.capabilities" type="strlist">input.keymap</append>
+          </match>
+        </match>
       </match>
     </match>
   </device>

-- 
http://www.codemonkey.org.uk


More information about the hal mailing list