Hylafax Mailing List Archives

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

Re: [hylafax-users] Error parsing "+FRM" ?????





get the src.rpm
install the src rpm (rpm -ivh hylafax-4.1.5.rh7.src.rpm)
go to /usr/src/redhat/SOURCES
untar the hylafax-4.1.5.tar.gz (tar zxvf hylafax-4.1.5.tar.gz)
copy the patch you downloaded to
/usr/src/redhat/SOURCES/hylafax-4.1.5.tar.gz
cd hylafax-4.1.5/
patch -p0 < whatyounamedthepatchfile
rpmbuild --bb hylafax.spec
you will then have a new rpm to install under /usr/src/redhat/RPMS
install it and you should have no further trouble with the USR modem
hanging...

good luck.

_______________________________________________________________________________________________


                                                                                                                                                      
                    "rAcHeL^cY"                                                                                                                       
                    <rachelcy@hotmail.com>       To:     <hylafax-users@hylafax.org>                                                                  
                    Sent by:                     cc:                                                                                                  
                    hylafax-users-bounce@h       Subject:     Re: [hylafax-users] Error parsing "+FRM" ?????                                          
                    ylafax.org                                                                                                                        
                                                                                                                                                      
                                                                                                                                                      
                    04/25/2003 12:18 PM                                                                                                               
                                                                                                                                                      




Sorry, I'm a bit dumb, may i know how to apply those patch?
as in wat command to run and how to run them?

Thanks in advance for any tips and guidances!!!


Rachel Seok


----- Original Message -----
From: "Stuart Herd" <sherd@muscletech.com>
To: <hylafax-users@hylafax.org>
Sent: Friday, April 25, 2003 8:39 PM
Subject: Re: [hylafax-users] Error parsing "+FRM" ?????


>
> there is a bug in the USR firmware >
> you need to add the patch at
> http://bugs.hylafax.org/bugzilla/show_bug.cgi?id=378 and recompile
> _
>
____________________________________________________________________________

___________________
>
>
>
>                     "Seok See Wai
>                     (Rachel)"                    To:
<hylafax-users@hylafax.org>
>                     <rachelcy@hotmail.com>       cc:
>                     Sent by:                     Subject:
[hylafax-users] Error parsing "+FRM" ?????
>                     hylafax-users-bounce@h
>                     ylafax.org
>
>
>                     04/25/2003 12:55 AM
>
>
>
>
>
> Hi, need help urgently...
>
> I'm using hylafax-4.1.5-1rh8 on redhat 8, below is my config.ttyS0:
>
> CountryCode:   6
> AreaCode:   03
> FAXNumber:  +92749062
> LongDistancePrefix: 1
> InternationalPrefix: 011
> DialStringRules:   etc/dialrules
> #ServerTracing:    1
> ServerTracing:  0xFFF
> #ServerTracing:    1+2+3
> SessionTracing:    11
> 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
> AdaptiveAnswer:    yes
> AnswerRotary:   "fax"
> ModemType:  Class1  # use this to supply a hint
> ModemRate:  19200   # rate for DCE-DTE communication
> ModemFlowControl:  xonxoff      # 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
> ModemDialCmd:   ATDT%s     # T for tone dialing
> ModemAnswerCmd:    AT+FCLASS=1;A        # default is to answer as fax
> ModemSoftResetCmd:      ATZ             # do soft reset of modem
> ModemSoftResetCmdDelay: 300    # pause after soft reset
> ModemDTRDropDelay: 50
>
>
> and my class1 file:
> ModemType:  Class1  # use this to supply a hint
> Class1Cmd:  AT+FCLASS=1 # command to enter class 1
> Class1PPMWaitCmd:  AT+FTS=7     # command to stop and wait before PPM
> Class1TCFWaitCmd:  AT+FTS=7     # command to stop and wait before TCF
> Class1EOPWaitCmd:  AT+FTS=9     # command to stop and wait before EOP
> Class1MsgRecvHackCmd:   "" # command to avoid +FCERROR before image
> Class1TCFResponseDelay: 75      # 75ms delay between recv TCF & response
> Class1SendMsgDelay: 75     # 75ms delay after training
> Class1SwitchingCmd: AT+FRS=7    # silence between HDLC recv and trans
> 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 was testing it usng a normal call-in, when i hear the fax tone, i
> assuming it works,
> but after a few times (say bout 3-5 times) calling to the hylafax, my
modem
> couldn't initialise
> again, and the  /var/log/messages file showing some entry like below:
>
> Jan  1 19:51:02 fileserver FaxGetty[2869]: MODEM ROCKWELL RC288DPi/EM3900
> External Modem Patch 9-11 NVM + SIN + MALY + THAI
> Jan  1 19:51:02 fileserver FaxGetty[2869]: <-- [5:ATM0\r]
> Jan  1 19:51:02 fileserver FaxGetty[2869]: --> [2:OK]
> Jan  1 19:51:02 fileserver FaxGetty[2869]: STATE CHANGE: RECEIVING ->
> RUNNING (timeout 30)
> Jan  1 19:51:02 fileserver FaxGetty[2869]: MODEM input buffering disabled
> Jan  1 19:51:06 fileserver FaxGetty[2869]: STATE CHANGE: RUNNING ->
> LISTENING
> Jan  1 19:51:06 fileserver FaxGetty[2869]: MODEM input buffering enabled
> Jan  1 19:51:06 fileserver FaxGetty[2869]: --> [4:RING]
> Jan  1 19:51:06 fileserver FaxGetty[2869]: STATE CHANGE: LISTENING ->
> ANSWERING
> Jan  1 19:51:06 fileserver FaxGetty[2869]: MODEM input buffering enabled
> Jan  1 19:51:13 fileserver FaxGetty[2869]: ANSWER: FAX CONNECTION  DEVICE

