From owner-freebsd-current Mon May 13 14:28:00 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id OAA24925 for current-outgoing; Mon, 13 May 1996 14:28:00 -0700 (PDT) Received: from phaeton.artisoft.com (phaeton.Artisoft.COM [198.17.250.211]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id OAA24915 for ; Mon, 13 May 1996 14:27:55 -0700 (PDT) Received: (from terry@localhost) by phaeton.artisoft.com (8.6.11/8.6.9) id OAA10580; Mon, 13 May 1996 14:25:11 -0700 From: Terry Lambert Message-Id: <199605132125.OAA10580@phaeton.artisoft.com> Subject: Re: lkm qcam To: pst@shockwave.com (Paul Traina) Date: Mon, 13 May 1996 14:25:11 -0700 (MST) Cc: mmead@Glock.COM, current@FreeBSD.org In-Reply-To: <199605131749.KAA10748@precipice.shockwave.com> from "Paul Traina" at May 13, 96 10:49:55 am X-Mailer: ELM [version 2.4 PL24] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-current@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk > qcamcontrol is an example program that uses the qcam driver, if that's > what you mean. > > I occasionally use the driver in lkm mode for testing, however there are > definitely some problems, either with the driver, or more likely with the > LKM interface, because if you: > > load lkm > access qcam > unload lkm > > access qcam > > the system crashes rather than returning device unconfigured. :-( Sounds like the interrupt isn't untrapped when the driver is unloaded. You will need to provide a deinit routine. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.