HylaFAX The world's most advanced open source fax server

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

[hylafax-users] waiting for modem to come ready



Hello All

I'm a new linux/hylafax user & have been trying to install & configue HylaFax 
but am having a problem. 

Setup:
RH7.2
HylaFax 4.1.5 rh7
Connexant PCI 56k modem

Firstly, my modem is fine. I can connect through Internet dialler & have no 
problem browsing & sending mail so the hardware & driver are ok.

I've gone through the configuration procedure & now just want to send a test 
page using sendfax. My job looks like it gets queued ok, but faxstat just 
comes back with 'Waiting for modem to come ready'. I've looked at the 
archives and have made sure my device permissions (/dev/modem) are correct 
(0666). I've set server logging to 0xFFF but only appear to get traces when I 
manually start faxgetty in a console window. 

Do I need to run a faxgetty process even if I'm only interested in sending 
faxes ?

The messages log gives the following:

Dec  9 21:17:44 localhost FaxGetty[9209]: MODEM set baud rate: 19200 baud, 
input flow RTS/CTS, output flow RTS/CTS
Dec  9 21:17:44 localhost FaxGetty[9209]: DELAY 10 ms
Dec  9 21:17:44 localhost FaxGetty[9209]: MODEM flush i/o
Dec  9 21:17:44 localhost FaxGetty[9209]: <-- [4:ATZ\r]
Dec  9 21:17:44 localhost FaxGetty[9209]: --> [3:ATZ]
Dec  9 21:17:44 localhost FaxGetty[9209]: --> [2:OK]
Dec  9 21:17:44 localhost FaxGetty[9209]: DELAY 3000 ms
Dec  9 21:17:47 localhost FaxGetty[9209]: <-- [5:ATE0\r]
Dec  9 21:17:47 localhost FaxGetty[9209]: --> [4:ATE0]
Dec  9 21:17:47 localhost FaxGetty[9209]: --> [2:OK]
Dec  9 21:17:47 localhost FaxGetty[9209]: <-- [5:ATV1\r]
Dec  9 21:17:47 localhost FaxGetty[9209]: --> [2:OK]
Dec  9 21:17:47 localhost FaxGetty[9209]: <-- [5:ATQ0\r]
Dec  9 21:17:48 localhost FaxGetty[9209]: --> [2:OK]
Dec  9 21:17:48 localhost FaxGetty[9209]: <-- [7:ATS0=0\r]
Dec  9 21:17:48 localhost FaxGetty[9209]: --> [2:OK]
Dec  9 21:17:48 localhost FaxGetty[9209]: <-- [7:ATS8=2\r]
Dec  9 21:17:48 localhost FaxGetty[9209]: --> [2:OK]
Dec  9 21:17:48 localhost FaxGetty[9209]: <-- [8:ATS7=60\r]
Dec  9 21:17:48 localhost FaxGetty[9209]: --> [2:OK]
Dec  9 21:17:48 localhost FaxGetty[9209]: <-- [6:AT&K3\r]
Dec  9 21:17:48 localhost FaxGetty[9209]: --> [2:OK]
Dec  9 21:17:48 localhost FaxGetty[9209]: <-- [6:AT&D2\r]
Dec  9 21:17:48 localhost FaxGetty[9209]: --> [2:OK]
Dec  9 21:17:48 localhost FaxGetty[9209]: <-- [6:AT&C1\r]
Dec  9 21:17:48 localhost FaxGetty[9209]: --> [2:OK]
Dec  9 21:17:48 localhost FaxGetty[9209]: <-- [12:AT+FCLASS=?\r]
Dec  9 21:17:49 localhost FaxGetty[9209]: --> [17:+FCLASS:(0,1,1.0)]
Dec  9 21:17:49 localhost FaxGetty[9209]: --> [2:OK]
Dec  9 21:17:49 localhost FaxGetty[9209]: MODEM set DTR OFF
Dec  9 21:17:49 localhost FaxGetty[9209]: /dev/modem: Can not initialize 
modem.
Dec  9 21:17:49 localhost FaxGetty[9209]: STATE CHANGE: BASE -> MODEMWAIT 
(timeout 30)
Dec  9 21:18:03 localhost FaxGetty[9209]: CAUGHT SIGNAL 2
Dec  9 21:18:03 localhost FaxGetty[9209]: CLOSE /dev/modem
Dec  9 21:18:05 localhost FaxGetty[9226]: OPEN /dev/modem  HylaFAX (tm) 
...
...
... More attempts as above, then :


Dec  9 21:19:27 localhost FaxGetty[9226]: --> [17:+FCLASS:(0,1,1.0)]
Dec  9 21:19:27 localhost FaxGetty[9226]: --> [2:OK]
Dec  9 21:19:27 localhost FaxGetty[9226]: MODEM set DTR OFF
Dec  9 21:19:27 localhost FaxGetty[9226]: Unable to setup modem on 
/dev/modem; giving up after 2 attemptsDec  9 21:19:27 localhost 
FaxGetty[9226]: CLOSE /dev/modem
Dec  9 21:19:27 localhost FaxQueuer[986]: MODEM /dev/modem appears to be 
wedged
Dec  9 21:19:27 localhost FaxQueuer[986]: MODEM WEDGED: bin/wedged "modem" 
"/dev/modem"
Dec  9 21:35:10 localhost FaxQueuer[986]: SUBMIT JOB 5
Dec  9 21:36:05 localhost FaxGetty[9355]: OPEN /dev/modem  HylaFAX (tm) 
Version 4.1.5
Dec  9 21:36:05 localhost FaxGetty[9355]: MODEM set DTR OFF
Dec  9 21:36:05 localhost FaxGetty[9355]: DELAY 75 ms
Dec  9 21:36:05 localhost FaxGetty[9355]: MODEM set DTR ON
Dec  9 21:36:05 localhost FaxGetty[9355]: DELAY 2600 ms
Dec  9 21:36:07 localhost FaxGetty[9355]: MODEM set baud rate: 19200 baud, 
input flow RTS/CTS, output flow RTS/CTS
Dec  9 21:36:07 localhost FaxGetty[9355]: DELAY 10 ms
Dec  9 21:36:07 localhost FaxGetty[9355]: MODEM flush i/o
Dec  9 21:36:07 localhost FaxGetty[9355]: <-- [4:ATZ\r]
Dec  9 21:36:07 localhost FaxGetty[9355]: --> [2:OK]


So the device is obviously talking, I'm just a bit suspicious about the  

MODEM set DTR OFF after the +FCLASS query.

Is there anything obvoius ? Other people's traces seem to explicitly set the 
FCLASS but mine doesn't  get that far.

Thanks

Chris

____________________ 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.*




Project hosted by iFAX Solutions