OK, I've now got my keyboard working well enough
(arrow keys on the numeric pad don't work, but I don't
use them), and the compose key is broken in xorg,
but I no longer use it - all the oddities that I use are
either on AltGr-something or on a dead key accessed
via AltGr.  These fixes only apply to people using the
evdev driver for their keyboard, NOT to the old
xf86-input-keyboard driver.

This is what I've had to do:

0. In the kernel, CONFIG_INPUT_EVDEV

1. in xorg.conf:

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "evdev"
        Option          "Device"
"/dev/input/by-path/platform-i8042-serio-0-event-kbd"
        Option          "XkbRules"      "evdev"
        #Option     "Device" "/dev/input/event2"
        Option  "XkbLayout" "gb"
        # compose option commented out
EndSection

 The specification by-path looks liekly to be more reliable
across boxes, you need to look in /proc/bus/input/devices
to work out the even number if you use that alternative.
(Event numbers seem to be constant on a particular machine)

 If you build xserver agaisnt hal, the following are probably
not necessary, but I'm sure hal will provide plenty of other
issues to make up for it ;-)

2. To get down arrow, page down, page up working,
I have the following entries in ~/.Xmodmap:
keycode 116 = Down
keycode 117 = Next
keycode 99 = Prior

 The first two I can understand, the last (PageUp)
is beyond me because xev shows the key is now
generating keycode 112.

3. To get autorepeat working on left arrow and
down arrow, in ~/.xinitrc

xset r 113
xset r 116

 See https://bugs.freedesktop.org/show_bug.cgi?id=17925
comments 38 (explanation, one possible workaround that
I couldn't get to work for me), and comments 40, 42.

 As to _why_ people should use evdev...  Well, it's new(ish).

I noticed some disparaging remarks on lkml a mnth or two
ago about a distro that still used the keyboard and mouse
drivers, so I decided to try it.

ĸen
-- 
After tragedy, and farce, "OMG poneys!"
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to