Package: hotkey-setup
Version: 0.1-14
Severity: wishlist
Tags: patch

Please add support for CLEVO D500P laptop.
This model is usually rebranded under several other names.

Here is a extract of dmidecode's dump:
System Information
        Manufacturer: CLEVO
        Product Name: D500P
        Version: Revision A2

The attached patch adds setkeycode for the missing key (described as 
'Application button' in the vendor doc, so I have used KEY_PROG1).
I have added filtering on both the manufacturer name and the product
name, as I don't know the behaviour of other CLEVO products.

Thanks,
Gilles.


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-suspend2-1
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)

Versions of packages hotkey-setup depends on:
ii  dmidecode                     2.8-1      Dump Desktop Management Interface 

hotkey-setup recommends no packages.

-- no debconf information
diff -Naur hotkey-setup-0.1.orig/clevo-d500p.hk hotkey-setup-0.1/clevo-d500p.hk
--- hotkey-setup-0.1.orig/clevo-d500p.hk        1970-01-01 01:00:00.000000000 
+0100
+++ hotkey-setup-0.1/clevo-d500p.hk     2006-03-08 02:40:50.000000000 +0100
@@ -0,0 +1,5 @@
+# CLEVO D500P Laptop
+# also known as Keynux Agora H8
+#
+setkeycodes    e001    $KEY_PROG1
+
diff -Naur hotkey-setup-0.1.orig/debian/init.d hotkey-setup-0.1/debian/init.d
--- hotkey-setup-0.1.orig/debian/init.d 2006-02-06 14:41:37.000000000 +0100
+++ hotkey-setup-0.1/debian/init.d      2006-03-08 02:40:38.000000000 +0100
@@ -15,7 +15,7 @@
 
     . /usr/share/hotkey-setup/key-constants
 
-    case "$manufacturer" in
+    case "$manufacturer-$name-$version" in
        Hewlett-Packard*)
        case "$name" in
                *Tablet*)
@@ -44,6 +44,9 @@
        /usr/sbin/thinkpad-keys
        touch /var/run/hotkey-setup.thinkpad-keys
        ;;
+       CLEVO-D500P-*)
+       . /usr/share/hotkey-setup/clevo-d500p.hk
+       ;;
        *)
        . /usr/share/hotkey-setup/default.hk    
     esac

Reply via email to