RE: Re: modem communication (fred smith)

"Chandra Guntara" <[email protected]> Tue, 9 Dec 2003 08:34:29 +0700
Newsgroups gmane.linux.redhat.ppp,gmane.linux.redhat.general
Message-ID <[email protected]>
Hi,
I am using Sony Notebook Vaio V505GP. The internal modem is not
recognized by redhat v.9.0. Does anyone know how to setup the internal
modem? 
I tried to use /dev/Stty2 ( since it is using IRq4) but the reply was
the modem is busy.

Regards,
 
Chandra 
 

-----Original Message-----
From: [email protected]
[mailto:[email protected]] On Behalf Of Robert Brown
Sent: Tuesday, December 09, 2003 12:29 AM
To: [email protected]
Cc: [email protected]
Subject: Re: Re: modem communication (fred smith)

srinath c writes:
 > 
 > hi,
 > 
 > The communication is taking place with modems on either side.  I'm
 > using nothing but system calls along with Hayes AT commands.  No
other
 > utility is being used.  It a program written in c++.  Kindly help.

If your local program issues a system call to disconnect the line,
your rs-232 hardware should drop the CD line (data terminal ready) to
the local modem.  Unless you have your modem configured in a weird
way, this will cause it to hang up the phone.  This, of couse, causes
the modem at the other send to stop seeing the carrier on the line.
After a time-out of several seconds, the remote modem should hang up.
When it does, it will drop the data set ready line to the remote
computer's rs-232 port.  This should cause the remote rs-232 serial
driver to raise a SIG-HUP signal to the program that had the port
open.  The remote program will terminate on the SIG-HUP unless you
have installed a signal handler to cause it to do otherwise.
Typically, such a handler would close files and clean up before
exiting.


_______________________________________________
Redhat-ppp-list mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/redhat-ppp-list