Subject: Re: strange keyboard behavior with X 4.3.0
To: David Hopper <dhop@nwlink.com>
From: Manuel Bouyer <bouyer@antioche.eu.org>
List: port-alpha
Date: 03/12/2003 21:40:48
On Wed, Mar 12, 2003 at 12:12:31PM -0800, David Hopper wrote:
> Manuel Bouyer wrote:
> >Hi,
> >so I installed XFree 4.3.0 on my AS255 (running 1.6.1_RC2), with a S3 virge
> >graphic.
>
> Is this the in-tree code, or Mel's code?
The in-tree code with xsrc/20560 patch.
>
> >I have strange behavior of the keyboard: for the arrow keys, events are
> >doubled. That is, in a xterm if I press KP_Left the cursor moves left 2
> >times
> >(this is confirmed by xevent). Also, when using a keypad combination with
> >the arrow key (say, shift-left arrow), the X server sees an extra
> >KeyRelease
> >event before the leftarrow events, and an extra KeyPress event after
> >for the shift.
> >Here is a Xev snapshot of a shift-leftarrow:
> >
> >[...]
> >Does anyone have the same problem with XF4 on VGA adapters ?
> >I had to add
> > Option "Protocol" "wskbd"
> > Option "Device" "/dev/wskbd0"
> >in the XF86Config, otherwise the X server wouldn't start, saying it can't
> >find the keyboard. I am using the wrong protocol, or is it a bug in
> >the wskbd driver ?
>
> Interesting. I have the same system/card as you and I use this (in-tree
> code):
> [...]
> Section "InputDevice"
>
> Identifier "Keyboard1"
> Driver "Keyboard"
> Option "AutoRepeat" "500 30"
> Option "XkbRules" "xfree86"
> Option "XkbModel" "compaq"
> Option "XkbLayout" "us"
>
> EndSection
Thanks. This is almost what I have (model is pc101 instead of compaq
in my case, but it's he only difference).
Hum, I suspect it's because WSDISPLAY_COMPAT_USL and WSDISPLAY_COMPAT_RAWKBD
are not in the kernel config. I'll add these and try again tomorow.
--
Manuel Bouyer <bouyer@antioche.eu.org>
NetBSD: 24 ans d'experience feront toujours la difference
--