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] Hylafax 4.1.3, OSX 10.2.1 (Jaguar), Mac G3 B&W, Internal Modem
Lee,
I sent over 1000 faxes and did not see this problem:
>Even using Class 2 with RTSCTS I have problems illustrated below:
>
>Darwin dualg4 6.1 Darwin Kernel Version 6.1: Fri Sep 6 23:24:34 PDT
>2002;
>root:xnu/xnu-344.2.obj~2/RELEASE_PPC Power Macintosh powerpcOct 14
>15:37:53.18: [10089]: MODEM input buffering enabled
>
>Oct 14 15:37:53.18: [10089]: <-- [12:AT+FCLASS=2\r]
>Oct 14 15:37:53.32: [10089]: --> [2:OK]
>Oct 14 15:37:53.32: [10089]: <-- [10:AT+FTBC=0\r]
>Oct 14 15:37:53.47: [10089]: --> [2:OK]
>Oct 14 15:37:53.47: [10089]: <-- [10:AT+FBOR=0\r]
>Oct 14 15:37:53.62: [10089]: --> [2:OK]
>Oct 14 15:37:53.62: [10089]: <-- [13:AT+FPHCTO=30\r]
>Oct 14 15:38:23.62: [10089]: MODEM TIMEOUT: reading line from modem
>Oct 14 15:38:23.62: [10089]: MODEM <Timeout>
>Oct 14 15:38:23.62: [10089]: <-- [10:AT+FBUG=1\r]
>Oct 14 15:38:23.77: [10089]: --> [2:OK]
>Oct 14 15:38:23.77: [10089]: <-- [24:AT+FDCC=1,5,2,2,0,0,0,0\r]
>Oct 14 15:38:23.93: [10089]: --> [2:OK]
>
>It's very bizarre.
>
>Lee.
This was the errorstats from my run on a Mac G4 running 10.1.5.
Total faxes sent:
1336
Error No
Rate/1000
---------------------------------------------------------------------------
---
Ring detect without successful handshake 1
0.7
No response to EOP repeated 3 times 1
0.7
No local dialtone 2
1.5
No response to MPS repeated 3 times 1
0.7
---------------------------------------------------------------------------
---
Total 5
3.7
I notice that the interaction between your modem is different than mine,
particularly the "AT+FBUG=1" which I do not see, perhaps your
configuration is different ? Here is the same portion of the dialog with
my modem:
Oct 05 09:42:50.74: [12332]: DELAY 75 ms
Oct 05 09:42:50.81: [12332]: DELAY 2600 ms
Oct 05 09:42:54.67: [12332]: <-- [4:ATZ\r]
Oct 05 09:42:57.84: [12332]: --> [3:ATZ]
Oct 05 09:42:57.84: [12332]: --> [2:OK]
Oct 05 09:42:57.84: [12332]: DELAY 3000 ms
Oct 05 09:43:00.84: [12332]: <-- [5:ATE0\r]
Oct 05 09:43:00.89: [12332]: --> [4:ATE0]
Oct 05 09:43:00.89: [12332]: --> [2:OK]
Oct 05 09:43:00.89: [12332]: <-- [5:ATV1\r]
Oct 05 09:43:00.93: [12332]: --> [2:OK]
Oct 05 09:43:00.93: [12332]: <-- [5:ATQ0\r]
Oct 05 09:43:00.98: [12332]: --> [2:OK]
Oct 05 09:43:00.98: [12332]: <-- [7:ATS0=0\r]
Oct 05 09:43:01.02: [12332]: --> [2:OK]
Oct 05 09:43:01.02: [12332]: <-- [7:ATS8=2\r]
Oct 05 09:43:01.06: [12332]: --> [2:OK]
Oct 05 09:43:01.06: [12332]: <-- [8:ATS7=60\r]
Oct 05 09:43:01.11: [12332]: --> [2:OK]
Oct 05 09:43:01.11: [12332]: <-- [6:AT&D3\r]
Oct 05 09:43:01.15: [12332]: --> [2:OK]
Oct 05 09:43:01.15: [12332]: <-- [12:AT+FCLASS=2\r]
Oct 05 09:43:01.20: [12332]: --> [2:OK]
Oct 05 09:43:01.20: [12332]: <-- [10:AT+FTBC=0\r]
Oct 05 09:43:01.24: [12332]: --> [2:OK]
Oct 05 09:43:01.24: [12332]: <-- [10:AT+FBOR=0\r]
Oct 05 09:43:01.29: [12332]: --> [2:OK]
Oct 05 09:43:01.29: [12332]: <-- [13:AT+FPHCTO=30\r]
Oct 05 09:43:01.33: [12332]: --> [2:OK]
Oct 05 09:43:01.33: [12332]: <-- [24:AT+FDCC=1,5,2,2,0,0,0,0\r]
Oct 05 09:43:01.37: [12332]: --> [2:OK]
Oct 05 09:43:01.37: [12332]: <-- [5:ATM0\r]
Oct 05 09:43:01.42: [12332]: --> [2:OK]
Oct 05 09:43:01.42: [12332]: <-- [12:AT+FCLASS=2\r]
Oct 05 09:43:01.56: [12332]: --> [2:OK]
Oct 05 09:43:01.56: [12332]: <-- [10:AT+FTBC=0\r]
Oct 05 09:43:01.71: [12332]: --> [2:OK]
Oct 05 09:43:01.71: [12332]: <-- [10:AT+FBOR=0\r]
Oct 05 09:43:01.86: [12332]: --> [2:OK]
Oct 05 09:43:01.87: [12332]: <-- [13:AT+FPHCTO=30\r]
Oct 05 09:43:02.02: [12332]: --> [2:OK]
Oct 05 09:43:02.02: [12332]: <-- [24:AT+FDCC=1,5,2,2,0,0,0,0\r]
Oct 05 09:43:02.18: [12332]: --> [2:OK]
Here is the bottom part of the '~fax/etc/config.cu.modem' configuration
file I am using:
#
#
# Modem-related stuff: should reflect modem command interface
# and hardware connection/cabling (e.g. flow control).
#
ModemType: Class2 # use this to supply a hint
ModemRate: 19200 # max rate for DCE-DTE communication
ModemFlowControl: rtscts # XON/XOFF flow control assumed
ModemSetupDTRCmd: AT&D3 # setup so DTR drop resets modem
#ModemSetupDCDCmd: AT&C1 # setup so DCD reflects carrier (or not)
#
# We can append the "@" symbol to the dial string so that
# the modem will wait 5 seconds before attempting to connect
# and return result codes that distinguish between no carrier
# and no answer. This makes it possible to avoid problems with
# repeatedly dialing a number that doesn't have a fax machine
# (kudos to Stuart Lynne for this trick.)
#
# NB: If you need to prefix phone numbers to get through a PBX,
# put it in the ModemDialCmd; e.g. "DT9%s@".
#
#ModemDialCmd: ATDT%s # T for tone dialing
#
# Other possible configuration stuff. The default strings are
# shown below. Only those that are different from the defaults
# need to be included in the configuration file.
#
#ModemResetCmds: "" # stuff to do when modem is reset
#ModemAnswerCmd: ATA # use this to answer phone
#ModemNoFlowCmd: AT&K # disable flow control cmd
#ModemHardFlowCmd: AT&K3 # hardware flow control cmd
#ModemSoftFlowCmd: AT&K4 # software flow control cmd
#ModemNoAutoAnswerCmd: ATS0=0 # disable auto-answer
#
# Set modem speaker volume commands: OFF QUIET LOW MEDIUM HIGH.
# Note that we both turn the speaker on/off and set volume.
#
#ModemSetVolumeCmd: "ATM0 ATL0M1 ATL1M1 ATL2M1 ATL3M1"
#ModemEchoOffCmd: ATE0 # disable command echo
#ModemVerboseResultsCmd: ATV1 # enable verbose command results
#ModemResultCodesCmd: ATQ0 # enable result codes
#ModemOnHookCmd: ATH0 # place phone on hook (hangup)
#ModemSoftResetCmd: ATZ # do soft reset of modem
#ModemSoftResetCmdDelay: 3000 # pause after soft reset
#ModemWaitTimeCmd: ATS7=60 # wait 60 seconds for carrier
#ModemCommaPauseTimeCmd: ATS8=2 # comma pause time is 2 seconds
#ModemRecvFillOrder: LSB2MSB # bit order of received facsimile
#ModemSendFillOrder: LSB2MSB # bit order modem expects for transmit
#
# Configuration parameters for Class 2 modems.
#
Class2Cmd: AT+FCLASS=2 # command to enter class 2
Class2BORCmd: AT+FBOR=0 # bit order for phase B/C/D (direct)
Class2RELCmd: AT+FREL=1 # byte-align EOL codes on recv
Class2CQCmd: "" # commands to enable copy quality proc.
Class2AbortCmd: AT+FK # abort session command
Class2CQQueryCmd: AT+FCQ=? # query for copy quality capabilities
Class2DCCQueryCmd: AT+FDCC=? # query for modem capabilities
Class2TBCCmd: AT+FTBC=0 # setup stream mode
Class2CRCmd: AT+FCR=1 # enable capability to receive
Class2PHCTOCmd: AT+FPHCTO=30 # set phase C timeout parameter
Class2BUGCmd: AT+FBUG=1 # enable HDLC frame tracing
Class2LIDCmd: AT+FLID # set local identifier command
Class2DCCCmd: AT+FDCC # set modem capabilities command
Class2DISCmd: AT+FDIS # set session parameters command
Class2DDISCmd: "" # disable pre-dial DIS command hack
Class2CIGCmd: AT+FCIG # set polling identifier command
Class2PTSCmd: AT+FPTS # set post-page status command
Class2SPLCmd: AT+FSPL # set polling indicator command
#
# If Class2RecvDataTrigger is not set, then it is set to DC1
#
#Class2RecvDataTrigger: "" # character sent to modem to start recv
Class2RecvDataTrigger: "\022" # character sent to modem to start recv
Class2XmitWaitForXON: no # if true, wait for XON before send
Regards,
Chris
>Even using Class 2 with RTSCTS I have problems illustrated below:
>
>Darwin dualg4 6.1 Darwin Kernel Version 6.1: Fri Sep 6 23:24:34 PDT
>2002;
>root:xnu/xnu-344.2.obj~2/RELEASE_PPC Power Macintosh powerpcOct 14
>15:37:53.18: [10089]: MODEM input buffering enabled
>
>Oct 14 15:37:53.18: [10089]: <-- [12:AT+FCLASS=2\r]
>Oct 14 15:37:53.32: [10089]: --> [2:OK]
>Oct 14 15:37:53.32: [10089]: <-- [10:AT+FTBC=0\r]
>Oct 14 15:37:53.47: [10089]: --> [2:OK]
>Oct 14 15:37:53.47: [10089]: <-- [10:AT+FBOR=0\r]
>Oct 14 15:37:53.62: [10089]: --> [2:OK]
>Oct 14 15:37:53.62: [10089]: <-- [13:AT+FPHCTO=30\r]
>Oct 14 15:38:23.62: [10089]: MODEM TIMEOUT: reading line from modem
>Oct 14 15:38:23.62: [10089]: MODEM <Timeout>
>Oct 14 15:38:23.62: [10089]: <-- [10:AT+FBUG=1\r]
>Oct 14 15:38:23.77: [10089]: --> [2:OK]
>Oct 14 15:38:23.77: [10089]: <-- [24:AT+FDCC=1,5,2,2,0,0,0,0\r]
>Oct 14 15:38:23.93: [10089]: --> [2:OK]
>
>It's very bizarre.
>
>Lee.
>
>On 2002.10.02 13:20 Bob Beaton wrote:
>> Chris & Lee,
>>
>> Thank you for the very helpful and prompt comments. Changing the
>> handshake
>> mode from xon/xoff to rts/cts and, then, restarting faxgetty worked
>> nicely.
>>
>> For completeness in the list archive, I simply edited one line in my
>> /var/spool/hylafax/etc/config.cu.modem file to be:
>>
>> ModemFlowControl: rtscts # hw flow control (xonxoff is
>> default)
>>
>> With this change and faxgetty restart (kill -HUP <faxgetty PID>), I
>> was able
>> to use sendfax without a problem. I have not tested receiving a fax
>> yet,
>> however.
>>
>> Many thanks again!
>> Bob
>>
>> On 10/2/02 9:37 AM, "cbain" <cbain@acordex.com> wrote:
>>
>> > Bob,
>> >
>> > I have gotten Hylafax 4.1.2 to work using the internal modem on Mac
>> OS X
>> > 10.1.5 and 10.2. I configured the modem as an internal modem using
>> class
>> > 2 with the additional changes in the config.cu.modem files as
>> follows:
>> >
>> > ModemFlowControl: rtscts # was XON/XOFF flow control
>> > ModemSetupDTRCmd: AT&D3 # setup so DTR drop resets
>> modem
>> > Class2RecvDataTrigger: "\022" # character sent to modem to
>> > start recv
>> > Class2XmitWaitForXON: no # if true, wait for XON
>> before
>> > send
>> >
>> >
>> > The Class2XmitWaitForXON when set to yes caused the modem to hang
>> when
>> > sending, the
>> > ModemFlowControl was xonxoff and this caused errors in sending and
>> > receiving faxes. I am not sure if the other two changes made any
>> > difference, I just made them base on the differences between the
>> > RockWell-K56 and the class 2 modem. With these configuration changes
>> I
>> > can now send and recieve faxes fine with the internal modem.
>> >
>> > Chris
>> >
>> >> Hi,
>> >>
>> >> I compiled and installed the latest HylaFAX on my G3 B&W, which is
>> running
>> >> the latest Mac OSX. Everything went fine (thanks to the on-line
>> HOW-TO and
>> >> list comments!!!) until I sent my first fax. As documented in the
>> list
>> >> archives, there appears to be some time-out problems with the Apple
>> internal
>> >> modem. I set mine up as a Class 2 modem, using /dev/cu.modem.
>> >>
>> >> I'm wondering of any fixes have been found for this configuration.
>> And, more
>> >> generally, I'm wondering if HylaFAX really works with the latest
>> OSX. If so,
>> >> with what configurations? I have an old 28.8 SupraFaxModem--should
>> I be
>> >> using that instead of the internal Apple (Rockwell) modem?
>> >>
>> >> I've attached my log print-out just in case someone's interested
>> and far
>> >> more intelligent than me with finding my actual problem.
>> >>
>> >> Many thanks for any comments!
>> >>
>> >> Bob
>> >>
>> >> ****
>> >>
>> >> Oct 02 01:19:53.55: [ 789]: SESSION BEGIN 00000004 13055774370
>> >> Oct 02 01:19:53.55: [ 789]: HylaFAX (tm) Version 4.1.3
>> >> Oct 02 01:19:53.55: [ 789]: SEND FAX: JOB 2 DEST 1-305-577-4370
>> COMMID
>> >> 00000004 DEVICE '/dev/cu.modem'
>> >> Oct 02 01:19:53.55: [ 789]: DELAY 75 ms
>> >> Oct 02 01:19:53.63: [ 789]: DELAY 2600 ms
>> >> Oct 02 01:19:57.51: [ 789]: <-- [4:ATZ\r]
>> >> Oct 02 01:20:00.67: [ 789]: --> [2:OK]
>> >> Oct 02 01:20:00.67: [ 789]: DELAY 3000 ms
>> >> Oct 02 01:20:03.67: [ 789]: <-- [5:ATE0\r]
>> >> Oct 02 01:20:03.72: [ 789]: --> [4:ATE0]
>> >> Oct 02 01:20:03.72: [ 789]: --> [2:OK]
>> >> Oct 02 01:20:03.72: [ 789]: <-- [5:ATV1\r]
>> >> Oct 02 01:20:03.76: [ 789]: --> [2:OK]
>> >> Oct 02 01:20:03.76: [ 789]: <-- [5:ATQ0\r]
>> >> Oct 02 01:20:03.81: [ 789]: --> [2:OK]
>> >> Oct 02 01:20:03.81: [ 789]: <-- [7:ATS0=0\r]
>> >> Oct 02 01:20:03.85: [ 789]: --> [2:OK]
>> >> Oct 02 01:20:03.85: [ 789]: <-- [7:ATS8=2\r]
>> >> Oct 02 01:20:03.89: [ 789]: --> [2:OK]
>> >> Oct 02 01:20:03.90: [ 789]: <-- [8:ATS7=60\r]
>> >> Oct 02 01:20:03.95: [ 789]: --> [2:OK]
>> >> Oct 02 01:20:03.95: [ 789]: <-- [6:AT&K4\r]
>> >> Oct 02 01:20:03.98: [ 789]: --> [2:OK]
>> >> Oct 02 01:20:03.98: [ 789]: <-- [6:AT&D3\r]
>> >> Oct 02 01:20:04.03: [ 789]: --> [2:OK]
>> >> Oct 02 01:20:04.03: [ 789]: <-- [6:AT&C1\r]
>> >> Oct 02 01:20:04.07: [ 789]: --> [2:OK]
>> >> Oct 02 01:20:04.07: [ 789]: <-- [12:AT+FCLASS=2\r]
>> >> Oct 02 01:20:04.12: [ 789]: --> [2:OK]
>> >> Oct 02 01:20:04.12: [ 789]: <-- [10:AT+FTBC=0\r]
>> >> Oct 02 01:20:04.16: [ 789]: --> [2:OK]
>> >> Oct 02 01:20:04.16: [ 789]: <-- [10:AT+FBOR=0\r]
>> >> Oct 02 01:20:04.20: [ 789]: --> [2:OK]
>> >> Oct 02 01:20:04.20: [ 789]: <-- [13:AT+FPHCTO=30\r]
>> >> Oct 02 01:20:04.25: [ 789]: --> [2:OK]
>> >> Oct 02 01:20:04.25: [ 789]: <-- [24:AT+FDCC=1,5,2,2,0,0,0,0\r]
>> >> Oct 02 01:20:04.29: [ 789]: --> [2:OK]
>> >> Oct 02 01:20:04.29: [ 789]: <-- [5:ATM0\r]
>> >> Oct 02 01:20:04.34: [ 789]: --> [2:OK]
>> >> Oct 02 01:20:04.36: [ 789]: <-- [12:AT+FCLASS=2\r]
>> >> Oct 02 01:20:04.48: [ 789]: --> [2:OK]
>> >> Oct 02 01:20:04.48: [ 789]: <-- [10:AT+FTBC=0\r]
>> >> Oct 02 01:20:04.63: [ 789]: --> [2:OK]
>> >> Oct 02 01:20:04.63: [ 789]: <-- [10:AT+FBOR=0\r]
>> >> Oct 02 01:20:04.80: [ 789]: --> [2:OK]
>> >> Oct 02 01:20:04.80: [ 789]: <-- [13:AT+FPHCTO=30\r]
>> >> Oct 02 01:20:04.95: [ 789]: --> [2:OK]
>> >> Oct 02 01:20:04.95: [ 789]: <-- [24:AT+FDCC=1,5,2,2,0,0,0,0\r]
>> >> Oct 02 01:20:05.24: [ 789]: --> [2:OK]
>> >> Oct 02 01:20:05.24: [ 789]: <-- [18:AT+FLID="HF Shop"\r]
>> >> Oct 02 01:20:05.39: [ 789]: --> [2:OK]
>> >> Oct 02 01:20:05.39: [ 789]: DIAL 13055774370
>> >> Oct 02 01:20:05.39: [ 789]: <-- [16:ATDT13055774370\r]
>> >> Oct 02 01:20:23.28: [ 789]: --> [5:+FCON]
>> >> Oct 02 01:20:25.31: [ 789]: --> [22:+FDIS: 1,5,0,2,1,0,0,0]
>> >> Oct 02 01:20:25.31: [ 789]: --> [2:OK]
>> >> Oct 02 01:20:25.31: [ 789]: REMOTE best rate 14400 bit/s
>> >> Oct 02 01:20:25.31: [ 789]: REMOTE max page width 1728 pixels in
>> 215 mm
>> >> Oct 02 01:20:25.31: [ 789]: REMOTE max unlimited page length
>> >> Oct 02 01:20:25.31: [ 789]: REMOTE best vres 7.7 line/mm
>> >> Oct 02 01:20:25.31: [ 789]: REMOTE best format 2-D MR
>> >> Oct 02 01:20:25.32: [ 789]: REMOTE best 0 ms/scanline
>> >> Oct 02 01:20:25.32: [ 789]: USE 14400 bit/s
>> >> Oct 02 01:20:25.32: [ 789]: USE 0 ms/scanline
>> >> Oct 02 01:20:25.32: [ 789]: SEND file "docq/doc3.ps;31"
>> >> Oct 02 01:20:25.32: [ 789]: USE page width 1728 pixels in 215 mm
>> >> Oct 02 01:20:25.32: [ 789]: USE unlimited page length
>> >> Oct 02 01:20:25.32: [ 789]: USE 7.7 line/mm
>> >> Oct 02 01:20:25.32: [ 789]: USE 1-D MR
>> >> Oct 02 01:20:25.32: [ 789]: <-- [24:AT+FDIS=1,5,0,2,0,0,0,0\r]
>> >> Oct 02 01:20:25.48: [ 789]: --> [2:OK]
>> >> Oct 02 01:20:25.48: [ 789]: <-- [7:AT+FDT\r]
>> >> Oct 02 01:20:33.62: [ 789]: --> [22:+FDCS: 1,5,0,2,0,0,0,0]
>> >> Oct 02 01:20:33.62: [ 789]: --> [7:CONNECT]
>> >> Oct 02 01:20:33.62: [ 789]: SEND wait for XON
>> >> Oct 02 01:20:43.62: [ 789]: <-- [6:AT+FK\r]
>> >> Oct 02 01:21:13.62: [ 789]: MODEM <Timeout>
>> >> Oct 02 01:21:13.62: [ 789]: SEND: Communication failure during
>> Phase B/C;
>> >> Giving up after 3 attempts to send same page "docq/doc3.ps;31",
>> dirnum 0
>> >> Oct 02 01:21:13.63: [ 789]: <-- [5:ATH0\r]
>> >> Oct 02 01:21:13.78: [ 789]: --> [9:+FHNG: 50]
>> >> Oct 02 01:21:13.78: [ 789]: REMOTE HANGUP: Unspecified Transmit
>> Phase D
>> >> error, including +FPHCTO timeout between data and +FET command
>> (code 50)
>> >> Oct 02 01:21:15.60: [ 789]: --> [2:OK]
>> >> Oct 02 01:21:15.85: [ 789]: SESSION END
>> >>
>> >> ____________________ HylaFAX(tm) Users Mailing List
>> _______________________
>> >> To subscribe/unsubscribe, click
>> http://lists.hylafax.org/cgi-bin/lsg2.cgi
>> >> On UNIX: mail -s unsubscribe hylafax-users-request@hylafax.org <
>> /dev/null
>> >> *To learn about commercial HylaFAX(tm) support, mail
>> sales@hylafax.org.*
>> >>
>> >
>> > ____________________ HylaFAX(tm) Users Mailing List
>> _______________________
>> > To subscribe/unsubscribe, click
>> http://lists.hylafax.org/cgi-bin/lsg2.cgi
>> > On UNIX: mail -s unsubscribe hylafax-users-request@hylafax.org <
>> /dev/null
>> > *To learn about commercial HylaFAX(tm) support, mail
>> sales@hylafax.org.*
>> >
>>
>>
>> ____________________ HylaFAX(tm) Users Mailing List
>> _______________________
>> To subscribe/unsubscribe, click
>> http://lists.hylafax.org/cgi-bin/lsg2.cgi
>> On UNIX: mail -s unsubscribe hylafax-users-request@hylafax.org <
>> /dev/null
>> *To learn about commercial HylaFAX(tm) support, mail
>> sales@hylafax.org.*
>>
>
>____________________ HylaFAX(tm) Users Mailing List _______________________
> To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
> On UNIX: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null
> *To learn about commercial HylaFAX(tm) support, mail sales@hylafax.org.*
>
____________________ HylaFAX(tm) Users Mailing List _______________________
To subscribe/unsubscribe, click http://lists.hylafax.org/cgi-bin/lsg2.cgi
On UNIX: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null
*To learn about commercial HylaFAX(tm) support, mail sales@hylafax.org.*