[ale] HELP ! FAX receiving troubles
Mazukna, Tomas
Tomas.Mazukna at delta.com
Thu Jan 8 10:05:49 EST 2004
Hi,
I have USR External Faxmodem V.92 on debian stable.
All I want to do with it is receive faxes, but the damn thing won't take
it.
It is recognized as class 2.0 by mgetty, but will not accept the
faxes.......
I think it is waiting for a modem connection ?
Or something else is wrong ?
Anybody has fax receiving working with mgetty ?
01/08 09:48:58 yS0 wfr: waiting for ``RING''
01/08 09:48:58 yS0 got: [0a][0d][0a]RING[0d]
01/08 09:48:58 yS0 CND: RING
01/08 09:48:58 yS0 wfr: rc=0, drn=0
01/08 09:48:58 yS0 CND: check no: 'none'
01/08 09:48:58 yS0 send: ATA[0d]
01/08 09:48:58 yS0 waiting for ``CONNECT''
01/08 09:48:58 yS0 got: ATA[0d]
01/08 09:48:58 yS0 CND: OKATA[0d][0a]+FCO[0d]
01/08 09:49:16 yS0 CND: +FCO
01/08 09:49:16 yS0 found action string: ``+FCO_''
01/08 09:49:16 yS0 start fax receiver...
01/08 09:49:16 yS0 fax receiver: entry
01/08 09:49:16 yS0 fax_wait_for(OK)
01/08 09:49:16 yS0 got:[0a][0a][0d][0a]+FCO[0d]
01/08 09:49:19 yS0 fax_wait_for: string '+FCO'
01/08 09:49:19 yS0 got:[0a][0d][0a]+FCO[0d]
01/08 09:49:45 yS0 fax_wait_for: string '+FCO'
01/08 09:49:45 yS0 got:[0a][0d][0a]ERROR[0d]
01/08 09:49:48 yS0 fax_wait_for: string 'ERROR'
01/08 09:49:48 yS0 ABORTING: line='ERROR'
Here is debug from mgetty logs
---------------- INIT ---------------------------------
01/08 09:46:03 yS0 mgetty: experimental test release 1.1.27-Oct21
01/08 09:46:03 yS0 check for lockfiles
01/08 09:46:03 yS0 checklock: stat failed, no file
01/08 09:46:03 yS0 locking the line
01/08 09:46:03 yS0 makelock(ttyS0) called
01/08 09:46:03 yS0 do_makelock: lock='/var/lock/LCK..ttyS0'
01/08 09:46:03 yS0 lock made
01/08 09:46:03 yS0 tio_get_rs232_lines: status: RTS CTS DSR DTR
01/08 09:46:03 yS0 lowering DTR to reset Modem
01/08 09:46:04 yS0 tss: set speed to 38400 (017)
01/08 09:46:04 yS0 tio_set_flow_control( HARD )
01/08 09:46:04 yS0 waiting for line to clear (VTIME), read:
01/08 09:46:04 yS0 send: \dATQ0V1H0[0d]
01/08 09:46:05 yS0 waiting for ``OK''
01/08 09:46:05 yS0 got: ATQ0V1H0[0d]
01/08 09:46:05 yS0 CND: ATQ0V1H0[0d][0a]OK ** found **
01/08 09:46:05 yS0 send: AT[0d]
01/08 09:46:05 yS0 waiting for ``OK''
01/08 09:46:05 yS0 got: [0d]
01/08 09:46:05 yS0 CND: OK[0a]AT[0d]
01/08 09:46:05 yS0 CND: AT[0d][0a]OK ** found **
01/08 09:46:05 yS0 mdm_send: 'AT+FCLASS=2.0'
01/08 09:46:05 yS0 got:[0d][0a]AT+FCLASS=2.0[0d]
01/08 09:46:05 yS0 mdm_command: string 'AT+FCLASS=2.0'
01/08 09:46:05 yS0 got:[0d][0a]OK[0d]
01/08 09:46:05 yS0 mdm_command: string 'OK' -> OK
01/08 09:46:05 yS0 mdm_send: 'AT+FAA=0;+FCR=1'
01/08 09:46:05 yS0 got:[0a]AT+FAA=0;+FCR=1[0d]
01/08 09:46:05 yS0 mdm_command: string 'AT+FAA=0;+FCR=1'
01/08 09:46:05 yS0 got:[0d][0a]OK[0d]
01/08 09:46:05 yS0 mdm_command: string 'OK' -> OK
01/08 09:46:05 yS0 mdm_send: 'AT+FBO=1'
01/08 09:46:05 yS0 got:[0a]AT+FBO=1[0d]
01/08 09:46:05 yS0 mdm_command: string 'AT+FBO=1'
01/08 09:46:05 yS0 got:[0d][0a]OK[0d]
01/08 09:46:05 yS0 mdm_command: string 'OK' -> OK
01/08 09:46:06 yS0 mdm_send: 'AT+FNR=1,1,1,0'
01/08 09:46:06 yS0 got:[0a]AT+FNR=1,1,1,0[0d]
01/08 09:46:06 yS0 mdm_command: string 'AT+FNR=1,1,1,0'
01/08 09:46:06 yS0 got:[0d][0a]OK[0d]
01/08 09:46:06 yS0 mdm_command: string 'OK' -> OK
01/08 09:46:06 yS0 mdm_send: 'AT+FLI=""'
01/08 09:46:06 yS0 got:[0a]AT+FLI=""[0d]
01/08 09:46:06 yS0 mdm_command: string 'AT+FLI=""'
01/08 09:46:06 yS0 got:[0d][0a]OK[0d]
01/08 09:46:06 yS0 mdm_command: string 'OK' -> OK
01/08 09:46:06 yS0 mdm_send: 'AT+FCC=1,5,0,2,0,0,0,0'
01/08 09:46:06 yS0 got:[0a]AT+FCC=1,5,0,2,0,0,0,0[0d]
01/08 09:46:06 yS0 mdm_command: string 'AT+FCC=1,5,0,2,0,0,0,0'
01/08 09:46:06 yS0 got:[0d][0a]OK[0d]
01/08 09:46:06 yS0 mdm_command: string 'OK' -> OK
01/08 09:46:06 yS0 waiting for line to clear (VTIME), read:
01/08 09:46:06 yS0 removing lock file
01/08 09:46:06 yS0 waiting...
------- fax calll ----------------------------
01/08 09:48:58 yS0 select returned 1
01/08 09:48:58 yS0 checking lockfiles, locking the line
01/08 09:48:58 yS0 makelock(ttyS0) called
01/08 09:48:58 yS0 do_makelock: lock='/var/lock/LCK..ttyS0'
01/08 09:48:58 yS0 lock made
01/08 09:48:58 yS0 wfr: waiting for ``RING''
01/08 09:48:58 yS0 got: [0a][0d][0a]RING[0d]
01/08 09:48:58 yS0 CND: RING
01/08 09:48:58 yS0 wfr: rc=0, drn=0
01/08 09:48:58 yS0 CND: check no: 'none'
01/08 09:48:58 yS0 send: ATA[0d]
01/08 09:48:58 yS0 waiting for ``CONNECT''
01/08 09:48:58 yS0 got: ATA[0d]
01/08 09:48:58 yS0 CND: OKATA[0d][0a]+FCO[0d]
01/08 09:49:16 yS0 CND: +FCO
01/08 09:49:16 yS0 found action string: ``+FCO_''
01/08 09:49:16 yS0 start fax receiver...
01/08 09:49:16 yS0 fax receiver: entry
01/08 09:49:16 yS0 fax_wait_for(OK)
01/08 09:49:16 yS0 got:[0a][0a][0d][0a]+FCO[0d]
01/08 09:49:19 yS0 fax_wait_for: string '+FCO'
01/08 09:49:19 yS0 got:[0a][0d][0a]+FCO[0d]
01/08 09:49:45 yS0 fax_wait_for: string '+FCO'
01/08 09:49:45 yS0 got:[0a][0d][0a]ERROR[0d]
01/08 09:49:48 yS0 fax_wait_for: string 'ERROR'
01/08 09:49:48 yS0 ABORTING: line='ERROR'
01/08 09:49:48 yS0 looking for utmp entry... (my PID: 16747)
01/08 09:49:48 yS0 utmp + wtmp entry made
01/08 09:49:48 yS0 tio_set_flow_control( HARD XON_IN )
01/08 09:49:48 yS0 mdm_send: 'AT+FLO=2'
01/08 09:49:48 yS0 got:[0a]AT+FLO=2[0d]
01/08 09:49:48 yS0 mdm_command: string 'AT+FLO=2'
01/08 09:49:48 yS0 got:[0d][0a]OK[0d]
01/08 09:49:48 yS0 mdm_command: string 'OK' -> OK
01/08 09:49:48 yS0 98358 Mb free on /var/spool/fax/incoming
01/08 09:49:48 yS0 fax_get_pages: no pages to receive
01/08 09:49:48 yS0 fax receiver: hangup & end
01/08 09:49:48 yS0 fax_notify_mail: sending mail to: root
01/08 09:49:49 yS0 notify: '/etc/mgetty/new_fax -4 '' 0 >/dev/console
2>&1 </dev/null'
01/08 09:49:49 ##### fax dev=ttyS0, pid=16747, caller='none', name='',
id='', +FHNG=-04, pages=0/0, time=00:00:50
01/08 09:49:49 yS0 setenv: 'CALLER_ID=none'
01/08 09:49:49 yS0 setenv: 'CALLED_ID='
01/08 09:49:49 yS0 setenv: 'CONNECT='
01/08 09:49:49 yS0 setenv: 'DEVICE=ttyS0'
01/08 09:49:50 yS0 mdm_send: 'ATH0'
01/08 09:49:50 yS0 got:[0a]ATH0[0d]
01/08 09:49:50 yS0 mdm_command: string 'ATH0'
01/08 09:49:50 yS0 got:[0d][0a]OK[0d]
01/08 09:49:51 yS0 mdm_command: string 'OK' -> OK
01/08 09:49:51 yS0 removing lock file
--- mgetty.conf --------------
#
# mgetty configuration file
#
# this is a sample configuration file, see mgetty.info for details
#
# comment lines start with a "#", empty lines are ignored
# ----- global section -----
#
# In this section, you put the global defaults, per-port stuff is below
# set the global debug level to "4" (default from policy.h)
debug 4
# set the local fax station id
fax-id
# access the modem(s) with 38400 bps
speed 38400
# use an alternate issue file, to avoid being bitten by linuxlogo
issue-file /etc/issue.mgetty
# use these options to make the /dev/tty-device owned by "uucp.uucp"
# and mode "rw-rw-r--" (0664). *LEADING ZERO NEEDED!*
#port-owner uucp
#port-group uucp
#port-mode 0664
# use these options to make incoming faxes owned by "root.uucp"
# and mode "rw-r-----" (0640). *LEADING ZERO NEEDED!*
#fax-owner root
#fax-group uucp
#fax-mode 0640
# Zoom V.FX 28.8, connected to ttyS0: don't do fax, less logging
#
#port ttyS0
# debug 3
# data-only y
# some other Rockwell modem, needs "switchbd 19200" to receive faxes
# properly (otherwise it will fail with "timeout").
#
port ttyS0
speed 38400
# switchbd 19200
debug 8
fax-only yes
modem-type c2.0
# ZyXEL 2864, connected to ttyS2: maximum debugging, grab statistics
#
#port ttyS2
# debug 8
# init-chat "" \d\d\d+++\d\d\dAT&FS2=255 OK ATN3S0=0S13.2=1 OK
# statistics-chat "" AT OK ATI2 OK
# statistics-file /var/log/statistics.ttyS2
# modem-type cls2
# direct connection of a VT100 terminal which doesn't like DTR drops
#
#port ttyS3
# direct y
# speed 19200
# toggle-dtr n
# ----- port specific section -----
#
# Here you can put things that are valid only for one line, not the
others
#
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Ale
mailing list