Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

Connecting my Windows PC to a Linux system (Wheezy) via the serial port (RS232) basically works except one problem when sending a message from the the PC terminal the Linux system.

The reception of that message can be observed on the linux system using

cat /dev/ttyO1

But then that same message is echoed back to the PC terminal. I've verified that this is not due to some setting of the terminal. Also when the cat is aborted the messages are not echoed back any more.

Could anyone give an explanation and tell me how to stop the Linux system from relaying received messages?


I found a solution to this by disabling the echo:

stty -F /dev/ttyO1 -echo
share|improve this question
    
If you do cat < /dev/tty01 > /dev/null, do you have the same problem? –  lgeorget Apr 11 at 10:43
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.