LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 08-27-2007, 09:18 PM   #1
Serena
Member
 
Registered: Apr 2002
Distribution: Debian 11.0
Posts: 97

Rep: Reputation: 16
Question serial/parallel loopback testing


Is there any software I can run under Linux to allow testing serial and parallel ports with loopback plugs attached?
 
Old 08-28-2007, 06:11 PM   #2
MS3FGX
LQ Guru
 
Registered: Jan 2004
Location: NJ, USA
Distribution: Slackware, Debian
Posts: 5,852

Rep: Reputation: 361Reputation: 361Reputation: 361Reputation: 361
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.
 
Old 08-30-2007, 04:17 AM   #3
d2e2004
LQ Newbie
 
Registered: Jul 2005
Location: palakkad
Posts: 11

Rep: Reputation: 0
another way

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


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
HUAWEI ETS2056 being reported as a loopback serial elie.zedeck Linux - Hardware 9 01-19-2008 11:49 PM
problem with serial port in loopback mode .. (termios) mta Programming 1 06-06-2006 11:56 AM
Serial loopback max76 Programming 2 10-14-2004 10:24 AM
serial sync loopback error? mjwnijkamp Linux - Laptop and Netbook 0 05-10-2004 10:09 AM
serial/parallel port marco_aq Linux - Networking 1 10-12-2001 02:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 08:10 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration