Re: [linux-usb-devel] Automatic driver unload

2002-01-09 Thread David Brownell
Doesn't happen right now. The problem scenario is: - Plug in device 1, driver "D" gets modprobed by hotplug - Plug in device 2, needs driver "D", not modprobed - Unplug device 1 -- now what: "rmmod D"? If device 2 happens to be in use, then "rmmod" would be a NOP since the use coun

Re: [linux-usb-devel] Automatic driver unload

2002-01-09 Thread Greg KH
On Wed, Jan 09, 2002 at 03:26:19PM -0500, [EMAIL PROTECTED] wrote: > Should I expect my usb kernel module to be automatically unloaded when > the device is unplugged, if the module was originally loaded via > modprobe from hotplug? I was expecting that to happen, but it doesn't, > but maybe my exp