> I have my usb driver as a linux module. the problem i have is this - > i forcefully remove the module when the usb > device is attached...
Presumably you mean "detached"? > a proper cleanup happens and the device is > unregistered succesfully... That should happen regardless of whether you "rmmod" or not. The USB subsystem handles the USB level "device" (which you might see as /proc/bus/usb/002/019 or similar), and your driver handles any char/block /dev entry when it gets the disconnect() callback. > but the problem is even > after doing this, removal of device causes a core dump(NULL pointer > reference in kernel)... Your scenario seems to be internally inconsistent, since you just said you removed everything (module and device), then without adding anything back you removed something. Unless you're incorrect about the cleanup, and it didn't actually work right. - Dave _______________________________________________________________ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel