From db66c3c25d0e75718cf8218587ecc206c7aba4d4 Mon Sep 17 00:00:00 2001 From: Andres Salomon Date: Fri, 19 Nov 2010 12:36:27 -0800 Subject: [PATCH] debxo: drop hal keymapping stuff Keymappings for OLPC are now handled by udev (and included upstream). In order for this to work, OFW must have DMI support. Newer versions of OFW all have it, so upon detection of an OLPC machine, udev should automatically load the correct keymap (and it should work properly for both X and console). If using an older OFW that lacks DMI support, upgrading is recommended. If that's not an option, just add something like the following to your /etc/rc.local (this will force manual loading of the keymaps): /lib/udev/keymap /dev/input/event0 olpc-xo Signed-off-by: Andres Salomon --- 30-keymap-olpc.fdi | 40 ------------------------------------- configs/debxo-awesome/hooks | 5 ----- configs/debxo-gnome/hooks | 5 ----- configs/debxo-kde/hooks | 5 ----- configs/debxo-lxde/hooks | 5 ----- configs/debxo-sugar/hooks | 5 ----- configs/debxo-xfce/hooks | 5 ----- 7 files changed, 70 deletions(-) delete mode 100644 30-keymap-olpc.fdi diff --git a/30-keymap-olpc.fdi b/30-keymap-olpc.fdi deleted file mode 100644 index dcba46d..0000000 --- a/30-keymap-olpc.fdi +++ /dev/null @@ -1,40 +0,0 @@ - - - - - - - - - 0x65:kp9 - 0x66:kp3 - 0x67:kp7 - 0x68:kp1 - - 0xe065:kp8 - 0xe066:kp2 - 0xe067:kp4 - 0xe068:kp6 - - 0x73:prog1 - 0x43:brightnessdown - 0x44:brightnessup - 0x57:volumedown - 0x58:volumeup - - 0x59:fn - - 0xe043:f9 - 0xe044:f10 - 0xe057:f11 - 0xe058:f12 - - 0xe079:search - 0xe06e:chat - - input.keymap - - - - diff --git a/configs/debxo-awesome/hooks b/configs/debxo-awesome/hooks index 563fe7d..2bd93a6 100644 --- a/configs/debxo-awesome/hooks +++ b/configs/debxo-awesome/hooks @@ -88,11 +88,6 @@ EOF # No longer a need for xorg.conf rm -f ${ROOT_DIR}/etc/X11/xorg.conf - # key bindings/mappings - if [ -d ${ROOT_DIR}/usr/share/hal/fdi/information/10freedesktop/ ]; then - cp 30-keymap-olpc.fdi ${ROOT_DIR}/usr/share/hal/fdi/information/10freedesktop/ - fi - # configure nodm F=${ROOT_DIR}/etc/default/nodm if [ -f ${F} ]; then diff --git a/configs/debxo-gnome/hooks b/configs/debxo-gnome/hooks index 441337a..f53bc5d 100644 --- a/configs/debxo-gnome/hooks +++ b/configs/debxo-gnome/hooks @@ -89,11 +89,6 @@ EOF # No longer a need for xorg.conf rm -f ${ROOT_DIR}/etc/X11/xorg.conf - # key bindings/mappings - if [ -d ${ROOT_DIR}/usr/share/hal/fdi/information/10freedesktop/ ]; then - cp 30-keymap-olpc.fdi ${ROOT_DIR}/usr/share/hal/fdi/information/10freedesktop/ - fi - # configure gnome if [ -d ${ROOT_DIR}/etc/gconf/2 ]; then cat >${ROOT_DIR}/etc/gconf/2/local-defaults.path<