Bug#266274: xserver-xfree86: Backslash key doesn't work when using evdev keyboard driver.
On Sunday 22 Aug 2004 02:51, Branden Robinson wrote:
> On Tue, Aug 17, 2004 at 11:35:10AM +0100, Timothy Baldwin wrote:
> > The backslash key deosn't work when I use the evdev Keyboard driver.
> >
> > Here is a fragment from my /etc/X11/XF86Config-4
> >
> > Section "InputDevice"
> > Identifier "KeyboardPSi2"
> > Driver "kbd"
> > Option "Dev Phys" "isa0060/serio0/input0"
> > Option "Protocol" "evdev"
> > Option "CoreKeyboard"
> > Option "XkbRules" "xfree86"
> > Option "XkbModel" "pc105"
> > Option "XkbLayout" "gb"
> > EndSection
>
> Interesting -- you may be the first person I've seen use the "kbd" instead
> of "keyboard".
>
> Does the key work with the "keyboard" driver? Your configuration otherwise
> looks okay (xfree86/pc105/gb).
Yes, it does.
>
> Also, can you tell me what this "Dev Phys" option is? It's not documented
> in kbd(4x). (I have to admit I don't know much about the new kbd driver,
> nor evdev, yet.)
It specifies which keyboard the driver should use.
See http://people.debian.org/~warp/evdev/readme and
http://tldp.org/HOWTO/XFree-Local-multi-user-HOWTO/tweak_input_devs-xev1.html
for documentation, the patches are included in the package.
I have managed fix this myself, see attached patch.
--
Member AFFS, WYLUG, SWP (UK), ANL, RESPECT, Leeds SA, Leeds Anti-war coalition
No to software patents! No to DRM/EUCD - hands off our computers!
diff -Nru3 ./xc/programs/Xserver/hw/xfree86/os-support/linux/lnx_kbd.c ../build-tree.new/xc/programs/Xserver/hw/xfree86/os-support/linux/lnx_kbd.c
--- ./xc/programs/Xserver/hw/xfree86/os-support/linux/lnx_kbd.c 2004-08-22 02:22:15.000000000 +0100
+++ ../build-tree.new/xc/programs/Xserver/hw/xfree86/os-support/linux/lnx_kbd.c 2004-08-22 02:18:38.000000000 +0100
@@ -584,7 +584,6 @@
break;
switch (ev->code) {
case EV_KEY_103RD:
- case EV_KEY_102ND:
case EV_KEY_LINEFEED:
case EV_KEY_MACRO:
case EV_KEY_MUTE:
Reply to: