From owner-freebsd-multimedia@FreeBSD.ORG Fri Oct 5 14:24:46 2007 Return-Path: Delivered-To: freebsd-multimedia@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C024316A419 for ; Fri, 5 Oct 2007 14:24:46 +0000 (UTC) (envelope-from tinguely@casselton.net) Received: from casselton.net (casselton.net [63.165.140.2]) by mx1.freebsd.org (Postfix) with ESMTP id 4F88613C4C2 for ; Fri, 5 Oct 2007 14:24:44 +0000 (UTC) (envelope-from tinguely@casselton.net) Received: from casselton.net (localhost [127.0.0.1]) by casselton.net (8.13.8/8.13.8) with ESMTP id l95EOfTe065321; Fri, 5 Oct 2007 09:24:41 -0500 (CDT) (envelope-from tinguely@casselton.net) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=casselton.net; s=ccnMail; t=1191594281; bh=ZqhO29LB9OQI1/S0Q9Bk5j1epRnYK/aqyplcLtI jem4=; h=Received:Date:From:Message-Id:To:Subject:Cc:In-Reply-To; b=Jniso2mhS27dhBAYRnS1+U419yFzqIBazyYlswNuWY717Z82D1g6jV9OhdD+u5YdB Ke4gib92HEpuVkoGHM5z6C4jJaeA5A2JAsndQi73ZgMnvtfy5cQA4ewrMKSSPyLNGHf RKz/ozsdRCsXRXc3IrK5sk2KGPDr1A0x9M67lWA= Received: (from tinguely@localhost) by casselton.net (8.13.8/8.13.8/Submit) id l95EOfCL065320; Fri, 5 Oct 2007 09:24:41 -0500 (CDT) (envelope-from tinguely) Date: Fri, 5 Oct 2007 09:24:41 -0500 (CDT) From: Mark Tinguely Message-Id: <200710051424.l95EOfCL065320@casselton.net> To: achill@matrix.gatewaynet.com, tinguely@casselton.net In-Reply-To: <200710051702.19372.achill@matrix.gatewaynet.com> Cc: freebsd-multimedia@freebsd.org Subject: Re: Zoneminder and multichannel cards 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: Fri, 05 Oct 2007 14:24:46 -0000 Achilleas Mantzios asks: > So what i cant understand is: > > 1) How bktr understands about METEOR_DEV0, METEOR_DEV1, METEOR_DEV2,=20 > METEOR_DEV3, how does it distinguish the 4 channels in LMLBT4M? The device driver uses this ioctl to reprogram the input on the BT878. > 2) How could i arrange smth similar, provided its not very time consuming? > ( i am trying to do all this at home hours, and they are extremely limited). > If you could have an idea on how to (easily) programmatically demux > the inputs, i'd be grateful. I don't know how you are switching input relative to capture. Fields mixing from other frames can also be DMA overflows in the capture. In my opinion, if you have a working Linux version that you are happy with, I suspect it will take more time tweeking the FreeBSD driver than you want to spend. If you want to make some serious updates to the bktr driver, the project could use a bktr maintainer. --Mark Tinguely.