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

sl-modem-daemon and vgetty: supposed to work but how to config?



Greetings:

After the sarge->etch upgrade, I noticed that sound card and soft modem
hardware on this Dell 8600 was properly detected as never before.  After
not being able to use the pctel modem with any 2.6 kernel (I'm now running
a locally compiled 2.6.18) I decided I wanted to use the sl-modem-daemon
package, which installed perfectly, as a voice modem with mgetty/vgetty.

I had done this years ago with a ZyXel 2864, so the configuration wasn't
as bad as it could have been and the sl-modem-daemon docs say that it
works with vgetty.  It's supposed to be a V253 voice modem.
The versions are from etch: sl-modem-daemon and sl-modem-source
(the kernel driver part) 2.9.9d+e-pre2-7etch2.

I can talk to the modem via kermit and send it AT commands.
If I call the modem when kermit is talking to it and I type
ATA (to answer), it does and I hear the modem tone in the calling
phone.  But obviously something is not set up quite right as when
I start vgetty I get this:


04/19 21:48:31 SL0  reading program vgetty configuration from config file /etc/mgetty/voice.conf
04/19 21:48:31 SL0  reading port ttySL0 configuration from config file /etc/mgetty/voice.conf
04/19 21:48:31 SL0  check for lockfiles
04/19 21:48:31 SL0  locking the line
04/19 21:48:32 SL0  tio_get_rs232_lines: TIOCMGET failed: Invalid argument
04/19 21:48:32 SL0  WARNING: DSR is off - modem turned off or bad cable?
04/19 21:48:32 SL0  lowering DTR to reset Modem
04/19 21:48:32 SL0  TIOCMBIC failed: Invalid argument
04/19 21:48:32 SL0  send: AT+FCLASS=8[0d]
04/19 21:48:32 SL0  waiting for ``OK'' ** found **
04/19 21:48:32 SL0  send: ATN1S0=0S13=1[0d]
04/19 21:48:32 SL0  waiting for ``OK'' ** found **
04/19 21:48:32 SL0  send: AT[0d]
04/19 21:48:32 SL0  do_stat: expect 'OK' ** found **
04/19 21:48:32 SL0  send: ATI2[0d]
04/19 21:48:32 SL0  do_stat: expect 'OK' ** found **
04/19 21:48:32 SL0  mdm_send: 'AT+FCLASS=2' -> ERROR
04/19 21:48:32 SL0  detecting voice modem type
04/19 21:48:34 SL0  V253 modem detected
04/19 21:48:34 SL0  initializing V253 voice modem
04/19 21:48:35 SL0  vgetty: Modem returned ERROR
04/19 21:48:35 SL0  setting ringback delay didn't work
04/19 21:48:35 SL0  vgetty: Modem returned ERROR
04/19 21:48:36 SL0  waiting...                   

I don't see where the mdm_send 'AT+FCLASS=2' is configured,  per the
init script AT+FCLASS=8 is the proper way to initialize the modem for
voice.  Apparently this modem does class 1 fax.  Hopefully this has no
effect, but the V253 initialization seems more serious.

Does anyone know what is mis-configured?  Are the TIOCMGET and TIOCMBIC
errors fatal?

The modem never answers.  Anyone using sl-modem-daemon and vgetty?
I eagerly await any hints, or better, config files.  Thanks!

A.



Reply to: