Skip to contentSkip to conversation

Wrong keyboard mapping for Belgian keyboard

Qemu-devel Frederik Himpe 2 participants 2 messages Nov 5, 2008 – Feb 9, 2009

lore
Share & tools
lore
#0 lore raw

I am using qemu as part of kvm 77.

According to man kvm, the -k parameter can accept both nl-be and fr-be. This makes no sense, as Dutch and French speaking Belgians use the same azerty based "Belgian" keyboard. Only be should be defined, the other ones could be just an alias for the be lay-out.

the nl-be option, seems to give some qwerty style lay-out, which is totally wrong then.

The fr-be option, gives an azerty style lay-out, however, some characters are wrong:

- Pressing the 1 on the alphanumerical keyboard without shift, should give & on a Belgian keyboard, however, it results in a k in my virtual machine.

- Pressing 4 without shift, should give ' but results in b

- Pressing 6 without shift, should give §, but results in s

Pressing the key to the left of the w key, should give < but results in w (the real w key correctly results in w too)

- Key combinations with Alt-Gr (IIRC these are called dead keys?) do not work at all. For example AltGR+2 should give @, but it results in é (which is the character you should get without AltGR).

The host machine is running Mandriva Linux 2009.0 x86_64 (with a Belgian keyboard of course), the KVM virtual machine runs Debian Lenny (also configured for Belgian keyboard). If kvm-qemu is started without any -k option, all keys work correctly.

On http://en.wikipedia.org/wiki/Image:Belgian_pc_keyboard.svg you can see what a Belgian keyboard exactly looks like.

Signature · 1 line
Frederik Himpe
#1 lore raw
Quoted 24 lines · Frederik Himpe

I am using qemu as part of kvm 77.

According to man kvm, the -k parameter can accept both nl-be and fr-be. This makes no sense, as Dutch and French speaking Belgians use the same azerty based "Belgian" keyboard. Only be should be defined, the other ones could be just an alias for the be lay-out.

the nl-be option, seems to give some qwerty style lay-out, which is totally wrong then.

The fr-be option, gives an azerty style lay-out, however, some characters are wrong:

- Pressing the 1 on the alphanumerical keyboard without shift, should give & on a Belgian keyboard, however, it results in a k in my virtual machine.

- Pressing 4 without shift, should give ' but results in b

- Pressing 6 without shift, should give §, but results in s

Pressing the key to the left of the w key, should give < but results in w (the real w key correctly results in w too)

Quoted 9 lines

- Key combinations with Alt-Gr (IIRC these are called dead keys?) do not work at all. For example AltGR+2 should give @, but it results in é (which is the character you should get without AltGR).

The host machine is running Mandriva Linux 2009.0 x86_64 (with a Belgian keyboard of course), the KVM virtual machine runs Debian Lenny (also configured for Belgian keyboard). If kvm-qemu is started without any -k option, all keys work correctly.

That should be fixed in the current SVN.

Signature · 2 lines
Aurelien Jarno	                        GPG: 1024D/F1BCDB73
[email protected]                 http://www.aurel32.net