From owner-freebsd-emulation@FreeBSD.ORG Mon Jan 24 11:37:49 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 B7554106566B for ; Mon, 24 Jan 2011 11:37:49 +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 6ABE68FC0C for ; Mon, 24 Jan 2011 11:37:49 +0000 (UTC) Received: from outgoing.leidinger.net (p57B3A186.dip.t-dialin.net [87.179.161.134]) by mail.ebusiness-leidinger.de (Postfix) with ESMTPSA id 893F084400D; Mon, 24 Jan 2011 12:37:41 +0100 (CET) Received: from webmail.leidinger.net (unknown [IPv6:fd73:10c7:2053:1::2:102]) by outgoing.leidinger.net (Postfix) with ESMTP id 0F6C725BA; Mon, 24 Jan 2011 12:37:38 +0100 (CET) Received: (from www@localhost) by webmail.leidinger.net (8.14.4/8.13.8/Submit) id p0OBbRCM064796; Mon, 24 Jan 2011 12:37:27 +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; Mon, 24 Jan 2011 12:37:27 +0100 Message-ID: <20110124123727.15733vpspdc31xq8@webmail.leidinger.net> Date: Mon, 24 Jan 2011 12:37:27 +0100 From: Alexander Leidinger To: Oliver Fromme References: <201101232040.p0NKecDg053547@lurza.secnetix.de> In-Reply-To: <201101232040.p0NKecDg053547@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: 893F084400D.A56EB X-EBL-MailScanner: Found to be clean X-EBL-MailScanner-SpamCheck: not spam, spamhaus-ZEN, SpamAssassin (not cached, score=1.351, required 6, autolearn=disabled, RDNS_NONE 1.27, TW_UV 0.08) X-EBL-MailScanner-SpamScore: s X-EBL-MailScanner-From: alexander@leidinger.net X-EBL-MailScanner-Watermark: 1296473865.23733@/yi1q4Yi+adjVTEifEhN4w 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: Mon, 24 Jan 2011 11:37:49 -0000 Quoting Oliver Fromme (from Sun, 23 Jan 2011 21:40:38 +0100 (CET)): > 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. > what's the recommended way to solve the problem? All of Implement v4l2 support in the linuxulator. Have a look at the emulation archive, nox@ just implemented DVB support in the same way the v4l(1) support was done: looking at the IOCTLs to determine which depend upon IOW/IOR macros (the values are switched between FreeBSD and linux), and to translate pointers (important for the linux32 on amd64 part). Coding this is not hard, but the analysis is time consuming. I'm sure he is willing to explain some things in case you want to get started. 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. > the webcams currently available for purchase seem to be > UVC ones, so I'm probably stuck with Windows. :-( Bye, Alexander. -- Natives who beat drums to drive off evil spirits are objects of scorn to smart Americans who blow horns to break up traffic jams. -- Mary Ellen Kelly http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137