[PATCH] Add keymap quirk for Compaq PS/2 keyboard.

Paul Menzel pm.debian at googlemail.com
Sun Jun 14 01:31:27 PDT 2009


Dear HAL hackers,


a Compaq PS/2 keyboard is connected to my system which has 8 multimedia
keys [1]. On the sticker on the bottom of the keyboard it is written,
that the FCC ID is GYUR86SK.

Some of the emitted scancodes(?) match already some entries listed in
30-keymap-compaq.fdi.

e023:www
e01f:home
e01a:search
e01e:e-mail
e013:people/chat(?)
e014:slideshow
e015:people on a table
e01b:newspaper

For e013–e015 and e01b I was not sure which keymaps those keys
correspond to. So I chose some. It would be nice, if you could verify
those.


Bests,

Paul


[1] http://www3.sympatico.ca/flexiseel/images/Compaq_Fr_SK-2860.JPG

---
FCC ID GYUR86SK [1]

Some of the emitted scancodes(?) match already some entries listed in 30-keymap-compaq.fdi.

e023:www
e01f:home
e01a:search
e01e:e-mail
e013:people (addressbook?)
e014:slideshow
e015:people on a table (chat?)
e01b:newspaper

[1] http://www3.sympatico.ca/flexiseel/images/Compaq_Fr_SK-2860.JPG

Signed-off-by: Paul Menzel <paulepanter at users.sourceforge.net>
---
 fdi/information/10freedesktop/30-keymap-compaq.fdi |   12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)

diff --git a/fdi/information/10freedesktop/30-keymap-compaq.fdi b/fdi/information/10freedesktop/30-keymap-compaq.fdi
index 40816f5..89d4ae2 100644
--- a/fdi/information/10freedesktop/30-keymap-compaq.fdi
+++ b/fdi/information/10freedesktop/30-keymap-compaq.fdi
@@ -15,7 +15,17 @@
           <append key="info.capabilities" type="strlist">input.keymap</append>
         </match>
       </match>
-
+      <match key="/org/freedesktop/Hal/devices/platform_i8042_i8042_KBD_port:info.product" contains_outof="i8042 KBD port">
+        <append key="input.keymap.data" type="strlist">e023:www</append>      <!-- I key -->
+        <append key="input.keymap.data" type="strlist">e01a:search</append>   <!-- Search key -->
+        <append key="input.keymap.data" type="strlist">e01b:news</append>     <!-- News (person reading a newspaper) -->
+        <append key="input.keymap.data" type="strlist">e01e:email</append>    <!-- Email -->
+        <append key="input.keymap.data" type="strlist">e01f:homepage</append> <!-- Home key -->
+        <append key="input.keymap.data" type="strlist">e013:addressbook</append><!-- Addressbook (3 people standing together) -->
+        <append key="input.keymap.data" type="strlist">e014:presentation</append>        <!-- Presentation (chart on a blackboard) -->
+        <append key="input.keymap.data" type="strlist">e015:messenger</append><!-- Messenger key (3 people sitting together at a table) -->
+        <append key="info.capabilities" type="strlist">input.keymap</append>
+      </match>
     </match>
 
   </device>
-- 
1.6.3.1
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Dies ist ein digital signierter Nachrichtenteil
Url : http://lists.freedesktop.org/archives/hal/attachments/20090614/bd0cc0de/attachment.pgp 


More information about the hal mailing list