[Pkg-kbd-devel] Bug#420824: console-setup: various improvements to Brazilian and Japanese layout handling

Colin Watson cjwatson at ubuntu.com
Tue Apr 24 20:37:00 UTC 2007


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

Sorry, it was pretty fiddly to split these out into multiple patches. I
think this is probably more intelligible as a unit anyway.

Brazilian keyboards need to use the abnt2 keyboard model
(https://launchpad.net/bugs/66774). It would be a lot simpler if
console-setup would change the model for you if you try to use pc105;
this also means that it's possible to configure a Brazilian keyboard
correctly at a debconf priority where the model question isn't displayed
(e.g. d-i outside expert mode).

Similarly, Japanese keyboards need to use the jp106 keyboard model
(https://launchpad.net/bugs/66719).

Japanese users apparently prefer jp(latin),jp over us,jp
(https://launchpad.net/bugs/63915). This requires special cases in
various places in console-setup similar to those already present for
Czech; I just extended them in the obvious ways.

Apparently keycode 133 should be mapped to AT scancode 124 for Japanese
keyboards, otherwise they can't use the backslash key
(https://launchpad.net/bugs/97466). Jun Kobayashi submitted a patch for
this. While I can't find an authoritative reference confirming it, it
doesn't seem unreasonable.

Thanks,

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


More information about the Pkg-kbd-devel mailing list