Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Mar 2011 10:13:03 +0300
From:      "Andrey V. Elsukov" <bu7cher@yandex.ru>
To:        Matthias Apitz <guru@unixarea.de>
Cc:        freebsd-multimedia@freebsd.org
Subject:   Re: Webcam recommendations
Message-ID:  <4D884BFF.70206@yandex.ru>
In-Reply-To: <20110322065245.GA2397@tinyCurrent>
References:  <20110321112141.GA23421@sh4-5.1blu.de> <201103212337.14833.hselasky@c2i.net> <20110321225253.GA7054@tinyCurrent> <201103220006.05449.hselasky@c2i.net> <20110322065245.GA2397@tinyCurrent>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
On 22.03.2011 9:52, Matthias Apitz wrote:
>> Probably the format which skype is trying to set is not available? Then you 
>> maybe need to pre-load skype with libv4l for Linux. 
> 
> $ LD_PRELOAD=/usr/local/lib/libv4l/v4l1compat.so skype
> ERROR: ld.so: object '/usr/local/lib/libv4l/v4l1compat.so' from
> LD_PRELOAD cannot be preloaded: ignored.
> 
> I think, we can not preload our libs, or are you talking about some
> other (Linux) object?

Yes, you can not preload this library for linux binary, because it compiled
for FreeBSD. You can install libv4l for linux from rpm, but it will not work,
because our linux.ko does not support V4L2.

>> Maybe you could dump the 
>> structure associated with the VIDIOC_S_FMT?
>>
>> -22 means:
>>
>>      22 EINVAL Invalid argument.
> 
> will insert printf's in linux/drivers/media/video/v4l1-compat.c;
> the -513 is ok?

You should enable cuse4bsd logging and uvc driver tracing.
v4l1-compat layer contains several code paths, some of those can fail,
and it is not fatal.

-- 
WBR, Andrey V. Elsukov


[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)

iQEcBAEBAgAGBQJNiEwDAAoJEAHF6gQQyKF6xz4H/1lBCFu/vnkHx5+988wQlnpS
rTksbnUuDccbx47yUsIhBSscKusNN4BxULNV/x04ee3B8pMx13keu4KMNbTlwaFY
t1zjFJpNhacoIpoclSEamqHjHR3dOgy2QdUkBF7YT6fF16cT0PMuHdcCj9/6esXO
Qe2l1zF2IkRTOp+k+dZXFou9ROd4n3x1PzbSzQAS2MXYQd4gMwVK3oQOUvXzk3cY
ez/uZF8MZnFA7vPdLKIbqYL4dPX18+yGkNszNv+wadL1j9rILStBLrF217/BUaIN
KIYkU3JSigKeZNsA6t8acCaa1RAmPuFxO2w0PiyZDnI+H8KncGAtFvNlBZH56R4=
=UwJC
-----END PGP SIGNATURE-----
help

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