[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] usb and qemu
From: |
Lonnie Mendez |
Subject: |
Re: [Qemu-devel] usb and qemu |
Date: |
Wed, 10 Aug 2005 18:37:03 -0500 |
User-agent: |
KMail/1.8.1 |
On Wednesday 10 August 2005 5:10 pm, Mark Williamson wrote:
> > > Isn't there a USB patch floating around somewhere (emulates OHCI in the
> > > guest)?
> >
> > Yes, but noone's written the code to wire it up to host devices. AFAIK it
> > currently emulates the host controller and not much else.
>
> Oh, OK that makes sense.
>
> > Using the usb-over-ip protocol mentioned above seems like a nice way of
> > getting it to talk to host USB devices in a host-independent way.
>
> Actually that'd be a fairly neat trick... As an alternative, IIRC there's a
> user space API for writing USB drivers under Linux - using that you could
get
> access to both local and remote (IP encapsulated) USB devices, albeit not in
> a cross-platform (host-wise) way.
That would be called libusb. The libusb V1_0_DEVEL branch would be the
prime candidate for this "wiring up", but is however incomplete. libusb
(<=0.1.10a) does not support asynchronous communications and does not have an
api to deal with isochronous usb transfers as well. I've been messing around
with the ohci-hc / libusb 1.0 connection, albeit slowly.
Re: Re: [Qemu-devel] usb and qemu, Jim C. Brown, 2005/08/10