From owner-freebsd-multimedia@FreeBSD.ORG Sat May 12 15:42:42 2012 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 42B71106566C for ; Sat, 12 May 2012 15:42:42 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id C8D0F8FC0A for ; Sat, 12 May 2012 15:42:41 +0000 (UTC) Received: from [188.174.192.37] (helo=localhost.my.domain) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1STESu-00081J-FS for freebsd-multimedia@freebsd.org; Sat, 12 May 2012 17:42:40 +0200 Received: from localhost.my.domain (localhost [127.0.0.1]) by localhost.my.domain (8.14.4/8.14.3) with ESMTP id q4CFgddk002305 for ; Sat, 12 May 2012 17:42:39 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by localhost.my.domain (8.14.4/8.14.3/Submit) id q4CFgd26002304 for freebsd-multimedia@freebsd.org; Sat, 12 May 2012 17:42:39 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: localhost.my.domain: guru set sender to guru@unixarea.de using -f Date: Sat, 12 May 2012 17:42:38 +0200 From: Matthias Apitz To: freebsd-multimedia@freebsd.org Message-ID: <20120512154238.GA2290@tinyCurrent> References: <20120512085059.GA2620@tinyCurrent> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20120512085059.GA2620@tinyCurrent> X-Operating-System: FreeBSD 9.0-CURRENT r214444 (i386) User-Agent: Mutt/1.5.21 (2010-09-15) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 188.174.192.37 Subject: Re: Logitech HD Webcam Pro c910 && webcamd/Skype X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 May 2012 15:42:42 -0000 El día Saturday, May 12, 2012 a las 10:51:00AM +0200, Matthias Apitz escribió: > Asus Aspire One D250: > > kernel: r214444: Thu Oct 28 2010 > > $ ls -l /dev/vid* > crw-rw-rw- 1 webcamd webcamd 0, 94 12 may 08:10 /dev/video0 > crw-rw-rw- 1 webcamd webcamd 0, 125 12 may 10:34 /dev/video8 > > $ pkg_info | egrep 'webcam|cuse4|skype|linux_v4l2' > cuse4bsd-kmod-0.1.23 Cuse4BSD character device loopback driver for userspace > linux_v4l2wrapper-kmod-1.0_2 Linux compatibility layer - V4L2 ioctl handler > pwcview-1.4.1_3 The Video4Linux PWC webcam viewer > skype-2.0.0.72,1 P2P VoIP software > webcamd-3.2.0.1 A port of Linux USB webcam and DVB drivers into userspace > > in this netbook in Skype only device /dev/video0 is presented and works; > with pwcview both cam are working, but /dev/video8 says: > > $ pwcview -d /dev/video8 > libv4lconvert: warning more framesizes then I can handle! > libv4lconvert: warning more framesizes then I can handle! > > Any idea why skype is not seeing /dev/video8? Is it worth to debug this > or is it just the older Skype version? Ok, I compiled webcamd with debug and additional printf's to catch the ioctl's coming down from Skype; I launched by hand (i.e. not via devd(8)) two webcamd in two windows: # ./webcamd -d ugen4.2 (for the built-in, gives /dev/video0) # ./webcamd -d ugen4.4 (for the external, gives /dev/video8) Then I launched skype and on its start only /dev/video0 is probed as I can see in the window for ugen4.2; the other device is not shown in the skype's config window and never probed with open or ioctl's; I stopped both webcamd proc and launched only the one for the external cam: # ./webcamd -d ugen4.4 (for the external, gives now /dev/video0) and the device /dev/video0 is probed by skype on start and is just working fine; Now I altered the order of the start of the two webcamd proc, i.e. the external was now created as /dev/video0 and the built-in as video8; in skype now only the external is presented and working; The only conclusion I can draw from this is that the older skype 2.0.0.72,1 ignores /dev/video8; I was not able to create /dev/video1 by launching webcamd with -v 1; using -v only gives video8, video16, video24 for 1, 2 and 3 resp., all are not seen by skype; It must be a skype bug, I think. Thanks matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ UNIX since V7 on PDP-11 | UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2 | FreeBSD since 2.2.5