Elsa MicroLink 33.6TQV on HP-UX 10.20 with vgetty

Gert Doering (gert@greenie.muc.de)
Sun, 7 Dec 1997 16:38:26 +0100


Hi,

Lutz Jaenicke wrote:
> On Wed, Dec 03, 1997 at 09:41:13PM +0100, Gert Doering wrote:
> > > > I dimly remember that we have seen this on some other platform as well.
> > > > It seems to be related to setting VTIME to something > 0.
> > > Yes, when I changed this in init.c to unbuffered(?) c_cc[VTIME]=0 select
> > > behaved as expected.
> > 
> > This is what I remembered, yes. Unfortunately, vgetty depends on VTIME>0
> > (at least that's what I remember -- don't forget that I didn't write a
> > single line of vgetty code, and have not much idea about its inner
> > workings...)
> 
> If I read the vgetty source carefully enough, it does use VTIME>0. 

Yes...

> Even then,
> select() is not used so often: to be precise I only have the problem during
> modem inactivity. 

Mgetty uses select() only when waiting "for something to happen", and when
waiting for the line to clear. I don't know about vgetty, though.

> After changing VTIME to zero in init.c the problem went
> away. I hence had to leave the other VTIME settings (during voice play and
> read) untouched!

Marc -- what about setting it that way in general? Any reasons why this
has to be set to c_cc[VTIME] > 0 ?

[ A bit of off-topic "I don't like HP/UX" deleted... ]

> And now back to the more serious facts:
> By now I am also in control of the data flow problems (at least I hope so).
> When looking at the log file I noticed that even though the Elsa ist set
> to RTS/CTS handshaking with AT\Q3 and the HP is, too, the modem seems not
> to use hardware handshaking. After switching to XON/XOFF with AT\Q1 and
> AT\Q4 for recording and playing, respectively, it works flawlessly for
> some 10 test calls. 

I definitely know that some modems can't do (or simply won't) RTS/CTS
handshake in fax mode. So I think it's reasonable to assume that many
behave the same way in voice mode.

But on the other hand, I have very little experience with voice mode, so
don't ask me :-)

> Yet, I still didn't try fax.

Please do that...

> I am not sure whether or not my experience is really hard data, so I am not
> sure that I should submit this to the vgetty author. 

It's at least a data point, so I think you should send it to Marc (or to
the author of the ELSA driver, Karlo Gross).

> After some more testing
> I will submit the small adjustments for HP-UX 10.20 to you, Gert.

Thanks.

gert

-- 
USENET is *not* the non-clickable part of WWW!
           //www.muc.de/~gert/
Gert Doering - Munich, Germany      gert@greenie.muc.de
fax: +49-89-35655025    gert.doering@physik.tu-muenchen.de
.