From: "Alex Moen" <alexm@ndtel.com>
To: linux-serial@vger.kernel.org
Subject: Saving data from the serial port
Date: Thu, 17 Apr 2003 13:44:24 -0500 [thread overview]
Message-ID: <007201c30511$6143ebd0$443d24c0@S0029770574> (raw)
Hey all,
I am willing to bet that:
a) this is so simple that I am overlooking it, or
b) it has been covered a MILLION times already.
If b, please let me know where to find the answer, because I can't find it.
If a, tell me how blockheaded I am, laugh a little, and then tell me the
solution....
I want to take the data from a serial port from our PBX and log it to a
file. Sounds simple, right? I can (Winblows) hyperterm to the port and
gather the data. I can connect the port to a serial printer and get the
data. But, when I connect my linux box to the serial port, I am only
getting PART of the data. For instance, I am only getting the first 14-16
characters of each line, with really no line breaks. I also notice with
statserial that I am getting an overrun (wth is that???). I have the port
settings in the software set at what Windows and the printer are set at
(9600-8-N-1).
I have read through the serial howto, tried a few programs that are
suggested (two that look promising but are giving the above results are
linbar and logserial), and am stumped.
I'd hate to have to set up a Win98 box running hyperterm logging to a file,
and then manually rotate that each day....
Thanks, and don't laugh too hard...
Alex
next reply other threads:[~2003-04-17 18:32 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-17 18:44 Alex Moen [this message]
-- strict thread matches above, loose matches on Subject: below --
2003-04-17 19:10 Saving data from the serial port Ed Vance
2003-04-18 0:06 ` David Lawyer
2003-04-18 18:38 ` Alex Moen
2003-04-18 22:02 ` Stuart MacDonald
2003-04-19 6:39 ` David Lawyer
2003-04-21 16:37 ` Stuart MacDonald
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='007201c30511$6143ebd0$443d24c0@S0029770574' \
--to=alexm@ndtel.com \
--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