FS#39002 - [kbd] Not all keys work on br-abnt2 keyboard layout on a TTY on notebooks

Attached to Project: Arch Linux
Opened by Thiago Perrotta (thiagowfx) - Sunday, 23 February 2014, 03:04 GMT
Last edited by Tobias Powalowski (tpowa) - Wednesday, 13 August 2014, 10:24 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Tobias Powalowski (tpowa)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

When using the br-abtn2 (portuguese) keyboard layout (which can be loaded with `loadkeys br-abnt2`) on TTY on notebooks from the Arch ISO, to perform a new installation of Arch, two keys in particular do not work out-of-the-box (but they should):

/ (slash), which can be pressed with Alt Gr + Q
? (question mark), which can be pressed with Alt Gr + W

This is a problem on notebooks because they usually do not have a separate key with these symbols; the only form of entering them is with Alt Gr.

Also, it is not easy to perform a proper installation of Arch without /, because we need it to create the /mnt mountpoint, for example.

I've also noticed this bug remains after doing a proper installation, then rebooting on Arch. Although, these keys *do* work okay with X (with `setxkbmap br`), the only problem is on a virtual console / TTY.

There is an easy fix, though, which was suggested on the Arch Linux BR Forums (see the following topic: http://forum.archlinux-br.org/viewtopic.php?pid=19765#p19765). I've tested it and I can confirm it *works* okay!

1 - gunzip the br-abnt2 map file (located on /usr/share/kbd/keymaps/i386/qwerty/br-abnt2.map.gz)
2 - add the following two lines to its end:

altgr keycode 16 = slash
altgr keycode 17 = question

3 - gzip again the file

Now, after issuing `loadkeys br-abnt2` again, the two symbols will properly work.

Additional info:
* package version(s): kbd 2.0.1-1
* config and/or log files etc:

This is the map file *before* the addition of the lines: http://pastebin.com/dR9nP5DD
This is the map file *after* the addition of the lines: http://pastebin.com/39cRrXyx


Steps to reproduce:
1 - Boot into an Arch ISO (for example, the one from January);
2 - Load the portuguese keymap (loadkeys br-abnt2)
3 - Try to insert a slash or a question mark from a notebook keyboard. You won't succeed.


Additional note: these keys do not work on the br-abnt layout also, but I'm not sure if we should change it (the br-abnt2 layout is more complete).
This task depends upon

Closed by  Tobias Powalowski (tpowa)
Wednesday, 13 August 2014, 10:24 GMT
Reason for closing:  Upstream
Comment by Doug Newgard (Scimmia) - Sunday, 23 February 2014, 03:28 GMT
Sounds like something you need to report upstream: http://www.kbd-project.org/

Loading...