Date: Mon, 19 Oct 2009 00:11:01 +0400 From: Ilya Bakulin <webmaster@kibab.com> To: freebsd-emulation@freebsd.org, hselasky@freebsd.org Subject: USB webcam++ support for FreeBSD-8-current is soon here Message-ID: <20091019001101.31c22fad@kibab-nb.kibab.com>
next in thread | raw e-mail | index | archive | help
--Sig_/_KH74=2//Q=/QAPmMuanfir Content-Type: multipart/mixed; boundary="MP_//DkgE._H4FCTu3frtEpPm2d" --MP_//DkgE._H4FCTu3frtEpPm2d Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi, Just checked out Userland Linux kernel wrapper from here: svn --username anonsvn --password anonsvn \ checkout svn://svn.turbocat.net/i4b/trunk/usbcam/ulinux And tried to compile it according to instructions in Makefile: make fetch sudo make patch all install It complained about missing definition of __u32 in ulinux/libv4l/v4l2-apps/= libv4l/libv4lconvert/control/libv4lcontrol.c Following patch fixed this problem for me, built-in USB webcam works with p= wcview: ---- kibab@kibab-nb%sudo pwcview KrefGet: 0x28731404 =3D 1 KrefGet: 0x28731404 =3D 2 KrefGet: 0x2873160c =3D 1 KrefGet: 0x287316c8 =3D 1 Added device 0x28618c44 KrefGet: 0x28618c48 =3D 1 KrefGet: 0x28618c48 =3D 2 KrefGet: 0x287ada38 =3D 1 Webcam set to: 320x240 (sif) at 5 fps ---- BTW after quitting pwcview Webcam continues to work (blue LED indicator sta= ys ON). It's not a big problem, after "power_off/power_on" commands via usbconfig LED goes away :-D Is there any way to make Skype work with Webcam (as I understand, it requir= es /dev/video0 device to be present?) -- Regards, Ilya Bakulin http://kibab.com xmpp://kibab612@jabber.ru --MP_//DkgE._H4FCTu3frtEpPm2d Content-Type: text/x-patch Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename=vl42_buildfix.diff --- ulinux/libv4l-4714b31863c5/v4l2-apps/libv4l/libv4lconvert/control/libv4= lcontrol.c 2009-10-18 02:41:39.000000000 +0400 +++ ulinux/libv4l-4714b31863c5/v4l2-apps/libv4l/libv4lconvert/control/libv4= lcontrol.c 2009-10-18 23:01:33.000000000 +0400 @@ -45,6 +45,7 @@ #define V4L2_IN_ST_VFLIP 0x00000020 /* Frames are flipped vertically= */ #endif =20 +#define __u32 uint32_t =20 /* List of cams which need special flags */ static const struct v4lcontrol_flags_info v4lcontrol_flags[] =3D { --MP_//DkgE._H4FCTu3frtEpPm2d-- --Sig_/_KH74=2//Q=/QAPmMuanfir Content-Type: application/pgp-signature; name=signature.asc Content-Disposition: attachment; filename=signature.asc -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (FreeBSD) iEYEARECAAYFAkrbdlkACgkQo9vlj1oadwiDFQCcCxnN534+nNrJZZoEJHzaME9b DksAoJPZiAxasUmkuUb8XIddgMZxyhgn =ziZT -----END PGP SIGNATURE----- --Sig_/_KH74=2//Q=/QAPmMuanfir--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20091019001101.31c22fad>