Discussion:
[Qemu-devel] unknown keycodes
Mike R
2018-04-21 09:27:57 UTC
Permalink
(qemu) unknown keycodes `empty+aliases(qwerty)’, please report to qemu-***@nongnu.org

reported.
Thomas Huth
2018-04-23 03:31:28 UTC
Permalink
Post by Mike R
reported.
Well, please also report:

- Which version of QEMU are you using?

- Which keyboard layout do you have on your physical keyboard?

- Which key did you press to get that message?

- Which user interface of QEMU are you using (GTK, SDL1.2, SDL2 or VNC)?

Thanks,
Thomas
Peter Maydell
2018-04-23 09:10:47 UTC
Permalink
Post by Mike R
reported.
It's kind of our own fault that we didn't ask for those
sorts of details in that error message. I think that a lot
of the time it was reported without necessarily meaning that
any interesting keys weren't being handled correctly.

In any case, as of commit 2ec78706d188 that message has
been removed, so the 2.12 release should fix this, or
at least not produce unhelpful warnings :-)

thanks
-- PMM
Daniel P. Berrangé
2018-04-23 09:42:51 UTC
Permalink
Post by Peter Maydell
Post by Mike R
reported.
It's kind of our own fault that we didn't ask for those
sorts of details in that error message. I think that a lot
of the time it was reported without necessarily meaning that
any interesting keys weren't being handled correctly.
In any case, as of commit 2ec78706d188 that message has
been removed, so the 2.12 release should fix this, or
at least not produce unhelpful warnings :-)
Yes, if you get the same situation in 2.12, it will now print a much
better mesage:

g_warning("Unknown X11 keycode mapping '%s'.\n"
"Please report to qemu-***@nongnu.org\n"
"including the following information:\n"
"\n"
" - Operating system\n"
" - X11 Server\n"
" - xprop -root\n"
" - xdpyinfo\n",
keycodes ? keycodes : "<null>");


Regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o- https://fstop138.berrange.com :|
|: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
Daniel P. Berrangé
2018-04-23 09:44:16 UTC
Permalink
Post by Thomas Huth
Post by Mike R
reported.
- Which version of QEMU are you using?
- Which keyboard layout do you have on your physical keyboard?
- Which key did you press to get that message?
- Which user interface of QEMU are you using (GTK, SDL1.2, SDL2 or VNC)?
FYI, offlist we determined that it was QEMU 2.10 displaying over
ssh on XQuartz display server. This is known to be broken because
QEMU historically only understands the Linux evdev & kbd keycode
mappings.

QEMU 2.12 is much improved with explicit support for XQuartz and
XWin, so hopefully the problem will be solved for this particular
case.


Regards,
Daniel
--
|: https://berrange.com -o- https://www.flickr.com/photos/dberrange :|
|: https://libvirt.org -o- https://fstop138.berrange.com :|
|: https://entangle-photo.org -o- https://www.instagram.com/dberrange :|
Continue reading on narkive:
Loading...