<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Serial port loop back test in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/serial-port-loop-back-test/m-p/3208864#M10352</link>
    <description>I have a Linux box. I want to perform a loopback test on the serial port (/dev/ttyS1). This is an extra serial port attached to the system. System is sensing both serial  ports.&lt;BR /&gt;&lt;BR /&gt;How can I perform the loopback test on it??&lt;BR /&gt;&lt;BR /&gt;I have minicom utility . Can I do the test with this utility. My aim is to check whether the serial port is working or not.&lt;BR /&gt;&lt;BR /&gt;urgent...&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
    <pubDate>Wed, 03 Mar 2004 23:08:56 GMT</pubDate>
    <dc:creator>PVR</dc:creator>
    <dc:date>2004-03-03T23:08:56Z</dc:date>
    <item>
      <title>Serial port loop back test</title>
      <link>https://community.hpe.com/t5/operating-system-linux/serial-port-loop-back-test/m-p/3208864#M10352</link>
      <description>I have a Linux box. I want to perform a loopback test on the serial port (/dev/ttyS1). This is an extra serial port attached to the system. System is sensing both serial  ports.&lt;BR /&gt;&lt;BR /&gt;How can I perform the loopback test on it??&lt;BR /&gt;&lt;BR /&gt;I have minicom utility . Can I do the test with this utility. My aim is to check whether the serial port is working or not.&lt;BR /&gt;&lt;BR /&gt;urgent...&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Wed, 03 Mar 2004 23:08:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/serial-port-loop-back-test/m-p/3208864#M10352</guid>
      <dc:creator>PVR</dc:creator>
      <dc:date>2004-03-03T23:08:56Z</dc:date>
    </item>
    <item>
      <title>Re: Serial port loop back test</title>
      <link>https://community.hpe.com/t5/operating-system-linux/serial-port-loop-back-test/m-p/3208865#M10353</link>
      <description>You can put each serial port in a special loopback mode where signals are just returned but I can't remember how to do this.&lt;BR /&gt; &lt;BR /&gt;However, you should be able to make up a cable to go for the first serial port to the second serial port.  Then make sure you have an entry in /etc/inittab to start a getty on one of the serial ports e.g. s1:12345:respawn:/sbin/agetty -L ttyS0 9600 vt100&lt;BR /&gt; &lt;BR /&gt;Then run "init q" to get init to re-read this inittab file.&lt;BR /&gt; &lt;BR /&gt;Then, using minicom, you should, in theory, be able to connect down ttys1 and get a login.&lt;BR /&gt; &lt;BR /&gt;I have never done this but I can't see why it wouldn't work.</description>
      <pubDate>Thu, 04 Mar 2004 01:38:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/serial-port-loop-back-test/m-p/3208865#M10353</guid>
      <dc:creator>Mark Grant</dc:creator>
      <dc:date>2004-03-04T01:38:05Z</dc:date>
    </item>
    <item>
      <title>Re: Serial port loop back test</title>
      <link>https://community.hpe.com/t5/operating-system-linux/serial-port-loop-back-test/m-p/3208866#M10354</link>
      <description>You can also connect two ports with cross serial cable.Then open minicom for each com port.While you type in first minicom's terminal-you should see the output in the second and vice versa.&lt;BR /&gt;(My windows users test their ports like this all the time using Hyper terminal-so it should work just the same way with minicom)..</description>
      <pubDate>Thu, 04 Mar 2004 02:23:35 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/serial-port-loop-back-test/m-p/3208866#M10354</guid>
      <dc:creator>Alexander Chuzhoy</dc:creator>
      <dc:date>2004-03-04T02:23:35Z</dc:date>
    </item>
    <item>
      <title>Re: Serial port loop back test</title>
      <link>https://community.hpe.com/t5/operating-system-linux/serial-port-loop-back-test/m-p/3208867#M10355</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;to get the test on the wire, short the pins&lt;BR /&gt;2 and 3 (TxD and RxD; will work on both 9 and 25 connectors as what is RxD on 9-pin is TxD on 25-pin :-). Just make sure that your communication program is set NOT to do local echo.&lt;BR /&gt;So, step by step procedure is:&lt;BR /&gt;- start your minicom / whatever&lt;BR /&gt;- choose port and set handshake to none,&lt;BR /&gt;  also check that local echo is off&lt;BR /&gt;- type something - there should be no echo&lt;BR /&gt;- *carefully* short pins 2 and 3 on the&lt;BR /&gt;  given RS232 port&lt;BR /&gt;- type something - if port is OK, you should&lt;BR /&gt;  see the characters echoed back to the&lt;BR /&gt;  screen&lt;BR /&gt;&lt;BR /&gt;Also, if you need to do it more than once, consider buying RS232 tester - that little box with LEDs that will show you the state of each signal. It's cheap and can be real timesaver.&lt;BR /&gt;&lt;BR /&gt;hope that helps,&lt;BR /&gt;&lt;BR /&gt;davor</description>
      <pubDate>Thu, 04 Mar 2004 05:00:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/serial-port-loop-back-test/m-p/3208867#M10355</guid>
      <dc:creator>Davorin Bengez</dc:creator>
      <dc:date>2004-03-04T05:00:19Z</dc:date>
    </item>
  </channel>
</rss>

