Hi,
: I was wondering what electronically happens when I tell setserial to
: set my 28.8 modem to spd_vhi.
Nothing out of the ordinary. The only reason that this is required is that
originally Unix did not support speeds above 38400. Linux does now support
at least 57600 and 115200, but the a.out C library does not. In order to
get round this limitation, the spd_hi and spd_vhi flags were introduced.
The ELF C library does know about the higher speeds and does not require
the flags to be set separately. If you compile an appliction (e.g. ppp)
with the ELF library and that application itself supports 115200, you
can forget about the setserial flags and just use the value 115200 on
the command line.
: I know I can get 115k off of my 28.8 modem but I'd like to know how
: that works. My ISP tech warned me not to do this as it has "a possiblity
: in his experience to*up the hardware in my modem". It is to his
: advantage to give me the fastest speed I can get off of my hardware to his
: system as well as correct advice. So now I'm confused.
: Comments? Al Longyear?
I would say that the tech has had some very strange experiences. I would
be amazed if anybody would design a modem which can be damaged by talking
to it at the wrong speed.
A higher speeds, there is a greater risk of overruns (basically a character
arrives at the PC before its got round to dealing with the previous one),
but whether you are affected depends on the type of UART and the device
drivers you are using (e.g. using IDE drives will commonly cause problems
with 16450s at speeds above 38400 - there are ways round this - read the
manual page for hdparm). Generally, I have no problems with overruns
running at 115200 with 16550 UARTs. Note that most of this stuff about
UARTs only applies to external modems, internal modems should have less
problems in this respect.
Remember that there is only a tiny amount of benefit to be gained by
connecting your modem to your PC at 115200 if your ISP connects to his
modems at 38400.
Dale.
--
******************************************************************************
* Dale Shuttleworth *
******************************************************************************