From owner-freebsd-multimedia@FreeBSD.ORG Sun May 31 04:51:07 2009 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 0EF331065675 for ; Sun, 31 May 2009 04:51:07 +0000 (UTC) (envelope-from julian@elischer.org) Received: from outP.internet-mail-service.net (outp.internet-mail-service.net [216.240.47.239]) by mx1.freebsd.org (Postfix) with ESMTP id 937718FC13 for ; Sun, 31 May 2009 04:51:05 +0000 (UTC) (envelope-from julian@elischer.org) Received: from idiom.com (mx0.idiom.com [216.240.32.160]) by out.internet-mail-service.net (Postfix) with ESMTP id 2896EE3FC7; Sat, 30 May 2009 21:39:30 -0700 (PDT) X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e X-Client-Authorized: MaGic Cook1e Received: from julian-mac.elischer.org (home.elischer.org [216.240.48.38]) by idiom.com (Postfix) with ESMTP id C225C2D600F; Sat, 30 May 2009 21:39:28 -0700 (PDT) Message-ID: <4A220A00.4040007@elischer.org> Date: Sat, 30 May 2009 21:39:28 -0700 From: Julian Elischer User-Agent: Thunderbird 2.0.0.21 (Macintosh/20090302) MIME-Version: 1.0 To: Luigi Rizzo References: <200804142217.17035.beech@FreeBSD.org> <20090530070025.GA2465@current.Sisis.de> <200905300955.34102.hselasky@freebsd.org> <20090530090540.GC46541@onelab2.iet.unipi.it> In-Reply-To: <20090530090540.GC46541@onelab2.iet.unipi.it> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-multimedia@freebsd.org, freebsd-emulation@freebsd.org, Hans Petter Selasky , Beech Rintoul Subject: Re: Skype-2.0 is here! 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: Sun, 31 May 2009 04:51:07 -0000 Luigi Rizzo wrote: > On Sat, May 30, 2009 at 09:55:32AM +0200, Hans Petter Selasky wrote: >> On Saturday 30 May 2009, Matthias Apitz wrote: >>> El d?a Monday, April 14, 2008 a las 10:17:12PM -0800, Beech Rintoul >> escribi?: >>>> 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 FreeBSD. >> First of all we need to push a video4linux library. >> >> -lvideodevx >> >> Methods: >> >> int videodevx_open(int unit); /* returns a handle, not neccesarily a >> 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, int >> 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 >> that the application directly receives the USB data and talks to the webcam >> through -lvideodevx and the new BSD licensed -lusb . >> >> Third we need to convince everyone to use videodevx when opening video >> devices. On linux videodevx will simply be a wrapper for >> open/close/ioctl/... . On FreeBSD videodevx will be a complete USB webcam >> driver library. >> >> Anyone that wants to join heads? > > Excellent summary which covers the situation for native apps. > > I wonder if the case is a bit different for skype and linux binaries > in general, as they run under linux emulation so perhaps the > it is the linuxulator that has to emulate the v4l(2?) calls, > and i have no idea if this needs to be done in the kernel or we > can deal with this in some libc wrapper ? there was a v4L2 implementation for FreeBSD that worked I checked some of it into P4 (v4l2 branch I think...) we actually have permsission to use the V4L2 and V4L include files directly (I have email from the authors) as they are not copyright at all but just reflect the ABI/API. > > cheers > luigi > _______________________________________________ > freebsd-multimedia@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-multimedia > To unsubscribe, send any mail to "freebsd-multimedia-unsubscribe@freebsd.org"