[hcflinux] FW: HCFPCI modem hangs after Failed to properly detect high-speed data carrier

rolland mich mk67 at wanadoo.fr
Sat Dec 17 23:50:05 EST 2005


Le Samedi 17 Décembre 2005 21:12, Olivier Elfferich a écrit :
Have you try with the fax script of efax?
With the log efax i should may be help you.
With the openoffice fax printer put the config (in your 
home/.openoofficce/spadmin command) to "kdeprintfax (TMP)" as root user, you 
can have directly a log of what is going on with kdeprinfax when you send a 
fax through openoofice.
Then post back the log.
Thanks
> Our modem:
> 01:05.0 Serial controller: Rockwell International HCF 56k Data/Fax Modem
> (rev 01)
>
> Os Fedora core 4
>
> Modem config
>
> CountryCode:                   32
> AreaCode:                      03
> FAXNumber:      03.633.02.34
> #LongDistancePrefix:            0
> #InternationalPrefix:           0
> DialStringRules:        etc/dialrules
> ServerTracing:          1
> SessionTracing:         11
> RecvFileMode:           0644
> LogFileMode:            0644
> DeviceMode:             0666
> RingsBeforeAnswer:      2
> SpeakerVolume:  off
> GettyArgs:              "-h %l dx_%s"
> LocalIdentifier:        NothingSetup
> TagLineFont:            etc/lutRS18.pcf
> TagLineFormat:  "From %%l|%c|Page %%P of %%T"
> MaxRecvPages:   25
> #
> #
> # Modem-related stuff: should reflect modem command interface
> # and hardware connection/cabling (e.g. flow control).
> #
> ModemType:              Class1          # use this to supply a hint
> ModemRate:              19200           # rate for DCE-DTE communication
> ModemFlowControl:       rtscts          # default
> #
> ModemNoFlowCmd:         AT&K0           # setup no flow control
> ModemHardFlowCmd:       AT&K3           # setup hardware flow control
> ModemSoftFlowCmd:       AT&K4           # setup software flow control
> ModemSetupDTRCmd:       AT&D2           # setup so DTR drop resets modem
> ModemSetupDCDCmd:       AT&C1           # setup so DCD reflects carrier (or
> not)
> #
> ModemMfrQueryCmd:       !Rockwell
> ModemModelQueryCmd:     !RC288DPi
> ModemRevQueryCmd:       ATI3            # product information
> #
> ModemResetCmds: AT&FX1
> ModemDialCmd:   ATDT%s
>
>
> Whe have trouble with recieving faxes.
>
> Dec 16 12:58:56.37: [21588]: SESSION BEGIN 000000168 036330234
> Dec 16 12:58:56.37: [21588]: HylaFAX (tm) Version 4.2.3rc1
> Dec 16 12:58:56.37: [21588]: <-- [4:ATA\r]
> Dec 16 12:59:02.77: [21588]: --> [7:CONNECT]
> Dec 16 12:59:02.77: [21588]: ANSWER: FAX CONNECTION  DEVICE '/dev/ttySHCF0'
> Dec 16 12:59:02.77: [21588]: RECV FAX: begin
> Dec 16 12:59:02.77: [21588]: <-- data [35]
> Dec 16 12:59:02.77: [21588]: <-- data [2]
> Dec 16 12:59:04.72: [21588]: --> [7:CONNECT]
> Dec 16 12:59:04.72: [21588]: <-- data [23]
> Dec 16 12:59:04.72: [21588]: <-- data [2]
> Dec 16 12:59:05.46: [21588]: --> [7:CONNECT]
> Dec 16 12:59:05.46: [21588]: <-- data [13]
> Dec 16 12:59:05.46: [21588]: <-- data [2]
> Dec 16 12:59:06.20: [21588]: --> [2:OK]
> Dec 16 12:59:06.20: [21588]: <-- [9:AT+FRH=3\r]
> Dec 16 12:59:06.54: [21588]: --> [7:CONNECT]
> Dec 16 12:59:08.08: [21588]: --> [2:OK]
> Dec 16 12:59:08.08: [21588]: REMOTE TSI "+0450038576"
> Dec 16 12:59:08.08: [21588]: <-- [9:AT+FRH=3\r]
> Dec 16 12:59:08.11: [21588]: --> [7:CONNECT]
> Dec 16 12:59:08.35: [21588]: --> [2:OK]
> Dec 16 12:59:08.35: [21588]: REMOTE wants 14400 bit/s
> Dec 16 12:59:08.35: [21588]: REMOTE wants A4 page width (215 mm)
> Dec 16 12:59:08.35: [21588]: REMOTE wants unlimited page length
> Dec 16 12:59:08.35: [21588]: REMOTE wants 3.85 line/mm
> Dec 16 12:59:08.35: [21588]: REMOTE wants 2-D MMR
> Dec 16 12:59:08.35: [21588]: REMOTE wants T.30 Annex A, 256-byte ECM
> Dec 16 12:59:08.35: [21588]: RECV training at v.17 14400 bit/s
> Dec 16 12:59:08.35: [21588]: <-- [11:AT+FRM=145\r]
> Dec 16 12:59:10.07: [21588]: --> [7:CONNECT]
> Dec 16 12:59:11.59: [21588]: RECV: TCF 2645 bytes, 1% non-zero, 2604
> zero-run
> Dec 16 12:59:11.61: [21588]: --> [10:NO CARRIER]
> Dec 16 12:59:11.61: [21588]: <-- [9:AT+FRS=7\r]
> Dec 16 12:59:11.75: [21588]: --> [2:OK]
> Dec 16 12:59:11.75: [21588]: TRAINING succeeded
> Dec 16 12:59:11.75: [21588]: <-- [9:AT+FTH=3\r]
> Dec 16 12:59:12.09: [21588]: --> [7:CONNECT]
> Dec 16 12:59:12.09: [21588]: <-- data [3]
> Dec 16 12:59:12.09: [21588]: <-- data [2]
> Dec 16 12:59:13.40: [21588]: --> [2:OK]
> Dec 16 12:59:13.40: [21588]: <-- [11:AT+FRM=146\r]
> Dec 16 12:59:20.41: [21588]: <-- data [1]
> Dec 16 12:59:20.61: [21588]: MODEM <Timeout>
> Dec 16 12:59:20.61: [21588]: <-- [9:AT+FRH=3\r]
> Dec 16 12:59:20.80: [21588]: --> [7:CONNECT]
> Dec 16 12:59:22.78: [21588]: --> [5:ERROR]
> Dec 16 12:59:22.78: [21588]: MODEM Command error
> Dec 16 12:59:22.78: [21588]: FCS error
> Dec 16 12:59:22.78: [21588]: <-- [9:AT+FRS=7\r]
> Dec 16 12:59:27.46: [21588]: --> [2:OK]
> Dec 16 12:59:27.46: [21588]: <-- [9:AT+FTH=3\r]
> Dec 16 12:59:27.80: [21588]: --> [7:CONNECT]
> Dec 16 12:59:27.80: [21588]: <-- data [3]
> Dec 16 12:59:27.80: [21588]: <-- data [2]
> Dec 16 12:59:29.11: [21588]: --> [2:OK]
> Dec 16 12:59:29.11: [21588]: RECV send CRP (command repeat)
> Dec 16 12:59:29.11: [21588]: <-- [9:AT+FRH=3\r]
> Dec 16 12:59:29.40: [21588]: --> [7:CONNECT]
> Dec 16 12:59:30.52: [21588]: --> [2:OK]
> Dec 16 12:59:30.52: [21588]: RECV recv PPS (partial page signal)
> Dec 16 12:59:30.52: [21588]: RECV recv EOP (no more pages or documents)
> Dec 16 12:59:30.52: [21588]: RECV received 17 frames of block 1 of page 1
> Dec 16 12:59:30.52: [21588]: <-- [9:AT+FRS=7\r]
> Dec 16 12:59:30.67: [21588]: --> [2:OK]
> Dec 16 12:59:30.67: [21588]: <-- [9:AT+FTH=3\r]
> Dec 16 12:59:31.01: [21588]: --> [7:CONNECT]
> Dec 16 12:59:31.01: [21588]: <-- data [35]
> Dec 16 12:59:31.01: [21588]: <-- data [2]
> Dec 16 12:59:33.34: [21588]: --> [2:OK]
> Dec 16 12:59:33.34: [21588]: RECV send PPR (partial page request)
> Dec 16 12:59:33.34: [21588]: <-- [11:AT+FRM=146\r]
> Dec 16 12:59:40.34: [21588]: <-- data [1]
> Dec 16 12:59:40.55: [21588]: MODEM <Timeout>
> Dec 16 12:59:40.55: [21588]: <-- [9:AT+FRH=3\r]
> Dec 16 12:59:40.77: [21588]: --> [7:CONNECT]
> Dec 16 12:59:43.63: [21588]: --> [5:ERROR]
> Dec 16 12:59:43.63: [21588]: MODEM Command error
> Dec 16 12:59:43.63: [21588]: FCS error
> Dec 16 12:59:43.63: [21588]: <-- [9:AT+FRS=7\r]
> Dec 16 13:00:13.64: [21588]: MODEM <Timeout>
> Dec 16 13:00:13.64: [21588]: <-- data [1]
> Dec 16 13:00:13.84: [21588]: MODEM <Timeout>
> Dec 16 13:00:13.84: [21588]: Failed to properly detect high-speed data
> carrier.
> Dec 16 13:00:13.84: [21588]: RECV FAX (000000168): recvq/fax000000066.tif
> from +0450038576, route to <unspecified>, 0 pages in 1:11
> Dec 16 13:00:13.84: [21588]: RECV FAX: Failed to properly detect high-speed
> data carrier.
> Dec 16 13:00:13.84: [21588]: <-- [9:AT+FTH=3\r]
> Dec 16 13:00:21.40: [21588]: --> [0:]
> Dec 16 13:00:21.40: [21588]: RECV FAX (000000168): session with +0450038576
> terminated abnormally: Failed to properly detect high-speed data carrier.
> Dec 16 13:00:21.40: [21588]: RECV FAX: bin/faxrcvd "recvq/fax000000066.tif"
> "ttySHCF0" "000000168" "Failed to properly detect high-speed data carrier."
> Dec 16 13:00:21.40: [21588]: RECV FAX: end
> Dec 16 13:00:21.40: [21588]: SESSION END
>
> Afther that hylafax sends a report:
>
> The HylaFAX software thinks that there is a problem with the modem
> on device /dev/ttySHCF0 that needs attention; repeated attempts to
> initialize the modem have failed.
>
> Consult the server trace logs for more information on what is happening.
>
> You will be notified again after 5 minutes if the problem persists.
>
>
>
>
> After that whe need to do a rchcfpci stop/start, and restart hylafax to get
> it working agian.

-- 
M.Rolland


More information about the hcflinux mailing list