* [Qemu-devel] Query QEMU Tablet / Mouse position / Mouse freeze in guest
@ 2015-06-09 19:35 Erik Rull
2015-06-10 8:15 ` Gerd Hoffmann
0 siblings, 1 reply; 3+ messages in thread
From: Erik Rull @ 2015-06-09 19:35 UTC (permalink / raw)
To: qemu-devel@nongnu.org
Hello,
is there a way to query the current cursor position of the QEMU tablet or
QEMU Mouse? Or is there a way to see that the mouse was moved e.g. since
the last query?
I currently have some trouble with the mouse - it just freezes in the guest
after an undefined period (might work before the freeze for several days) -
until I right click the hardware mouse within the freeze of the cursor,
then it unfreezes.
My problem is that I do not see any error message or hint neither in QEMU
nor in the guest nor in the host operating system what could point me to
the reason of this behavior.
If I uninstall and reinstall the driver in the guest, it works again, too
(in addition to the possibility of the mouse-right-click).
My idea is now to get some verbose information over QMP or QEMU-Monitor
Console remotely when this happens. This would give me the information if
the issue appears in QEMU (or the host OS) or only in the guest.
I found a method for setting the pointer to an absolute position, but a
readback seems to be missing.
I see this behavior on serveral hardware configurations, so it's unlikely
that this issue is bound to a particular hardware.
Both systems run QEMU 2.1.0 w/ KVM enabled.
Thanks a lot.
Best regards,
Erik
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] Query QEMU Tablet / Mouse position / Mouse freeze in guest
2015-06-09 19:35 [Qemu-devel] Query QEMU Tablet / Mouse position / Mouse freeze in guest Erik Rull
@ 2015-06-10 8:15 ` Gerd Hoffmann
2015-06-10 20:45 ` Erik Rull
0 siblings, 1 reply; 3+ messages in thread
From: Gerd Hoffmann @ 2015-06-10 8:15 UTC (permalink / raw)
To: Erik Rull; +Cc: qemu-devel@nongnu.org
Hi,
> is there a way to query the current cursor position of the QEMU tablet or
> QEMU Mouse? Or is there a way to see that the mouse was moved e.g. since
> the last query?
There are "input_*" tracepoints. Also "info mice" monitor command tells
which is the active pointer device.
> I currently have some trouble with the mouse - it just freezes in the guest
> after an undefined period (might work before the freeze for several days) -
> until I right click the hardware mouse within the freeze of the cursor,
> then it unfreezes.
Which device? usb-tablet? usb has tracepoints too ...
cheers,
Gerd
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Qemu-devel] Query QEMU Tablet / Mouse position / Mouse freeze in guest
2015-06-10 8:15 ` Gerd Hoffmann
@ 2015-06-10 20:45 ` Erik Rull
0 siblings, 0 replies; 3+ messages in thread
From: Erik Rull @ 2015-06-10 20:45 UTC (permalink / raw)
To: qemu-devel
Hi Gerd,
thanks a lot!
After some browsing through search result lists, it looks similar to the
issue that was reported here:
https://bugs.launchpad.net/ubuntu/+source/qemu/+bug/1323758
I will try the input_* tracepoints if this does not fix it.
I need some feedback from my colleague to check if it was actually fixed by
the solution in the bug report on mutiple other systems.
Best regards,
Erik
Gerd Hoffmann wrote:
> Hi,
>
>> is there a way to query the current cursor position of the QEMU tablet or
>> QEMU Mouse? Or is there a way to see that the mouse was moved e.g. since
>> the last query?
>
> There are "input_*" tracepoints. Also "info mice" monitor command tells
> which is the active pointer device.
>
>> I currently have some trouble with the mouse - it just freezes in the guest
>> after an undefined period (might work before the freeze for several days) -
>> until I right click the hardware mouse within the freeze of the cursor,
>> then it unfreezes.
>
> Which device? usb-tablet? usb has tracepoints too ...
>
> cheers,
> Gerd
>
>
>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-06-10 20:45 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-09 19:35 [Qemu-devel] Query QEMU Tablet / Mouse position / Mouse freeze in guest Erik Rull
2015-06-10 8:15 ` Gerd Hoffmann
2015-06-10 20:45 ` Erik Rull
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).