> '/dev/ttyS0'
> Jan  1 19:51:52 fileserver FaxGetty[2869]: RECV FAX (00000061): from 603
> 2273 5158, page 1 in 0:32, INF, 3.85 line/mm, 2-D MR, 9600 bit/s
> Jan  1 19:51:52 fileserver FaxGetty[2869]: RECV FAX (00000061):
> recvq/fax00060.tif from 603 2273 5158, route to <unspecified>, 1 pages in
> 0:39
> Jan  1 19:51:53 fileserver FaxGetty[2869]: RECV FAX: bin/faxrcvd
> "recvq/fax00060.tif" "ttyS0" "00000061" "" "" ""
> Jan  1 19:51:54 fileserver FaxGetty[2869]: <-- [5:ATH0\r]
> Jan  1 19:51:55 fileserver FaxGetty[2869]: --> [2:OK]
> Jan  1 19:51:55 fileserver FaxGetty[2869]: MODEM set DTR OFF
> Jan  1 19:51:55 fileserver FaxGetty[2869]: MODEM set DTR OFF
> Jan  1 19:51:55 fileserver FaxGetty[2869]: DELAY 50 ms
> Jan  1 19:51:55 fileserver FaxGetty[2869]: MODEM set DTR ON
> Jan  1 19:51:55 fileserver FaxGetty[2869]: DELAY 2600 ms
> Jan  1 19:51:58 fileserver FaxGetty[2869]: MODEM set baud rate: 19200
baud,
> input flow XON/XOFF, output flow XON/XOFF
> Jan  1 19:51:58 fileserver FaxGetty[2869]: DELAY 10 ms
> Jan  1 19:51:58 fileserver FaxGetty[2869]: MODEM flush i/o
> Jan  1 19:51:58 fileserver FaxGetty[2869]: <-- [4:ATZ\r]
> Jan  1 19:51:58 fileserver FaxGetty[2869]: --> [2:OK]
> Jan  1 19:51:58 fileserver FaxGetty[2869]: DELAY 300 ms
> Jan  1 19:51:58 fileserver FaxGetty[2869]: <-- [5:ATE0\r]
> Jan  1 19:51:58 fileserver FaxGetty[2869]: --> [4:ATE0]
> Jan  1 19:51:58 fileserver FaxGetty[2869]: --> [2:OK]
> Jan  1 19:51:58 fileserver FaxGetty[2869]: <-- [5:ATV1\r]
> Jan  1 19:51:58 fileserver FaxGetty[2869]: --> [2:OK]
> Jan  1 19:51:58 fileserver FaxGetty[2869]: <-- [5:ATQ0\r]
> Jan  1 19:51:59 fileserver FaxGetty[2869]: --> [2:OK]
> Jan  1 19:51:59 fileserver FaxGetty[2869]: <-- [7:ATS0=0\r]
> Jan  1 19:51:59 fileserver FaxGetty[2869]: --> [2:OK]
> Jan  1 19:51:59 fileserver FaxGetty[2869]: <-- [7:ATS8=2\r]
> Jan  1 19:51:59 fileserver FaxGetty[2869]: --> [2:OK]
> Jan  1 19:51:59 fileserver FaxGetty[2869]: <-- [8:ATS7=60\r]
> Jan  1 19:51:59 fileserver FaxGetty[2869]: --> [2:OK]
> Jan  1 19:51:59 fileserver FaxGetty[2869]: <-- [6:AT&K4\r]
> Jan  1 19:51:59 fileserver FaxGetty[2869]: --> [2:OK]
> Jan  1 19:51:59 fileserver FaxGetty[2869]: <-- [6:AT&D2\r]
> Jan  1 19:51:59 fileserver FaxGetty[2869]: --> [2:OK]
> Jan  1 19:51:59 fileserver FaxGetty[2869]: <-- [6:AT&C1\r]
> Jan  1 19:51:59 fileserver FaxGetty[2869]: --> [2:OK]
> Jan  1 19:51:59 fileserver FaxGetty[2869]: <-- [12:AT+FCLASS=?\r]
> Jan  1 19:51:59 fileserver FaxGetty[2869]: --> [14:0,1,1.0,2,8,10]
> Jan  1 19:51:59 fileserver FaxGetty[2869]: --> [2:OK]
> Jan  1 19:51:59 fileserver FaxGetty[2869]: MODEM Supports "Data"
> Jan  1 19:51:59 fileserver FaxGetty[2869]: MODEM Supports "Class 1"
> Jan  1 19:51:59 fileserver FaxGetty[2869]: MODEM Supports "Class 2"
> Jan  1 19:51:59 fileserver FaxGetty[2869]: MODEM Supports "Class 1.0"
> Jan  1 19:51:59 fileserver FaxGetty[2869]: MODEM Supports "Voice"
> Jan  1 19:51:59 fileserver FaxGetty[2869]: <-- [12:AT+FCLASS=1\r]
> Jan  1 19:52:00 fileserver FaxGetty[2869]: --> [2:OK]
> Jan  1 19:52:00 fileserver FaxGetty[2869]: MODEM: Mfr Rockwell
> Jan  1 19:52:00 fileserver FaxGetty[2869]: <-- [5:ATI3\r]
> Jan  1 19:52:00 fileserver FaxGetty[2869]: --> [21:EM3900 External Modem]
> Jan  1 19:52:00 fileserver FaxGetty[2869]: --> [34:Patch 9-11 NVM + SIN +
> MALY + THAI]
> Jan  1 19:52:00 fileserver FaxGetty[2869]: --> [2:OK]
> Jan  1 19:52:00 fileserver FaxGetty[2869]: MODEM: Model RC288DPi
> Jan  1 19:52:00 fileserver FaxGetty[2869]: MODEM: Revision EM3900
External
> Modem Patch 9-11 NVM + SIN + MALY + THAI
> Jan  1 19:52:00 fileserver FaxGetty[2869]: <-- [9:AT+FTM=?\r]
> Jan  1 19:52:00 fileserver FaxGetty[2869]: -->
> [41:3,24,48,72,73,74,96,97,98,121,122,145,146]
> Jan  1 19:52:00 fileserver FaxGetty[2869]: --> [2:OK]
> Jan  1 19:52:00 fileserver FaxGetty[2869]: MODEM Supports 3.85 line/mm
> Jan  1 19:52:00 fileserver FaxGetty[2869]: MODEM Supports 7.7 line/mm
> Jan  1 19:52:00 fileserver FaxGetty[2869]: MODEM Supports 2400 bit/s
> Jan  1 19:52:00 fileserver FaxGetty[2869]: MODEM Supports 4800 bit/s
> Jan  1 19:52:00 fileserver FaxGetty[2869]: MODEM Supports 7200 bit/s
> Jan  1 19:52:00 fileserver FaxGetty[2869]: MODEM Supports 9600 bit/s
> Jan  1 19:52:00 fileserver FaxGetty[2869]: MODEM Supports 12000 bit/s
> Jan  1 19:52:00 fileserver FaxGetty[2869]: MODEM Supports 14400 bit/s
> Jan  1 19:52:00 fileserver FaxGetty[2869]: MODEM Supports page width 1728
> pixels in 215 mm
> Jan  1 19:52:00 fileserver FaxGetty[2869]: MODEM Supports page width 2048
> pixels in 255 mm
> Jan  1 19:52:00 fileserver FaxGetty[2869]: MODEM Supports page width 2432
> pixels in 303 mm
> Jan  1 19:52:00 fileserver FaxGetty[2869]: MODEM Supports A4 page length
> (297 mm)
> Jan  1 19:52:00 fileserver FaxGetty[2869]: MODEM Supports B4 page length
> (364 mm)
> Jan  1 19:52:00 fileserver FaxGetty[2869]: MODEM Supports unlimited page
> length
> Jan  1 19:52:00 fileserver FaxGetty[2869]: MODEM Supports 1-D MR
> Jan  1 19:52:00 fileserver FaxGetty[2869]: MODEM Supports 2-D MR
> Jan  1 19:52:00 fileserver FaxGetty[2869]: MODEM Supports 0 ms/scanline
> Jan  1 19:52:00 fileserver FaxGetty[2869]: MODEM Supports 5 ms/scanline
> Jan  1 19:52:00 fileserver FaxGetty[2869]: MODEM Supports 10 ms, 5
> ms/scanline
> Jan  1 19:52:00 fileserver FaxGetty[2869]: MODEM Supports 10 ms/scanline
> Jan  1 19:52:00 fileserver FaxGetty[2869]: MODEM Supports 20 ms, 10
> ms/scanline
> Jan  1 19:52:00 fileserver FaxGetty[2869]: MODEM Supports 20 ms/scanline
> Jan  1 19:52:00 fileserver FaxGetty[2869]: MODEM Supports 40 ms, 20
> ms/scanline
> Jan  1 19:52:00 fileserver FaxGetty[2869]: MODEM Supports 40 ms/scanline
> Jan  1 19:52:00 fileserver FaxGetty[2869]: <-- [9:AT+FRM=?\r]
> Jan  1 19:52:00 fileserver FaxGetty[2869]: --> [4:RING]
> Jan  1 19:52:00 fileserver FaxGetty[2869]: Error parsing "+FRM" query
> response: "OK"
> Jan  1 19:52:00 fileserver FaxGetty[2869]: MODEM set DTR OFF
> Jan  1 19:52:00 fileserver FaxGetty[2869]: /dev/ttyS0: Can not initialize
> modem.
> Jan  1 19:52:00 fileserver FaxGetty[2869]: STATE CHANGE: RECEIVING ->
> MODEMWAIT (timeout 30)
>
> Please help!!!
>
> Rachel Seok
>
>
>
> ____________________ 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.
*
>
>

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





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



Home
Report any problems to webmaster@hylafax.org

HylaFAX is a trademark of Silicon Graphics Corporation.
Internet connectivity for hylafax.org is provided by:
VirtuALL Private Host Services