HylaFAX The world's
most advanced open source fax server
|
|
[
Date Prev][
Date Next][
Thread Prev][
Thread Next]
[
Date Index]
[
Thread Index]
[hylafax-users] LT Win Modem Config Help
Ok, I know Ive been warned about using LT Win Modems with Agere chipset with hylafax, but others have stated they have gotten it to work. I am a total newbie at configuring the modem. The default addmodem script seems to not produce the correct results.
I have been able to use the efax product, and have had no problem getting this to work (sending/receiving faxes). My initialization settings for the modem using efax are the following:
# The following specifies the initialising `AT' commands for the modem
# when in fax mode. Specify as many of these as are needed, separated
# by spaces for commands to be separated, without a prepended `AT'.
# If none is specified, the program will default to `Z &FE&D2S7=120
# &C0 M1L0', which will be correct for practically all modems
INIT: Z &FX3E&D2S7=120 &C0 M1L0
I dont know how to translate these commands to produce an appropriate /etc/hylafax/config.tty file.
The current modem portion of the file is:
ModemType: Class1 # use this to supply a hint
Class1Cmd: AT+FCLASS=1 # command to enter class 1
Class1PPMWaitCmd: AT+FTS=7 # command to stop and wait before PPM
Class1TCFWaitCmd: AT+FTS=7 # command to stop and wait before TCF
Class1EOPWaitCmd: AT+FTS=9 # command to stop and wait before EOP
Class1SwitchingCmd: AT+FRS=7 # silence between HDLC recv and trans
Class1TrainingRecovery: 1500 # 1.5sec delay after training failure
Class1RecvAbortOK: 200 # wait 200ms for abort response
Class1FrameOverhead: 4 # 4 byte overhead in recvd HDLC frames
Class1RecvIdentTimer: 40000 # 35+5secs waiting for ident frames
Class1TCFMaxNonZero: 10 # max 10% of data may be non-zero
Class1TCFMinRun: 1000 # min run is 2/3rds of TCF duration
Thanks for help!
From: kev_hilton@xxxxxxxxxxx
To: hylafax-users@xxxxxxxxxxx
Subject: [hylafax-users] Addmodem script produces incorrect results
Date: Thu, 3 May 2007 13:45:17 -0600
Currently using hylafax version 4.3.1 on ubuntu feisy 7.04 on dell laptop 5000e with modem "LT V.92 Data+Fax Modem Version 8.30". This has the agere mars chipset. I installed martian drivers in order to make it work in Ubuntu.
Using probemodem I received the following:
robing for best speed to talk to modem: 38400 OK.
This looks like a Class 1 modem.
ATI0 RESULT = "OK" RESPONSE = "LT V.92 Data+Fax Modem Version 8.30"
ATI1 RESULT = "OK" RESPONSE = "E851"
ATI2 RESULT = "OK" RESPONSE = "OK"
ATI3 RESULT = "OK" RESPONSE = "LT V.92 Data+Fax Modem Version 8.30"
ATI4 RESULT = "OK" RESPONSE = "72"
ATI5 RESULT = "OK" RESPONSE = "8.30,0,19,11C1,0448,1668,2000"
ATI6 RESULT = "OK" RESPONSE = "OK"
ATI7 RESULT = "OK" RESPONSE = "OK"
ATI8 RESULT = "OK" RESPONSE = "OK"
ATI9 RESULT = "OK" RESPONSE = "North America"
Class 1 stuff...
AT+FCLASS=? RESULT = "OK" RESPONSE = "0,1"
AT+FCLASS? RESULT = "OK" RESPONSE = "1"
AT+FCLASS=0 RESULT = "OK" RESPONSE = "OK"
AT+FCLASS=1 RESULT = "OK" RESPONSE = "OK"
AT+FCLASS? RESULT = "OK" RESPONSE = "1"
AT+FJUNK=? RESULT = "ERROR" RESPONSE = "ERROR"
AT+FJUNK? RESULT = "ERROR" RESPONSE = "ERROR"
AT+FAA=? RESULT = "OK" RESPONSE = "0,1"
AT+FAA? RESULT = "OK" RESPONSE = "0"
AT+FAE=? RESULT = "ERROR" RESPONSE = "ERROR"
AT+FAE? RESULT = "ERROR" RESPONSE = "ERROR"
AT+FTH=? RESULT = "OK" RESPONSE = "3,24,48,72,73,74,96,97,98,121,122,145,146"
AT+FRH=? RESULT = "OK" RESPONSE = "3,24,48,72,73,74,96,97,98,121,122,145,146"
AT+FTM=? RESULT = "OK" RESPONSE = "3,24,48,72,73,74,96,97,98,121,122,145,146"
AT+FRM=? RESULT = "OK" RESPONSE = "3,24,48,72,73,74,96,97,98,121,122,145,146"
AT+FTS=? RESULT = "ERROR" RESPONSE = "ERROR"
AT+FRS=? RESULT = "ERROR" RESPONSE = "ERROR"
It appears by the output I am unable to send AT+FTS and AT+FRS commands.
This is problematic because the addmodem script returns the following:
Class1PPMWaitCmd: AT+FTS=7 # command to stop and wait before PPM
Class1TCFWaitCmd: AT+FTS=7 # command to stop and wait before TCF
Class1EOPWaitCmd: AT+FTS=9 # command to stop and wait before EOP
Class1SwitchingCmd: AT+FRS=7 # silence between HDLC recv and trans
When sending a fax with the above config I would receive:
Stop and wait failure (modem on hook)
Based on another post (the only one I could find, I changed the above to:
#Class1PPMWaitCmd: "<delay\0727>" # \072 == : to avoid awk problem
#Class1TCFWaitCmd: "<delay\0727>"
#Class1EOPWaitCmd: "<delay\0729>"
#Class1SwitchingCmd: "<delay\0727>" # assumption: +FRS not supported
Still however I would receive the following (unable to send a fax - Just a sample of the log file):
SEND training at v.27ter 4800 bit/s
May 03 12:03:43.46: [14419]: DELAY 70 ms
May 03 12:03:43.53: [14419]: <-- [9:AT+FTH=3\r]
May 03 12:03:43.53: [14419]: MODEM WRITE ERROR: errno 5
May 03 12:03:43.53: [14419]: Error sending T.30 prologue frames
May 03 12:03:43.53: [14419]: SEND training at v.27ter fallback mode 2400 bit/s
May 03 12:03:43.53: [14419]: DELAY 70 ms
May 03 12:03:43.60: [14419]: <-- [9:AT+FTH=3\r]
May 03 12:03:43.60: [14419]: MODEM WRITE ERROR: errno 5
May 03 12:03:43.60: [14419]: Error sending T.30 prologue frames
May 03 12:03:43.60: [14419]: TRAINING failed
May 03 12:03:43.60: [14419]: SEND: Failure to train remote modem at 2400 bps or minimum speed; Giving up after 3 attempts to send s
ame page "docq/doc12.ps;c1", dirnum 0
May 03 12:03:43.60: [14419]: <-- [9:AT+FTH=3\r]
May 03 12:03:43.60: [14419]: MODEM WRITE ERROR: errno 5
May 03 12:03:43.60: [14419]: <-- [5:ATH0\r]
May 03 12:03:43.60: [14419]: MODEM WRITE ERROR: errno 5
May 03 12:03:43.60: [14419]: SESSION END
What else should I try or is sending faxes for me just totally out of the question.
Kevin Hilton
kev_hilton@xxxxxxxxxxx