LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   serial/parallel loopback testing (https://www.linuxquestions.org/questions/linux-hardware-18/serial-parallel-loopback-testing-580294/)

Serena 08-27-2007 09:18 PM

serial/parallel loopback testing
 
Is there any software I can run under Linux to allow testing serial and parallel ports with loopback plugs attached?

MS3FGX 08-28-2007 06:11 PM

You don't really need special software for that. You could just use minicom or a similar terminal emulator. You could even forgo that if you ran (in two separate terminals):

Quote:

cat /dev/ttyS0
and

Quote:

echo "Test" > /dev/ttyS0
The concept of the loopback tester is that anything sent over TX is wired directly into RX. So sending anything out should cause a duplicate of it to be received if the port is working correctly.

d2e2004 08-30-2007 04:17 AM

another way
 
you can also use the read and write function to test the ports by opening them using the file open command...


All times are GMT -5. The time now is 11:54 PM.