From owner-freebsd-emulation@FreeBSD.ORG Tue Jan 25 10:50:06 2011 Return-Path: Delivered-To: freebsd-emulation@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id F3FD21065673 for ; Tue, 25 Jan 2011 10:50:05 +0000 (UTC) (envelope-from alexander@leidinger.net) Received: from mail.ebusiness-leidinger.de (mail.ebusiness-leidinger.de [217.11.53.44]) by mx1.freebsd.org (Postfix) with ESMTP id A314B8FC16 for ; Tue, 25 Jan 2011 10:50:05 +0000 (UTC) Received: from outgoing.leidinger.net (p57B3A6E3.dip.t-dialin.net [87.179.166.227]) by mail.ebusiness-leidinger.de (Postfix) with ESMTPSA id 1301B84400D; Tue, 25 Jan 2011 11:50:00 +0100 (CET) Received: from webmail.leidinger.net (unknown [IPv6:fd73:10c7:2053:1::2:102]) by outgoing.leidinger.net (Postfix) with ESMTP id DFADC2686; Tue, 25 Jan 2011 11:49:56 +0100 (CET) Received: (from www@localhost) by webmail.leidinger.net (8.14.4/8.13.8/Submit) id p0PAnp39085757; Tue, 25 Jan 2011 11:49:51 +0100 (CET) (envelope-from Alexander@Leidinger.net) Received: from pslux.ec.europa.eu (pslux.ec.europa.eu [158.169.9.14]) by webmail.leidinger.net (Horde Framework) with HTTP; Tue, 25 Jan 2011 11:49:51 +0100 Message-ID: <20110125114951.2138361gfuaplh44@webmail.leidinger.net> Date: Tue, 25 Jan 2011 11:49:51 +0100 From: Alexander Leidinger To: Oliver Fromme References: <201101241643.p0OGhtU9003563@lurza.secnetix.de> In-Reply-To: <201101241643.p0OGhtU9003563@lurza.secnetix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; DelSp="Yes"; format="flowed" Content-Disposition: inline Content-Transfer-Encoding: 7bit User-Agent: Dynamic Internet Messaging Program (DIMP) H3 (1.1.4) X-EBL-MailScanner-Information: Please contact the ISP for more information X-EBL-MailScanner-ID: 1301B84400D.A60B1 X-EBL-MailScanner: Found to be clean X-EBL-MailScanner-SpamCheck: not spam, spamhaus-ZEN, SpamAssassin (not cached, score=1.428, required 6, autolearn=disabled, RDNS_NONE 1.27, TW_UV 0.08, TW_WC 0.08) X-EBL-MailScanner-SpamScore: s X-EBL-MailScanner-From: alexander@leidinger.net X-EBL-MailScanner-Watermark: 1296557402.14216@/aH1DQ4hmjEHoQpeIGNE6w X-EBL-Spam-Status: No Cc: freebsd-emulation@FreeBSD.ORG Subject: Re: v4l + webcamd + Logitech C210 + Skype (FreeBSD 8-stable) X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Jan 2011 10:50:06 -0000 Quoting Oliver Fromme (from Mon, 24 Jan 2011 17:43:55 +0100 (CET)): > Alexander Leidinger wrote: > > Oliver Fromme wrote: > > > > > The Logitech C210 is a UVC webcam (USB video class), and > > > webcamd includes a uvc driver, but it says that it is V4L2 > > > only. On the other hand, the Linuxulator's video device > > > translation layer does not support V4L2, as far as I know. > > > > Correct. > > > > > Is that the reason why Skype cannot see my webcam? If so, > > > > Probably yes. > > Hmm. In the meantime I've looked at the source of pwcview, > and it seems to be V4L, too (not V4L2). But pwcview _does_ > work, unlike Skype. I'm confused now. > > Is there an easy way to check whether V4L or V4L2 is in use? Add some printf in linux_ioctl.h, this way you see directly what is used (as we only have v4l there, you do not see v4l2 ones, but you can see what it tries to do and which response is given). This way you can be sure what happens. > I'm somewhat reluctant to spend hours or days on implementing > an interface, just to find out that the problem is somehwere > else. Off course. > At the moment I have near zero knowledge about V4L/V4L2, as > you can probably guess from my questions. ;-) I do not know/enough much about v4l2 either... :) > > [...] > > We have the permission to import the v4l2 header (I got the permission > > from the authors). It's already in the vendor area, but as we do not > > have code which uses it, it is not imported into head. > > Where is it, exactly? I can only see the V4L one in the > vendor area. Ooops, sorry, it seems I didn't import it, but if you look at the README (http://svn.freebsd.org/viewvc/base/vendor/v4l/README?revision=200107&view=markup) you will see that we have the permission to use the v4l2 one. Bye, Alexander. -- http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137