All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Ahern <dsahern@gmail.com>
To: Erik Rull <erik.rull@rdsoftware.de>
Cc: kvm@vger.kernel.org
Subject: Re: USB Scanner
Date: Mon, 03 Jan 2011 16:50:33 -0700	[thread overview]
Message-ID: <4D2260C9.60405@gmail.com> (raw)
In-Reply-To: <4D225D30.6030907@rdsoftware.de>



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
> 

  reply	other threads:[~2011-01-03 23:50 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-03  8:41 USB Scanner Matthias Henze (L)
2011-01-03 15:43 ` Erik Rull
2011-01-03 22:59   ` David Ahern
2011-01-03 23:35     ` Erik Rull
2011-01-03 23:50       ` David Ahern [this message]
2011-01-04  0:21         ` David Ahern

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D2260C9.60405@gmail.com \
    --to=dsahern@gmail.com \
    --cc=erik.rull@rdsoftware.de \
    --cc=kvm@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.