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

Re: Problen setting modem port speed.


I found the cause of this problem in the kernel file zs.c in
drivers/sbus/char in the function change_speed.  The unsigned
short local variable port is used to hold the serial port address
and this variable is checked against 0. On my SS670, serial port
ttyS1 is at address 0xffee0000 which caused the problem. Changing
the port address test to use the value stored in info->port fixes the

Now that I think about it, my problem started when I moved the
modem from ttyS0 to ttyS1 so I could use a terminal on tty A to
view the diagnostics output.

Robert Reif wrote:

> Hi,
> I'm having a problem getting a modem connection speed other than
> 9600.  I hacked pppd to print out the termios speeds and they are being
> set properly.  I also hacked chat to print out the connection speed and
> it is always 9600 regardless of the speed set in the file in
> /etc/ppp/peers.
> I double check the connection speed with ping which always gives the
> same results.
> I have tried different modems and different firmware loads with the same
> result.  The modems work fine on NT.  Both modems used to work with
> 2.1 and with woody up to about two months ago.  I'm currently using a
> standard 2.2 off a cd.
> I could go back to 2.1 or I could borrow an rs232 analyzer and keep
> hacking
> at the source but I thought I would check if anyone has any suggestions
> before
> I dig into it further.
> Thanks,
> Bob.
> --
> To UNSUBSCRIBE, email to debian-sparc-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org

Reply to: