<?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 Re: capture data from Serial Port in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/capture-data-from-serial-port/m-p/2777648#M2143</link>
    <description>I've tried adding a null-modem adapter inline to the device, still dosn't work.   I've used a null-modem cable as well.&lt;BR /&gt;&lt;BR /&gt;The Avaya tech didn't really know how the port worked.  he thinks it opens then stays open as long as something is receiving data. If nothing is receiving data, "busys" the port out and keeps checking and will "release" the port if something starts receiving data.&lt;BR /&gt;&lt;BR /&gt;I'm just confused.  An okidata printer hooked up to it works fine.  The printer is set to 9600,8,N,1, with the protocol X-ON/X-OFF.  As soon as I plug it in, within a few seconds, it starts printing.&lt;BR /&gt;&lt;BR /&gt;Oh, the software "logserial" defaults to Hardware handshaking.  Is THAT X-ON/X-OFF?  can never remeber...&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Thu, 01 Aug 2002 17:30:48 GMT</pubDate>
    <dc:creator>Ron Bombard</dc:creator>
    <dc:date>2002-08-01T17:30:48Z</dc:date>
    <item>
      <title>capture data from Serial Port</title>
      <link>https://community.hpe.com/t5/operating-system-linux/capture-data-from-serial-port/m-p/2777645#M2140</link>
      <description>I'm trying to connect a RedHat7.3 box to my Avaya PBX via a serial cable.  A port on the PBX outputs the Call Details to a serial printer.  I'm trying to capture the data through a serial port on the linux box.&lt;BR /&gt;&lt;BR /&gt;I can't seem to figure it out.  &lt;BR /&gt;I've used a program "logserial" and it opens the port "/dev/ttyS0" no problem, but the PBX dosn't like it and deactivates its port.&lt;BR /&gt;&lt;BR /&gt;Any ideas?    I'm using a standard modem cable, should I be?&lt;BR /&gt;&lt;BR /&gt;The phone guy told me that the port on the PBX was set to 9600,8,N,1.&lt;BR /&gt;&lt;BR /&gt;Is there any other way to capture data from the serial port other than the program "logserial"??&lt;BR /&gt;&lt;BR /&gt;Thanks for any insight.&lt;BR /&gt;Ron&lt;BR /&gt;</description>
      <pubDate>Thu, 01 Aug 2002 13:28:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/capture-data-from-serial-port/m-p/2777645#M2140</guid>
      <dc:creator>Ron Bombard</dc:creator>
      <dc:date>2002-08-01T13:28:34Z</dc:date>
    </item>
    <item>
      <title>Re: capture data from Serial Port</title>
      <link>https://community.hpe.com/t5/operating-system-linux/capture-data-from-serial-port/m-p/2777646#M2141</link>
      <description>Think you need a null modem cable.  I would expect both devices to be DTE so you will need to reverse the transmit and receive and a couple of the control signals in order for them to talk.&lt;BR /&gt;&lt;BR /&gt;Ron K</description>
      <pubDate>Thu, 01 Aug 2002 15:02:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/capture-data-from-serial-port/m-p/2777646#M2141</guid>
      <dc:creator>Ron Kinner</dc:creator>
      <dc:date>2002-08-01T15:02:44Z</dc:date>
    </item>
    <item>
      <title>Re: capture data from Serial Port</title>
      <link>https://community.hpe.com/t5/operating-system-linux/capture-data-from-serial-port/m-p/2777647#M2142</link>
      <description>Hello Ron,&lt;BR /&gt;&lt;BR /&gt;We need more details on how is your setup. How does the PBX application work? Does it open the port and keeps it open? &lt;BR /&gt;&lt;BR /&gt;Paga&lt;BR /&gt;</description>
      <pubDate>Thu, 01 Aug 2002 15:03:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/capture-data-from-serial-port/m-p/2777647#M2142</guid>
      <dc:creator>Marco Paganini</dc:creator>
      <dc:date>2002-08-01T15:03:00Z</dc:date>
    </item>
    <item>
      <title>Re: capture data from Serial Port</title>
      <link>https://community.hpe.com/t5/operating-system-linux/capture-data-from-serial-port/m-p/2777648#M2143</link>
      <description>I've tried adding a null-modem adapter inline to the device, still dosn't work.   I've used a null-modem cable as well.&lt;BR /&gt;&lt;BR /&gt;The Avaya tech didn't really know how the port worked.  he thinks it opens then stays open as long as something is receiving data. If nothing is receiving data, "busys" the port out and keeps checking and will "release" the port if something starts receiving data.&lt;BR /&gt;&lt;BR /&gt;I'm just confused.  An okidata printer hooked up to it works fine.  The printer is set to 9600,8,N,1, with the protocol X-ON/X-OFF.  As soon as I plug it in, within a few seconds, it starts printing.&lt;BR /&gt;&lt;BR /&gt;Oh, the software "logserial" defaults to Hardware handshaking.  Is THAT X-ON/X-OFF?  can never remeber...&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Thu, 01 Aug 2002 17:30:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/capture-data-from-serial-port/m-p/2777648#M2143</guid>
      <dc:creator>Ron Bombard</dc:creator>
      <dc:date>2002-08-01T17:30:48Z</dc:date>
    </item>
    <item>
      <title>Re: capture data from Serial Port</title>
      <link>https://community.hpe.com/t5/operating-system-linux/capture-data-from-serial-port/m-p/2777649#M2144</link>
      <description>Hardware handshaking?  Not Hardware flow control?  Whatever Xon Xoff is SW flow control not hardware.  Hardware toggles control leads like DTR to tell the other end to stop.&lt;BR /&gt;&lt;BR /&gt;Your best bet would be to go down to your friendly Radio Shack and buy one of those little inline detectors (less than $20) that shows the status of the important RS232 leads with LEDs and compare between the printer hookup and the HP.  That will tell you which leads need to be where.  It may be something simple like not having DTR up all the time. &lt;BR /&gt;&lt;BR /&gt;Also look at:&lt;BR /&gt;&lt;A href="http://www.tldp.org/HOWTO/Serial-HOWTO-10.html#set_serial" target="_blank"&gt;http://www.tldp.org/HOWTO/Serial-HOWTO-10.html#set_serial&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Especially the stty stuff.&lt;BR /&gt;&lt;BR /&gt;Ron</description>
      <pubDate>Thu, 01 Aug 2002 19:08:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/capture-data-from-serial-port/m-p/2777649#M2144</guid>
      <dc:creator>Ron Kinner</dc:creator>
      <dc:date>2002-08-01T19:08:44Z</dc:date>
    </item>
    <item>
      <title>Re: capture data from Serial Port</title>
      <link>https://community.hpe.com/t5/operating-system-linux/capture-data-from-serial-port/m-p/2777650#M2145</link>
      <description>Hi ron,&lt;BR /&gt;You can also try this software,&lt;BR /&gt;I used (i even make changes on it) &lt;BR /&gt;to make reverse Engeeniring on on a serial protocol.&lt;BR /&gt;&lt;A href="http://www.azstarnet.com/~ymg/software.html" target="_blank"&gt;http://www.azstarnet.com/~ymg/software.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;With it you can see all on the serial line...(it's a kind of tcpdump)&lt;BR /&gt;&lt;BR /&gt;hope that help&lt;BR /&gt;Benoit</description>
      <pubDate>Fri, 02 Aug 2002 06:25:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/capture-data-from-serial-port/m-p/2777650#M2145</guid>
      <dc:creator>benoit Bruckert</dc:creator>
      <dc:date>2002-08-02T06:25:27Z</dc:date>
    </item>
    <item>
      <title>Re: capture data from Serial Port</title>
      <link>https://community.hpe.com/t5/operating-system-linux/capture-data-from-serial-port/m-p/2777651#M2146</link>
      <description>Ron&lt;BR /&gt;You might try uucp cu or kermit to talk to the port.&lt;BR /&gt;&lt;BR /&gt;You can log the the session by using the "script" command before starting kermit or cu  log output to the.  &lt;BR /&gt;&lt;BR /&gt;the program pcomm might also work for you and I think it has logging.  (I have used pcomm for years but thought I saw a linux version available.&lt;BR /&gt;&lt;BR /&gt;Rory</description>
      <pubDate>Fri, 02 Aug 2002 15:29:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/capture-data-from-serial-port/m-p/2777651#M2146</guid>
      <dc:creator>Rory R Hammond</dc:creator>
      <dc:date>2002-08-02T15:29:33Z</dc:date>
    </item>
    <item>
      <title>Re: capture data from Serial Port</title>
      <link>https://community.hpe.com/t5/operating-system-linux/capture-data-from-serial-port/m-p/2777652#M2147</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;what about using minicom, a terminal, and calling program that comes with RH Linux ?&lt;BR /&gt;&lt;BR /&gt;Rgds Jarle</description>
      <pubDate>Mon, 05 Aug 2002 09:55:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/capture-data-from-serial-port/m-p/2777652#M2147</guid>
      <dc:creator>Jarle Bjorgeengen</dc:creator>
      <dc:date>2002-08-05T09:55:41Z</dc:date>
    </item>
    <item>
      <title>Re: capture data from Serial Port</title>
      <link>https://community.hpe.com/t5/operating-system-linux/capture-data-from-serial-port/m-p/2777653#M2148</link>
      <description>Well, finally it works.  Many mistakes were made on my part.  First, I didn't know that those 25pin to 9pin adapters crossed pins 2 &amp;amp; 3.  So I was slapping one of those adapters on, then pluggin in a null-modem adapter ;)&lt;BR /&gt;&lt;BR /&gt;Then, I've been mostly using Comm1 on the linux box, so I've been using the device "ttyS0". Makes sense?  Well, I plugged the cable into Comm1, and used device "ttyS1" and it started working.  Must be some screwed up piece of hardware.&lt;BR /&gt;&lt;BR /&gt;Oh well... Now I'm using the software "Logserial" in daemon mode and its logging all data to a file.  Works great.&lt;BR /&gt;&lt;BR /&gt;Thanks for all the suggestions everyone!&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 05 Aug 2002 12:29:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/capture-data-from-serial-port/m-p/2777653#M2148</guid>
      <dc:creator>Ron Bombard</dc:creator>
      <dc:date>2002-08-05T12:29:07Z</dc:date>
    </item>
  </channel>
</rss>

