VinzC Watchman
Joined: 17 Apr 2004 Posts: 5098 Location: Dark side of the mood
|
Posted: Tue Sep 02, 2008 12:02 pm Post subject: PBM: xorg evdev probably messes with KVM (Qemu) keymaps |
|
|
Hi.
I've been using Qemu/KVM for a long time already and I've recently switched to xorg-server-1.4.2. The latter ships with evdev for both mouse and keyboard. Coincidentally my keyboard doesn't work as expected with my Linux KVM virtual machines.
I have a belgian French keyboard. For instance, if I want to get a ampersand, I press the "&" key, which also holds "1" (with Shift) and "|" (with AltGr).
When I run kvm without specifying a keymap, for instance, pressing AltGr is like pressing a Ctrl+C . Many keys don't give the expected character. So I ran kvm with argument -k fr-be. It worked a little better. However in KVM pressing the "ampersand" key returns a lowercase "a" . Also pressing the "[" key returns a "^" (which actually should be a dead key) in KVM.
I've looked up for other keymap files and I saw rdesktop had some. So I replaced KVM's fr-be keymap file with rdesktop's. Now almost all keys return the expected characters. Only the left square bracket "[" still returns a circumflex accent ("^") instead. OTOH keys pressed in rdesktop give the expected character.
That problem didn't occur while I had X running with driver kbd. Is it a bug with KVM or evdev or?... Or is it a bug at all? Don't really know where this fits.
Thanks for any hint/suggestion.
P.S.: This is happening with kvm-70-r1, kvm-72 and kvm-73 as well. I have only tested these 3 versions with xorg/evdev. I had previously used kvm-70 with xorg/kbd before. _________________ Gentoo addict: tomorrow I quit, I promise!... Just one more emerge...
1739! |
|