Re: [gentoo-user] Writing to tty01 (serial port) in simple straight forward way...?!?

2014-10-13 Thread thegeezer
On 13/10/14 10:08, Christian Groessler wrote: > On 10/13/14 11:06, Neil Bothwick wrote: >> On Sun, 12 Oct 2014 22:36:55 -0300, Francisco Ares wrote: >> >>> By using this approach, you might be able to send a command, but most >>> probably (never tried) will not be able to receive the device's reply

Re: [gentoo-user] Writing to tty01 (serial port) in simple straight forward way...?!?

2014-10-13 Thread Christian Groessler
On 10/13/14 11:06, Neil Bothwick wrote: On Sun, 12 Oct 2014 22:36:55 -0300, Francisco Ares wrote: By using this approach, you might be able to send a command, but most probably (never tried) will not be able to receive the device's reply. Try minicom, a simple text serial console. Or write th

Re: [gentoo-user] Writing to tty01 (serial port) in simple straight forward way...?!?

2014-10-13 Thread Neil Bothwick
On Sun, 12 Oct 2014 22:36:55 -0300, Francisco Ares wrote: > By using this approach, you might be able to send a command, but most > probably (never tried) will not be able to receive the device's reply. > > Try minicom, a simple text serial console. Or write the script in Python and use pyserial

Re: [gentoo-user] Writing to tty01 (serial port) in simple straight forward way...?!?

2014-10-12 Thread Francisco Ares
2014-10-12 19:22 GMT-03:00 Paul Colquhoun : > On Sun, 12 Oct 2014 16:42:22 Kerin Millar wrote: > > > On 12/10/2014 13:08, meino.cra...@gmx.de wrote: > > > > Hi, > > > > > > > > I want to send commands to ttyO1 (serial port on an embedded system). > > > > The commands are one line each and termina

Re: [gentoo-user] Writing to tty01 (serial port) in simple straight forward way...?!?

2014-10-12 Thread Paul Colquhoun
On Sun, 12 Oct 2014 16:42:22 Kerin Millar wrote: > On 12/10/2014 13:08, meino.cra...@gmx.de wrote: > > Hi, > > > > I want to send commands to ttyO1 (serial port on an embedded system). > > The commands are one line each and terminated with CRL/LF (aka "DOS"). > > > > Since this will be done fro

Re: [gentoo-user] Writing to tty01 (serial port) in simple straight forward way...?!?

2014-10-12 Thread Kerin Millar
On 12/10/2014 13:08, meino.cra...@gmx.de wrote: Hi, I want to send commands to ttyO1 (serial port on an embedded system). The commands are one line each and terminated with CRL/LF (aka "DOS"). Since this will be done from a batch script, it should be possible via commandline tools and non-inter

[gentoo-user] Writing to tty01 (serial port) in simple straight forward way...?!?

2014-10-12 Thread meino . cramer
Hi, I want to send commands to ttyO1 (serial port on an embedded system). The commands are one line each and terminated with CRL/LF (aka "DOS"). Since this will be done from a batch script, it should be possible via commandline tools and non-interactively. The serial port is already setup up the