From owner-freebsd-multimedia Sun Mar 9 19:30:59 1997 Return-Path: Received: (from root@localhost) by freefall.freebsd.org (8.8.5/8.8.5) id TAA02322 for multimedia-outgoing; Sun, 9 Mar 1997 19:30:59 -0800 (PST) Received: from Ilsa.StevesCafe.com (sc-gw.StevesCafe.com [205.168.119.191]) by freefall.freebsd.org (8.8.5/8.8.5) with ESMTP id TAA02314 for ; Sun, 9 Mar 1997 19:30:48 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by Ilsa.StevesCafe.com (8.7.5/8.6.12) with SMTP id UAA18963; Sun, 9 Mar 1997 20:30:00 -0700 (MST) Message-Id: <199703100330.UAA18963@Ilsa.StevesCafe.com> X-Authentication-Warning: Ilsa.StevesCafe.com: Host localhost [127.0.0.1] didn't use HELO protocol X-Mailer: exmh version 1.6.5 12/11/95 From: Steve Passe To: "Louis A. Mamakos" cc: Amancio Hasty , multimedia@freebsd.org Subject: Re: Anyone on the list who can check-in the bt848 driver? In-reply-to: Your message of "Sun, 09 Mar 1997 22:22:17 EST." <199703100322.WAA10652@whizzo.transsys.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 09 Mar 1997 20:30:00 -0700 Sender: owner-multimedia@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Hi, > I might be all wet here, but I think that the kernel only calls the > driver's close routine when the *last* reference to the open device > is closed. It's been awhile since I've hacked device driver code, but > I think this was the case a while ago. > > This may be a good reason to use a seperate (minor) device to control as I just posted a few minutes ago, you're exactly right. I am currently testing a hack where I just let additional opens happen, seems to work ok. We really do need the minor device. I see several programs wanting to open the board at once. In addition to the xtvremote, you might have an audio mixer app for your soundcard that would want to open the bt848 board and control the audio section. -- Steve Passe | powered by smp@csn.net | Symmetric MultiProcessor FreeBSD