How do I Linux test pin serial port?

Asked By 40 points N/A Posted on -
qa-featured

Hi guys.  I want to test the COM 1 and COM 2 Serial Ports to know if they are working.  I'm on a Debian Linux system.  How do I Linux test pin serial port and what other things do I need for this test?  Thanks.

SHARE
Best Answer by Dyer Pearlman
Answered By 0 points N/A #144181

How do I Linux test pin serial port?

qa-featured

Hi,

To test communication on a serial port, it is best to use a terminal emulation tool like kermit or minicom. It comes standard with conventional distributions. Or with a multi meter it would be possible to evidence some connector pins as food, TXD, RTS or CTS and then you could compare with a real SUBD9.

Best Answer
Best Answer
Answered By 0 points N/A #144182

How do I Linux test pin serial port?

qa-featured

Hi Edward Rand,

You will need a basic knowledge of C programming language to be able to execute scripts on Linux based system.  There is a script that you can use to test if com port is working or not. The program requires parameters to be entered via command line. Please follow this link to download the script and test it.

http://www.comptechdoc.org/os/linux/programming/c/linux_pgcserial.html  This is a serial port test program.

Just follow the link and instructions and you will find out if the ports are working.

Login/Register to Answer

Related Questions