Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Apr 2011 19:46:20 +0200
From:      Juergen Lock <nox@jelal.kn-bremen.de>
To:        Andriy Gapon <avg@FreeBSD.org>
Cc:        emulation@FreeBSD.org, akirchhoff135014@comcast.net, netchild@FreeBSD.org, Juergen Lock <nox@jelal.kn-bremen.de>, multimedia@FreeBSD.org
Subject:   Re: Linuxolator v4l2/dvb patches (like for webcamd + skype...)
Message-ID:  <20110415174620.GA31480@triton8.kn-bremen.de>
In-Reply-To: <4DA72B26.7010009@FreeBSD.org>
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>

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



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