2009/9/1 Alan Stern <stern@xxxxxxxxxxxxxxxxxxx>: > The following series of patches addresses numerous issues that have > cropped up recently in the interface between usb-serial and the TTY > core. Considerable recent churn in the core, combined with the fact > that the two never were entirely compatible, has created a number of > problems. These manifest mostly in failures (or oopses) when a serial > device is unplugged while the device file is open, or when a serial > driver module is unloaded, or when a driver is re-loaded. After applying the patch set against 2.6.31-rc8-next-20090828, my ch341 usb serial converter works fine, and no oopses happens when a serial device is unplugged while the device file is open, or when a serial driver module is unloaded, or when a driver is re-loaded. > > I won't describe the details of the fixes here. None of them affect > data transmission or line disciplines; they are all directed toward > lifetime and reference counting issues. > > Note that one or more of these patches (especially 6/9) will clash with > the > tty-fix-regression-caused-by-tty-make-the-kref-destructor-occur-asynchronously > patch, which is currently in mmotm but not yet merged into gregkh-all. > Let me know when the time comes to resolve the conflicts, since the > correct solution isn't obvious. > > Since Alan Cox is no longer the TTY maintainer, I'm not going to CC > him. However if he happens to notice these changes while browsing the > linux-usb list, I certainly wouldn't object to a little review and > commentary (or criticism). > > Alan Stern Tested-by: Ming Lei <tom.leiming@xxxxxxxxx> -- Lei Ming -- 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