HylaFAX The world's most advanced open source fax server

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

Re: [hylafax-users] Howto enforce Hylafax to correctly encode incoming faxes?



Dmitry,

> "Bernd Proissl" <lists@proissl.de> writes:
>
> > I cannot force Hylafax to correctly encode incoming faxes.
> > I follow the instructions of Dmitry:
> >
> > http://www.hylafax.org/archive/2000-08/msg00081.php
> >
> > which says add
> >
> > Class2CQQueryCmd:       "!(0),(0)"
> > RecvDataFormat:         "2-D MMR"
> >
> > to your config file but this does not change anything here.
>
> Very strange.
>
> > The log is:
>
> Can you show your modem init log from /var/log/daemon.log?
> ServerTracing=0xFFF is desireable.
>
Sep 25 15:17:00 linux1 FaxGetty[29666]: OPEN /dev/ttyS0
Sep 25 15:17:00 linux1 FaxGetty[29666]: MODEM set DTR OFF
Sep 25 15:17:00 linux1 FaxGetty[29666]: DELAY 2600 ms
Sep 25 15:17:03 linux1 FaxGetty[29666]: MODEM set DTR ON
Sep 25 15:17:03 linux1 FaxGetty[29666]: MODEM set baud rate: 19200 baud,
input flow NONE, output flow NONE
Sep 25 15:17:03 linux1 FaxGetty[29666]: MODEM flush i/o
Sep 25 15:17:03 linux1 FaxGetty[29666]: <-- [4:ATZ\r]
Sep 25 15:17:03 linux1 FaxGetty[29666]: --> [2:OK]
Sep 25 15:17:03 linux1 FaxGetty[29666]: <-- [15:ATE0V1Q0S0=0H0\r]
Sep 25 15:17:03 linux1 FaxGetty[29666]: --> [14:ATE0V1Q0S0=0H0]
Sep 25 15:17:03 linux1 FaxGetty[29666]: --> [2:OK]
Sep 25 15:17:03 linux1 FaxGetty[29666]: <-- [12:ATS8=2S7=60\r]
Sep 25 15:17:03 linux1 FaxGetty[29666]: --> [2:OK]
Sep 25 15:17:03 linux1 FaxGetty[29666]: <-- [12:AT+FCLASS=?\r]
Sep 25 15:17:04 linux1 FaxGetty[29666]: --> [7:0,1,2.0]
Sep 25 15:17:04 linux1 FaxGetty[29666]: --> [2:OK]
Sep 25 15:17:04 linux1 FaxGetty[29666]: MODEM Supports "Data"
Sep 25 15:17:04 linux1 FaxGetty[29666]: MODEM Supports "Class 1"
Sep 25 15:17:04 linux1 FaxGetty[29666]: MODEM Supports "Class 2.0"
Sep 25 15:17:04 linux1 FaxGetty[29666]: <-- [14:AT+FCLASS=2.0\r]
Sep 25 15:17:04 linux1 FaxGetty[29666]: --> [2:OK]
Sep 25 15:17:04 linux1 FaxGetty[29666]: <-- [8:AT+FMI?\r]
Sep 25 15:17:04 linux1 FaxGetty[29666]: --> [23:U.S. Robotics 56K Voice]
Sep 25 15:17:04 linux1 FaxGetty[29666]: --> [2:OK]
Sep 25 15:17:04 linux1 FaxGetty[29666]: MODEM: Mfr U.S. Robotics 56K Voice
Sep 25 15:17:04 linux1 FaxGetty[29666]: <-- [8:AT+FMM?\r]
Sep 25 15:17:05 linux1 FaxGetty[29666]: --> [2:OK]
Sep 25 15:17:05 linux1 FaxGetty[29666]: <-- [8:AT+FMR?\r]
Sep 25 15:17:05 linux1 FaxGetty[29666]: --> [2:OK]
Sep 25 15:17:05 linux1 FaxGetty[29666]: <-- [9:AT+FCC=?\r]
Sep 25 15:17:05 linux1 FaxGetty[29666]: -->
[35:(0,1),(0-5),(0-2),(0-2),0,0,0,(0-7)]
Sep 25 15:17:06 linux1 FaxGetty[29666]: --> [2:OK]
Sep 25 15:17:06 linux1 FaxGetty[29666]: MODEM Supports 3.85 line/mm
Sep 25 15:17:06 linux1 FaxGetty[29666]: MODEM Supports 7.7 line/mm
Sep 25 15:17:06 linux1 FaxGetty[29666]: MODEM Supports 2400 bit/s
Sep 25 15:17:06 linux1 FaxGetty[29666]: MODEM Supports 4800 bit/s
Sep 25 15:17:06 linux1 FaxGetty[29666]: MODEM Supports 7200 bit/s
Sep 25 15:17:06 linux1 FaxGetty[29666]: MODEM Supports 9600 bit/s
Sep 25 15:17:06 linux1 FaxGetty[29666]: MODEM Supports 12000 bit/s
Sep 25 15:17:06 linux1 FaxGetty[29666]: MODEM Supports 14400 bit/s
Sep 25 15:17:06 linux1 FaxGetty[29666]: MODEM Supports page width 1728
pixels in 215 mm
Sep 25 15:17:06 linux1 FaxGetty[29666]: MODEM Supports page width 2048
pixels in 255 mm
Sep 25 15:17:06 linux1 FaxGetty[29666]: MODEM Supports page width 2432
pixels in 303 mm
Sep 25 15:17:06 linux1 FaxGetty[29666]: MODEM Supports A4 page length (297
mm)
Sep 25 15:17:06 linux1 FaxGetty[29666]: MODEM Supports B4 page length (364
mm)
Sep 25 15:17:06 linux1 FaxGetty[29666]: MODEM Supports unlimited page length
Sep 25 15:17:06 linux1 FaxGetty[29666]: MODEM Supports 1-D MR
Sep 25 15:17:06 linux1 FaxGetty[29666]: MODEM Supports 0 ms/scanline
Sep 25 15:17:06 linux1 FaxGetty[29666]: MODEM Supports 5 ms/scanline
Sep 25 15:17:06 linux1 FaxGetty[29666]: MODEM Supports 10 ms, 5 ms/scanline
Sep 25 15:17:06 linux1 FaxGetty[29666]: MODEM Supports 10 ms/scanline
Sep 25 15:17:06 linux1 FaxGetty[29666]: MODEM Supports 20 ms, 10 ms/scanline
Sep 25 15:17:06 linux1 FaxGetty[29666]: MODEM Supports 20 ms/scanline
Sep 25 15:17:06 linux1 FaxGetty[29666]: MODEM Supports 40 ms, 20 ms/scanline
Sep 25 15:17:06 linux1 FaxGetty[29666]: MODEM Supports 40 ms/scanline
Sep 25 15:17:06 linux1 FaxGetty[29666]: <-- [9:AT+FCQ=?\r]
Sep 25 15:17:06 linux1 FaxGetty[29666]: --> [11:(0-2),(0-2)]
Sep 25 15:17:06 linux1 FaxGetty[29666]: --> [2:OK]
Sep 25 15:17:06 linux1 FaxGetty[29666]: MODEM Supports 1D+2D copy quality
checking (but not enabled)
Sep 25 15:17:06 linux1 FaxGetty[29666]: <-- [9:AT+FAP=?\r]
Sep 25 15:17:06 linux1 FaxGetty[29666]: --> [5:ERROR]
Sep 25 15:17:06 linux1 FaxGetty[29666]: <-- [9:AT+FSP=?\r]
Sep 25 15:17:06 linux1 FaxGetty[29666]: --> [5:(0,1)]
Sep 25 15:17:07 linux1 FaxGetty[29666]: --> [2:OK]
Sep 25 15:17:07 linux1 FaxGetty[29666]: <-- [14:AT+FCLASS=2.0\r]
Sep 25 15:17:07 linux1 FaxGetty[29666]: --> [2:OK]
Sep 25 15:17:07 linux1 FaxGetty[29666]: <-- [9:AT+FLO=0\r]
Sep 25 15:17:07 linux1 FaxGetty[29666]: --> [2:OK]
Sep 25 15:17:07 linux1 FaxGetty[29666]: <-- [9:AT+FPP=0\r]
Sep 25 15:17:07 linux1 FaxGetty[29666]: --> [2:OK]
Sep 25 15:17:07 linux1 FaxGetty[29666]: <-- [9:AT+FBO=0\r]
Sep 25 15:17:08 linux1 FaxGetty[29666]: --> [2:OK]
Sep 25 15:17:08 linux1 FaxGetty[29666]: <-- [10:AT+FCT=30\r]
Sep 25 15:17:08 linux1 FaxGetty[29666]: --> [2:OK]
Sep 25 15:17:08 linux1 FaxGetty[29666]: <-- [15:AT+FNR=1,1,1,1\r]
Sep 25 15:17:08 linux1 FaxGetty[29666]: --> [2:OK]
Sep 25 15:17:08 linux1 FaxGetty[29666]: <-- [9:AT+FIE=0\r]
Sep 25 15:17:08 linux1 FaxGetty[29666]: --> [2:OK]
Sep 25 15:17:08 linux1 FaxGetty[29666]: <-- [9:AT+FBU=1\r]
Sep 25 15:17:09 linux1 FaxGetty[29666]: --> [5:ERROR]
Sep 25 15:17:09 linux1 FaxGetty[29666]: MODEM Command error
Sep 25 15:17:09 linux1 FaxGetty[29666]: <-- [23:AT+FCC=1,5,2,2,0,0,0,0\r]
Sep 25 15:17:09 linux1 FaxGetty[29666]: --> [2:OK]
Sep 25 15:17:09 linux1 FaxGetty[29666]: MODEM U.S. ROBOTICS 56K VOICE /
Sep 25 15:17:09 linux1 FaxGetty[29666]: <-- [5:ATM0\r]
Sep 25 15:17:09 linux1 FaxGetty[29666]: --> [2:OK]
Sep 25 15:17:09 linux1 FaxGetty[29666]: <-- [9:AT+FCR=1\r]
Sep 25 15:17:09 linux1 FaxGetty[29666]: --> [2:OK]
Sep 25 15:17:09 linux1 FaxGetty[29666]: <-- [26:AT+FLI="xxxx"\r]
Sep 25 15:17:10 linux1 FaxGetty[29666]: --> [2:OK]
Sep 25 15:17:10 linux1 FaxGetty[29666]: STATE CHANGE: BASE -> RUNNING
Sep 25 15:17:10 linux1 FaxGetty[29666]: MODEM input buffering disabled


> [...]
>
> Hylafax had not catched RTC here; that's known bug, already fixed in my
> local sources (not commited yet because I am still trying to clean up some
> Class1 receive protocol issues).
But this bug does not prevent Hylafax from writing bad formatted tiff-files
in this situation?


> Oh, USR Sportster in Class 2.0 mode. Are you really looking for
> trouble? :-)
This is just for testing client software, no need in good performance over
the phone line.

BTW, is USR receiving with Class 2.0 as bad as sending?

Thanks again!
Bernd

> Hope to hear from you soon,
> Dmitry
>
>



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




Project hosted by iFAX Solutions