Minicom unable to disconnect modem/drop DTR on a ttyUSB device

Marcin Szewczyk Marcin.Szewczyk at wodny.org
Tue Apr 26 09:35:34 UTC 2016


Hi,

On Tue, Apr 26, 2016 at 12:12:57AM +0200, Adam Lackorzynski wrote:
> On Fri Apr 22, 2016 at 12:37:20 +0200, Marcin Szewczyk wrote:
> > The way of dropping/rising DTR using specialized functions[4] seems
> > more straightforward than resetting baud rate for a moment,
> > especially if there is a suspicion that minicom in the only software
> > relying on this method[1]. I do not know if it is still true that
> > usb-serial driver is the only one maintained[5] so one can think it
> > is like a reference implementation.
> 
> I'd just use TIOCMBIS/TIOCMBIC, TIOCSDTR even does not exist on my
> system (anymore).

Just for clarity -- that is what I meant by writing about a specialized
function. The mentioned patch[4] uses TIOCMBIS/TIOCMBIC.

> > Maybe the patch could be included upstream? Is minicom still maintained?
> > There are a few old bugs hanging on bugs.debian.org.

> > As a side note I would like to point to some inconsistency in code
> > concerning DTR switching inside the m_dtrtoggle() function in sysdep1.c.

> I'll look over call sites and probably will make it more consistent with
> its usage. sec==0 probably has the intention that it means "just off"
> and the comment is misleading.

Do you intend to to add the TIOCMBIS/TIOCMBIC calls when looking at
this?

Shall I file a bug on alioth?

[4]: https://lists.alioth.debian.org/pipermail/minicom-devel/2008/000849.html

Regards,

-- 
Marcin Szewczyk
http://wodny.org



More information about the minicom-devel mailing list