On 01/23/2013 04:07 PM, Tilghman Lesher wrote:


ls -l /dev/tty*

No, seriously, that's it.  The problem is that a modem (and I'm
assuing you're talking about an external modem, because internal
modems will show up on the PCI bus) doesn't actually say "Here I am"
in any qualitative way, at least not intrinsically.  You essentially
have to query it, yourself, using a program like minicom, to first
connect to the port (assuming you know the connection parameters
(speed, parity, stop bits), and then hitting the Enter key a couple
times until the "OK" response comes back, or alternately, nothing at
all.

Yes, it's not the greatest interface, but unlike some of the later
interfaces, a modem worked with positively every computer that had a
serial port.

-Tilghman


But you see, that is my problem. When one lists out /dev/tty*, one gets all the "pointers" defined in the operating system, regardless of what is connected. And, yes, I understand your comments about the nature of the devices on the other end of the serial port not telling the OS what they are until there is some query.

Oh, the case I'm chasing right now does involve PCI cards - fax modems - that do appear on lspci but I don't know what ttyS?? it is configured for.

Howard

--
You received this message because you are subscribed to the Google Groups 
"NLUG" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/nlug-talk?hl=en

Reply via email to