Linuxolator v4l2/dvb patches (like for webcamd + skype...)
Juergen Lock
nox at jelal.kn-bremen.de
Wed Apr 20 19:25:38 UTC 2011
On Sat, Apr 16, 2011 at 01:09:06PM +0300, Andriy Gapon wrote:
> on 15/04/2011 20:46 Juergen Lock said the following:
> > 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--------
> [snip]
> > -----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.)
>
> I think that this is a well known and still unresolved issue.
> As far as I know nobody has been able to get a microphone working with any
> non-OSS version of Skype via ALSA emulation. That's exactly the reason why I
> started looking at PulseAudio.
> Not sure if it's worth debugging alsalib input issue further. It's open source
> after all, so a determined person with proper test environment could go to far
> length. But I am sticking to pulseaudio for time being.
>
> BTW, to update on the link that you quoted:
> - the kernel patches are already in head and stable/[78]
> - libasyncns in the ports
> - pulseaudio-libs is in the PR db
> - for pulse communication via local sockets one has to create an additional link
> in ~/.pulse directory: "${hostname}:runtime" which should point to the same
> location as "${hostname}-runtime" created by native pulseaudio daemon. This is
> because of different pulseaudio versions.
> - input and output sources have to be set via pulseaudio config, e.g.:
> default-sink = oss_output.dsp4
> default-source = oss_input.dsp1
> in client.conf.
Ok so I finally got around to testing this myself, using your updated
audio/linux-f10-pulseaudio-libs port from
http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/156112
and found two things:
a) I still needed the symlink you mentioned ~/.pulse/${hostname}:runtime
- was this what the patch was supposed to fix?
b) You said earlier that pulseaudio's mmap support for recording is
broken, I found that too and found this workaround: Instead of
changing /usr/local/etc/pulse/client.conf I changed
/usr/local/etc/pulse/default.pa - I commented out the line:
load-module module-detect
and added two lines:
load-module module-oss device="/dev/dsp4" source_name=input mmap=0
load-module module-oss device="/dev/dsp0" sink_name=output
(dsp4 is the webcam's mic in this case.)
Now as to why video still doesn't work for me with the latest
skype beta I still don't know, does it work for anyone else besides
kwm, and if yes which FreeBSD version/arch do you use and does your
cam need that LD_PRELOAD=/usr/lib/libv4l/v4l2convert.so ?
(Btw I still found another bug so if it doesn't work for you also
try redownloading my patch.)
Thanx,
Juergen
More information about the freebsd-multimedia
mailing list