still problem with incoming g3 files

Gert Doering (gert@greenie.muc.de)
Wed, 23 Dec 1998 11:17:09 +0100


Hi,

On Wed, Dec 23, 1998 at 11:48:43AM +0200, Raul Viikna wrote:
> as mentioned in my previous post (17/12/98), i have problem with some
> customers who use older faxmachines. when they send faxes to me, mgetty
> receives them with no error but generated g3 files contains incorrect data
> (some lines of garbage). this is serious problem to me because customers see
> on their end that fax transmission was successful and in my side mgetty
> shows no error.
> 
> what should i do...? :(

This is really, really bad.  What I'd do is to contact USR about it,
describe them your problem, show them the log file, and ask them for
advice.

Most likely, they will ask you whether you're using the latest firmware
version (which I'll do as well - are you?), and if yes, maybe they will
actually fix it.

I'm a bit surprised that mgetty doesn't complain on its own - it should,
given the very small numbers of "received lines" here:

> 12/11 10:57:15 yS0  page status: +FPS:1,32,0,0,0** found **

Ah.  I see the problem - mgetty wants "at least 50 lines", and since that
number is *hex*, it's just enough.

Try changing faxrecp.c, about line 330:

        if ( ( modem_quirks & MQ_NO_LQC ) == 0 &&
             fhs_details &&
             ( fhs_lc < 50 || fhs_blc > (fhs_lc/10)+30 || fhs_blc > 500 ))
        {
            lprintf( L_WARN, "Page doesn't look good, request retrain
(MPS)" );

            fax_command( "AT+FPS=2", "OK", fd );
        }

to:
        if ( ( modem_quirks & MQ_NO_LQC ) == 0 &&
             fhs_details &&
             ( fhs_lc < 50 || fhs_blc > (fhs_lc/10)+30 || fhs_blc > 500 ))
                       ^^^^ make this "200"

and see what happens.  Mgetty should refuse the page (... but I'm not sure
whether USR actually implements the appropriate command to do so, there
was some posting on the list yesterday), and then the sender should flag
an error.

Please test with the above change, and send me a log file with "-x6".  I
will then complain, once again, to my local USR contact.

gert
-- 
USENET is *not* the non-clickable part of WWW!
                                                           //www.muc.de/~gert/
Gert Doering - Munich, Germany                             gert@greenie.muc.de
fax: +49-89-35655025                        gert.doering@physik.tu-muenchen.de