![]() |
Hy, after several day fighting with the hylafax sources and finding a working libtiff version I finally got it installed (under linux with 2.0.35 and libtiff 3.4.37). But now I have a big problem getting the modem to do the handshake. In /var/log/messages I see that faxgetty realizes the call but abborts with an error message. My modem is a creatix SG2834 and it has a rockwell AC/V34/V1.200-V34_DS chipset. It was recognized ny the modemsetup script with no problem. I suppose that my problem has something to do with the line ModemSetupDTRCmd: AT&D3 # DTR off causes modem to reset in the config.ttyS1 file because I haven't found this AT-command in my handbook! But this is only my guess because this is my first time getting in touch with modem AT commandos because I switched to ISDN bevor starting with linux ;-) Any help is very much appreciated Dirk (sorry for this very long mail but I don't know what are the relevant parts) ********************************************************************* pc16163:[fax] #probemodem Serial port that modem is connected to []? ttyS1 Now we are going to probe the tty port. This takes a few seconds, so be patient. Note that if you do not have the modem cabled to the port, or the modem is turned off, this may hang (just go and cable up the modem or turn it on, or whatever). Probing for best speed to talk to modem: 38400 19200 9600 4800 2400 1200 OK. This looks like a Class 1+2 modem. ATI0 RESULT = "OK" RESPONSE = "28800" ATI1 RESULT = "OK" RESPONSE = "201" ATI2 RESULT = "OK" RESPONSE = "OK" ATI3 RESULT = "OK" RESPONSE = "" Class 1 stuff... AT+FCLASS=? RESULT = "OK" RESPONSE = "" AT+FCLASS? RESULT = "OK" RESPONSE = "" AT+FCLASS=0 RESULT = "OK" RESPONSE = "" AT+FCLASS=1 RESULT = "OK" RESPONSE = "OK" AT+FCLASS? RESULT = "OK" RESPONSE = "1" AT+FJUNK=? RESULT = "" RESPONSE = "" AT+FJUNK? RESULT = "" RESPONSE = "" AT+FAA=? RESULT = "" RESPONSE = "" AT+FAA? RESULT = "OK" RESPONSE = "" AT+FAE=? RESULT = "" RESPONSE = "" AT+FAE? RESULT = "" RESPONSE = "" AT+FTH=? RESULT = "ERROR" RESPONSE = "" AT+FRH=? RESULT = "" RESPONSE = "" AT+FTM=? RESULT = "" RESPONSE = "" AT+FRM=? RESULT = "" RESPONSE = "" AT+FTS=? RESULT = "" RESPONSE = "" AT+FRS=? RESULT = "" RESPONSE = "" Class 2 stuff... AT+FCLASS=? RESULT = "" RESPONSE = "" AT+FCLASS? RESULT = "OK" RESPONSE = "" AT+FCLASS=0 RESULT = "" RESPONSE = "" AT+FCLASS=1 RESULT = "" RESPONSE = "" AT+FCLASS=2 RESULT = "OK" RESPONSE = "" AT+FCLASS? RESULT = "" RESPONSE = "" AT+FJUNK=? RESULT = "" RESPONSE = "" AT+FJUNK? RESULT = "" RESPONSE = "" AT+FAA=? RESULT = "" RESPONSE = "" AT+FAA? RESULT = "OK" RESPONSE = "" AT+FAXERR=? RESULT = "" RESPONSE = "" AT+FAXERR? RESULT = "" RESPONSE = "" AT+FBADLIN=? RESULT = "OK" RESPONSE = "" AT+FBADLIN? RESULT = "" RESPONSE = "" AT+FBADMUL=? RESULT = "" RESPONSE = "" AT+FBADMUL? RESULT = "OK" RESPONSE = "" AT+FBOR=? RESULT = "" RESPONSE = "" AT+FBOR? RESULT = "" RESPONSE = "" AT+FBUF=? RESULT = "ERROR" RESPONSE = "" AT+FBUF? RESULT = "" RESPONSE = "" AT+FBUG=? RESULT = "" RESPONSE = "" AT+FBUG? RESULT = "OK" RESPONSE = "" AT+FCIG=? RESULT = "" RESPONSE = "" AT+FCIG? RESULT = "" RESPONSE = "" AT+FCQ=? RESULT = "OK" RESPONSE = "" AT+FCQ? RESULT = "" RESPONSE = "" AT+FCR=? RESULT = "" RESPONSE = "" AT+FCR? RESULT = "OK" RESPONSE = "" AT+FTBC=? RESULT = "" RESPONSE = "" AT+FTBC? RESULT = "" RESPONSE = "" AT+FDCC=? RESULT = "OK" RESPONSE = "" AT+FDCC? RESULT = "" RESPONSE = "" AT+FDCS=? RESULT = "" RESPONSE = "" AT+FDCS? RESULT = "OK" RESPONSE = "" AT+FDIS=? RESULT = "" RESPONSE = "" AT+FDIS? RESULT = "" RESPONSE = "" AT+FDT=? RESULT = "ERROR" RESPONSE = "" AT+FDT? RESULT = "" RESPONSE = "" AT+FECM=? RESULT = "" RESPONSE = "" AT+FECM? RESULT = "OK" RESPONSE = "" AT+FET=? RESULT = "" RESPONSE = "" AT+FET? RESULT = "" RESPONSE = "" AT+FLID=? RESULT = "" RESPONSE = "" AT+FLID? RESULT = "" RESPONSE = "" AT+FLNFC=? RESULT = "OK" RESPONSE = "" AT+FLNFC? RESULT = "" RESPONSE = "" AT+FLPL=? RESULT = "" RESPONSE = "" AT+FLPL? RESULT = "OK" RESPONSE = "" AT+FMDL? RESULT = "" RESPONSE = "" AT+FMFR? RESULT = "" RESPONSE = "" AT+FMINSP=? RESULT = "OK" RESPONSE = "" AT+FMINSP? RESULT = "" RESPONSE = "" AT+FPHCTO=? RESULT = "" RESPONSE = "" AT+FPHCTO? RESULT = "OK" RESPONSE = "" AT+FPTS=? RESULT = "" RESPONSE = "" AT+FPTS? RESULT = "" RESPONSE = "" AT+FRBC=? RESULT = "OK" RESPONSE = "" AT+FRBC? RESULT = "" RESPONSE = "" AT+FREL=? RESULT = "" RESPONSE = "" AT+FREL? RESULT = "OK" RESPONSE = "" AT+FREV? RESULT = "" RESPONSE = "" AT+FSPL=? RESULT = "" RESPONSE = "" AT+FSPL? RESULT = "OK" RESPONSE = "" AT+FTBC=? RESULT = "" RESPONSE = "" AT+FTBC? RESULT = "" RESPONSE = "" AT+FVRFC=? RESULT = "OK" RESPONSE = "" AT+FVRFC? RESULT = "" RESPONSE = "" AT+FWDFC=? RESULT = "" RESPONSE = "" AT+FWDFC? RESULT = "OK" RESPONSE = "" AT+FK=? RESULT = "" RESPONSE = "" /var/log/messages with debug level 1: Sep 23 22:28:49 pc16163 init: Re-reading inittab Sep 23 22:29:03 pc16163 FaxQueuer[11516]: QUIT Sep 23 22:29:07 pc16163 FaxQueuer[11860]: HylaFAX (tm) Version 4.0pl2 Sep 23 22:29:07 pc16163 FaxQueuer[11860]: Copyright (c) 1990-1996 Sam Leffler Sep 23 22:29:07 pc16163 FaxQueuer[11860]: Copyright (c) 1991-1996 Silicon Graphics, Inc. Sep 23 22:29:07 pc16163 FaxGetty[11484]: HELLO Sep 23 22:29:07 pc16163 HylaFAX[11862]: HylaFAX INET Protocol Server: restarted. Sep 23 22:29:07 pc16163 HylaFAX[11862]: HylaFAX Old Protocol Server: restarted. Sep 23 22:29:07 pc16163 HylaFAX[11862]: HylaFAX SNPP Protocol Server: restarted. Sep 23 22:29:23 pc16163 kernel: isdn_tty: call from 6421931922 -> 931266 ignored Sep 23 22:30:12 pc16163 FaxGetty[11484]: ANSWER: Ring detected without successful handshake Sep 23 22:30:19 pc16163 FaxGetty[11484]: MODEM ROCKWELL AC/V34/V1.200-V34_DS Sep 23 22:31:07 pc16163 FaxGetty[11484]: ANSWER: Ring detected without successful handshake Sep 23 22:31:14 pc16163 FaxGetty[11484]: MODEM ROCKWELL AC/V34/V1.200-V34_DS with debug level 11: Sep 24 05:19:37 pc16163 kernel: isdn_tty: call from 6421931922 -> 931258 ignored Sep 24 05:19:39 pc16163 FaxGetty[1436]: --> [4:RING] Sep 24 05:19:43 pc16163 login[1458]: ROOT LOGIN on `ttyp0' from `pc16166.pharmazie.uni-marburg.de' Sep 24 05:20:25 pc16163 FaxGetty[1436]: ANSWER: Ring detected without successful handshake Sep 24 05:20:25 pc16163 FaxGetty[1436]: <-- [5:ATH0\r] Sep 24 05:20:26 pc16163 FaxGetty[1436]: --> [2:OK] Sep 24 05:20:26 pc16163 FaxGetty[1436]: DELAY 2600 ms Sep 24 05:20:28 pc16163 FaxGetty[1436]: <-- [15:ATE0V1Q0S0=0H0\r] Sep 24 05:20:29 pc16163 FaxGetty[1436]: --> [2:OK] Sep 24 05:20:29 pc16163 FaxGetty[1436]: <-- [21:ATS8=2S7=60&K3&D3&C1\r] Sep 24 05:20:29 pc16163 FaxGetty[1436]: --> [2:OK] Sep 24 05:20:29 pc16163 FaxGetty[1436]: <-- [12:AT+FCLASS=?\r] Sep 24 05:20:29 pc16163 FaxGetty[1436]: --> [5:0,1,2] Sep 24 05:20:29 pc16163 FaxGetty[1436]: --> [2:OK] Sep 24 05:20:29 pc16163 FaxGetty[1436]: <-- [12:AT+FCLASS=2\r] Sep 24 05:20:29 pc16163 FaxGetty[1436]: --> [2:OK] Sep 24 05:20:29 pc16163 FaxGetty[1436]: <-- [9:AT+FMFR?\r] Sep 24 05:20:30 pc16163 FaxGetty[1436]: --> [20:ROCKWELL ] Sep 24 05:20:30 pc16163 FaxGetty[1436]: --> [2:OK] Sep 24 05:20:30 pc16163 FaxGetty[1436]: <-- [9:AT+FMDL?\r] Sep 24 05:20:30 pc16163 FaxGetty[1436]: --> [20:AC/V34 ] Sep 24 05:20:30 pc16163 FaxGetty[1436]: --> [2:OK] Sep 24 05:20:30 pc16163 FaxGetty[1436]: <-- [9:AT+FREV?\r] Sep 24 05:20:30 pc16163 FaxGetty[1436]: --> [13:V1.200-V34_DS] Sep 24 05:20:30 pc16163 FaxGetty[1436]: --> [2:OK] Sep 24 05:20:30 pc16163 FaxGetty[1436]: <-- [10:AT+FDCC=?\r] Sep 24 05:20:30 pc16163 FaxGetty[1436]: --> [39:(0,1),(0-5),(0-2),(0-2),(0,1),0,0,(0-7)] Sep 24 05:20:30 pc16163 FaxGetty[1436]: --> [2:OK] Sep 24 05:20:30 pc16163 FaxGetty[1436]: <-- [9:AT+FCQ=?\r] Sep 24 05:20:31 pc16163 FaxGetty[1436]: --> [1:0] Sep 24 05:20:31 pc16163 FaxGetty[1436]: --> [2:OK] Sep 24 05:20:31 pc16163 FaxGetty[1436]: <-- [9:AT+FAP=?\r] Sep 24 05:20:31 pc16163 FaxGetty[1436]: --> [5:ERROR] Sep 24 05:20:31 pc16163 FaxGetty[1436]: <-- [10:AT+FSPL=?\r] Sep 24 05:20:31 pc16163 FaxGetty[1436]: --> [3:0,1] Sep 24 05:20:31 pc16163 FaxGetty[1436]: --> [2:OK] Sep 24 05:20:31 pc16163 FaxGetty[1436]: <-- [12:AT+FCLASS=2\r] Sep 24 05:20:31 pc16163 FaxGetty[1436]: --> [2:OK] Sep 24 05:20:31 pc16163 FaxGetty[1436]: <-- [10:AT+FTBC=0\r] Sep 24 05:20:32 pc16163 FaxGetty[1436]: --> [2:OK] Sep 24 05:20:32 pc16163 FaxGetty[1436]: <-- [10:AT+FBOR=0\r] Sep 24 05:20:32 pc16163 FaxGetty[1436]: --> [2:OK] Sep 24 05:20:32 pc16163 FaxGetty[1436]: <-- [13:AT+FPHCTO=30\r] Sep 24 05:20:32 pc16163 FaxGetty[1436]: --> [2:OK] Sep 24 05:20:32 pc16163 FaxGetty[1436]: <-- [24:AT+FDCC=1,5,2,2,1,0,0,0\r] Sep 24 05:20:32 pc16163 FaxGetty[1436]: --> [2:OK] Sep 24 05:20:32 pc16163 FaxGetty[1436]: MODEM ROCKWELL AC/V34/V1.200-V34_DS Sep 24 05:20:32 pc16163 FaxGetty[1436]: <-- [5:ATM0\r] Sep 24 05:20:33 pc16163 FaxGetty[1436]: --> [2:OK] Sep 24 05:20:33 pc16163 FaxGetty[1436]: <-- [9:AT+FCR=1\r] Sep 24 05:20:33 pc16163 FaxGetty[1436]: --> [2:OK] Sep 24 05:20:33 pc16163 FaxGetty[1436]: <-- [31:AT+FLID="Karin und Dirk Dettmering"] Sep 24 05:20:33 pc16163 FaxGetty[1436]: --> [2:OK] Sep 24 05:20:33 pc16163 FaxGetty[1436]: <-- [9:AT+FAA=1\r] Sep 24 05:20:33 pc16163 FaxGetty[1436]: --> [2:OK] Sep 24 05:20:34 pc16163 FaxGetty[1436]: --> [4:RING] /var/spool/fax/log/c00000009: Sep 23 22:30:20.68: [11484]: SESSION BEGIN 00000009 496421931266 Sep 23 22:30:20.68: [11484]: <-- [4:ATA\r] Sep 23 22:31:07.19: [11484]: --> [8:+FHNG: 1] Sep 23 22:31:07.19: [11484]: REMOTE HANGUP: Ring detect without successful handshake (code 1) Sep 23 22:31:07.19: [11484]: ANSWER: Ring detected without successful handshake Sep 23 22:31:07.19: [11484]: SESSION END config.ttyS1: # $Id: rc288dpi,v 1.4 1996/06/24 02:58:38 sam Rel $ # # HylaFAX Facsimile Software # # Copyright (c) 1990-1996 Sam Leffler # Copyright (c) 1991-1996 Silicon Graphics, Inc. # HylaFAX is a trademark of Silicon Graphics, Inc. # # # Configuration for a Rockwell RC288DPi-based Class 2 modem # (should also work for 144DPi-based modems). # Microcom DeskPorte 28.8S firmware rev V1.100K-V34_DS # (and others) # # NB: DCD is toggled at page end during transmits; this can # cause problems on systems where it's not possible to # set CLOCAL and also enable RTS/CTS flow control. # # CountryCode: 049 AreaCode: 6421 FAXNumber: +49.6421.931266 LongDistancePrefix: 049 InternationalPrefix: 049 DialStringRules: "etc/dialrules" ServerTracing: 11 SessionTracing: 11 RecvFileMode: 0600 LogFileMode: 0600 DeviceMode: 0600 RingsBeforeAnswer: 1 SpeakerVolume: off GettyArgs: "-h %l dx_%s" LocalIdentifier: "Karin und Dirk Dettmering" TagLineFont: etc/lutRS18.pcf TagLineFormat: "From %%l|%c|Page %%p of %%t" MaxRecvPages: 50 # # # Modem-related stuff: should reflect modem command interface # and hardware connection/cabling (e.g. flow control). # ModemType: CLASS2 # use class 1 interface #ModemType: "any:.*" # use class 1 interface ModemRate: 38400 # locked for fax sending&receiving ModemFlowControl: rtscts # default # ModemNoFlowCmd: AT&K0 # disable flow control cmd ModemSoftFlowCmd: AT&K4 # software flow control cmd ModemHardFlowCmd: AT&K3 # hardware flow control cmd ModemSetupDTRCmd: AT&D3 # DTR off causes modem to reset ModemSetupDCDCmd: AT&C1 # DCD follows carrier ModemSetupAACmd: AT+FAA=1 # enable adaptive-answer in Class 2 # ModemRecvFillOrder: MSB2LSB # bit order of received facsimile ModemSendFillOrder: LSB2MSB # bit order modem expects for transmit # ModemDialCmd: ATDT0,%s # T for tone dialing # # Chip locks the line rate and switches to xon/xoff flow # control when receiving facsimile--we must follow suit. # ModemAnswerFaxBeginCmd: "<19200><xon>" # lock line rate & switch flow control # Class2RecvDataTrigger: "\022" # character sent to modem to start recv -- **************************************************************************** ****** Dirk Dettmering Email: Dettmer@pc16154.pharmazie.uni-marburg.de http://pc16154.pharmazie.uni-marburg.de/dettmering/index.php Tel.: +49 6421 285824 Fax: +49 6421 285828 Philipps-Universit�t Marburg - FB Pharmazie und Lebensmittelchemie Philipps University Marburg - Germany - Department of Pharmacy This message was written entirely with recycled electrons **************************************************************************** ****** --