From owner-freebsd-multimedia@FreeBSD.ORG Mon Jan 22 12:45:40 2007 Return-Path: X-Original-To: multimedia@FreeBSD.org Delivered-To: freebsd-multimedia@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6AE5D16A402 for ; Mon, 22 Jan 2007 12:45:40 +0000 (UTC) (envelope-from flz@FreeBSD.org) Received: from smtp8-g19.free.fr (smtp8-g19.free.fr [212.27.42.65]) by mx1.freebsd.org (Postfix) with ESMTP id 0682113C465 for ; Mon, 22 Jan 2007 12:45:40 +0000 (UTC) (envelope-from flz@FreeBSD.org) Received: from smtp.xbsd.org (unknown [82.233.2.192]) by smtp8-g19.free.fr (Postfix) with ESMTP id 371D455C5; Mon, 22 Jan 2007 13:45:39 +0100 (CET) Received: from localhost (localhost.xbsd.org [127.0.0.1]) by smtp.xbsd.org (Postfix) with ESMTP id CBFEF11618; Mon, 22 Jan 2007 13:45:38 +0100 (CET) X-Virus-Scanned: amavisd-new at xbsd.org Received: from smtp.xbsd.org ([127.0.0.1]) by localhost (srv1.xbsd.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OSqIQ0Ds1nQw; Mon, 22 Jan 2007 13:45:29 +0100 (CET) Received: from [193.95.134.156] (mayday.esat.net [193.95.134.156]) by smtp.xbsd.org (Postfix) with ESMTP id D86D511611; Mon, 22 Jan 2007 13:45:28 +0100 (CET) Message-ID: <45B4B1F9.1010808@FreeBSD.org> Date: Mon, 22 Jan 2007 12:45:45 +0000 From: Florent Thoumie User-Agent: Thunderbird 1.5.0.8 (X11/20061121) MIME-Version: 1.0 To: Luigi Rizzo References: <20070122032640.A90831@xorpc.icir.org> <45B4A58C.8020907@FreeBSD.org> <20070122043720.A91561@xorpc.icir.org> In-Reply-To: <20070122043720.A91561@xorpc.icir.org> X-Enigmail-Version: 0.94.1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="------------enigB2DFC7083D34CA7B25425CA6" Cc: multimedia@FreeBSD.org Subject: Re: some missing bits in multimedia/v4l_compat X-BeenThere: freebsd-multimedia@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Multimedia discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 22 Jan 2007 12:45:40 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigB2DFC7083D34CA7B25425CA6 Content-Type: text/plain; charset=ISO-8859-15 Content-Transfer-Encoding: quoted-printable Luigi Rizzo wrote: > On Mon, Jan 22, 2007 at 11:52:44AM +0000, Florent Thoumie wrote: >> Luigi Rizzo wrote: >>> i notice that ports/multimedia/v4l_compat/files/videodev.h has >>> some differences with respect to the linux equivalent, see e.g. >>> >>> http://www.gelato.unsw.edu.au/lxr/source/include/linux/videodev.h >>> >>> e.g. no #define HAVE_V4L1 1 ,=20 >>> some missing prototypes, and so on. >>> >>> Any objection if i fill in some of the missing parts ? >>> >>> Also, any reason not to make a header for videodev2.h as well >>> >>> http://www.gelato.unsw.edu.au/lxr/source/include/linux/videodev2.h >> I think no devices on FreeBSD support v4l2 atm but that wouldn't hurt >> anyone. >> Go ahead. >=20 > thanks. >=20 > Actually i believe nothing in the tree supports v4l1 either, > so this is mostly (only ?) to let ports (apps and drivers) build. Actually, there's at least one driver that uses it (pwc(4) in ports). > But i also wonder if it wouldn't be the case to make these headers > part of the kernel tree. It certainly shouldn't harm to have them > generally available, and not just as a port. There was a WIP to bring v4l interface to sys/. I took it from julian's p4 repo, did some mods in my own and had to focus on some other things. I read some people were interested in v4l in hackers@ (IIRC). > I learned that many ports (e.g. pwlib, and possibly some of the > gnome/kde/whatever toolkits) do check for the presence > of the headers and conditionally build parts of them. > So you might find yourself with missing support for v4l devices > without noticing, and even when later you install the drivers > you won't see them. I've notified gnome people of it, so if it's not the case yet there should be gstreamer-v4l at some point. --=20 Florent Thoumie flz@FreeBSD.org FreeBSD Committer --------------enigB2DFC7083D34CA7B25425CA6 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFFtLH+MxEkbVFH3PQRCtGGAJ9/9zrm/7LnxZtuDyJ23GzHdxFHpQCfaIk4 3j+ahKS4mOunV0Sm3UH2MMQ= =hXAb -----END PGP SIGNATURE----- --------------enigB2DFC7083D34CA7B25425CA6--