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] [PATCH] USB support

To: "Donald D. Dugger" <donald.d.dugger@xxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH] USB support
From: Anthony Liguori <aliguori@xxxxxxxxxx>
Date: Wed, 07 Jun 2006 14:56:16 -0500
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Wed, 07 Jun 2006 12:57:00 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20060607192859.GA26430@xxxxxxxxxxxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <20060607192859.GA26430@xxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Thunderbird 1.5.0.2 (X11/20060522)
Donald D. Dugger wrote:
This patch backports the USB support from QEMU 0.8.1 to the current Xen
device model.  To support USB there are two new optional config lines
that can be added to the guest config file:

    usb=1
        This will enable USB without defining a specific USB device.
        This option is assumed and not needed if the `usbdevice' option
        is given.

    usbdevce='device'
        This will enable USB and also enable support for the given device.
        Currently, the only two devices are `mouse' (a PS/2 mouse) and
        `tablet' (an absolute pointing device).  The advantage of `tablet'
        is that Windows guests will automatically recognize and support this
        device so specifying the config line:

                usbdevice='tablet'

        will create a mouse that works transparently with Windows guests
        under VNC.  (Linux doesn't recognize the USB tablet yet so Linux
        guests under VNC will still need the Summagraphics emulation.)


Signed-off-by: Don Dugger <donald.d.dugger@xxxxxxxxx>

Why not just wait until the QEMU version is ported to the newest one?

BTW, you want to grab evtouch for USB tablet support under Linux. I also have a patch which will be in the next version of evtouch that adds mouse wheel and 3rd button support to evtouch.

You're also missing another patch I posted to qemu-devel that fixes a strange SDL capture problem with relative mouse mode that Fabrice hasn't picked up yet. I'd really suggest moving all of QEMU up because this the USB emulation is under development still so you'll have to be doing an awful lot of back porting.

The newest versions of Xorg will just work (with evdev).

http://stz-softwaretechnik.com/~ke/touchscreen/evtouch.html

http://www.cs.utexas.edu/users/aliguori/evtouch-middle-scroll.diff

Regards,

Anthony Liguori


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

<Prev in Thread] Current Thread [Next in Thread>