From owner-freebsd-multimedia@FreeBSD.ORG Tue May 3 21:59:11 2011 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 608EE1065673; Tue, 3 May 2011 21:59:11 +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 F1A208FC19; Tue, 3 May 2011 21:59:10 +0000 (UTC) Received: by smtp.kn-bremen.de (Postfix, from userid 10) id 162B81E002C4; Tue, 3 May 2011 23:59:09 +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 p43LugEW027916; Tue, 3 May 2011 23:56:42 +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 p43LugJc027915; Tue, 3 May 2011 23:56:42 +0200 (CEST) (envelope-from nox) From: Juergen Lock Date: Tue, 3 May 2011 23:56:42 +0200 To: freebsd-emulation@FreeBSD.org, freebsd-multimedia@FreeBSD.org Message-ID: <20110503215642.GA26299@triton8.kn-bremen.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) Cc: ae@FreeBSD.org, netchild@FreeBSD.org, hselasky@FreeBSD.org, avg@FreeBSD.org, kwm@FreeBSD.org Subject: skype 2.1.0.81; alternate versions of the Linuxolator v4l2 patches 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: Tue, 03 May 2011 21:59:11 -0000 Hi! I somehow thought my linux-v4l2-8-test.patch would also apply on 8.2 but of course it doesn't so I now also made q&d versions for that version: http://people.freebsd.org/~nox/dvb/linux-v4l2-8.2-test.patch and the same with Linux 2.6.17 videodev2.h: http://people.freebsd.org/~nox/dvb/linux-v4l2-2.6.17-8.2-test.patch And I also don't want to keep back ae@'s version which builds as a seperate kld the way I did it for the Linuxolator dvb handler that is now in ports as multimedia/linux_dvbwrapper-kmod: http://people.freebsd.org/~ae/linux_v4l2_kld.tgz Maybe we should turn this into a port too for easy user installation until the patches get committed and for people on (current) releases? (See http://people.freebsd.org/~nox/dvb/ for the others versions.) I now tested skype 2.1.0.81 on 8.2 with the above patch and avg@'s sys/dev/sound/pcm/dsp.c one-line patch [1], and found sound doesn't work when running skype from nfs without locking (wtf!), after extracting the skype tarball [2] locally it started working. I installed these ports: multimedia/webcamd net/skype (for the deps [3]) audio/linux-f10-alsa-plugins-oss (if you use the default /compat/linux/etc/asound.conf don't forget to switch skype's audio input/outputs from `default' to `oss', and if your mic isn't on the default soundcard you also need to add that to the Linux config [4] ^ and select it in skype) audio/alsa-plugins (I already had it installed among other things, might not actually be needed) dns/linux-f10-libasyncns multimedia/linux-f10-libv4l (for the Linux v4l2convert.so that my cam needs) And again I ran skype out of the extracted tarball: LD_PRELOAD=/usr/lib/libv4l/v4l2convert.so ./skype_static-2.1.0.81/skype --resources=$PWD/skype_static-2.1.0.81 (I also tested the latest beta [5] using a pcbsd 9.0 liveusb snapshot but it still didn't want to work for me, something about kwm@'s setup must really be `special', he's the only one I know of that has it working...) Enjoy, :) Juergen [1] http://lists.freebsd.org/pipermail/freebsd-multimedia/2011-April/012024.html [2] http://download.skype.com/linux/skype_static-2.1.0.81.tar.bz2 [3] make all-depends-list in net/skype's port dir gives: /usr/ports/emulators/linux_base-f10 /usr/ports/audio/linux-f10-alsa-lib /usr/ports/graphics/linux-dri74 /usr/ports/textproc/linux-f10-expat /usr/ports/x11-fonts/linux-f10-fontconfig /usr/ports/devel/linux-f10-libsigc++20 /usr/ports/x11/linux-f10-xorg-libs /usr/ports/archivers/rpm /usr/ports/devel/gmake /usr/ports/devel/automake14 /usr/ports/devel/autoconf213 /usr/ports/devel/libtool /usr/ports/devel/popt /usr/ports/devel/gettext /usr/ports/lang/perl5.10 /usr/ports/devel/autoconf /usr/ports/devel/automake-wrapper /usr/ports/devel/m4 /usr/ports/devel/autoconf-wrapper /usr/ports/converters/libiconv /usr/ports/misc/help2man /usr/ports/devel/p5-Locale-gettext [4] example /compat/linux/etc/alsa/pcm/pcm-oss.conf entries for a mic on /dev/dsp4: ---snip------ pcm.oss4 { type oss device /dev/dsp4 hint { description "Open Sound System" } } ctl.oss4 { type oss device /dev/mixer4 hint { description "Open Sound System" } } ---snip------ [5] http://lists.freebsd.org/pipermail/freebsd-multimedia/2011-April/012005.html