Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Problem sending fax with hsfmodem + efax
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
asyr
n00b
n00b


Joined: 01 Sep 2004
Posts: 56
Location: Hellas

PostPosted: Thu Feb 22, 2007 11:44 am    Post subject: Problem sending fax with hsfmodem + efax Reply with quote

Hi there.

I'm trying to send fax by using hsfmodel drivers and efax utility, without success. I have the following winmodem
Code:
lspci | grep -i modem
00:14.6 Modem: ATI Technologies Inc ATI SB400 - AC'97 Modem Controller (rev 02)

and hsfmodem drivers works OK for dial, but not for fax.
I'm using hsfmodem-7.60.00.01 and efax--0.9a (latest).

Here is the output of the efax utility when I'm trying to send a TIFF (1 page) file to a fax:
Code:
# efax -v chewmainrxtf -d/dev/modem -x /var/lock/LCK.modem -iZ '-i&FE0&D2S7=30' '-i&C0X3' -l' ' -kZ -h 'Test p. %d/%d' -t T4531 x.001
efax: Wed Feb 21 17:01:24 2007 efax v 0.9a-001114 Copyright 1999 Ed Casas
efax: Wed Feb 21 17:01:24 2007 efax v 0.9a-001114 Copyright 1999 Ed Casas
efax: 01:24 compiled Oct  8 2006 19:22:45
efax: 01:24 TIFF version 4.2 file (little-endian)
efax: 01:24 TIFF directory at 8 with 20 tags, last image.
efax: 01:24 page 1 : x.001 + 338 : 1728x2292 @ 204x196 dpi TIFF/FAX
efax: 01:24 argv[0]=efax
efax: 01:24 argv[1]=-v
efax: 01:24 argv[2]=chewmainrxtf
efax: 01:24 argv[3]=-d/dev/modem
efax: 01:24 argv[4]=-x
efax: 01:24 argv[5]=/var/lock/LCK.modem
efax: 01:24 argv[6]=-iZ
efax: 01:24 argv[7]=-i&FE0&D2S7=30
efax: 01:24 argv[8]=-i&C0X3
efax: 01:24 argv[9]=-l
efax: 01:24 argv[10]=-kZ
efax: 01:24 argv[11]=-h
efax: 01:24 argv[12]=Test p. %d/%d
efax: 01:24 argv[13]=-t
efax: 01:24 argv[14]=T4531
efax: 01:24 argv[15]=x.001
efax: 01:24 created text lock file /var/lock/LCK.modem
efax: 01:24 opened /dev/modem
efax: 01:24 command  "Q0V1"
efax: 01:24 waiting 2.0 s
efax: 01:24 .238 [ATQ0V1<CR><CR><LF>]
efax: 01:24 .238 [OK<CR><LF>]
efax: 01:24 response "OK"
efax: 01:24 command  "Z"
efax: 01:24 waiting 5.0 s
efax: 01:24 .372 [ATZ<CR><CR><LF>]
efax: 01:24 .372 [OK<CR><LF>]
efax: 01:24 response "OK"
efax: 01:24 command  "&FE0&D2S7=30"
efax: 01:24 waiting 5.0 s
efax: 01:24 .503 [AT&FE0&D2S7=30<CR><CR><LF>]
efax: 01:24 .503 [OK<CR><LF>]
efax: 01:24 response "OK"
efax: 01:24 command  "&C0X3"
efax: 01:24 waiting 5.0 s
efax: 01:24 .626 [<CR><LF>OK<CR><LF>]
efax: 01:24 response "OK"
efax: 01:24 command  "E0"
efax: 01:24 waiting 5.0 s
efax: 01:24 .749 [<CR><LF>OK<CR><LF>]
efax: 01:24 response "OK"
efax: 01:24 command  "I3"
efax: 01:24 waiting 5.0 s
efax: 01:24 .872 [<CR><LF>hsfmodem-7.60.00.01x86_64full<CR><LF>]
efax: 01:24 .872 [OK<CR><LF>]
efax: 01:24 response "OK"
efax: 01:24 command  "+FCLASS=?"
efax: 01:24 waiting 5.0 s
efax: 01:24 .996 [<CR><LF>0,1,1.0<CR><LF>]
efax: 01:24 .996 [<CR><LF>OK<CR><LF>]
efax: 01:24 response "OK"
efax: 01:25 command  "+FCLASS=1"
efax: 01:25 waiting 5.0 s
efax: 01:25 .097 [<CR><LF>OK<CR><LF>]
efax: 01:25 response "OK"
efax: 01:25 using hsfmodem-7.60.00.01x86_64full in class 1
efax: 01:25 command  "+FTM=?"
efax: 01:25 waiting 5.0 s
efax: 01:25 .220 [<CR><LF>3,24,48,72,73,74,96,97,98,121,122,145,146<CR><LF>]
efax: 01:25 .220 [<CR><LF>OK<CR><LF>]
efax: 01:25 response "OK"
efax: 01:25 dialing T4531
efax: 01:25 command  "DT4531"
efax: 01:25 waiting 120.0 s
efax: 01:56 .992 [<CR><LF>CONNECT<CR><LF>]
efax: 01:56 response "CONNECT"
efax: 01:56 connected
efax: 01:59 Error: timed out reading frame data
efax: 01:59 received 0 bytes:
efax: 01:59 received UNKNOWN
efax: 01:59 command  "+FRH=3"
efax: 01:59 waiting 32.0 s
efax: 02:00 .093 [<CR><LF>OK<CR><LF>]
efax: 02:00 response "OK"
efax: 02:00 Error: wrong response to receive-frame command
efax: 02:00 received 0 bytes:
efax: 02:00 received UNKNOWN
efax: 02:00 command  "+FRH=3"
efax: 02:00 waiting 28.0 s
efax: 02:00 .137 [<CR><LF>CONNECT<CR><LF>]
efax: 02:00 response "CONNECT"
efax: 02:03 Error: timed out reading frame data
efax: 02:03 received 6 bytes: 0d 0a 4f 4b 0d 0a
efax: 02:03 received UNKNOWN
efax: 02:03 command  "+FRH=3"
efax: 02:03 waiting 21.0 s
efax: 02:03 .265 [<CR><LF>CONNECT<CR><LF>]
efax: 02:03 response "CONNECT"
efax: 02:06 Error: timed out reading frame data
efax: 02:06 received 6 bytes: 0d 0a 4f 4b 0d 0a
efax: 02:06 received UNKNOWN
efax: 02:06 command  "+FRH=3"
efax: 02:06 waiting 11.0 s
efax: 02:06 .361 [<CR><LF>CONNECT<CR><LF>]
efax: 02:06 response "CONNECT"
efax: 02:09 Error: timed out reading frame data
efax: 02:09 received 6 bytes: 0d 0a 4f 4b 0d 0a
efax: 02:09 received UNKNOWN
efax: 02:09 Error: no answer from remote fax
efax: 02:09 command  "H"
efax: 02:09 waiting 5.0 s
efax: 02:09 .527 [<CR><LF>OK<CR><LF>]
efax: 02:09 response "OK"
efax: 02:09 failed -> x.001
efax: 02:09 command  "Q0V1"
efax: 02:09 waiting 2.0 s
efax: 02:09 .651 [<CR><LF>OK<CR><LF>]
efax: 02:09 response "OK"
efax: 02:09 command  "Z"
efax: 02:09 waiting 5.0 s
efax: 02:09 .784 [<CR><LF>OK<CR><LF>]
efax: 02:09 response "OK"
efax: 02:09 read HDB pid 15958 [     15958<LF>] from /var/lock/LCK.modem (our pid)
efax: 02:09 removed lock file /var/lock/LCK.modem
efax: 02:09 done, returning 3 (invalid modem response)

