Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 May 2012 17:42:38 +0200
From:      Matthias Apitz <guru@unixarea.de>
To:        freebsd-multimedia@freebsd.org
Subject:   Re: Logitech HD Webcam Pro c910 && webcamd/Skype
Message-ID:  <20120512154238.GA2290@tinyCurrent>
In-Reply-To: <20120512085059.GA2620@tinyCurrent>
References:  <20120512085059.GA2620@tinyCurrent>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <guru@unixarea.de> - 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120512154238.GA2290>