From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anthony Liguori Subject: Re: [PATCH] USB support Date: Wed, 07 Jun 2006 15:20:44 -0500 Message-ID: <4487351C.3030700@us.ibm.com> References: <8FFF7E42E93CC646B632AB40643802A816DFDC@scsmsx412.amr.corp.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <8FFF7E42E93CC646B632AB40643802A816DFDC@scsmsx412.amr.corp.intel.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: "Dugger, Donald D" Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Dugger, Donald D wrote: > Anthony- > > Not knowing when the move to 0.8.1 will get done (although I know it > should be soon) I wanted to get this out now, especially since the > changes aren't that extensive, it's mainly the new USB files. The > current Windows guest under VNC is so much better with the USB tablet > mouse that I thought it was worth the effort to provide this as an > interim solution. > > I must have missed your SDL patch, I'll go find it. > > Tnx for the pointer about the evdev, I'll have to try that (although I'm > pretty sure `gpm' still doesn't work with the USB tablet). > There are patches floating around to add evdev support for gpm. Unfortunately, Linux mouse support is ages behind Windows :-( It is catching up at least. http://www.geocities.com/dt_or/ Regards, Anthony Liguori > -- > Don Dugger > "Censeo Toto nos in Kansa esse decisse." - D. Gale > Donald.D.Dugger@intel.com > Ph: (303)440-1368 > > >> -----Original Message----- >> From: Anthony Liguori [mailto:aliguori@us.ibm.com] >> Sent: Wednesday, June 07, 2006 1:56 PM >> To: Dugger, Donald D >> Cc: xen-devel@lists.xensource.com >> Subject: Re: [Xen-devel] [PATCH] USB support >> >> 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 >>> >>> >> 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 >> >>