Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 May 2011 23:56:42 +0200
From:      Juergen Lock <nox@jelal.kn-bremen.de>
To:        freebsd-emulation@FreeBSD.org, freebsd-multimedia@FreeBSD.org
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
Message-ID:  <20110503215642.GA26299@triton8.kn-bremen.de>

next in thread | raw e-mail | index | archive | help
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



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