Skip to contentSkip to conversation

unloading drivers and usage counters

linux-usb-devel Greg KH 1 participant 1 message Jan 22, 2001

lore
Share & tools
lore

Greg KH

author
#0 lore raw
Quoted 6 lines · Oliver Neukum

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

Signature · 6 lines
greg@(kroah|wirex).com

_______________________________________________
Linux-hotplug-devel mailing list  http://linux-hotplug.sourceforge.net
[email protected]
http://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel