Subject: Re: X11 and dead keys
To: None <ianzag@megasignal.com>
From: segv <segv@netctl.net>
List: current-users
Date: 08/03/2005 15:19:50
On Wed, 3 Aug 2005 21:02:05 +0700
Ian Zagorskih <ianzag@megasignal.com> wrote:

> ? ????????? ?? Wednesday 03 August 2005 20:56 segv ???????(a):
>=20
> Some time ago i got same resiult, AFAIR when 3.99.7 was out.=20
>=20
> $ uname -a
> NetBSD IANZAG 3.99.7 NetBSD 3.99.7 (IANZAG-ACPI) #2: Wed Jul 27 14:03:25 =
NOVST=20
> 2005  ianzag@IANZAG:/home/ianzag/NetBSD/kernel/IANZAG-ACPI i386
>=20
> >
> > Here is a fragment from my /etc/X11/XF86Config
> >
> > Section "InputDevice"
> >         Identifier  "Keyboard0"
> >         Driver      "kbd"
> >         Option      "Protocol" "wskbd"
> >         Option      "Device" "/dev/wskbd"
> >         Option      "XkbLayout" "gb"
> > EndSection
> >
>=20
> Indeed, Driver=3Dkbd is what "X -configure" auto detects now. And extende=
d keys=20
> arn't working with it :-/ Try as below:
>=20
> Section "InputDevice"
> 	Identifier  "Keyboard0"
> 	Driver      "keyboard"
> 	Option	"XkbModel" "pc104"
> 	Option	"XkbLayout" "us,ru"
> 	Option	"XkbOptions" "grp:ctrl_shift_toggle"
> EndSection
>=20
> // wbr

OK the following config seems to fix the problem:

Section "InputDevice"
        Identifier  "Keyboard0"
        #Driver      "kbd"
        Driver      "keyboard"
        #Option     "Protocol" "wskbd"
        Option      "Device" "/dev/wskbd"
        Option      "XkbLayout" "gb"
EndSection

And the log file shows the following message:

(II) Keyboard "Keyboard0" handled by legacy driver

My qestion is, what's the story with 'Driver "kbd"' and 'Option "Protocol"
"wskbd"'? I mean is this supposed to be the new driver for keybards or does=
 'X
-configure' get is completely wrong?