[Top] [All Lists]

Re: DECstation keyboard mappings and XFree

To: Karsten Merker <>
Subject: Re: DECstation keyboard mappings and XFree
From: "Maciej W. Rozycki" <>
Date: Mon, 11 Feb 2002 15:07:08 +0100 (MET)
In-reply-to: <>
Organization: Technical University of Gdansk
On Sun, 10 Feb 2002, Karsten Merker wrote:

> I have modified the keycode remapping table in drivers/tc/lk201-remap.c
> to deliver PC compatible keycodes. Aim of this modification is easier
> use of XFree86 on DECstations (with the standard PC-keyboard map) and
> the possibility to use existing loadable national keymaps for i386.
> In theory, this should work, in practice, it does not :-(.

 Hmm, why do you need (sh*tty) PC-compatible keycodes for a keaboard that
barely resembles a PC keyboard?  AFAIK, XFree86 has appropriate LK201
keymaps -- see "/usr/X11R6/lib/X11/xkb/*/digital/*". 

 Just set up your "Keyboard" section of XF86Config correctly.  E.g.
(completely untested):

Section "Keyboard"
  XkbKeycodes "digital/lk(lk201)"
  XkbSymbols "digital/us(us)"
  XkbGeometry "digital/lk(lk201)"

It might be nice to add these values to Xkb rules somewhere
("/usr/X11R6/lib/X11/xkb/rules/digital"?) one day, so you don't need to
specify components separately for default values, but I'm not sure our
XFree86 support is stable enough to consider it now. 


+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+        e-mail:, PGP key available        +

<Prev in Thread] Current Thread [Next in Thread>