[wellylug] Serial Port Data + Logging

Chris Hodgetts chris at archnetnz.com
Tue Jun 15 18:37:02 NZST 2004


thanks will give that a go


On Tue, 2004-06-15 at 18:32, Jamie Baddeley wrote:
> try piping ttylog to logger.
> 
> ttylog:
> Description: serial port logger
>  Print everything onto stdout what comes from a
>  serial device. You can specify the device and the
>  baud rate.
> 
> Logger is standard.
> 
> jamie
> 
> On Tue, 2004-06-15 at 17:50, Chris Hodgetts wrote:
> > I was thinking of doing that, but was not sure if it was indeed the best
> > way of it..
> > 
> > 
> > On Tue, 2004-06-15 at 17:44, David Antliff wrote:
> > > On Tue, 15 Jun 2004, Chris Hodgetts wrote:
> > > > And log it into a file, that can be interrogated for usage and things.
> > > >
> > > > I was going to use Minicom and log the output of that, but don't think
> > > > that it is the best way.
> > > >
> > > > Any suggestions would be helpful :)
> > > 
> > > cat /dev/ttyS0 > logfile   ?
> > > 
> > > If you want to use a terminal emulator (e.g. to set baudrate, etc) then I
> > > recommend 'cu' (it's part of UUCP) or even 'screen'. Screen can do it's
> > > own logging, and you could run cu inside 'script' but personally I'd just
> > > set up the serial port parameters and then read from /dev/ttySn.
> > > 
> > > -- 
> > > David.
> > > 
> > 
> 




More information about the wellylug mailing list