Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
For bugs related to Red Hat Enterprise Linux 5 product line. The current stable release is 5.10. For Red Hat Enterprise Linux 6 and above, please visit Red Hat JIRA https://issues.redhat.com/secure/CreateIssue!default.jspa?pid=12332745 to report new issues.

Bug 547642

Summary: 'AltGr' key on german keyboard not recognized in the internal vnc client of virt-manager
Product: Red Hat Enterprise Linux 5 Reporter: Frank Danapfel <fdanapfe>
Component: kvmAssignee: Gerd Hoffmann <kraxel>
Status: CLOSED DUPLICATE QA Contact: Virtualization Bugs <virt-bugs>
Severity: medium Docs Contact:
Priority: medium    
Version: 5.4CC: pbonzini, tburke, virt-maint, xen-maint, ykaul
Target Milestone: rc   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 552600 (view as bug list) Environment:
Last Closed: 2010-01-05 17:36:43 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 552600    
Attachments:
Description Flags
fix none

Description Frank Danapfel 2009-12-15 09:54:34 UTC
Description of problem:
The keycode of the 'AltGr'key on german keyboards is not recognized in the internal vnc client of virt-manager.

Version-Release number of selected component (if applicable):
virt-manager-0.6.1-8.el5

How reproducible:
Always

Steps to Reproduce:
1. start virt-manager and open the local console of a VM
2. press the 'AltGr' key on keyboard
3.
  
Actual results:
After pressing and releasing the key the following error messages appear:

atkbd.c: Unknown key pressed (translated set 2, code 0x0 on isa0060/serio0).
atkbd.c: Use 'setkeycodes 00 <keycode>' to make it known.
atkbd.c: Unknown key released (translated set 2, code 0x0 on isa0060/serio0).
atkbd.c: Use 'setkeycodes 00 <keycode>' to make it known.

Expected results:
Pressing the 'AtlGr' key should not produce an error message.

Additional info:
/etc/sysconfig/keyboard contain the following on host and guest:
KEYBOARDTYPE="pc"
KEYTABLE="de-latin1-nodeadkeys"

The VNC settings gor the guest specify the german keymap:
<graphics type='vnc' port='5900' autoport='yes' keymap='de'/>

Comment 1 Cole Robinson 2009-12-15 14:34:02 UTC
Is this KVM or Xen?

Comment 2 Frank Danapfel 2009-12-15 15:17:20 UTC
This is KVM.

Comment 3 Cole Robinson 2009-12-15 23:13:00 UTC
I'm not really sure where the bug would be, but I know that issues like this are sometimes qemu problems, so reassigning to kvm.

Comment 4 Gerd Hoffmann 2010-01-05 15:30:16 UTC
Created attachment 381775 [details]
fix

Qemu problem indeed, qemu simply can't handle the ISO_Level3_Shift modifier.
Picked a few bits from latest upstream version to fix it.

Comment 5 Gerd Hoffmann 2010-01-05 17:36:43 UTC
Turned out to be fixed already for 5.5 ...

*** This bug has been marked as a duplicate of bug 521835 ***

Comment 6 Michal Novotny 2010-03-15 12:52:09 UTC
*** Bug 552600 has been marked as a duplicate of this bug. ***