From owner-freebsd-emulation@FreeBSD.ORG Fri Apr 15 17:52:41 2011 Return-Path: Delivered-To: emulation@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 82BD9106566B; Fri, 15 Apr 2011 17:52:41 +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 1492D8FC15; Fri, 15 Apr 2011 17:52:40 +0000 (UTC) Received: by smtp.kn-bremen.de (Postfix, from userid 10) id 69CC01E002B9; Fri, 15 Apr 2011 19:52:39 +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 p3FHkKLx033347; Fri, 15 Apr 2011 19:46:20 +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 p3FHkKLI033346; Fri, 15 Apr 2011 19:46:20 +0200 (CEST) (envelope-from nox) From: Juergen Lock Date: Fri, 15 Apr 2011 19:46:20 +0200 To: Andriy Gapon Message-ID: <20110415174620.GA31480@triton8.kn-bremen.de> References: <20110412172227.GA45105@triton8.kn-bremen.de> <4DA4A1AC.90601@yandex.ru> <20110412222945.39b7a47b@ukr.net> <4DA4ADC7.6020101@yandex.ru> <20110412230426.550e8155@ukr.net> <20110413170446.GA84392@triton8.kn-bremen.de> <4DA5E0DB.2020009@FreeBSD.org> <20110413182157.GA87724@triton8.kn-bremen.de> <4DA72B26.7010009@FreeBSD.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4DA72B26.7010009@FreeBSD.org> User-Agent: Mutt/1.5.21 (2010-09-15) Cc: emulation@FreeBSD.org, akirchhoff135014@comcast.net, netchild@FreeBSD.org, Juergen Lock , multimedia@FreeBSD.org Subject: Re: Linuxolator v4l2/dvb patches (like for webcamd + 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: Fri, 15 Apr 2011 17:52:41 -0000 On Thu, Apr 14, 2011 at 08:13:10PM +0300, Andriy Gapon wrote: > > BTW, just in case: > http://www.quickcamteam.net/documentation/faq/logitech-webcam-linux-usb-incompatibilities > > P.S. > http://blogs.skype.com/linux/2011/04/2_2_beta.html Ok I just tested that version and found another bug in the patches, but even after fixing that I couldn't get video to work with my gspca camera that doesn't do yuv video. :( Maybe the f10 version of libv4l that is now in ports is just too old? (Does anyone else get that version to work with a cam that does do yuv like a uvc?) netchild, you said you have an f10 build env iirc, could you try building the latest libv4l on there for me to test? The new patches are here: http://people.freebsd.org/~nox/dvb/linux-dvb-v4l2-8-test-split.patch (for 8, this is what I tested) http://people.freebsd.org/~nox/dvb/linux-dvb-v4l2-test-split.patch (for head, again untested) I have now split the dvb handling into a seperate kld because of the LGPL'd header it uses (linux_dvbwrapper.ko), but it looks like I'll have to make that a port as netchild still had concerns putting that version in base... I also couldn't get audio input to work with that skype version but maybe that just was because I am on 8 and used a Linux alsa oss plugin, http://archives.fedoraproject.org/pub/archive/fedora/linux/updates/10/i386/alsa-plugins-oss-1.0.21-3.fc10.i386.rpm with this /compat/linux/etc/asound.conf: -----snip-------- # # FreeBSD/OSS # pcm.!default { type oss device /dev/dsp } ctl.!default { type oss device /dev/mixer } pcm.!dsp4 { type oss device /dev/dsp4 } ctl.!dsp4 { type oss device /dev/mixer4 } # # Remap all possible surround stuffs. # pcm.!surround40 { type oss device /dev/dsp } pcm.!surround41 { type oss device /dev/dsp } pcm.!surround50 { type oss device /dev/dsp } pcm.!surround51 { type oss device /dev/dsp } pcm.!surround71 { type oss device /dev/dsp } # # Pulseaudio # # pcm.!default { # type pulse # } # # ctl.!default { # type pulse # } -----snip-------- ...instead of messing with pulseaudio and the patches it needs like you posted here: http://lists.freebsd.org/pipermail/freebsd-multimedia/2011-February/011696.html (I did hear skype's sounds that way btw, just the webcam's builtin mic on /dev/dsp4 wouldn't want to record anything even tho skype allowed me to select `dsp4' as mic input.) And now I also tested the version you tested in that posting which I found to be still available here, http://download.skype.com/linux/skype_static-2.1.0.81.tar.bz2 and with _that_ version the webcam did work with my updated patch. (the mic didn't, probably for the same reason as above.) For those that want to try, I just extracted the tarball below my homedir and then ran: LD_PRELOAD=/usr/lib/libv4l/v4l2convert.so ./skype_static-2.1.0.81/skype --resources=$PWD/skype_static-2.1.0.81 And the latest beta I tested the same way: LD_PRELOAD=/usr/lib/libv4l/v4l2convert.so ./skype_static-2.2.0.25/skype --resources=$PWD/skype_static-2.2.0.25 Enjoy, :) Juergen