# modem signal monitor

**URL:** https://boards.straightdope.com/t/modem-signal-monitor/313700
**Category:** Factual Questions
**Created:** [July 22, 2005, 7:57pm UTC](https://boards.straightdope.com/t/modem-signal-monitor/313700 "2005-07-22T19:57:49Z")
**Posts on this page:** 9
**Page:** 1

<div class="post-metadata">

### Author: ![ccwaterback](https://avatars.discourse-cdn.com/v4/letter/c/df705f/32.png) [@ccwaterback](https://boards.straightdope.com/u/ccwaterback)
#### Post date: [July 22, 2005, 7:57pm UTC](https://boards.straightdope.com/t/modem-signal-monitor/313700/1 "2005-07-22T19:57:49Z")

</div>

Is there any way to monitor the modem signals on a Linux comm port? Maybe using an IOCTL call?

I need to monitor DSR, CTS, etc. from an application program.

How about on a Windows XP platform?

---

<div class="post-metadata">

### Author: ![CaveMike](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/cavemike/32/16379_2.png) [@CaveMike](https://boards.straightdope.com/u/CaveMike)
#### Post date: [July 22, 2005, 8:09pm UTC](https://boards.straightdope.com/t/modem-signal-monitor/313700/2 "2005-07-22T20:09:59Z")

</div>

I assume you mean monitor it without actually being the application to open the port? If so, [here](http://www.sysinternals.com/Utilities/Portmon.html) is source-code and a sample tool that monitors COM and LPT ports on Windows (including XP).

---

<div class="post-metadata">

### Author: ![engineer\_comp\_geek](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/engineer_comp_geek/32/504_2.png) [@engineer\_comp\_geek](https://boards.straightdope.com/u/engineer_comp_geek)
#### Post date: [July 22, 2005, 9:34pm UTC](https://boards.straightdope.com/t/modem-signal-monitor/313700/3 "2005-07-22T21:34:44Z")

</div>

There’s a linux program called statserial and another one called modemstat which both will monitor the lines you are interested in. The source code for those should give you exactly what you want.

---

<div class="post-metadata">

### Author: ![ccwaterback](https://avatars.discourse-cdn.com/v4/letter/c/df705f/32.png) [@ccwaterback](https://boards.straightdope.com/u/ccwaterback)
#### Post date: [July 22, 2005, 11:39pm UTC](https://boards.straightdope.com/t/modem-signal-monitor/313700/4 "2005-07-22T23:39:38Z")

</div>

> [@engineer\_comp\_geek](#):
>
> There’s a linux program called statserial and another one called modemstat which both will monitor the lines you are interested in. The source code for those should give you exactly what you want.

Yes, this looks like what I need right here. Thanks.

Any ideas for Widows XP systems out there?

---

<div class="post-metadata">

### Author: ![CaveMike](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/cavemike/32/16379_2.png) [@CaveMike](https://boards.straightdope.com/u/CaveMike)
#### Post date: [August 13, 2005, 8:24pm UTC](https://boards.straightdope.com/t/modem-signal-monitor/313700/5 "2005-08-13T20:24:38Z")

</div>

> [@ccwaterback](#):
>
> Any ideas for Widows XP systems out there?

Doesn’t my link cover XP?

---

<div class="post-metadata">

### Author: ![ccwaterback](https://avatars.discourse-cdn.com/v4/letter/c/df705f/32.png) [@ccwaterback](https://boards.straightdope.com/u/ccwaterback)
#### Post date: [August 14, 2005, 3:11am UTC](https://boards.straightdope.com/t/modem-signal-monitor/313700/6 "2005-08-14T03:11:36Z")

</div>

> [@CaveMike](#):
>
> Doesn’t my link cover XP?

I can’t seem to find the source. It does look like what I need, but I need to “program” this capability into my program.

---

<div class="post-metadata">

### Author: ![jdc](https://avatars.discourse-cdn.com/v4/letter/j/919ad9/32.png) [@jdc](https://boards.straightdope.com/u/jdc)
#### Post date: [August 15, 2005, 7:31pm UTC](https://boards.straightdope.com/t/modem-signal-monitor/313700/7 "2005-08-15T19:31:22Z")

</div>

[http://www.commstudio.com/commstudio/ActiveX.aspx](http://www.commstudio.com/commstudio/ActiveX.aspx)

Maybe try this. I used to use PDQComm when I needed to do modem stuff from VB, this looks like the current version of the package.

---

<div class="post-metadata">

### Author: ![ccwaterback](https://avatars.discourse-cdn.com/v4/letter/c/df705f/32.png) [@ccwaterback](https://boards.straightdope.com/u/ccwaterback)
#### Post date: [August 16, 2005, 12:36am UTC](https://boards.straightdope.com/t/modem-signal-monitor/313700/8 "2005-08-16T00:36:02Z")

</div>

I think I need something that will work from a C/C++ interface. I tried rifling through all the low-level I/O control calls but I was unable to find exactly what I need. Perhaps something in this area will do? I need to take a closer look. Thanks for all your responses. ACK 🙂

> **[Technical documentation](https://docs.microsoft.com/en-us/documentation/)**
>
> Search for in-depth articles on Microsoft developer tools and technologies.

---

<div class="post-metadata">

### Author: ![CaveMike](https://sea3.discourse-cdn.com/straightdope/user_avatar/boards.straightdope.com/cavemike/32/16379_2.png) [@CaveMike](https://boards.straightdope.com/u/CaveMike)
#### Post date: [September 3, 2005, 2:55am UTC](https://boards.straightdope.com/t/modem-signal-monitor/313700/9 "2005-09-03T02:55:17Z")

</div>

> [@ccwaterback](#):
>
> I can’t seem to find the source. It does look like what I need, but I need to “program” this capability into my program.

Sorry about that; you’re right. They used to publish the source-code for almost all of the tools. The point of the site was to both provide cool tools and teach how they worked. Now I only see source for a few tools.

If you are still looking, you might drop the authors an email requesting source.
