Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    how to prove working of RS-232 full modem working PC to PC & LOOP BACK

    Hello there I am a newbie trying to prove the working of RS-232 Full modem and also one RS-422( RX,TX,RTS,CTS)

    These 2 ports are on a custom designed board and I need to prove the working.I am able to confirm the working at register level but I need to prove the working using softwares like Minicom or any other custom program.

    How can I prove the working of these ports from one PC to a different PC using DB 9 connections and LOOP BACK too

    Can someone help me with this ..Do I need to use any extra hardware to prove the working of this in Linux.

    Thanks and regards
    Last edited by getasif; 08-19-2011 at 04:59 PM. Reason: additional info

  2. #2
    Linux Newbie dilbert's Avatar
    Join Date
    Sep 2006
    Lima, Peru
    You'll need a nullmodem aka crossover cable where Tx/Rx and RTS/CTS are crossed (between 2 PCs).

    Then, you'll need to know or guess the ports, Usually, on Linux COM1 is /dev/ttyS0. You don't minicom. You can send with the shell command:
    echo "text" > /dev/ttyS0
    or with
    cat ascii_file.txt > /dev/ttyS0
    and receive with
    cat < /dev/ttyS0
    Bus Error: Passengers dumped. Hech gap yo'q.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts