iPXE discussion forum
KEYBOARD_MAP "fr" issues - Printable Version

+- iPXE discussion forum (https://forum.ipxe.org)
+-- Forum: iPXE user forums (/forumdisplay.php?fid=1)
+--- Forum: General (/forumdisplay.php?fid=2)
+--- Thread: KEYBOARD_MAP "fr" issues (/showthread.php?tid=7554)



KEYBOARD_MAP "fr" issues - xhark - 2014-12-08 23:17

Hi,

The KEYBOARD_MAP for french keyboard seems to be not the good one.
Letters are good, but not the other keys special keys.

Here is some example:

When I press => this appears
Code:
² => *
é => {
è => }
< => *
> => #
¨ => <
° => ]
123456789 (with numlock) => &{"'(-}_/

Most problematic issue is no AltrGr works. So it's not possible to use "|", "@", # in shell.

The real french keyboard configuration is here : http://upload.wikimedia.org/wikipedia/commons/9/92/Clavier-Azerty.svg?uselang=fr

Thank you


RE: KEYBOARD_MAP "fr" issues - robinsmidsrod - 2014-12-09 13:35

There is a similar problem with the Norwegian keymap. The main issue is that the BIOS keyboard controller isn't able to distinguish between Alt and AltGr, so dead keys don't work right. I've ended up with just using English keymap for now.


RE: KEYBOARD_MAP "fr" issues - xhark - 2014-12-09 15:43

OK, strange because AltGr must be replaced by ctrl+alt and this does not work either.

If you need help for french keyboard "translation", contact me.


RE: KEYBOARD_MAP "fr" issues - robinsmidsrod - 2014-12-15 16:13

I don't exactly recall what the problem was with the BIOS console input. Maybe it was a problem that only a single modifier key could be used at once. Ask on the mailing-list if you want a more detailed explanation.


RE: KEYBOARD_MAP "fr" issues - MiguelSC - 2019-05-26 17:44

Hi,
i hijacked this post because i have a similar issue with portuguese keyboard layout, but my problem includes keys that dont need modifiers too.
in this address the bottom line at https://ipxe.org/buildcfg/keyboard_map tells us the utility that is used to generate keyboard maps is here:http://www.kernel.org/pub/linux/utils/kbd/, i actualy downloaded it but have no idea how to use it, or if it will work no matter whitch version i get for that matter...
I am using legacy mode.

any help would be greatly apreciated.
Thank you.


RE: KEYBOARD_MAP "fr" issues - NiKiZe - 2019-05-26 20:59

There is discussion at http://lists.ipxe.org/pipermail/ipxe-devel/2011-March/000407.html
Which refers to it being autobuilt, which might be why the documentation is minimal, commit at https://git.ipxe.org/ipxe.git/commitdiff/9b68dc78b9e32dccc7c8a51f9460c6ffc63195a5
The interesting part is a few commits just before: https://git.ipxe.org/ipxe.git/commitdiff/1febd879e340958c7a4a54823a82784fcb3672ca
Which in turn refers to /util/genkeymap.pl - which has some documentation, and probably is what you actually want to run.

But other than that I can't find much information, so an update of https://ipxe.org/buildcfg/keyboard_map is in order, i will ping mcb about it


RE: KEYBOARD_MAP "fr" issues - MiguelSC - 2019-05-26 23:40

(2019-05-26 20:59)NiKiZe Wrote:  There is discussion at http://lists.ipxe.org/pipermail/ipxe-devel/2011-March/000407.html
Which refers to it being autobuilt, which might be why the documentation is minimal, commit at https://git.ipxe.org/ipxe.git/commitdiff/9b68dc78b9e32dccc7c8a51f9460c6ffc63195a5
The interesting part is a few commits just before: https://git.ipxe.org/ipxe.git/commitdiff/1febd879e340958c7a4a54823a82784fcb3672ca
Which in turn refers to /util/genkeymap.pl - which has some documentation, and probably is what you actually want to run.

But other than that I can't find much information, so an update of https://ipxe.org/buildcfg/keyboard_map is in order, i will ping mcb about it

Just tryed it here is the result:
miguel@DESKTOP-P623JI2:~/ipxe/src/util$ perl genkeymap.pl -v -f pt newKeyboardLayout
unknown keysym 'trademark'

unknown keysym 'trademark'

unknown keysym 'trademark'

unknown keysym 'trademark'

unknown keysym 'trademark'

unknown keysym 'trademark'

unknown keysym 'trademark'

unknown keysym 'trademark'

lk_add_key called with bad keycode -1
Could not read from "pt":
miguel@DESKTOP-P623JI2:~/ipxe/src/util$

Thanks, it was worth a shot... next weekend i'll be at it again...