WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] pvfb: Absolute vs relative mouse tracking mystery

To: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
Subject: Re: [Xen-devel] pvfb: Absolute vs relative mouse tracking mystery
From: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>
Date: Fri, 23 Jul 2010 12:55:32 +0100
Cc: Anthony Perard <anthony.perard@xxxxxxxxxx>, Jackson <Ian.Jackson@xxxxxxxxxxxxx>, Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, Ian, Stefano Stabellini <Stefano.Stabellini@xxxxxxxxxxxxx>
Delivery-date: Fri, 23 Jul 2010 04:55:36 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4C4878AD.1040401@xxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <4BE49501.6000408@xxxxxxxx> <alpine.DEB.2.00.1005101537310.11380@kaball-desktop> <4BE86945.9050408@xxxxxxxx> <alpine.DEB.2.00.1005111154050.11380@kaball-desktop> <20100619154145.GM17817@xxxxxxxxxxx> <4C1CE6DE.8000602@xxxxxxxx> <20100619162213.GO17817@xxxxxxxxxxx> <4C1D00FA.2060907@xxxxxxxx> <20100619175040.GQ17817@xxxxxxxxxxx> <4C479868.1030806@xxxxxxxx> <alpine.DEB.2.00.1007221257120.22235@kaball-desktop> <4C4876F9.2030008@xxxxxxxx> <4C4878AD.1040401@xxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Alpine 2.00 (DEB 1167 2008-08-23)
On Thu, 22 Jul 2010, Jeremy Fitzhardinge wrote:
> On 07/22/2010 09:51 AM, Jeremy Fitzhardinge wrote:
> >                     (usb 0)
> >                     (usbdevice tablet)
> >   
> 
> But setting usb=1 fixes it.  I didn't have to do that before, so
> presumably general usb support wasn't needed to enable mouse/tablet
> support...
> 
 
Obviously usbdevice should imply usb, this is the patch that fixed it:

Signed-off-by: Stefano Stabellini <stefano.stabellini@xxxxxxxxxxxxx>

diff -r b0b1a6163203 tools/libxl/libxl.c
--- a/tools/libxl/libxl.c       Thu Jul 22 15:24:49 2010 +0100
+++ b/tools/libxl/libxl.c       Fri Jul 23 12:54:20 2010 +0100
@@ -984,7 +984,7 @@ static char ** libxl_build_device_model_
             flexarray_set(dm_args, num++, "-boot");
             flexarray_set(dm_args, num++, info->boot);
         }
-        if (info->usb) {
+        if (info->usb || info->usbdevice) {
             flexarray_set(dm_args, num++, "-usb");
             if (info->usbdevice) {
                 flexarray_set(dm_args, num++, "-usbdevice");

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel