Have you configured /etc/rc.d/rc.keymap ?
I customise mine a little here. I use this:
Code:
#!/bin/sh
# Stop the kernel complaining about unknown keys for the
# brightness up/down keys on a HP Pavilion laptop.
# (Ensure the keycode (239) is mapped to VoidSymbol in
# the mapfile.
/usr/bin/setkeycodes e02b 239
# Load the console keyboard map.
if [ -x /usr/bin/loadkeys -a -f /etc/keymap.map ]; then
/usr/bin/loadkeys /etc/keymap.map
fi
Then in /etc/keymap.map, I have:
Code:
#!/usr/bin/loadkeys
#
# This file will be processed by loadkeys, invoked by
# /etc/rc.d/rc.keymap during system initialisation.
#
# Include the standard British layout qwerty PC keymap:
include "/usr/share/kbd/keymaps/i386/qwerty/uk.map"
# Add the European currency 'euro' symbol to AltGr-4:
altgr keycode 5 = euro
# Add the cent symbol to AltGr-c:
altgr keycode 46 = cent
# Make Ctrl-/ send Control_underscore (for emacs undo key):
control keycode 53 = Control_underscore
# Make control-shift-minus send control_underscore (also emacs):
#control keycode 12 = minus
control shift keycode 12 = Control_underscore
# My HP Pavilion laptop generates an additional scancodes when
# the brightness up/down keys are pressed.
keycode 239 = VoidSymbol
# Prevent the backlight brightness up/down function keys generating
# characters (acpi will handle them):
#keycode 224 = VoidSymbol
#keycode 225 = VoidSymbol
# Prevent the mute, volumedown, volumeup function keys generating
# characters (acpi will handle them):
# keycode 113 = VoidSymbol
# keycode 114 = VoidSymbol
# keycode 115 = VoidSymbol
I prefer doing it this way: using the include and then my own modifications in /etc/keymap.map.
BTW, if you compile your own kernel you can embed your chosen keymap into it as a default. I do that on my crux install, but on Slackware I use Pat's kernels.