January 31st, 2004, 10:21 PM
-
d-link modem on mgetty+sendfax
hey guys, i'm trying to work my D-Link DFM-560EL Modem on mgetty+sendfax on RH9. My problem is, when i try to send a fax using the mgetty+sendfax, it returns an error:
no class 2/2.0 fax modem, dev=ttyS1
I added a line on /etc/inittab and configured the ff lines:
mgetty.config:
debug 4
fax-id 9876543
speed 38400
port ttyS1
debug 9
data-only n
fax-only y
fax-id 9876543
rings 2
speed 115200
sendfax.config:
verbose y
debug 9
fax-devices ttyS1
fax-id 9876543
max-tries 3
max-tries-continue y
speed 115200
Here is a part of sendfax.log:
01/31 11:38:46 yS1 mdm_send: 'ATV1Q0'
01/31 11:38:46 yS1 got:ATV1Q0[0d]
01/31 11:38:46 yS1 mdm_command: string 'ATV1Q0'
01/31 11:38:46 yS1 got:[0d][0a]OK[0d]
01/31 11:38:46 yS1 mdm_command: string 'OK' -> OK
01/31 11:38:46 yS1 mdm_send: 'ATI'
01/31 11:38:46 yS1 got:[0a]ATI[0d]
01/31 11:38:47 yS1 got:[0d][0a]D-Link DFM-560EL External Modem[0d]
01/31 11:38:48 yS1 mdm_gis: string 1: 'D-Link DFM-560EL External Modem'
01/31 11:38:48 yS1 got:[0a]OK[0d]
01/31 11:38:48 yS1 mdm_identify: string 'D-Link DFM-560EL External Modem'
01/31 11:38:48 yS1 non-numeric ID string: 'D-Link DFM-560EL External Modem'
01/31 11:38:48 yS1 mdm_send: 'AT+FCLASS=2.0'
01/31 11:38:48 yS1 got:[0a]AT+FCLASS=2.0[0d]
01/31 11:38:48 yS1 mdm_command: string 'AT+FCLASS=2.0'
01/31 11:38:48 yS1 got:[0d][0a]ERROR[0d]
01/31 11:38:49 yS1 mdm_command: string 'ERROR' -> ERROR
01/31 11:38:49 yS1 mdm_send: 'AT+FCLASS=2'
01/31 11:38:49 yS1 got:[0a]AT+FCLASS=2[0d]
01/31 11:38:49 yS1 mdm_command: string 'AT+FCLASS=2'
01/31 11:38:49 yS1 got:[0d][0a]ERROR[0d]
01/31 11:38:50 yS1 mdm_command: string 'ERROR' -> ERROR
01/31 11:38:50 ##### failed: no class 2/2.0 fax modem, dev=ttyS1
01/31 11:38:50 yS1 fax_send: 'AT+FCLASS=0'
01/31 11:38:50 yS1 removing lock file
Is D-Link modem really a Class 2.0/2 modem that has the ability to send fax? Or the problem is just in my configuration? I really need to get mgetty+sendfax work...
Any help from you guys will be greatly appreciated.
Thanks!
Ayrin