Hylafax Developers Mailing List Archives

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

[hylafax-devel] Re: Modem Reset Commands



At 09:19 AM 5/17/00 +0400, Dmitry Bely wrote:
>Robert Colquhoun <rjc@trump.net.au> writes:
> > Dmitry's Proposal(i think):
> > Config parameter         default
> > ===================================
> > <Drop DTR>
> > <pause>
> > <Raise DTR>
> > <set baud rate>
> > ModemSoftResetCmd        ATZ\n
> > ModemResetCmds           ""
> > ModemEchoOffCmd     ATE0
> > ModemVerboseResultsCmd ATV1
> > ...
>
>Yes (sorry for some delay). What's wrong with it?

The problem is that the modems are all configured to perform an implicit 
ATZ on dropping/raising DTR.    In that case the second explicit ATZ 
command just resets the modem to exactly the same stored values.

>It even has some
>advantages:
>- complies with the current Hylafax docs (man config) and seems to be Sam's
>original idea how to reset the modem.
>- usually admins tune their modems once (e.g. adjust TX level for the
>specific telco line) and then store resulting settings to the NVRAM; that's
>the common practice. Why to duplicate these site-specific settings in
>ModemResetCmds?

Yes some of the stuff in ModemResetCmds looks a bit dubious - but it is 
difficult to change unless you own and can test the individual modems.

>- if someone do not like *default* ATZ value for ModemSoftResetCmd, it can
>be changed (or even disabled) in config.<device>
>
> > The setting baud rate stuff for each fax sent is kind of inefficient as
> > well - it reads in the current params and resets them to the new values
> > even if the old and new values are the same!
>
>There are many inefficient things -- e.g. have you noted, that modem is
>always initialized twice?

Yes  i did notice that. :-(

>But I do not think we should immediately
>change/fix these issues. There are tasks with higher priority.

As always. :-(

- Robert



____________________ HylaFAX(tm) Developers Mailing List ____________________
 To unsub: mail -s unsubscribe hylafax-devel-request@hylafax.org < /dev/null



Home
Report any problems to webmaster@hylafax.org

HylaFAX is a trademark of Silicon Graphics Corporation.
Internet connectivity for hylafax.org is provided by:
VirtuALL Private Host Services