qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: "Daniel P. Berrangé" <berrange@redhat.com>
To: Jean-Louis SOLATGES <jean-louis.solatges@wanadoo.fr>
Cc: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] Unknown X11 keycode mapping  report
Date: Tue, 2 Apr 2019 16:18:15 +0100	[thread overview]
Message-ID: <20190402151815.GK413@redhat.com> (raw)
In-Reply-To: <20190402144725.fc998797b28431d714cbacfc@wanadoo.fr>

On Tue, Apr 02, 2019 at 02:47:25PM +0200, Jean-Louis SOLATGES wrote:
> Bonjour, par tightvnc server sur clipper depuis un linux connecté en vncviewer,
> 
> je lance :
> qemu-system-x86_64 -m 16G -cpu kvm64 -accel kvm,thread=multi -smp 6,maxcpus=12 -net nic -net tap -net socket,listen=127.0.0.1:1234 -vga cirrus -boot c -hda uis1.img
> 
> 
> 
> root@clipper:/home/jls/data# ** (qemu-system-x86_64:16384): WARNING **: Unknown X11 keycode mapping '<null>'.
> bash: syntax error near unexpected token `qemu-system-x86_64:16384'
> 
> -- 
> jls** (qemu-system-x86_64:16384): WARNING **: Unknown X11 keycode mapping '<null>'.
> Please report to qemu-devel@nongnu.org
> including the following information:
> 
>   - Operating system
>   - X11 Server
>   - xprop -root
>   - xdpyinfo
> 
> ::::
> Linux clipper 4.4.14 #2 SMP Fri Jun 24 13:38:27 CDT 2016 x86_64 Intel(R) Xeon(R) CPU           E5645  @ 2.40GHz GenuineIntel GNU/Linux
> 
> 
> 
> X.Org X Server 1.18.3
> Release Date: 2016-04-04
> X Protocol Version 11, Revision 0
> Build Operating System: Slackware 14.2 Slackware Linux Project
> Current Operating System: Linux clipper 4.4.14 #2 SMP Fri Jun 24 13:38:27 CDT 2016 x86_64
> Kernel command line: auto BOOT_IMAGE=Linux ro root=801 vt.default_utf8=0
> Build Date: 15 April 2016  11:05:21AM
>  
> Current version of pixman: 0.34.0
>         Before reporting problems, check http://wiki.x.org
>         to make sure that you have the latest version.
> 
> 
> 
> root@clipper:/home/jls/data# xprop -root
> CUT_BUFFER0(STRING) = "root@clipper:/home/jls/data# xprop -root\nCUT_BUFFER0(STRING) = \"root@clipper:/home/jls/data# name of display:    :1\\nbash: name: command not found\\nroot@clipper:/home/jls/data# version number:    11.0\\nbash: version: command not found\\n\""


So there's no _XKB_RULES_NAMES property set which is what QEMU
wants to see.

> 
> root@clipper:/home/jls/data# xdpyinfo 
> name of display:    :1
> version number:    11.0
> vendor string:    AT&T Laboratories Cambridge
> vendor release number:    3332
> maximum request size:  4194300 bytes
> motion buffer size:  256
> bitmap unit, bit order, padding:    32, LSBFirst, 32
> image byte order:    LSBFirst
> number of supported pixmap formats:    2
> supported pixmap formats:supported pixmap formats:
>     depth 1, bits_per_pixel 1, scanline_pad 32
>     depth 24, bits_per_pixel 32, scanline_pad 32
> keycode range:    minimum 8, maximum 255
> focus:  PointerRoot
> number of extensions:    7
>     BIG-REQUESTS
>     MIT-SHM
>     MIT-SUNDRY-NONSTANDARD
>     SHAPE
>     SYNC
>     XC-MISC
>     XTEST

The  XKEYBOARD extension is missing which is why we dont' see the
XKB property above.

We have a heuristic that tries to deal with this by checking what
keycode  "XK_Page_Up" maps to, but that has failed for you too.

So I'm puzzlled what key map this X server is actually using.


I don't have SLackware handy, but can't reproduce on Fedora with
TigerVNC.

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 :|

      parent reply	other threads:[~2019-04-02 15:18 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-04-02 12:47 [Qemu-devel] Unknown X11 keycode mapping report Jean-Louis SOLATGES
2019-04-02 13:28 ` Daniel P. Berrangé
2019-04-02 14:46   ` Philippe Mathieu-Daudé
2019-04-02 15:18 ` Daniel P. Berrangé [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190402151815.GK413@redhat.com \
    --to=berrange@redhat.com \
    --cc=jean-louis.solatges@wanadoo.fr \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).