Greg KH wrote: > On Mon, Sep 08, 2003 at 11:08:52AM -0500, Borchers, Al (C)(STP) wrote: > > Try adding a wake_up_interruptible(tty->read_wait) in usbserial.c > > usb_serial_disconnect(). > > Hm, that might work, I'll have to try that sometime soon...
You will also need to somehow tell the tty subsystem that there is an error. Looks like setting the TTY_OTHER_CLOSED bit might do it. Before the wakeup, add something like set_bit(TTY_OTHER_CLOSED, &tty->flags); I will try this out in the gadget serial driver I am working on. -- Al ------------------------------------------------------- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel
