[Pkg-kbd-devel] Bug#420818: console-setup: keymapper/detect-keyboard integration

Colin Watson cjwatson at ubuntu.com
Tue Apr 24 20:09:23 UTC 2007


Package: console-setup
Version: 1.15
Severity: wishlist
Tags: patch

The attached patch makes use of the keymapper package (written by
Matthias Urlichs, now maintained by me) to generate a decision tree
which can be used by an intelligent debconf frontend to prompt the user
to press some named keys and automatically detect the keyboard layout on
the basis of the results. This system has been in use in Ubuntu for
quite a while now (since Ubuntu 5.04, based on kbd-chooser; since Ubuntu
6.10, based on console-setup) and seems to work pretty well. It's really
about time I had a go at getting it into Debian.

I realise that (a) the relevant cdebconf plugin isn't in Debian yet and
(b) console-setup isn't integrated into the Debian installer yet, so in
a sense this change is a bit useless. However, I think if at all
possible (and if this is your intention too) console-setup ought to be
integrated into the Debian installer in the lenny release cycle, and I'm
happy to upload the cdebconf plugin if this stands a chance of being
applied. It's also a reasonably-sized patch that adds a couple of steps
to console-setup.config's state machine, so if I could get it out of my
patch then it would certainly simplify my life.

As written, the patch assumes that my console-setup/codeset fixes from
#420802 have already been applied, but the worst that will happen if
they haven't been should be a bit of fuzz.

Thanks,

-- 
Colin Watson                                       [cjwatson at ubuntu.com]
-------------- next part --------------
A non-text attachment was scrubbed...
Name: console-setup.detect-keys.diff
Type: text/x-diff
Size: 12547 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/pkg-kbd-devel/attachments/20070424/91a8a101/console-setup.detect-keys-0001.bin


More information about the Pkg-kbd-devel mailing list