- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- capture data from Serial Port
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2002 06:28 AM
08-01-2002 06:28 AM
I can't seem to figure it out.
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.
Any ideas? I'm using a standard modem cable, should I be?
The phone guy told me that the port on the PBX was set to 9600,8,N,1.
Is there any other way to capture data from the serial port other than the program "logserial"??
Thanks for any insight.
Ron
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2002 08:02 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2002 08:03 AM
08-01-2002 08:03 AM
Re: capture data from Serial Port
We need more details on how is your setup. How does the PBX application work? Does it open the port and keeps it open?
Paga
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2002 10:30 AM
08-01-2002 10:30 AM
Re: capture data from Serial Port
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.
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.
Oh, the software "logserial" defaults to Hardware handshaking. Is THAT X-ON/X-OFF? can never remeber...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2002 12:08 PM
08-01-2002 12:08 PM
Re: capture data from Serial Port
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.
Also look at:
http://www.tldp.org/HOWTO/Serial-HOWTO-10.html#set_serial
Especially the stty stuff.
Ron
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-01-2002 11:25 PM
08-01-2002 11:25 PM
Re: capture data from Serial Port
You can also try this software,
I used (i even make changes on it)
to make reverse Engeeniring on on a serial protocol.
http://www.azstarnet.com/~ymg/software.html
With it you can see all on the serial line...(it's a kind of tcpdump)
hope that help
Benoit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-02-2002 08:29 AM
08-02-2002 08:29 AM
Re: capture data from Serial Port
You might try uucp cu or kermit to talk to the port.
You can log the the session by using the "script" command before starting kermit or cu log output to the.
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.
Rory
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2002 02:55 AM
08-05-2002 02:55 AM
Re: capture data from Serial Port
what about using minicom, a terminal, and calling program that comes with RH Linux ?
Rgds Jarle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-05-2002 05:29 AM
08-05-2002 05:29 AM
Re: capture data from Serial Port
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.
Oh well... Now I'm using the software "Logserial" in daemon mode and its logging all data to a file. Works great.
Thanks for all the suggestions everyone!