![]() |
Hi people, as I could get a lot of helpful pieces of information relating to my configuration of HylaFAX on my Linux box I would like to thank all the guys that posted their experiences to this mailing list so far. My HylaFAX setup works perfectly with Elsa Microlink 33 TQV modem on Linux 2.2.14 (Suse 6.4), both "send" & "receive" do the work wonderfully. Additionally I could test HylaFAX with 2 mobile phones having data&fax modems built-in: Siemens S35i and Nokia 7110. Here are my results (for those of course who are interested in): ENVIRONMENT: a) Linux 2.2.14 Kernel (self-compiled) coming with Suse 6.4 distribution b) serial devices: /dev/ttyS0 (Elsa Microlink 33 TQV for send/recv) and /dev/ttyS1 (Siemens S35i | Nokia 7110 for send-only) c) both mobile phones connected via serial cable with the port (-> DLR-3 for Nokia 7110) c) HylaFAX 4.1beta2 (without patches) SIEMENS S35i ---------------------- This mobile phone works fine as Class 1 modem without any modifications necessary for default configuration file /var/spool/fax/etc/config. Here are important, active options: --------------------- ModemType: Class1 # use this to supply a hint ModemRate: 19200 # rate for DCE-DTE communication ModemFlowControl: xonxoff # XON/XOFF flow control assumed Class1Cmd: AT+FCLASS=1 # command to enter class 1 Class1TCFResponseDelay: 75 # 75ms delay between recv TCF & response Class1SendPPMDelay: 75 # 75ms delay before sending PPM Class1SendTCFDelay: 75 # 75ms delay between sending DCS & TCF 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 ----------------------- I could make a very fine experience with XON/XOFF flow control method, also sending/receiving SMS messages. I would recommend it as default flow control for this device. NOKIA 7110 ----------------- This mobile phone caused more problems relating to the configuration. First, it returns class string "0,1,1.0,2,2.0" to the "capable classes" request, it causes the script "/usr/sbin/faxaddmodem" to recognize it as Class 1 modem only. This seems to be buggy, as there is no "case" entry in the mentioned script for such a situation: 1,2,2.0) configureClass1and2and2dot0Modem;; 0,1,2,2.0) configureClass1and2and2dot0Modem;; 0,1,2,2.0,*) configureClass1and2and2dot0Modem;; 0,1,1.0,2,2.0) configureClass1and2and2dot0Modem;; # <-- this entry added by myself 0,1,1.0,2,2.0,*) configureClass1and2and2dot0Modem;; After inserting this entry the "faxaddmodem" script offers now all classes for selection. I decided to take Class 2.0 as setup base. The second problem I had to deal with was "low performance" of Nokia 7110, it responses very slowly to AT commands (also to AT-based SMS commands). I had the typical MODEM timeout already after first initialization attempt, so I increased delay between 2 AT commands to 100 ms. I noticed also that the modem does not work with XON/XOFF at all, here RTS/CTS was necessary. I activated also the lines: ModemVerboseResultsCmd: ATV1 # enable verbose command results ModemResultCodesCmd: ATQ0 # enable result codes this helped to avoid TIMEOUTS also (do not ask me why). The registration of modem in send-only environment should be done using following statement: /usr/sbin/faxmodem -c '(0-1),(0-3),(0-4),(0-2),(0-3),(0-1),(0-1),(0-7)' ttyS1 This sequence of chars can be obtained by command "AT+FCC=?" using minicom or cu. Here are important, active options from /var/spool/fax/etc/config.ttyS1: ---------------------------------- ModemATCmdDelay: 100 # wait 100 ms between AT commands ModemType: Class2.0 # use this to supply a hint ModemRate: 19200 # max rate for DCE-DTE communication ModemFlowControl: rtscts # RTS/CTS flow control assumed ModemVerboseResultsCmd: ATV1 # enable verbose command results ModemResultCodesCmd: ATQ0 # enable result codes Class2Cmd: AT+FCLASS=2.0 # command to enter class 2.0 Class2BORCmd: AT+FBO=0 # bit order for phase B/C/D (direct) Class2CQCmd: "" # commands to enable copy quality proc. Class2AbortCmd: AT+FKS # abort session command Class2CQQueryCmd: AT+FCQ=? # query for copy quality capabilities Class2DCCQueryCmd: AT+FCC=? # query for modem capabilities Class2CRCmd: AT+FCR=1 # enable capability to receive Class2PHCTOCmd: AT+FCT=30 # set phase C timeout parameter Class2BUGCmd: AT+FBU=1 # enable HDLC frame tracing Class2LIDCmd: AT+FLI # set local identifier command Class2DCCCmd: AT+FCC # set modem capabilities command Class2DISCmd: AT+FIS # set session parameters command Class2DDISCmd: "" # disable pre-dial DIS command hack Class2CIGCmd: AT+FPI # set polling identifier command Class2NRCmd: AT+FNR=1,1,1,1 # setup status reporting command Class2PIECmd: AT+FIE=0 # disable interrupt-enable command Class2PTSCmd: AT+FPS # set post-page status command Class2SPLCmd: AT+FSP # set polling indicator command Class2NFLOCmd: AT+FLO=0 # set no flow control command Class2SFLOCmd: AT+FLO=1 # set software flow control command Class2HFLOCmd: AT+FLO=2 # set hardware flow control command Class2RecvDataTrigger: "\022" # enable faxes from Class 1 Modems -------------------------- HTH, Hugo Mayer ____________________ HylaFAX(tm) Users Mailing List _______________________ To unsub: mail -s unsubscribe hylafax-users-request@hylafax.org < /dev/null