> it would be better if you made calling hangup conditional on the device > having been opened. Could you do that? It's the intent at least of the tty layer that calling hangup on a device that is not open is safe. In actual fact this needs the patches I've sent Greg a few times some of which still haven't made -next to deal with the case of an open racing a hangup. Right now that isn't fixable without locking hangup v close v open correctly, which is what the pending patch pile does. -- 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