Home Linux Community Forums Software Command Line Serial port communication

Serial port communication

Link to this post 18 Aug 09

Hi everybody,

I would like to send some text or command to the serial port (to the some HW) and read answer back. It works in terminal. I did probe it in minicom app. But when I would like to probe it in command line, it doesn't work.

Sending ...
echo "..<command>.." > /dev/ttyS0
It works ...

Reading ...
cat /dev/ttyS0
It doesn't work ..

Can you help me, please? Thnx for all info.


Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board