I am having a problem getting Hylafax up and running. I have got USRobotics
56K USB Faxmodem USR5637 set up on /dev/ACM0 on Ubuntu 8.10. When running
faxstat I get the following:
HylaFAX scheduler on piqqo-fileserver: Running
Modem ttyACM0 (+441273329661): Waiting for modem to come ready
Any help with getting this fixxed would be greatfully recieved
The hylafax config file is as below :
CountryCode: 44
AreaCode: 01273
FAXNumber: +441273329661
LongDistancePrefix: 0
InternationalPrefix: 0044
DialStringRules: etc/dialrules
ServerTracing: 1
SessionTracing: 11
RecvFileMode: 0644
LogFileMode: 0644
DeviceMode: 0666
RingsBeforeAnswer: 1
SpeakerVolume: high
GettyArgs: "-h %l dx_%s"
LocalIdentifier: Piqqo_Fax
TagLineFont: etc/lutRS18.pcf
TagLineFormat: "From %%l|%c|Page %%P of %%T"
MaxRecvPages: 25
#
#
#
ModemType: Class1 # use class 1 interface
ModemRate: 19200 # rate for DCE-DTE communication
ModemFlowControl: xonxoff # software flow control
#
ModemSetupDTRCmd: ATS13=1&D2 # setup so DTR drop resets modem
ModemSetupDCDCmd: AT&C1 # setup so DCD reflects carrier (or not)
ModemNoFlowCmd: AT&H0&I0&R1 # setup modem for no flow control
ModemHardFlowCmd: AT&H1&I0&R2 # setup modem for hardware flow control
ModemSoftFlowCmd: AT&H2&I2&R1 # setup modem for software flow control
ModemResultCodesCmd: ATQ0X4 # enable result codes
#
ModemMfrQueryCmd: !USR
ModemModelQueryCmd: ATI3
ModemRevQueryCmd: ATI7 # XXX returns a multi-line result
#
Class1NFLOCmd: AT&H0&I0&R1 # setup modem for no flow control
Class1HFLOCmd: AT&H1&I0&R2 # setup modem for hardware flow control
Class1SFLOCmd: "" # modem does this automatically
#
# This should resolve "DIS/DTC received 3 times" errors:
#
Class1ResponseWaitCmd: AT+FRS=1 # wait after sending TCF for response
#
#
ModemSetupAACmd: AT+FCLASS=0 # leave modem idling in class 0
ModemAnswerCmd: AT+FCLASS=1A # answer in Class 1
#
#
Class1SwitchingCmd: "<delay\0727>"
root@piqqo-fileserver:/etc/hylafax#
And here is an extract from the syslog
Mar 27 10:40:32 piqqo-fileserver FaxQueuer[8497]: HylaFAX (tm) Version 4.4.4
Mar 27 10:40:32 piqqo-fileserver FaxQueuer[8497]: Copyright (c) 1990-1996
Sam Leffler
Mar 27 10:40:32 piqqo-fileserver FaxQueuer[8497]: Copyright (c) 1991-1996
Silicon Graphics, Inc.
Mar 27 10:40:32 piqqo-fileserver FaxGetty[8517]: OPEN /dev/ttyACM0 HylaFAX
(tm) Version 4.4.4
Mar 27 10:40:49 piqqo-fileserver FaxGetty[8517]: /dev/ttyACM0: Can not
initialize modem.
Mar 27 10:42:23 piqqo-fileserver FaxGetty[8517]: Unable to setup modem on
/dev/ttyACM0; giving up after 2 attempts
Mar 27 10:42:23 piqqo-fileserver FaxQueuer[8497]: MODEM /dev/ttyACM0 appears
to be wedged
Mar 27 10:42:23 piqqo-fileserver FaxQueuer[8497]: MODEM WEDGED: bin/wedged
"ttyACM0" "/dev/ttyACM0"
Mar 27 10:42:23 piqqo-fileserver FaxGetty[8517]: CLOSE /dev/ttyACM0
Mar 27 10:42:23 piqqo-fileserver FaxQueuer[8497]: NOTIFY exit status: 0
(8528)
thanks
Chris