From owner-freebsd-multimedia@FreeBSD.ORG Mon Oct 4 10:48:51 2010 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C63F110657BD for ; Mon, 4 Oct 2010 10:48:51 +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 784748FC20 for ; Mon, 4 Oct 2010 10:48:51 +0000 (UTC) Received: from outgoing.leidinger.net (p57B3B4E4.dip.t-dialin.net [87.179.180.228]) by mail.ebusiness-leidinger.de (Postfix) with ESMTPSA id BE90B84400C; Mon, 4 Oct 2010 12:29:31 +0200 (CEST) Received: from webmail.leidinger.net (unknown [IPv6:fd73:10c7:2053:1::2:102]) by outgoing.leidinger.net (Postfix) with ESMTP id D7AE31640; Mon, 4 Oct 2010 12:29:28 +0200 (CEST) Received: (from www@localhost) by webmail.leidinger.net (8.14.4/8.13.8/Submit) id o94ATRuc086873; Mon, 4 Oct 2010 12:29:27 +0200 (CEST) (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, 04 Oct 2010 12:29:27 +0200 Message-ID: <20101004122927.138867gqu4mf7kw0@webmail.leidinger.net> Date: Mon, 04 Oct 2010 12:29:27 +0200 From: Alexander Leidinger To: Jashank Jeremy References: <20101004080136.GF11972@vk2pj.dyndns.org> In-Reply-To: <20101004080136.GF11972@vk2pj.dyndns.org> 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: BE90B84400C.A4430 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: 1286792976.89535@1dWeIAMeObyWm2Rqe6WtGA X-EBL-Spam-Status: No Cc: Multimedia discussions Subject: Re: Skype not getting video from webcam X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Oct 2010 10:48:51 -0000 Quoting Jashank Jeremy (from Mon, 4 Oct 2010 19:01:53 +1100): > Hi, > > I've just got a Logitech Webcam Pro 9000, and, after installing > webcamd and pwcview, works very well. However, when I try to use it in > Skype, it doesn't work. > > When I ktrace(1) Skype, and bodge UVC in webcamd to produce debugging > data, I get the following output. > > This is the debugging data from UVC: > > uvcvideo: uvc_v4l2_open > uvcvideo: uvc_v4l2_ioctl(VIDIOCGCAP) > uvcvideo: Unknown ioctl 0x40047601 > This is the relevant portion of the ktrace(1) output from Skype > (dumped using ports/devel/linux_kdump): > ... > 86117 skype CALL linux_open(0x2dc9e0b8,0x802,0) > 86117 skype NAMI "/compat/linux/dev/video0" > 86117 skype NAMI "/dev/video0" > 86117 skype RET linux_open 11/0xb > 86117 skype CALL linux_ioctl(0xb,0x80685600 ,0x2dc9e014) > 86117 skype RET linux_ioctl -1 errno 22 Invalid argument > I'm none the wiser as to what's going on here, especially the > ioctl(2)'s not matching between Skype and webcamd. Could someone > enlighten me? Please specify your FreeBSD version. If 8.1-RELEASE (or older): this will not work, you need to update to a recent -stable. If this is on -stable or -current, please provide the output of "ident /sys/compat/linux/linux_ioctl.c". Bye, Alexander. -- The meek shall inherit the earth; the rest of us, the Universe. http://www.Leidinger.net Alexander @ Leidinger.net: PGP ID = B0063FE7 http://www.FreeBSD.org netchild @ FreeBSD.org : PGP ID = 72077137