Ken Moffat wrote:
> 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)
On my system I have:
ls -l /dev/input/by-path/
total 0
lrwxrwxrwx 1 root root 9 Sep 12 00:43 pci-0000:00:1a.0-usb-0:2:1.0-event-kbd ->
../event2
lrwxrwxrwx 1 root root 9 Sep 12 00:43 pci-0000:00:1a.1-usb-0:1:1.0-event-mouse
-> ../event3
lrwxrwxrwx 1 root root 9 Sep 12 00:43 pci-0000:00:1a.1-usb-0:1:1.0-mouse ->
../mouse0
ls -l /dev/input/event2
crw-r----- 1 root root 13, 66 Sep 12 00:43 /dev/input/event2
I don't use any specialized keyboard though.
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
EndSection
Even though I do have evdev enabled in the kernel.
> 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.
But what does it offer? Is it only an internationalization issue? I don't
have
any problem with trying new things, but for a lot of people, the mantra is "If
it's not broke, don't fix it."
-- Bruce
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page