But that's why there is a "speed" in modems.conf. That's why Siemens M20
have a 19200, because *every* works at 19200 and not at 9600.

But the problem is that *every*. There's equal modems at one speed and
others
at other speed (wavecom).

That's why there is a speed in smsc group, to force a speed different from
the
speed defined in modems.conf.

I'm commiting a patch to change this behaviour.

If smsc->speed is defined, use it.
Else try to use modem->speed (if defined, of course).
If this one fails, try to autodetect

Is it ok ?


----- Original Message -----
From: "Stipe Tolj" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Cc: "Oded Arbel" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
Sent: Wednesday, March 27, 2002 10:18 AM
Subject: Re: Rif: RE: speed (smsc_at2.c)


> [EMAIL PROTECTED] wrote:
> >
> > > I think that at2 should autodetect speed if it doesn't find any speed
> > > setting, in the smsc group or modems.conf, or if the smsc speed
setting
> > > is set to 0 regardless of the modems.conf setting, or the modems.conf
> > > setting is set to 0 - isn't that the case now ?
> >
> > No. Now you must set speed=0 if you want speed to be autodetected,
otherwise it behaves as you
> > set speed = 9600.
> > That's why I think if no speed is specified than it should be
autodetect.
>
> +1 from me. If no 'speed' directive is specified in the group,
> autodetect should be used, because you don't have a garantee that a
> 9600 speeded device is attached to the port.
>
> Stipe
>
> [EMAIL PROTECTED]
> -------------------------------------------------------------------
> Wapme Systems AG
>
> Münsterstr. 248
> 40470 Düsseldorf
>
> Tel: +49-211-74845-0
> Fax: +49-211-74845-299
>
> E-Mail: [EMAIL PROTECTED]
> Internet: http://www.wapme-systems.de
> -------------------------------------------------------------------
> wapme.net - wherever you are
>
>


Reply via email to