All of lore.kernel.org
 help / color / mirror / Atom feed
From: Peter Baitz <ussenterprisencc1701@rocketmail.com>
To: "Andreas Färber" <andreas.faerber@web.de>,
	"Natalia Portillo" <claunia@claunia.com>
Cc: QEMU Developers <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] Webcams under KVM and Linux
Date: Sun, 29 May 2011 07:03:25 -0700 (PDT)	[thread overview]
Message-ID: <654825.49014.qm@web65303.mail.ac2.yahoo.com> (raw)
In-Reply-To: <B990EC41-EBB1-4301-AD04-0181F4FC3A9F@claunia.com>

[-- Attachment #1: Type: text/plain, Size: 3502 bytes --]

Hello Natalia and Andreas,

Thank you for the replies and suggestions.  I will lookup V4L.  

Natalia,

So your patch creates a generic webcam under KVM/Qemu to allow many webcams to work?

My only concern is the following:   I use specific Philips webcams, and one in particular has a long exposure modification that the PWC driver (Fedora 11 guest on Fedora 15 host) coupled with Qastrocam-G2 (v4.9) allows the "shutter" to remain open through USB control of the LED.  If the guest restorts to using a generic webcam driver, I think this would preclude functionality that the native driver supports ?  

Also, can you tell me - when KVM is running my guest, should the PWC webcam driver be loaded and/or the /dev/video0 on the HOST (F15), versus the guest (F11) ?   I am confused as to which components are supposed to be enabled or disabled while running the guest webcam.   What I see is when I enable the webcam USB device in KVM, it appears to disable the /dev/video0 on the host an brings 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 <claunia@claunia.com> wrote:

From: Natalia Portillo <claunia@claunia.com>
Subject: Re: [Qemu-devel] Webcams under KVM and Linux
To: "Andreas Färber" <andreas.faerber@web.de>
Cc: "Peter Baitz" <ussenterprisencc1701@rocketmail.com>, "QEMU Developers" <qemu-devel@nongnu.org>
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 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, as well as providing an universal device to the guest that works with every Windows >XP, every Linux and even Mac OS X.

El 29/05/2011, a las 14:37, Andreas Färber escribió:

> 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-devel mailing list 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 result was only moderately well working here.
> 
>> [...] I would indeed like to hear more about what the project is adding to KVM - Qemu to allow video to work with webcams
> [...]
>> 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?
> 
> Independent of the ongoing EHCI work, I remember a patch specifically for webcams a while ago, try searching the archives for V4L.
> 
> Andreas

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org

iF4EAREIAAYFAk3iT+QACgkQv/wfOsykIRTtxQD+KCTGZhuzrZMzmYDvY5NFO0+F
QQwdE0aYVntQWpHMG5YBAJsFT5wd7/8FxOIt3aL1lwFqXtKc9y9TrrNog95gnoVh
=n0hn
-----END PGP SIGNATURE-----

[-- Attachment #2: Type: text/html, Size: 4161 bytes --]

  reply	other threads:[~2011-05-29 14:03 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-05-29 13:01 [Qemu-devel] Webcams under KVM and Linux Peter Baitz
2011-05-29 13:37 ` Andreas Färber
2011-05-29 13:53   ` Natalia Portillo
2011-05-29 14:03     ` Peter Baitz [this message]
2011-05-30 12:50       ` Natalia Portillo
2011-05-30 14:56         ` Gerd Hoffmann
2011-05-30 18:19           ` Natalia Portillo
2011-05-31  7:01             ` Gerd Hoffmann
2011-05-30 16:34         ` Peter Baitz
2011-05-30 10:38   ` Gerd Hoffmann
2011-05-30 20:47     ` Brad Hards
2011-05-30 23:39       ` Natalia Portillo
2011-05-31  0:41         ` Brad Hards

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=654825.49014.qm@web65303.mail.ac2.yahoo.com \
    --to=ussenterprisencc1701@rocketmail.com \
    --cc=andreas.faerber@web.de \
    --cc=claunia@claunia.com \
    --cc=qemu-devel@nongnu.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.