[comp.unix.wizards] Having problems waking up a VENTEL modem inside programs

erd@tut.cis.ohio-state.edu (Ethan R. Dicks) (03/12/88)

I am playing with Gnuucp and trying to add dialer support for VENTEL modems.
Currently, it only supports HAYES protocol.  My problem is that I cannot
get the modem from its quiescent state into interactive mode.  The manual
states that to wake it up, you _type_ two carriage returns at it.  From
a VT100 emulator, I can wake it up just fine, but not from a program of mine.

So:

Is there some special way to open the serial port on the Amiga?  (Other that
whatever way it is using now)

Is there something bizzare that must be done to VENTELs?  I know that under
Ultrix, you just set the ACU to type VENTEL and magic happens.  Does anyone
know what gets sent to the modem under Un*x?

Thanks,
-ethan



-- 
Ethan R. Dicks      | ######  This signifies that the poster is a member in
Specialized Software|   ##    good sitting of Inertia House: Bodies at rest.
2101 Iuka Ave.      |   ##
Columbus OH 43201   | ######  "You get it, you're closer."

thad@cup.portal.com (03/14/88)

Ahem.  The Amiga's OS is not UNIX.  I know, I have a bunch of Amigas. I
also have some 3B1 systems.

Quick question: you attempting to do this from a C program?  If so, the
easiest way to assist you is to point you at the source code for either
the COMM or the Amiga-C-Kermit programs.  If you need source, let me
know.  You can ALSO simply open the SER: port as you would a file, and
send some chars its way ... that'll wake up your Ven-Tel.  I know, I have
a Ven-Tel (and ARK and CTS too).

Thad

P.S. The newgroups "comp.sys.amiga.tech" is NOT official, and who knows
in what bit bucket your message ended.

new@udel.EDU (Darren New) (03/15/88)

To wake up a VENTEL, you must send two CRs (^M, not ^J).  These
must be sent about 0.5 - 1.0 seconds apart with no intervening characters.
You can't send NULs and you can't send them right on top of each other.
Other than that, there is no real trick.
                          -Darren
(I can't help you with the specific system, as I learned to do
this from (gasp) CP/M-80.  Maybe newer VENTELs are different. )