Smartlink modem driver and vgetty: modem doesn't answer.
Hello,
This is new behavior in the new Lenny installation. Under Etch it worked
fine. I have restored the same configuration files that worked before,
but now the modem never answers. The following init-chat line used to work
before:
init-chat "" AT+FCLASS=8 OK ATN1S0=0S13=1 OK
The S0 register is defined as "rings to auto answer". If I'm not mistaken
vgetty takes control of the modem and generates an "A" command when it's
time to answer, after the number of rings specified in voice.conf.
S13=1 is echo commands. I have also tried X0 and X1 in the init-chat
line, per the file smartlink_v92_12312001.pdf as found via google.
>From the Etch vgetty, I remember that with each ring, "RING" showed up in
the log file. Now nothing shows up. A google search found a very similar
problem, from 2004, but no solution:
http://osdir.com/ml/linux.linmodem/2004-07/msg00083.html
This is the log file. When vgetty used to work, I also had some (all?) of
these errors, but the modem answered. This is a built-in modem in a
Dell 8600: sl-modem-source 2.9.9d+e-p and sl-modem-daemon 2.9.9d+e-p
(that come with the Lenny distribution).
Can anyone provide a hint or solution? Thanks.
A.
02/16 23:18:28 SL0 reading program vgetty configuration from config file /etc/mgetty/voice.conf
02/16 23:18:28 SL0 reading port ttySL0 configuration from config file /etc/mgetty/voice.conf
02/16 23:18:28 SL0 check for lockfiles
02/16 23:18:28 SL0 locking the line
02/16 23:18:29 SL0 tio_get_rs232_lines: TIOCMGET failed: Invalid argument
02/16 23:18:29 SL0 WARNING: DSR is off - modem turned off or bad cable?
02/16 23:18:29 SL0 lowering DTR to reset Modem
02/16 23:18:29 SL0 TIOCMBIC failed: Invalid argument
02/16 23:18:29 SL0 send: AT+FCLASS=8[0d]
02/16 23:18:29 SL0 waiting for ``OK'' ** found **
02/16 23:18:29 SL0 send: ATN1S0=0S13=1[0d]
02/16 23:18:29 SL0 waiting for ``OK'' ** found **
02/16 23:18:29 SL0 send: AT[0d]
02/16 23:18:29 SL0 do_stat: expect 'OK' ** found **
02/16 23:18:29 SL0 send: ATI2[0d]
02/16 23:18:29 SL0 do_stat: expect 'OK' ** found **
02/16 23:18:29 SL0 mdm_send: 'AT+FCLASS=2' -> ERROR
02/16 23:18:29 SL0 detecting voice modem type
02/16 23:18:30 SL0 V253 modem detected
02/16 23:18:31 SL0 initializing V253 voice modem
02/16 23:18:32 SL0 vgetty: Modem returned ERROR
02/16 23:18:32 SL0 setting ringback delay didn't work
02/16 23:18:32 SL0 vgetty: Modem returned ERROR
02/16 23:18:33 SL0 waiting...
This is what gets logged in /var/log/statistics.ttySL0
AT
OK
ATI2
SmartLink Soft Modem, 2.9.9e-pre1
Smart Link Ltd.
OK
Reply to: