[Spice-devel] USB redirected wacom tablet
David Jaša
djasa at redhat.com
Mon Jun 17 07:06:33 PDT 2013
Hans, Arnon, Marc-André et al.,
how difficult would be for spice-gtk to capture wacom-specific events
[1] and for spice-vdagent to pass them to the guest? Would that need
changes to spice-server & spice-protocol too?
[1] http://sourceforge.net/apps/mediawiki/linuxwacom/index.php?title=How_Wacom_tablets_work#USB_Tablets
Tomáši,
I'm afraid that you can't get rid of the cursor lag when using
redirected device as the client has no knowledge about it so it can't
display it right away so you're stuck with server cursor mode -that
means that the cursor position has to reach the VM, spice-server has to
render it and then it must be transmitted over the networks. So it takes
whole roundtrip from pointer position change to visual feedback and I
can't see any way around that but the spice components awareness of
wacom devices as above...
David
Tomáš Chaloupka píše v Ne 16. 06. 2013 v 22:22 +0200:
> Hi Uri,
> thaks for your help.
>
> I tried this today. It takes some time to find how to set this option in
> libvirt as it is needed to set in domain XML.
>
> To make it work I had to remove the virtual tablet device. After that
> server mode works and I can see the cursor from the mouse and from the
> redirected tablet as well.
> Problem is, that in the server mode cursor response is far from smooth
> (even right on the host) which make it pretty unusable to draw something.
>
> Is there any other chance to solve it better way?
>
> Thanks,
> Tom
>
>
>
> 2013/6/16 Uri Lublin <uril at redhat.com>
>
> > On 06/15/2013 12:07 AM, Tomáš Chaloupka wrote:
> >
> >> Hello,
> >> I'm trying to use my wacom tablet on virtualized W7 over spice usb redir.
> >> Tried it on Fedora18 (virt-viewer-0.5.4), usb redirection worked fine,
> >> driver was installed and device is working well.
> >>
> >> Only problem with this setup is that the tablet pointer is not visible,
> >> so when I try to control guest OS or just draw something with pen I can't
> >> see the actual position. Only mouse pointer is visible on it's last
> >> position.
> >>
> >
> > Hi Tomáš,
> >
> > Does it help if you stop running the vdagent on the guest (net stop
> > vdservice) ?
> >
> > If it does, you can try adding to qemu-kvm command line option "-spice"
> > the following: "agent-mouse=off"
> >
> > Uri.
> >
> > ______________________________**_________________
> > Spice-devel mailing list
> > Spice-devel at lists.freedesktop.**org <Spice-devel at lists.freedesktop.org>
> > http://lists.freedesktop.org/**mailman/listinfo/spice-devel<http://lists.freedesktop.org/mailman/listinfo/spice-devel>
> >
> _______________________________________________
> Spice-devel mailing list
> Spice-devel at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/spice-devel
--
David Jaša, RHCE
SPICE QE based in Brno
GPG Key: 22C33E24
Fingerprint: 513A 060B D1B4 2A72 7F0D 0278 B125 CD00 22C3 3E24
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 5727 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20130617/c39e7cf8/attachment-0001.bin>
More information about the Spice-devel
mailing list