Linux User Manual PCI/PCIe Multi-Ports Driver Installation & Usage Ver. 2.2 SystemBase Co., Ltd. Document Information Information Content Abstract This manual describes how to install and uninstall the Linux driver for PCI/PCIe Multiport card series. V1.8, Written by Je-hwan Yoo on April 4th,2013 Version History V1.9, Written by Je-hwan Yoo on May 14th,2013 V2.0, Written by Je-hwan Yoo on Jan 15th,2014 V2.1, Written by Je-hwan Yoo on Jan 30th,2014 V2.
Contents 1. Introduction ........................................................................................................................................................................ 3 2. Supported Linux Kernel Versions ........................................................................................................................... 3 3. Required for driver installation ..................................................................................................................
1. Introduction Linux driver for PCI/PCIe Multi-port card series is provided in the form of a script, you can install the driver without other operations. 2. Supported Linux Kernel Versions Supported Kernel: From version 2.4.18 to 3.12 Tested Linux Linux distribution Kernel version Architecture Red hat 9.0 - i386 CentOS 6 - i386 Kubuntu 11.10 - i386 Ubuntu 6.06.1 2.6.15 i386/amd64 Ubuntu 6.10 2.6.17 i386/amd64 Ubuntu 7.04 2.6.20 i386/amd64 Ubuntu 9.10 2.6.31 i386/amd64 Ubuntu 10.
. Required for driver installation 1. Login as root user (Superuser). You must login as root. You can check it from the prompt as shown below. (Default: If you login without the root account, it will show $, but when you did, # is displayed.) sysbas@utu:/tmp$ root@utu:/tmp# 2. GCC (GNU C Compiler) Check if you have the GCC installed. When you type ‘gcc –v’ and the result shows “gcc: command not found”, the GCC is not installed.
3. Kernel Source Check whether the kernel source files are installed. Type ‘cd /usr/src’ and check the result. If you can't found kernel source under the directory, you must install the kernel source files before installing the driver. sysbas@utu:/tmp$ cd /user/src sysbas@utu:/src$ ls linux-headers-3.0.0-12 linux-headers-3.0.0-12-generic sysbas@utu:/tmp$ cd /user/src sysbas@utu:/src$ ls 4. Make Check whether the “make” is installed.
5. Installation 1. Please check whether the power is off from your PC. 2. Install a PCI/PCIe Multi-port card in the PCI/PCIe slot of the PC. 3. If you have any external cables for each port, please connect the cables to the card. 4. Turn on the PC. 5. After the Linux boots, login with the administrator ID as root. 6. Run the device driver file named “eh_async_mpdrv.v19.sh”. The device driver file is an executable file. You could just type the name in shell followed by “./”.
. Testing #cd async_multiport #./sb_test [Port Name] [Baudrate] [TestMode] If you want to know how to use the sb_test, you just type the name without any argument. And then you can see the method of the usage. root@utu:/tmp/eh_async_mpdrv.v19/async_multiport# ./sb_test Usage: ./sb_test [Port Name] [Baudrate] [TestMode] Port Name : /dev/ttyMP0 ~ /dev/ttyMP32 Baudrate : 9600, 19200, ... TestMode : 0(Loopback) 1(Send) 2(Recv) root@utu:/tmp/eh_async_mpdrv.v17/async_multiport# Usage: .