Re: usbserial behaviour in kernels 2.6.34 <-> 2.6.37

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, Jul 22, 2011 at 03:16:13PM +0200, Georg Beyerle wrote:
> Hello,
> 
> 
> I access external hardware thru usbserial:
> 
> # modprobe usbserial vendor=0xNNNN product=0xN
> 
> With kernel 2.6.34 (version 2.6.34.8-0.2-default,
> OpenSUSE 11.3) it was possible to remove usbserial
> without physically disconnecting this device:
> 
> # modprobe -r usbserial
> 
> With kernel 2.6.37 (version 2.6.37.6-0.5-default,
> OpenSUSE 11.4) this no longer works, removal of
> usbserial fails with:
> 
> # modprobe -r usbserial
> FATAL: Module usbserial is in use.
> 
> The device needs to be disconnected before removal
> of the module succeeds. Is there an option to get
> back the original (2.6.34) behaviour?

I doubt this really worked the same way in .34.  You must still have a
device node open in .37, which is keeping the module from being
unloaded.

Why would you want to unload the module anyway?

thanks,

greg k-h
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux