Re: [Qemu-devel] Webcams under KVM and Linux

2011-05-31 Thread Gerd Hoffmann
Hi, Takes a frame from ANY available V4L2 device (/dev/video0), caches it, and sends it completely to the guest before requesting any other frame. I think you can double-buffer (i.e. let the host driver fill one buffer while sending the other one to the guest). Probably gives a slightly hig

Re: [Qemu-devel] Webcams under KVM and Linux

2011-05-30 Thread Brad Hards
On Tue, 31 May 2011 09:39:02 AM Natalia Portillo wrote: > > Natalia: if possible, could you provide an overview of your work in this > > area? > > The best should be for you to check for the patches I sent (june 2010 on > the ML) and enhance what is left to be done. Sorry I wasn't clear. I'll try

Re: [Qemu-devel] Webcams under KVM and Linux

2011-05-30 Thread Natalia Portillo
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 El 30/05/2011, a las 21:47, Brad Hards escribió: > On Mon, 30 May 2011 08:38:35 pm Gerd Hoffmann wrote: >> I think people are also working on camera emulation, i.e. pass any (even >> non-usb) v4l devices as usb webcam to the guest. No idea what th

Re: [Qemu-devel] Webcams under KVM and Linux

2011-05-30 Thread Brad Hards
On Mon, 30 May 2011 08:38:35 pm Gerd Hoffmann wrote: > I think people are also working on camera emulation, i.e. pass any (even > non-usb) v4l devices as usb webcam to the guest. No idea what the > status here is. I have it in early development. Its far from complete - just enough for the softwar

Re: [Qemu-devel] Webcams under KVM and Linux

2011-05-30 Thread Natalia Portillo
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 El 30/05/2011, a las 15:56, Gerd Hoffmann escribió: > On 05/30/11 14:50, Natalia Portillo wrote: >> Exactly what my webcam does is: >> >> Takes a frame from ANY available V4L2 device (/dev/video0), caches it, >> and sends it completely to the gues

Re: [Qemu-devel] Webcams under KVM and Linux

2011-05-30 Thread Peter Baitz
better in this regard. Peter --- On Mon, 5/30/11, Natalia Portillo wrote: From: Natalia Portillo Subject: Re: [Qemu-devel] Webcams under KVM and Linux To: "Peter Baitz" Cc: "Andreas Färber" , "QEMU Developers" , "Hoffmann Gerd" Date: Monday, May 30,

Re: [Qemu-devel] Webcams under KVM and Linux

2011-05-30 Thread Gerd Hoffmann
On 05/30/11 14:50, Natalia Portillo wrote: Exactly what my webcam does is: Takes a frame from ANY available V4L2 device (/dev/video0), caches it, and sends it completely to the guest before requesting any other frame. I think you can double-buffer (i.e. let the host driver fill one buffer whi

Re: [Qemu-devel] Webcams under KVM and Linux

2011-05-30 Thread Natalia Portillo
s it up in the guest. And the pwc driver loads and remains on both > host and guest. > > Peter > > > --- On Sun, 5/29/11, Natalia Portillo wrote: > > From: Natalia Portillo > Subject: Re: [Qemu-devel] Webcams under KVM and Linux > To: "Andreas Färber" &g

Re: [Qemu-devel] Webcams under KVM and Linux

2011-05-30 Thread Gerd Hoffmann
Hi, I was told I could try to add a complete host controller to the guest, but am not entirely sure I understand what that means? Looking for specifics? Is there a suggestion for doing this during install of the KVM guest, or can this be done while the guest is running, or otherwise? Indepen

Re: [Qemu-devel] Webcams under KVM and Linux

2011-05-29 Thread Peter Baitz
Qemu-devel] Webcams under KVM and Linux To: "Andreas Färber" Cc: "Peter Baitz" , "QEMU Developers" Date: Sunday, May 29, 2011, 1:53 PM -BEGIN PGP SIGNED MESSAGE- Hash: SHA256 More concretely search for patches sent by me. Even when EHCI is finished still is

Re: [Qemu-devel] Webcams under KVM and Linux

2011-05-29 Thread Natalia Portillo
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 More concretely search for patches sent by me. Even when EHCI is finished still is the problem of isochronous transfer not working well because of timing issues on QEMU. My patches overcome the need for ISO transfer and EHCI controllers completely

Re: [Qemu-devel] Webcams under KVM and Linux

2011-05-29 Thread Andreas Färber
Hello, Am 29.05.2011 um 15:01 schrieb Peter Baitz: [...] You should notice that it is not just adding ISOC and USB 2.0 support, but also to prioritize the processing of isoc packets on a virtual environment, and to provide enough throughput for video streams [...] Please check the qemu