From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Date: Mon, 22 Jan 2001 06:27:19 +0000 Subject: Re: [linux-usb-devel] unloading drivers and usage counters Message-Id: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Sun, Jan 21, 2001 at 10:12:14PM +0100, Oliver Neukum wrote: > Not increasing the module usage counters on connect seems to be the wrong > strategy. The desire to keep the modules unloadable has come back to bite us > into our behind. > If the usage counters were increased for each connected device unloading would > come natural. A patch to disconnect drivers by an ioctl has been posted. It > would allow forced unload. Which drivers have this problem? Most of them do increment on open, and decrement on close (with the exception of the HID drivers). thanks, greg k-h -- greg@(kroah|wirex).com _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net http://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel