Elsa MicroLink 33.6TQV on HP-UX 10.20 with vgetty
Lutz Jaenicke (jaenicke@emserv1.ee.TU-Berlin.DE)
Wed, 3 Dec 1997 20:02:24 +0100
Hello out there,
I have a problem running an Elsa MicroLink 33.6TQV at an HP C160 running
HP-UX 10.20. The vgetty/mgetty version is:
11/27 12:17:56 0p0 vgetty: experimental test release 0.7.3 / 10Aug97
11/27 12:17:56 0p0 mgetty: experimental test release 1.1.9-Aug17
I have been able to compile mgetty on the HP with small trouble (small
adjustments on #includes) and mgetty seems to work on a first glance.
I have however a problem with vgetty, which seems to be a problem with
flow control.
When I compile vgetty "off the box", the modem is initialized as an
Elsa 28.8TQV without problems. But then the following problem occurs:
11/27 12:17:58 0p0 mdm_send: 'AT+FNR=1,1,1,0' -> OK
11/27 12:17:58 0p0 mdm_send: 'AT+FLI="++49 355 69-4129"' -> OK
11/27 12:17:58 0p0 mdm_send: 'AT+FCC=1,5,0,2,0,0,0,0' -> OK
11/27 12:17:58 0p0 detecting voice modem type
11/27 12:17:59 0p0 Elsa MicroLink detected
11/27 12:17:59 0p0 initializing Elsa voice modem
11/27 12:18:00 0p0 waiting...
11/27 12:18:01 0p0 waiting for ``RING_''
11/27 12:18:11 0p0 timeout in chat script, waiting for `RING_'
11/27 12:18:11 0p0 huh? Junk on the line?
While digging through the source code, it seems, that "select()" errornously
returns with the "ready to read" flag set. I checked with a "read()" directly
after the select in io.c:wait_for_input(), that no data is ready for reading
(read returns 0). This effect only happens, after the termio is reprogrammed
in voice/libvoice/init.c:voice_init(). I have no experience with programming
the serial line, but the problem seems to be related to the c_cc adjustments.
I have additional problems with sending audio data to the modem (buffer
underflow etc) which occur later on, but may be this is related to the problem
above.
Is anybody running a vgetty/Elsa combination on HP-UX 10.20? How can select
return, when read() returns 0 (= no character to be read)? Where can I find
additional documentation for tracking down the problem?
Best regards,
Lutz Jaenicke
PS. Should I have spent more money? At home my Zyxel E2864ID works fine
with Linux, even with the additional memory for fax receipts without PC :-)
--
Lutz Jaenicke Lutz.Jaenicke@iee.TU-Berlin.DE
TU Berlin http://www.iee.TU-Berlin.DE/personen/jaenicke/
Institut fuer Elektrische Energietechnik Tel. +49 30 314-24552
Einsteinufer 11, D-10587 Berlin Fax. +49 30 314-21133
.