Re: Oxford Semiconductor's OXCB950 in 8250_pci.c

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

 



On Wed, 10 May 2006 20:20:49 +0100
Russell King <rmk@xxxxxxxxxxxxxxxx> wrote:

> > > This should probably be pbn_b0_1_115200?
> > 
> > The reason was (from the discussion mentioned):
> > > pbn_b0_bt_1_115200 has been used instead
> > > of pbn_b0_1_115200, because the latter is identical to
> > > pbn_default, and the effect should be the same since
> > > OXCB950 is single-port. 
> > 
> > Seems it is not the problem here (as card partially works). Or should I
> > try changing it?
> 
> The reason given there is no longer valid, and is just a preference.
Changed.
 
> What happens if you:
> 
> 1. setserial /dev/ttyS4 spd_cust divisor 104
> 2. set the baud rate to 38400 baud
I got 9600!

> If what I think has happened is correct, 104 should approximate 9600 baud,
> 52 should approximate 19200 baud, 26 should be 38400 baud, and 17 should
> approximate 57600 baud.
Yes, all this is correct, 'CONNECT...' string is the same as in MS Win.
Thanks!

What should be done to avoid such tricks in userspace and how to get
full 'divisor <-> result rate' list?

> It would be helpful if you could confirm that the modem does report the
> real DTE data rate under Windows.
Results:
 'Port set to'  'Modem Reports on connect (first is DTE rate)'
  300            CONNECT 230400/V34/LAPM/V42B/TX=28800/RX=31200
  1200           CONNECT 230400/V34/LAPM/V42B/TX=28800/RX=31200
  2400           CONNECT 230400/V34/LAPM/V42B/TX=28800/RX=31200
  4800           CONNECT 4800/V34/LAPM/V42B/TX=4800/RX=4800
  9600           CONNECT 9600/V34/LAPM/V42B/TX=9600/RX=9600
  19200          CONNECT 19200/V34/LAPM/V42B/TX=19200/RX=19200
  38400          CONNECT 38400/V34/LAPM/V42B/TX=28800/RX=31200
  57600          CONNECT 57600/V34/LAPM/V42B/TX=28800/RX=31200
  115200         CONNECT 115200/V34/LAPM/V42B/TX=28800/RX=31200
It seems to be real from 4800 to 115200 (with the same serial card).
On speeds lower than 4800 it looks odd as I can not talk to modem on
such speed.


-- 
Mikhail Kolesnik
ICQ: 260259143
IRC: mike_k at freenode/#crux, rusnet/#yalta
Jabber: mike_k@xxxxxxxxxxxxxxxx
NIC handle: MKK83-UANIC
-
To unsubscribe from this list: send the line "unsubscribe linux-serial" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux PPP]     [Linux FS]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Linmodem]     [Device Mapper]     [Linux Kernel for ARM]

  Powered by Linux