oleg duvanayev Опубликовано 6 марта, 2005 Жалоба Опубликовано 6 марта, 2005 всем доброго времени суток, столкнулся я с такой проблеммой: не могу принимать факс, хотя отправка проходит без запинок. краткая предистория. SuSe 9.1 (AMD Athlon 64) 3Com US Robotics external 56kb modem (подключен к Com 1 - ttyS0) Установка HylaFax происходит без запинок. отрабатываются все программы: setupfax, faxaddmodem, faxmodem. Далее добавляем в inittab: mo:2345:respawn:/usr/sbin/faxgetty ttyS0 запускаем сервер HylaFax и на всякий случай все перегружаем.После загрузки проверяем /var/log/messages : Mar 6 18:58:29 linux FaxQueuer[4808]: HylaFAX Version 4.1.8 Mar 6 18:58:29 linux FaxQueuer[4808]: Copyright © 1990-1996 Sam Leffler Mar 6 18:58:29 linux FaxQueuer[4808]: Copyright © 1991-1996 Silicon Graphics, Inc. Mar 6 18:58:29 linux HylaFAX[4812]: HylaFAX INET Protocol Server: restarted. Mar 6 18:58:29 linux HylaFAX[4812]: HylaFAX Old Protocol Server: restarted. Mar 6 18:58:29 linux HylaFAX[4812]: HylaFAX SNPP Protocol Server: restarted. Mar 6 18:58:34 linux FaxGetty[5616]: OPEN /dev/ttyS0 HylaFAX Version 4.1.8 Mar 6 18:58:50 linux FaxGetty[5616]: MODEM U.S. ROBOTICS INC. 56.0 VOICE / потом звоню на свой факс/модем и получаю: Mar 6 19:01:34 linux FaxGetty[5616]: Error parsing AT+FCC=? response: "RING A (0,1),(0-5),(0-2),(0-2),0,0,0,(0-7)" Mar 6 19:01:34 linux FaxGetty[5616]: /dev/ttyS0: Can not initialize modem. Mar 6 19:02:16 linux FaxGetty[5616]: Error parsing AT+FCC=? response: "RING A (0,1),(0-5),(0-2),(0-2),0,0,0,(0-7)" прекращаю звонить, получаю: Mar 6 19:03:01 linux FaxGetty[5616]: MODEM U.S. ROBOTICS INC. 56.0 VOICE /RING A Mar 6 19:03:25 linux FaxGetty[5616]: MODEM U.S. ROBOTICS INC. 56.0 VOICE / вновь повторяю звонок: Mar 6 19:05:57 linux FaxGetty[5616]: Error parsing AT+FCC=? response: "RING A (0,1),(0-5),(0-2),(0-2),0,0,0,(0-7)" Mar 6 19:05:57 linux FaxGetty[5616]: /dev/ttyS0: Can not initialize modem. Mar 6 19:06:39 linux FaxGetty[5616]: Error parsing AT+FCC=? response: "RING A (0,1),(0-5),(0-2),(0-2),0,0,0,(0-7)" прекращаю звонить, получаю: Mar 6 19:07:23 linux FaxGetty[5616]: MODEM U.S. ROBOTICS INC. 56.0 VOICE /RING A Mar 6 19:07:47 linux FaxGetty[5616]: MODEM U.S. ROBOTICS INC. 56.0 VOICE / во время работы faxaddmodem, последний опознал мой модем, предложил два варианта настройки (Класс 1, Класс 2.0). Я выбрал 2.0. Далее процесс завершился без единой ошибки. В качестве эксперемента, я переустанавливал полностью весь пакет с вариантом Класс модема 1, но в этом случае во время дозвона вываливалось такое сообщение: FaxGetty[]: Error parsing "+FRM" query response: OK FaxGetty[]: /dev/ttyS0: can not initialize modem В общем я оказался в полном тупике и не понимаю с какой стороны подходить к этой проблеме. Если кто-то с этим сталкивался прошу помочь. Буду очень признателен Если надо, то могу показать содержание /var/spool/fax/etc/config.ttyS0 (настройка модема. создан после работы faxaddmodem) : # # Configuration for using the Class 2.0 command interface # with a USR v.34 Courier or Sporster modem. # # RTS/CTS flow control is used default. # # CountryCode: 49 AreaCode: 221 FAXNumber: "+49 221 9697081" LongDistancePrefix: 0 InternationalPrefix: 00 DialStringRules: etc/dialrules.europe ServerTracing: 1 SessionTracing: 0xffffffff RecvFileMode: 0600 LogFileMode: 0600 DeviceMode: 0600 RingsBeforeAnswer: 1 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: Class2.0 # use class 2.0 interface ModemRate: 19200 # DCE-DTE communication rate ModemFlowControl: rtscts # hardware flow control # 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 # ModemSetupDTRCmd: ATS13=1&D2 # setup so DTR drop resets modem ModemSetupDCDCmd: AT&C1 # setup so DCD reflects carrier (or not) ModemResultCodesCmd: ATQ0X4 # enable extended result codes # # NB: adaptive answer only seems to work properly when # the modem is left idling in Class 2.0 # ModemSetupAACmd: AT+FAA=1 # # Set modem speaker volume commands: OFF QUIET LOW MEDIUM HIGH. # Note that we both turn the speaker on/off and set volume. # ModemSetVolumeCmd: "ATM0 ATM1 ATM1 ATM1 ATM1" # # Modem does not support HDLC frame tracing; we add this just # to eliminate spurious ERROR results that confuse the naive. # Class2BUGCmd: AT+FBU=0 # # The modem doesn't support copy quality checking, even though it # returns (0-2,0-2) for AT+FCQ=?; therefore we override the query # response so that the server will do copy quality checking. # Class2CQQueryCmd: !(0),(0) # override modem response # # Disables the reporting of bad frames by the modem. This # overcomes a firmware problem in the x2 and V90 Sportsters. # It is not necessary for the Courier modem. # Class2NRCmd: AT+FNR=1,1,1,0 # # USR modems violate Class 2.0 specs and do not send RTC itself # Class2SendRTC: yes # # +FAP=? not supported on this modem, gives ERROR in ServerTracing # Class2APQueryCmd: none Цитата
Рекомендуемые сообщения
Присоединяйтесь к обсуждению
Вы можете написать сейчас и зарегистрироваться позже. Если у вас есть аккаунт, авторизуйтесь, чтобы опубликовать от имени своего аккаунта.