Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 13 May 1996 14:57:32 -0700
From:      Paul Traina <pst@shockwave.com>
To:        Terry Lambert <terry@lambert.org>
Cc:        mmead@Glock.COM, current@FreeBSD.org
Subject:   Re: lkm qcam 
Message-ID:  <199605132157.OAA11515@precipice.shockwave.com>
In-Reply-To: Your message of "Mon, 13 May 1996 14:25:11 PDT." <199605132125.OAA10580@phaeton.artisoft.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
There are no interrupts used by the driver, and there is a deinit
routine... is there a way to remove an entry from the cdevsw()
structure?

Paul

  From: Terry Lambert <terry@lambert.org>
  Subject: Re: lkm qcam
  > 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199605132157.OAA11515>