Received: from eggs.gnu.org ([140.186.70.92]:55439) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QQfcO-0006MO-BB for qemu-devel@nongnu.org; Sun, 29 May 2011 09:01:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QQfcM-0003zQ-VJ for qemu-devel@nongnu.org; Sun, 29 May 2011 09:01:20 -0400 Received: from nm19-vm0.bullet.mail.ac4.yahoo.com ([98.139.53.212]:34309) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1QQfcM-0003yi-SZ for qemu-devel@nongnu.org; Sun, 29 May 2011 09:01:18 -0400 Message-ID: <559799.53196.qm@web65313.mail.ac2.yahoo.com> Date: Sun, 29 May 2011 06:01:17 -0700 (PDT) From: Peter Baitz MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="0-1031272390-1306674077=:53196" Subject: [Qemu-devel] Webcams under KVM and Linux List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org --0-1031272390-1306674077=:53196 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Hello, I had asked a question of some of your Sourceforge contacts for KVM - Qemu = on addition of webcam support, specifically the following - and was given t= he following interesting answer.=A0=A0 I would indeed like to hear more abo= ut what the project is adding to KVM - Qemu to allow video to work with web= cams (currently I run Fedora 15 as host and Fedora 11 under KVM and while t= he webcam driver and video device shows up in the guest I get no video. Als= o there is confusion for me if the host is supposed to have its webcam driv= er loaded and device enabled or not).=20 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?=A0 Looking for specifics= ?=A0 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? Many thanks, Peter=20 ---------------------------------------------------------------------------= -------- > You need to ask to KVM guys. 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 > > Can you tell me if KVM will be implementing Webcam support as > described above - the components missing that need to be > implemented for webcams to work - in any upcoming version of KVM ? It's work in progress, but not by me. Please check the qemu-devel mailing l= ist archive, specifically regarding recent discussions about EHCI (USB 2.0)= . Some of those threads address isochronous transfer as well. In the meantime, you could also try to assign a complete host controller to= the guest to get a webcam working. I tried this a while ago, though the re= sult was only moderately well working here. -------------------------------------------------- --0-1031272390-1306674077=:53196 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable
Hello,

I had asked a question of some = of your Sourceforge contacts for KVM - Qemu on addition of webcam support, = specifically the following - and was given the following interesting answer= .   I would indeed like to hear more about what the project is ad= ding to KVM - Qemu to allow video to work with webcams (currently I run Fed= ora 15 as host and Fedora 11 under KVM and while the webcam driver and vide= o device shows up in the guest I get no video. Also there is confusion for = me if the host is supposed to have its webcam driver loaded and device enab= led or not).

I was told I could try to add a complete host controll= er to the guest, but am not entirely sure I understand what that means?&nbs= p; 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?

Many thanks,
Peter


----------------------= -------------------------------------------------------------
> You n= eed to ask to KVM guys. 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 f= or
> video streams
>
> Can you tell me if KVM will be imp= lementing Webcam support as
> described above - the components missin= g that need to be
> implemented for webcams to work - in any upcoming= version of KVM ?

It's work in progress, but not by me. Please check= the qemu-devel mailing list archive, specifically regarding recent discuss= ions about EHCI (USB 2.0). Some of those threads address isochronous transf= er as well.

In the meantime, you could also try to assign a complete= host controller to the guest to get a webcam working. I tried this a while ago, though the result was only moderately well working here.
-= -------------------------------------------------

--0-1031272390-1306674077=:53196--