Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 30 May 2009 09:55:32 +0200
From:      Hans Petter Selasky <hselasky@freebsd.org>
To:        freebsd-multimedia@freebsd.org, Matthias Apitz <guru@unixarea.de>
Cc:        freebsd-emulation@freebsd.org
Subject:   Re: Skype-2.0 is here!
Message-ID:  <200905300955.34102.hselasky@freebsd.org>
In-Reply-To: <20090530070025.GA2465@current.Sisis.de>
References:  <200804142217.17035.beech@FreeBSD.org> <20090530070025.GA2465@current.Sisis.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Saturday 30 May 2009, Matthias Apitz wrote:
> El d=EDa Monday, April 14, 2008 a las 10:17:12PM -0800, Beech Rintoul=20
escribi=F3:
> > Finally, skype-devel has been updated to the new 2.0.0.68 version.
> > This is the one that includes video and any input to get this (video)
> > going is appreciated. Everything else seems to work as advertised.
> >
> > If you're going to update to this version, please read
> > UPDATING-20080318.
> >
> > Enjoy,
> >
> > Beech
>
> Hello Beech,
>
> I'm running on my laptop 8-CURRENT (of May 28), have the pwc.ko loaded
> which gives me a device /dev/video0 and pwcview is showing my face; as
> well I have installed skype-2.0.0.72,1 from the ports which works fine
> but does not recognice the video device; what should I do or test to
> bring this together? Thanks
>
> 	matthias

Hi all,

We need some common effort to get Video4Linux USB devices working on FreeBS=
D.=20
=46irst of all we need to push a video4linux library.

=2Dlvideodevx

Methods:

int videodevx_open(int unit); /* returns a handle, not neccesarily a=20
file-handle */
int videodevx_read(int hdl, ptr, len);
int videodevx_write(int hdl, ptr, len);
int videodevx_ioctl(int hdl, cmd, arg);
int videodevx_mmap(int hdl, void *addr, size_t len, int prot, int flags, in=
t=20
fd, off_t offset);
int videodevx_getfd(int hdl); /* used for polling */
int videodevx_close(int hdl);

Some work in progress is available from:

svn --username anonsvn --password anonsvn \
      checkout svn://svn.turbocat.net/i4b/trunk/usbcam

Download "linux-2.6.29" to "ulinux/linux"

cd ulinux

make clean all

NOTE: It's not linking yet.

Second, we need a userland port for Video4Linux, which I am working on. So=
=20
that the application directly receives the USB data and talks to the webcam=
=20
through -lvideodevx and the new BSD licensed -lusb .

Third we need to convince everyone to use videodevx when opening video=20
devices. On linux videodevx will simply be a wrapper for=20
open/close/ioctl/... . On FreeBSD videodevx will be a complete USB webcam=20
driver library.

Anyone that wants to join heads?

=2D-HPS



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