I tried several fax machines with the same results and for that reason I think that is something to do with the configuration of my server.

I think that the problem starts here:
Code:
...
efax: 01:59 Error: timed out reading frame data
efax: 01:59 received 0 bytes:
efax: 01:59 received UNKNOWN
efax: 01:59 command  "+FRH=3"
...

but I can not fix it.

Any suggestions ?
Back to top
View user's profile Send private message
Charruah
n00b
n00b


Joined: 22 Nov 2010
Posts: 3

PostPosted: Mon Nov 22, 2010 9:29 am    Post subject: Reply with quote

I know this post is old, but i'm having exactly the same problem.

Where you or someone else able to solve it?

Thanks in advance
Back to top
View user's profile Send private message
nephros
Advocate
Advocate


Joined: 07 Feb 2003
Posts: 2139
Location: Graz, Austria (Europe - no kangaroos.)

PostPosted: Tue Mar 29, 2011 7:50 pm    Post subject: Reply with quote

... and another couple of months later, another post..

Charruah wrote:
I know this post is old, but i'm having exactly the same problem.

Where you or someone else able to solve it?

Thanks in advance


I got one step further from the above error by putting
Code:
TXCAP="-c 1,5,0,2,0,0,0,0"

in ~/.efaxrc

Now the modem reports NO CARRIER when efax tries to dial...
_________________
Please put [SOLVED] in your topic if you are a moron.
Back to top
View user's profile Send private message
Charruah
n00b
n00b


Joined: 22 Nov 2010
Posts: 3

PostPosted: Wed Mar 30, 2011 10:08 am    Post subject: Reply with quote

Nice to see that this issue is still alive.

I'll try that today and let's see
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum