From owner-cvs-all@FreeBSD.ORG Sun Feb 4 15:12:46 2007 Return-Path: X-Original-To: cvs-all@FreeBSD.ORG Delivered-To: cvs-all@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CD2F416A401; Sun, 4 Feb 2007 15:12:46 +0000 (UTC) (envelope-from rizzo@icir.org) Received: from xorpc.icir.org (xorpc.icir.org [192.150.187.68]) by mx1.freebsd.org (Postfix) with ESMTP id B33A213C428; Sun, 4 Feb 2007 15:12:46 +0000 (UTC) (envelope-from rizzo@icir.org) Received: from xorpc.icir.org (localhost [127.0.0.1]) by xorpc.icir.org (8.12.11/8.13.6) with ESMTP id l14FCji1023294; Sun, 4 Feb 2007 07:12:45 -0800 (PST) (envelope-from rizzo@xorpc.icir.org) Received: (from rizzo@localhost) by xorpc.icir.org (8.12.11/8.12.3/Submit) id l14FCjWP023293; Sun, 4 Feb 2007 07:12:45 -0800 (PST) (envelope-from rizzo) Date: Sun, 4 Feb 2007 07:12:45 -0800 From: Luigi Rizzo To: Alexey Dokuchaev Message-ID: <20070204071245.A23186@xorpc.icir.org> References: <200702021825.l12IPRcV076387@repoman.freebsd.org> <20070204150438.GB76191@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5.1i In-Reply-To: <20070204150438.GB76191@FreeBSD.org>; from danfe@FreeBSD.ORG on Sun, Feb 04, 2007 at 03:04:38PM +0000 Cc: cvs-ports@FreeBSD.ORG, Luigi Rizzo , cvs-all@FreeBSD.ORG, ports-committers@FreeBSD.ORG Subject: Re: cvs commit: ports/multimedia/linux-ov511-kmod Makefile distinfo pkg-descr pkg-plist ports/multimedia/linux-ov511-kmod/files Makefile.kld patch-ov511-1 X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 04 Feb 2007 15:12:46 -0000 On Sun, Feb 04, 2007 at 03:04:38PM +0000, Alexey Dokuchaev wrote: > On Fri, Feb 02, 2007 at 06:25:27PM +0000, Luigi Rizzo wrote: > > luigi 2007-02-02 18:25:27 UTC > > > > FreeBSD ports repository > > > > Added files: > > multimedia/linux-ov511-kmod Makefile distinfo pkg-descr > > pkg-plist > > multimedia/linux-ov511-kmod/files Makefile.kld patch-ov511-1 > > Log: > > New port linux-ov511-kmod, a usb webcam driver based on the linux > > driver 'ov511' (from the linux sources) built on FreeBSD using > > devel/linux-kmod-compat. The driver supports some ov511 based > > webcams. > > Could you please describe the benefits of using these drivers instead of > tools like `graphics/spcaview' or `graphics/vid'? these (same as multimedia/pwcbsd) are kernel drivers, so they provide data through /dev/video using the Video4linux api. As such they should be compatible with apps that use that API to talk to the camers (e.g. ekiga/gnomemeeting, and hopefully others as time goes). Conversely, the other tools you mentions are ad hoc apps that talk to the cameras through /dev/ugen. They do what they do, but do nothing to help other apps use the cameras. Kernel drivers should also work better than the corresponding userland apps because there are some time-critical things (such as grabbing frames from the camera, etc.) where the userland apps have a hard time because they cannot control well when they will be scheduled. cheers luigi