Debian Bug report logs - #660154
qemu-keymaps: Finnish keyboard mapping broken

version graph

Package: qemu-keymaps; Maintainer for qemu-keymaps is (unknown);

Reported by: Timo Sirainen <tss@iki.fi>

Date: Thu, 16 Feb 2012 22:21:02 UTC

Severity: normal

Found in version qemu/1.0+dfsg-3

Fixed in version 1.3.0+dfsg-1~exp1

Done: Michael Tokarev <mjt@tls.msk.ru>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian QEMU Team <pkg-qemu-devel@lists.alioth.debian.org>:
Bug#660154; Package qemu-keymaps. (Thu, 16 Feb 2012 22:21:05 GMT) (full text, mbox, link).


Acknowledgement sent to Timo Sirainen <tss@iki.fi>:
New Bug report received and forwarded. Copy sent to Debian QEMU Team <pkg-qemu-devel@lists.alioth.debian.org>. (Thu, 16 Feb 2012 22:21:05 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Timo Sirainen <tss@iki.fi>
To: submit@bugs.debian.org
Subject: qemu-keymaps: Finnish keyboard mapping broken
Date: Thu, 16 Feb 2012 23:58:30 +0200
Subject: qemu-keymaps: Finnish keyboard mapping broken
Package: qemu-keymaps
Version: 1.0+dfsg-3
Severity: normal

With "-k fi -vnc :1" the keyboard layout works pretty well, except the 
key between left shift and "z" key, which generates <> characters 
doesn't work. Instead of "<" it shows "z" and instead of ">" (shift-<) 
it shows "X".

It works correctly if I comment out these lines:

less 0x2c shift altgr
greater 0x2d shift altgr

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-06540-g4c4d285 (SMP w/8 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

-- no debconf information




Information forwarded to debian-bugs-dist@lists.debian.org, Debian QEMU Team <pkg-qemu-devel@lists.alioth.debian.org>:
Bug#660154; Package qemu-keymaps. (Fri, 02 Mar 2012 10:57:04 GMT) (full text, mbox, link).


Acknowledgement sent to Michael Tokarev <mjt@tls.msk.ru>:
Extra info received and forwarded to list. Copy sent to Debian QEMU Team <pkg-qemu-devel@lists.alioth.debian.org>. (Fri, 02 Mar 2012 10:57:26 GMT) (full text, mbox, link).


Message #10 received at 660154@bugs.debian.org (full text, mbox, reply):

From: Michael Tokarev <mjt@tls.msk.ru>
To: Timo Sirainen <tss@iki.fi>
Cc: 660154@bugs.debian.org, qemu-devel <qemu-devel@nongnu.org>
Subject: Re: Bug#660154: qemu-keymaps: Finnish keyboard mapping broken
Date: Fri, 02 Mar 2012 14:55:07 +0400
On 17.02.2012 01:58, Timo Sirainen wrote:
> Subject: qemu-keymaps: Finnish keyboard mapping broken
> Package: qemu-keymaps
> Version: 1.0+dfsg-3
> Severity: normal
> 
> With "-k fi -vnc :1" the keyboard layout works pretty well, except the key between left shift and "z" key, which generates <> characters doesn't work. Instead of "<" it shows "z" and instead of ">" (shift-<) it shows "X".
> 
> It works correctly if I comment out these lines:
> 
> less 0x2c shift altgr
> greater 0x2d shift altgr

Confirmed, and the fix is verified by independent person with
finnish keyboard -- https://bugzilla.redhat.com/show_bug.cgi?id=794653
Thank you Atro for the help!

The attached patch does just this: removes the two mentioned lines.

index 2a4e0f0..4be7586 100644
--- a/pc-bios/keymaps/fi
+++ b/pc-bios/keymaps/fi
@@ -99,9 +99,7 @@ asterisk 0x2b shift
 acute 0x2b altgr
 multiply 0x2b shift altgr
 guillemotleft 0x2c altgr
-less 0x2c shift altgr
 guillemotright 0x2d altgr
-greater 0x2d shift altgr
 copyright 0x2e altgr
 leftdoublequotemark 0x2f altgr
 grave 0x2f shift altgr


Thanks!

/mjt




Information forwarded to debian-bugs-dist@lists.debian.org, Debian QEMU Team <pkg-qemu-devel@lists.alioth.debian.org>:
Bug#660154; Package qemu-keymaps. (Fri, 02 Mar 2012 11:37:59 GMT) (full text, mbox, link).


Acknowledgement sent to myllynen@redhat.com:
Extra info received and forwarded to list. Copy sent to Debian QEMU Team <pkg-qemu-devel@lists.alioth.debian.org>. (Fri, 02 Mar 2012 11:38:13 GMT) (full text, mbox, link).


Message #15 received at 660154@bugs.debian.org (full text, mbox, reply):

From: Marko Myllynen <myllynen@redhat.com>
To: Michael Tokarev <mjt@tls.msk.ru>
Cc: Timo Sirainen <tss@iki.fi>, qemu-devel <qemu-devel@nongnu.org>, 660154@bugs.debian.org
Subject: Re: [Qemu-devel] Bug#660154: qemu-keymaps: Finnish keyboard mapping broken
Date: Fri, 02 Mar 2012 13:32:10 +0200
Hi,

On 2012-03-02 12:55, Michael Tokarev wrote:
> On 17.02.2012 01:58, Timo Sirainen wrote:
>> Subject: qemu-keymaps: Finnish keyboard mapping broken
>> Package: qemu-keymaps
>> Version: 1.0+dfsg-3
>> Severity: normal
>>
>> With "-k fi -vnc :1" the keyboard layout works pretty well, except the key between left shift and "z" key, which generates<>  characters doesn't work. Instead of "<" it shows "z" and instead of">" (shift-<) it shows "X".
>>
>> It works correctly if I comment out these lines:
>>
>> less 0x2c shift altgr
>> greater 0x2d shift altgr
>
> Confirmed, and the fix is verified by independent person with
> finnish keyboard -- https://bugzilla.redhat.com/show_bug.cgi?id=794653
> Thank you Atro for the help!

while the fix above would seem to resolve this specific issue in most 
cases it is probably best to leave the keymap undefined thus avoiding 
using the QEMU internal keymap definitions at all:

https://bugzilla.redhat.com/show_bug.cgi?id=638523
http://hg.fedorahosted.org/hg/python-virtinst/rev/2bde513dcd9e
http://berrange.com/posts/2010/07/04/more-than-you-or-i-ever-wanted-to-know-about-virtual-keyboard-handling/

Cheers,

-- 
Marko Myllynen




Reply sent to Michael Tokarev <mjt@tls.msk.ru>:
You have taken responsibility. (Sun, 30 Dec 2012 09:09:03 GMT) (full text, mbox, link).


Notification sent to Timo Sirainen <tss@iki.fi>:
Bug acknowledged by developer. (Sun, 30 Dec 2012 09:09:03 GMT) (full text, mbox, link).


Message #20 received at 660154-done@bugs.debian.org (full text, mbox, reply):

From: Michael Tokarev <mjt@tls.msk.ru>
To: 660154-done@bugs.debian.org
Subject: Re: Bug#660154: qemu-keymaps: Finnish keyboard mapping broken
Date: Sun, 30 Dec 2012 13:04:03 +0400
Version: 1.3.0+dfsg-1~exp1

This issue has finally been fixed upstream in qemu-1.3.
Closing this bugreport now.

Thank you!

/mjt



Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Thu, 05 Dec 2013 07:35:45 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Fri Nov 24 03:59:19 2023; Machine Name: buxtehude

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.