From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Daniel P. Berrange" Subject: Re: vncviewer and broken mouse behaviour - is there a fix? Date: Thu, 26 Feb 2009 13:15:08 +0000 Message-ID: <20090226131508.GA19876@redhat.com> References: <49A6772F.7070803@wpkg.org> <49A686FF.6070503@redhat.com> <49A68C3B.1050002@wpkg.org> Reply-To: "Daniel P. Berrange" Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Avi Kivity , "kvm@vger.kernel.org" To: Tomasz Chmielewski Return-path: Received: from mx1.redhat.com ([66.187.233.31]:42357 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753086AbZBZNPO (ORCPT ); Thu, 26 Feb 2009 08:15:14 -0500 Content-Disposition: inline In-Reply-To: <49A68C3B.1050002@wpkg.org> Sender: kvm-owner@vger.kernel.org List-ID: On Thu, Feb 26, 2009 at 01:34:03PM +0100, Tomasz Chmielewski wrote: > Avi Kivity schrieb: > >Tomasz Chmielewski wrote: > >>Currently, using mouse with vncviewer is a bit broken: "VNC mouse > >>pointer" moves much faster than the real mouse pointer. > >> > >>As a result, it's not always easy to point&click in the right area. > >> > >>Is there a workaround for that? > >> > > > >-usbdevice tablet > > I already use it: > > qm> info usb > Device 0.0, Speed 12 Mb/s, Product QEMU USB Tablet > > I wonder why it doesn't work for me (with kvm-83)? > > Do I have to configure something special on the quest? Yes, you need to make sure Xorg has activated the USB tablet, and is using it in absolute coordinate mode. If Xorg is using the shared stream /dev/input/mice, or not configured absolute mode, then the mouse pointer will still not track 1-for-1. In current state of the art Xorg, this should all happen automatically if hal has labelled the USB tablet with 'input.x11_driver = evdev'. The FDI rules for HAL are only just added though, so your distro is probably missing them. See this bug for example of FDI rule you need to make Xorg auto-configure correctly https://bugzilla.redhat.com/show_bug.cgi?id=487025 Regards, Daniel -- |: Red Hat, Engineering, London -o- http://people.redhat.com/berrange/ :| |: http://libvirt.org -o- http://virt-manager.org -o- http://ovirt.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :|