RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1512459 - virtio-keyboard-pci missing some keys
Summary: virtio-keyboard-pci missing some keys
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: qemu-kvm-rhev
Version: 7.5
Hardware: x86_64
OS: All
low
low
Target Milestone: rc
: ---
Assignee: Gerd Hoffmann
QA Contact: Guo, Zhiyi
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-11-13 09:48 UTC by Guo, Zhiyi
Modified: 2018-11-01 11:01 UTC (History)
7 users (show)

Fixed In Version: qemu-kvm-rhev-2.12.0-1.el7
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-11-01 11:01:10 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Guo, Zhiyi 2017-11-13 09:48:56 UTC
Description of problem:
Media keys are missing for qemu virtio-keyboard-pci

Version-Release number of selected component (if applicable):
host & guest: 3.10.0-781.el7.x86_64
qemu-kvm-rhev-2.10.0-5.el7.x86_64

How reproducible:
100%

Steps to Reproduce:
1.Boot a rhel7.5 guest with virtio-keyboard-pci:
/usr/libexec/qemu-kvm -name input-test -m 2G \
-cpu qemu64,check \
-smp 2 \
-device cirrus-vga \
-netdev tap,id=idinWyYp,vhost=on -device virtio-net-pci,mac=42:ce:a9:d2:4d:d7,id=idlbq7eA,netdev=idinWyYp \
-uuid 215e11b2-a869-41b5-91cd-6a32a907be7e \
-device ich9-usb-uhci6 \
-drive file=/home/rhel75.qcow2,if=none,id=drive-scsi-disk0,format=qcow2,cache=none,werror=stop,rerror=stop  -device ide-drive,drive=drive-scsi-disk0 \
-qmp unix:/tmp/input-port,server,nowait \
-monitor stdio \
-device virtio-keyboard-pci \
2.Inside guest, open gnome-terminal,execute 'showkey -k | grep press' and try to input media keys, keys I used are:
'NEXTSONG',
'PREVIOUSSONG',
'STOPCD',
'PLAYPAUSE',
'MUTE',
'VOLUMEUP',
'VOLUMEDOWN',
'MAIL',
'CALC',
'COMPUTER',
'SEARCH',
'HOMEPAGE',
'BACK',
'FORWARD',
'STOP',
'REFRESH',
'FAVORITES'
3.After input finish, wait for 10s for showkey to terminate and check the output of showkey

Actual results:
No output from showkey

Expected results:
the keycode of media keys output here:
keycode 163 press
keycode 165 press
keycode 166 press
keycode 164 press
keycode 113 press
keycode 115 press
keycode 114 press
keycode 155 press
keycode 140 press
keycode 157 press
keycode 217 press
keycode 172 press
keycode 158 press
keycode 159 press
keycode 128 press
keycode 173 press

Additional info:
ps2-kbd has all these keys. vnc/spice won't affect the result.

Comment 2 Guo, Zhiyi 2017-11-14 02:07:21 UTC
Summary the missing keys are:
'NEXTSONG',
'PREVIOUSSONG',
'STOPCD',
'PLAYPAUSE',
'MUTE',
'VOLUMEUP',
'VOLUMEDOWN',
'MAIL',
'CALC',
'COMPUTER',
'SEARCH',
'HOMEPAGE',
'BACK',
'FORWARD',
'STOP',
'REFRESH',
'FAVORITES',
'KATAKANA',
'HIRAGANA',
'HENKAN'

Comment 3 Gerd Hoffmann 2018-04-19 13:00:44 UTC
Upstream commit ae6b06ab655b21c19b234ce3422f694d11a013e0 (in 2.12) should fix that.

Comment 4 Ademar Reis 2018-04-20 21:59:40 UTC
(In reply to Gerd Hoffmann from comment #3)
> Upstream commit ae6b06ab655b21c19b234ce3422f694d11a013e0 (in 2.12) should
> fix that.

Then moving to POST + fixed-in-version to wait for the rebase.

Comment 8 errata-xmlrpc 2018-11-01 11:01:10 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2018:3443


Note You need to log in before you can comment on or make changes to this bug.