From owner-freebsd-emulation@FreeBSD.ORG Sun Apr 24 14:05:49 2011 Return-Path: Delivered-To: freebsd-emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7605F106566C; Sun, 24 Apr 2011 14:05:49 +0000 (UTC) (envelope-from nox@jelal.kn-bremen.de) Received: from smtp.kn-bremen.de (gelbbaer.kn-bremen.de [78.46.108.116]) by mx1.freebsd.org (Postfix) with ESMTP id 020408FC15; Sun, 24 Apr 2011 14:05:48 +0000 (UTC) Received: by smtp.kn-bremen.de (Postfix, from userid 10) id 422B71E00122; Sun, 24 Apr 2011 16:05:47 +0200 (CEST) Received: from triton8.kn-bremen.de (noident@localhost [127.0.0.1]) by triton8.kn-bremen.de (8.14.4/8.14.3) with ESMTP id p3OE3pej087317; Sun, 24 Apr 2011 16:03:51 +0200 (CEST) (envelope-from nox@triton8.kn-bremen.de) Received: (from nox@localhost) by triton8.kn-bremen.de (8.14.4/8.14.3/Submit) id p3OE3otV087316; Sun, 24 Apr 2011 16:03:50 +0200 (CEST) (envelope-from nox) From: Juergen Lock Date: Sun, 24 Apr 2011 16:03:50 +0200 To: Juergen Lock Message-ID: <20110424140350.GA86523@triton8.kn-bremen.de> References: <20110422121831.GA37083@triton8.kn-bremen.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20110422121831.GA37083@triton8.kn-bremen.de> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: Ivan Klymenko , kwm@FreeBSD.org, Alexander Leidinger , akirchhoff135014@comcast.net, "olli@FreeBSD.org Andriy Gapon" , freebsd-emulation@FreeBSD.org, multimedia@FreeBSD.org Subject: Re: Linuxolator v4l2/dvb - trying to collect data about latest skype X-BeenThere: freebsd-emulation@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Development of Emulators of other operating systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Apr 2011 14:05:49 -0000 On Fri, Apr 22, 2011 at 02:18:31PM +0200, Juergen Lock wrote: > Hi! > > I now have finshed seperating the dvb part of the patches out into > a port: > > http://people.freebsd.org/~nox/dvb/linux_dvbwrapper-kmod.shar > > and made new src patches that now contain the v4l2 bits only: > > http://people.freebsd.org/~nox/dvb/linux-v4l2-8-test.patch > (for 8, this is what I tested) > > http://people.freebsd.org/~nox/dvb/linux-v4l2-test.patch > (for head, untested) > > The only outstanding issues I now know of are, > > a) netchild suggested I try an older videodev2.h from Linux 2.6.17, > I'm not sure that's necessary but mainly I want to know more > about the second issue first before trying it: > I now did that anyway and found at least skype and flash with my camera seem to behave the same as before: http://people.freebsd.org/~nox/dvb/linux-v4l2-2.6.17-8-test.patch (for 8) http://people.freebsd.org/~nox/dvb/linux-v4l2-2.6.17-test.patch (for head, again untested) This loses a few features tho that _may_ be useful for other apps or later versions so I'm still not 100% sure this is a good idea... > b) Video doesn't work for me with the latest skype beta on 8/amd64 > and a gspca camera that needs the Linux libv4l, > > http://download.skype.com/linux/skype_static-2.2.0.25.tar.bz2 > > kwm got it working on head/i386 with a camera that doesn't need > libv4l (iirc) and now I'd like to know for who of you it works > or doesn't and on which FreeBSD version/arch and whether your > camera needs libv4l, so please test! :) > > Posts about getting audio working with newer skype versions: > (tho probably not necessary for testing video only) > > http://lists.freebsd.org/pipermail/freebsd-multimedia/2011-April/011935.html > http://lists.freebsd.org/pipermail/freebsd-multimedia/2011-April/011982.html > > As mentioned there, I did get video (and audio) working with the > previous skype version that's still available here: > > http://download.skype.com/linux/skype_static-2.1.0.81.tar.bz2 > > and I extracted both downloaded tarballs below my homedir and ran: > > LD_PRELOAD=/usr/lib/libv4l/v4l2convert.so ./skype_static-2.2.0.25/skype --resources=$PWD/skype_static-2.2.0.25 > > resp. for the previous version: > > LD_PRELOAD=/usr/lib/libv4l/v4l2convert.so ./skype_static-2.1.0.81/skype --resources=$PWD/skype_static-2.1.0.81 I'm still not much wiser as to what's the issue there, could those where the latest skype version does work collect webcamd v4l2 debug logs with and without the LD_PRELOAD maybe? That would be nice! You'll need to build the latest webcamd port with the DEBUG knob on and start it manually, passing the relevant debug `module parameter' for your cam's Linux driver, like -m gspca.debug=0x107 for a gspca or -m stk-webcam.debug=3 for an stk or -m uvc_driver.trace=0x7f for an uvc. You can get a list by running webcamd with -s; if no other value for v4l2 debugging is mentioned in the output for your webcam's driver try 3 (V4L2_DEBUG_IOCTL|V4L2_DEBUG_IOCTL_ARG), if you can't get it working look in your webcam's driver source below /usr/ports/multimedia/webcamd/work/webcamd-0.1.23/v4l-dvb/linux/drivers/media/video or show me the webcamd debug ouput so I can see which driver it is and look at its source. Thanx! :) Juergen