Comment 66 for bug 285908

Revision history for this message
zanonmark (info-marcozanon) wrote :

Great news! There's a workaround which actually works, not only under X but under console as well!

Full credits and thanks go to Vojtech Pavlik for a) taking time to analyze my bug report and my output, b) describing the bug and finding where the problem lies, c) suggesting me the workaround.

If you look at the Linux Bugzilla bug report (http://bugzilla.kernel.org/show_bug.cgi?id=12230), the explanation points to a double-side bug:
1) the keyboard is sometimes initialized in raw mode instead of translated mode;
2) in raw mode, the AltGr key is mistakenly mapped to scancode 0x91 (hex) instead of 91 (dec).

Currently, there is no solutions for #1 (some modifications to the i8042 driver's initialization parameters will probably be done in the future).
BUT: you can circumvent #2 by typing: "(sudo) setkeycodes 91 100" for reassigning the right keycode to the wrongly scancode-mapped AltGr key.

This solutions seems fully functional to me.
Vojtech tells me (I still haven't tried) that this command should not hurt even on right boots, since the 0x91 scancode is unused.

Thanks, MZ