From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Ahern Subject: Re: USB Scanner Date: Mon, 03 Jan 2011 16:50:33 -0700 Message-ID: <4D2260C9.60405@gmail.com> References: <4D21EE8A.7060108@rdsoftware.de> <4D2254C7.40906@gmail.com> <4D225D30.6030907@rdsoftware.de> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Cc: kvm@vger.kernel.org To: Erik Rull Return-path: Received: from mail-yw0-f46.google.com ([209.85.213.46]:43405 "EHLO mail-yw0-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751150Ab1ACXuj (ORCPT ); Mon, 3 Jan 2011 18:50:39 -0500 Received: by ywl5 with SMTP id 5so5434037ywl.19 for ; Mon, 03 Jan 2011 15:50:38 -0800 (PST) In-Reply-To: <4D225D30.6030907@rdsoftware.de> Sender: kvm-owner@vger.kernel.org List-ID: On 01/03/11 16:35, Erik Rull wrote: > David Ahern wrote: >> >> >> The attached work for me with an Epson CX7800. I was able to print and >> scan with Vista; driver setup for XP was more of a pain - I only got the >> printer setup working. >> >> It's the EHCI code from >> >> git://git.kiszka.org/qemu.git ehci >> >> with http://www.mail-archive.com/qemu-devel@nongnu.org/msg38795.html and >> a couple of local additions. Applies cleanly to qemu-kvm.git as of today >> (b724fa4bb46b82c54b5f0a2cf9177194020433efO). >> >> EHCI is not ready for prime time, but works for use cases like this one. >> >> David >> > > Hi David, > > thanks for the patch. > Have you tested USB transfer rates using a USB Memory Stick or something > similar? If yes, which transfer rates have you reached? USB keys (storage devices) were the primary target I used for testing. In fact, with EHCI I can run a linux guest from a USB key just fine - something I just verified again: qemu-kvm -usbdevice host:${USBDEV} where USBDEV is the vendor:product id from lsusb. Add other args to install from a CD/DVD to the USB key. If your mileage varies first and foremost make sure the VM is using kvm -- speed is horrible with qemu/tcg. David > > Best regards, > > Erik > -- > To unsubscribe from this list: send the line "unsubscribe kvm" in > the body of a message to majordomo@vger.kernel.org > More majordomo info at http://vger.kernel.org/majordomo-info.html >