RocketPort Jet Driver Installation: Linux

For Linux Kernel 2.4.x through 2.6.x, the RocketPort Jet serial ports can be automatically detected and installed. The following shows how to verify that the RocketPort Jet serial ports have been configured correctly by the Linux platform.

  1. If necessary, set the DIP switches.

  2. Install the RocketPort Jet in the PC.

  3. After boot-up, log in as supervisor or use su as shown below:

    [[email protected] test]$ su
    Password
  4. Check the PCI device status. The following illustrates a RocketPort Jet 4-port installation.

    [[email protected] test]# lspci -v
     ...
    00:0d.O Serial controller: Oxford Semiconductor Ltd OX16PCI954 
    (Quad 16950 UART function 0 (prog-if 06 [16950])
    Subsystem: Oxford Semiconductor Ltd: Unknown device 000
    Flags: medium devsel, IRQ 9
    I/O ports at c400 [size=32]
    Memory at dfffc000 (32-bit, non-prefetchable) [size=4K]
    I/O ports at c000 [size=32]
    Memory at dfffb000 (32-bit, non-prefetchable) [size=4K]
    Capabilities: [40] Power Management version 2
    If output of the lspci -v shows something similar to above system 
    response, the RocketPort Jet card has been correctly detected 
    by the system.
                    
  5. Set the port for the correct clock speed by configuring the baud_base, for example:

    setserial /dev/ttyS4 baud_base 921600
    setserial /dev/ttyS5 baud_base 921600
                    
  6. To set the baud base when the system boots, place the setserial baud_base command in the following files where applicable:

    Ubuntu and Debian derivatives /etc/rc.local

    Redhat and derivatives /etc/rc.local

    SuSe /etc/init.d/boot.local

    Gentoo /etc/conf.d/local.start

  7. Verify the available serial ports that reside in the system:

    [[email protected] test]# more /proc/tty/driver/serial
    serinfo:1.0 driver revision:
    0: uart:16550A port:000003F8 irq:4 tx:0 rx:0
    1: uart:16550A port:000002F8 irq:3 tx:0 rx:0
    2: uart:16450 port:0000CC00 irq:9 tx:0 rx:0
    3: uart:16450 port:0000CC08 irq:9 tx:0 rx:0
    4: uart:16C950/954 port:0000C400 irq:9 tx:0 rx:0
    5: uart:16C950/954 port:0000C408 irq:9 tx:0 rx:0
    6: uart:16C950/954 port:0000C410 irq:9 tx:0 rx:0
    7: uart:16C950/954 port:0000C418 irq:9 tx:0 rx:0
                

The serial ports from the RocketPort Jet are now listed as UART 4-7 and are assigned as ttyS4 through ttyS7. The number may vary depending upon how many serial ports you have installed.


nice color