From aea0be5b9a02926a1f8f72104ce32c7dabae3f84 Mon Sep 17 00:00:00 2001 From: Dan Williams Date: Thu, 26 Nov 2009 13:54:47 -0800 Subject: nozomi: fix detection (lp:425312) Nozomi devices aren't quite ready when the ports show up, so we have to keep trying to open the port for a few seconds and eventually it'll succeed. Should really be fixed in the driver (ie, don't create the ttys until they can actually be used) but whatever. --- src/mm-errors.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/mm-errors.h') diff --git a/src/mm-errors.h b/src/mm-errors.h index bc43d3e9..4bf8ecad 100644 --- a/src/mm-errors.h +++ b/src/mm-errors.h @@ -22,7 +22,8 @@ enum { MM_SERIAL_OPEN_FAILED = 0, MM_SERIAL_SEND_FAILED = 1, - MM_SERIAL_RESPONSE_TIMEOUT = 2 + MM_SERIAL_RESPONSE_TIMEOUT = 2, + MM_SERIAL_OPEN_FAILED_NO_DEVICE = 3 }; #define MM_SERIAL_ERROR (mm_serial_error_quark ()) -- cgit v1.2.3-70-g09d2