Hi Greg, > Bleah. What really needs to happen is to convert to using the serial > core, which should fix a lot of things. The main thing holding that > back is just time, I don't have it right now :(
For now, i fixed the problem by disabling the tty_wait_until_sent stuff: ===== digi_acceleport.c 1.31 vs edited ===== --- 1.31/drivers/usb/serial/digi_acceleport.c Fri Jan 10 21:27:29 2003 +++ edited/digi_acceleport.c Fri Jan 10 21:30:05 2003 @@ -1559,11 +1559,16 @@ /* tell line discipline to process only XON/XOFF */ tty->closing = 1; + /* FIXME: this causes deadlock on semaphore in the generic + * driver. Probably, generic code like this shouldn't + * be in the device specific code, anyways... + */ +#if 0 /* wait for output to drain */ if( (filp->f_flags&(O_NDELAY|O_NONBLOCK)) == 0 ) { tty_wait_until_sent( tty, DIGI_CLOSE_TIMEOUT ); } - +#endif /* flush driver and line discipline buffers */ if( tty->driver.flush_buffer ) tty->driver.flush_buffer( tty ); --jochen ------------------------------------------------------- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel