16 Feb 2010 23:22
Re: disconnect of usb2serial causes frameworkd to break connection to gsm-modem
Timo Juhani Lindfors <timo.lindfors <at> iki.fi>
2010-02-16 22:22:35 GMT
2010-02-16 22:22:35 GMT
Peter Kornatowski <pkorn <at> gmx.net> writes:
> without any kind of reopening/reconnecting/restarting of minicom.
Minicom probably automatically tries to reopen the serial device:
/* check if device is ok, if not, try to open it */
if (!get_device_status(portfd_connected)) {
if (open_term(0, 0) < 0) {
if (!error_on_open_window)
error_on_open_window = mc_tell(_("Cannot open %s!"), dial_tty);
} else {
if (error_on_open_window) {
mc_wclose(error_on_open_window, 1);
error_on_open_window = NULL;
}
}
}
Can you verify this by running
strace -p $(pidof minicom)
from another terminal during unplug/replug?
RSS Feed