Section 4 : Troubleshooting

Q435: Waiting for modem to come ready?


? Got something to say about this answer? Hit the question mark to invoke the mailer and send your comments to the HylaFAQ maintainers.

Q.
Waiting for modem to come ready?

A.
Upgrade to 4.1.5 or better.

A.
Set ModemSetupDTRCmd so that it resets the modem.

A.
Date: Wed, 18 Sep 1996 14:13:49 +0200 (MST)
From: Matthias Apitz <Matthias.Apitz@SOFTCON.de >
Subject: Re: Waiting for modem to come ready

Wolfgang Baudler wrote:
    
    Hi,
    
    Thanks for the hints so fare...
    
    I somehow managed to get the right logs for my problem (see below).

...and with this log your problem perhaps can be solved, see
below :-))
    
    Is anybody using an ELSA or TKR modem sucessfully with HylaFAX? Your
    config-files could save a lot of time...
    And what devices do I have to use for faxgetty and for HylaFAX? /dev/ttyS?
    or /dev/cua?
    
    Log:
    ====
    
    Sep 17 23:02:51 lucutus FaxGetty[1151]: OPEN /dev/ttyS1
    Sep 17 23:02:51 lucutus FaxGetty[1151]: MODEM set DTR OFF
    Sep 17 23:02:51 lucutus FaxGetty[1151]: DELAY 2600 ms
    Sep 17 23:02:54 lucutus FaxGetty[1151]: MODEM set DTR ON
    Sep 17 23:02:54 lucutus FaxGetty[1151]: MODEM set baud rate: 38400 baud, input
    flow RTS/CTS, output flow RTS/CTS
    Sep 17 23:02:54 lucutus FaxGetty[1151]: MODEM flush i/o
    Sep 17 23:02:54 lucutus FaxGetty[1151]: <-- [15:ATZE0V1Q0S0=0H\r]
    Sep 17 23:02:54 lucutus FaxGetty[1151]: --> [14:ATZE0V1Q0S0=0H]
                                                    ^^^^^^^^^^^^^^
as you can see the command string contains "E0" but the modem is not
in echo-off mode after the reset-cmd "ATZE0V1Q0S0=0H";

the behaviour of modems regarding the command-buffer after "ATZ"
is undefined; some modems are just cleaning the buffer during ATZ
and don't executing all commands behind ATZ on the command line;
the echo of the commands from the modem are read by faxgetty(1M)
and faxgetty(1M) don't understand them correctly;

don't use "ATZ" in ModemResetCmds: (see also man hylafax-config(4F));

	matthias 


 Back to FAQ Index FAQ Index  Next question in List Q436: Do I _have_ to install BSD printf?
faq@hylafax.org. Last updated $Date: 2003/02/11 04:08:13 $.