On Sun, Jun 15, 2008 at 07:37:35AM +0200, Christian Perrier wrote:
> Quoting Wouter Verhelst ([EMAIL PROTECTED]):
> > Package: console-data
> > Version: 2:1.07-3
> > Severity: wishlist
> > 
> > Hi,
> > 
> > console-data currently contains a number of keymaps that exist from
> > pre-2.6 days. Before version 2.6 of the Linux kernel, a keymap had to be
> > made on an architecture-specific way; since the key codes of a PC
> > keyboard were not the same as that of, say, a Macintosh ADB keyboard,
> > the keymaps had to account for this difference.
> > 
> > In 2.6, however, the kernel accounts for this difference; now, all
> > keycodes are translated to their PC equivalent; as such, a keymap that
> > works on a PC will now also work on a Macintosh, or on any other
> > architecture.
> > 
> > Since loading a keymap that assumes architecture-specific keycodes
> > renders a keyboard fairly unusable, and since Debian hasn't supported
> > pre-2.6 kernels for a while now, it's probably best, in the interest of
> > avoiding confusion, to remove these outdated keycodes.
> > 
> > Of course I don't know about *all* possible keymaps; but I can say with
> > certainty that the "mac-*" keymaps (except for the "mac-usb-*" ones) can
> > all safely be removed. 
> 
> While I generally agree with you, I feel like I don't have the needed
> expertise to be sure doing this safely.
> 
> I maintain console-data as much as I can, without all the needed
> skills to do it..:-)
> 
> So, as long as I'm alone working on it, I'll be *very*
> conservative with it. Of course, even more as we're close to lenny
> release.

That makes sense. After all, it's the main reason why I made this a
wishlist bug, rather than a normal one... ;-)

But I can guarantee you that the "mac-*" keymaps are currently broken.
This bug was filed after I'd loaded one of them once too many on one of
my m68k macs...

> I would very much welcome any help (or Alastair coming back to work
> deeper on it) to prepare a good post-lenny version, cleaned out from
> many many old cruft we keep in there (just check all possible variants
> of French and German keymaps for instance).

I don't think there's anyone on this world who knows what the correct
keymaps are by heart. I think you basically have two options:
- Decode the keymaps, and figure out whether a key such as "e" (which is
  in the same position on almost all keymaps) has the correct key number
  (perhaps use http://en.wikipedia.org/wiki/Keyboard_layout to verify).
  In theory this should be possible, but it's quite some work.
- Start a wiki page and have people submit comments on whether a keymap
  is still useful.

-- 
<Lo-lan-do> Home is where you have to wash the dishes.
  -- #debian-devel, Freenode, 2004-09-22



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to