From owner-freebsd-multimedia Sat Mar 22 23:27:20 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id XAA27638 for multimedia-outgoing; Sat, 22 Mar 1997 23:27:20 -0800 (PST) Received: from rah.star-gate.com (rah.star-gate.com [204.188.121.18]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id XAA27631 for ; Sat, 22 Mar 1997 23:27:17 -0800 (PST) Received: from rah.star-gate.com (localhost.star-gate.com [127.0.0.1]) by rah.star-gate.com (8.8.5/8.7.3) with ESMTP id XAA00432; Sat, 22 Mar 1997 23:27:09 -0800 (PST) Message-Id: <199703230727.XAA00432@rah.star-gate.com> X-Mailer: exmh version 1.6.9 8/22/96 To: Steve Passe cc: Randall Hopper , "Louis A. Mamakos" , multimedia@freebsd.org Subject: Re: First Cut at separating tuner and capture devices In-reply-to: Your message of "Sat, 22 Mar 1997 23:08:50 MST." <199703230608.XAA18434@Ilsa.StevesCafe.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sat, 22 Mar 1997 23:27:08 -0800 From: Amancio Hasty Sender: owner-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I have not exercised the code a lot over here;however, so far it looks good 8) Tnks! Amancio >From The Desk Of Steve Passe : > Hi, > > I've done the merge of Amancio's minor-mode model of the bt848 driver, > added the changes we've discussed the last several hours, and added my > most recent extensions. It is working with xtvremote and dtv. > It does NOT work with fxtv yet, but that should be trivial. > > This model now separates the "tuner control" items into a minor device: > > Create a video device: > mknod bktr0 c 79 0 > > Create a tuner device: > mknod tuner0 c 79 16 > > minor device layout: xxxxxxxx xxxT UUUU > > UUUU: the card (ie UNIT) identifier, 0 thru 15 > T == 0: video device > T == 1: tuner device > > Access your tuner ioctl thru your tuner device handle and anything > which controls the video capture process thru the video device handle. > > Certain ioctl()s such as video source are available thru both devices. > I *think* I have preserved compatibility with olded meteor-centric > clients via a "common_ioctl()" interface. > > We get the protection we wanted: you can only open 1 video device, but you ca n > open multiple tuner devices. (there are probably a few bugs lurking here!) > > Lets get some feedback coming in so Louie can get started on his phase... > > You can grab it here: > > http://www.freebsd.org/~fsmp/HomeAuto/files/bt848.970322.tar.gz > > -- > Steve Passe | powered by > smp@csn.net | Symmetric MultiProcessor FreeBSD >