From: Tobias Arp <tobiasarp@gmx.de>
To: Alan Cox <alan@lxorguk.ukuu.org.uk>
Cc: linux-serial@vger.kernel.org
Subject: Re: ST16C654 stoppes transmitting after a while
Date: Wed, 18 Jul 2012 13:16:23 +0200 [thread overview]
Message-ID: <50069B07.80804@gmx.de> (raw)
In-Reply-To: <20120718120842.6bdc0fd8@pyramind.ukuu.org.uk>
On Wed, 18 Jul 2012 09:45:30 +0200 "Tobias Arp" <tobiasarp@gmx.de> wrote:
>> The problem occurs very quick by setting the baud rate to 230400 on a single null modem connection (without usunign the orher ports of the quad uart). So i would say you are right with your guess...
>>> magic: 0x5401
>>> name: ttyS0
>>> flags: 0x00000A00
>>> count: 1
>>> stopped: 0
>>> hw_stopped: 1
>>> flow_stopped: 0
>>> packet: 0
>>> low_latency: 0
>>> warned: 0
>>> ctrl_status: 0x00
>>> receive_room: 4095
> Ok that's not quite what I had expected to see
>
> So the port is in use, not stopped at the higher levels and has lots of
> receiver room as expected.
>
> The hw_stopped flag is the hardware state - so somehow we've missed a
> transition on the flow control or the UART hasn't bothered reporting it
> or the IRQ got lost.
>
> When it jams transmitting does it unjam if you send a single character
> the other way ?
>
> Alan
> --
> To unsubscribe from this list: send the line "unsubscribe linux-serial" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
No it doesn't unjam be sending a single character from the remote side.
It only unjams after plug out and plugin the
null modem cable (so an IRQ is generated caused by the DCD change or CTS
change while replugin the cable).
next prev parent reply other threads:[~2012-07-18 11:16 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-07-17 7:43 ST16C654 stoppes transmitting after a while Tobias Arp
2012-07-17 9:52 ` Alan Cox
2012-07-17 10:05 ` Tobias Arp
2012-07-17 11:21 ` Alan Cox
2012-07-17 11:36 ` Tobias Arp
2012-07-17 16:38 ` Alan Cox
2012-07-18 6:37 ` Tobias Arp
2012-07-18 7:45 ` Tobias Arp
2012-07-18 11:08 ` Alan Cox
2012-07-18 11:16 ` Tobias Arp [this message]
2012-07-20 4:25 ` Tobias Arp
2012-07-20 10:10 ` Tobias Arp
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=50069B07.80804@gmx.de \
--to=tobiasarp@gmx.de \
--cc=alan@lxorguk.ukuu.org.uk \
--cc=linux-serial@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).