========================================================================================== = = = SUNIX Matrix Series Board Driver Installation Guide = = = = For Kernel 2.4.x = = = = Version: 1.01 = = Date: 2007/08/15 = ========================================================================================== Item A. Release note B. Introduction C. Distributions test D. Installation D.1 Driver install D.2 Device node creation E. Loading driver automatic after system bootup E.1 RedHat 7.2 RedHat 8 RedHat 9 Fedora Core 1 Mandrake 9.0 E.2 Suse 9.0 F. Utility F.1 smxdump F.2 snxlink F.3 snxterm ========================================================================================== A. Release note Support kernel 2.4.x on x86 machine only. Distributions test please refer to item C. Before install driver. Make sure system with c compiler and kernel development package. 2007/08/15 - Ver:1.01 1) Support RedHat 7.2 (kernel 2.4.7) 2) Add driver version information in smxdump 3) snxterm update to V1.01, make snxterm simply ------------------------------------------------------------------------------------------ B. Introduction Maximum 4 boards can be installed in combination, support matrix series boards as list below. 2 port - IPC-P1002 IPC-P2002 IPC-P3002 IPC-E1002 IPC-E2002 4 port - IPC-P1004 IPC-P2004 IPC-P3004 IPC-E1004 IPC-E2004 8 port - IPC-P1008 IPC-P2008 IPC-P3008 IPC-E1008 IPC-E2008 ------------------------------------------------------------------------------------------ C. Distributions test Driver tested with distributions as list. RedHat 7.2 RedHat 8 RedHat 9 Fedora Core 1 Suse 9.0 Mandrake 9.0 ------------------------------------------------------------------------------------------ D. Installation D.1 Driver install Please create a directory under root directory, e.g /temp, do commands: # cd / # mkdir temp After get driver file "matrix_2.4_Vx.xx.tgz". Copy file to /temp directory, then extract and install, do commands: # cp matrix_2.4_Vx.xx.tgz /temp # cd /temp # tar xvfz matrix_2.4_Vx.xx.tgz # cd /temp/matrix_2.4 # make clean ; make install *********************************************************** * If system is Suse 9.0 and errors occur when * * "make install", do commands: * * * * # cd /usr/src/linux/ * * # make cloneconfig * * # make dep * * * * then do "make install" again in /temp/matrix_2.4 * *********************************************************** Load driver module, do command: # modprobe snx_matrix or # insmod /temp/matrix_2.4/driver/snx_matrix.o Check driver module, do command: # lsmod | grep snx_matrix Unload driver, do command: # rmmod snx_matrix D.2 Device node creation Each serial port has two device nodes. One is dail-in port which is named "ttySMX?", the other is call-out port which is named "cmx?". This will be done when "make install" or do commands: # cd /temp/matrix_2.4/smxmknod # ./smxmknod This will create device nodes in /dev. If there are more than two boards installed, device nameing convention as list below. Board Number Dail in port Callout port 1st board ttySMX0 ~ ttySMX7 cmx0 ~ cmx7 2nd board ttySMX8 ~ ttySMX15 cmx8 ~ cmx15 3rd board ttySMX16 ~ ttySMX23 cmx16 ~ cmx23 4th board ttySMX24 ~ ttySMX31 cmx24 ~ cmx31 ------------------------------------------------------------------------------------------ E. Loading driver automatic after system bootup E.1 RedHat 7.2 RedHat 8 RedHat 9 Fedora Core 1 Mandrake 9.0 After finish item C. Update /etc/rc.d/rc.local for loading driver automatic after system bootup. Use vi or other editor to open rc.local, and add "modprobe snx_matrix" in last line. E.2 Suse 9.0 After finish item C. Update /etc/rc.d/boot.local for loading driver automatic after system bootup. Use vi or other editor to open boot.local, and add "modprobe snx_matrix" in last line. Update /etc/rc.d/halt.local for unloading driver when system halt. Use vi or other editor to open halt.local, and add "rmmod snx_matrix" in last line. ------------------------------------------------------------------------------------------ F. Utility F1. smxdump - dump port informations, do command: # smxdump the informations should be like this ================ Found 2 MATRIX port, list informations ==================== Driver Ver -- 1.01 ttySMX0 -- MATRIX 1002 Series (bus:2 device: 1) , base address = 9000, irq = 5 ttySMX1 -- MATRIX 1002 Series (bus:2 device: 1) , base address = 9008, irq = 5 ============================================================================= In this case, Driver version is 1.01 ttySMX0 is the first port on matrix 1002 series board, base address is 0x9000 and irq is 5. ttySMX1 is the second port on matrix 1002 series board, base address is 0x9008 and irq is 5. bus:2 means the bus number of board is 2. device:1 means the device number of board is 1. If no information print on screen. Make sure the device node exist in /dev and driver module loaded. F2. snxlink - build softlink for device node, do command: # snxlink commands are: ? help (this text) B build soft link in /dev (for example, B ttySNX0 ttyS4) A backup device node in /dev (for example, A ttyS4) R remove device node in /dev (for example, R ttyS4) Q program end Please enter command (? for help): command B: build soft link in /dev, for example b ttySNX0 ttyS4 ttySNX0 is source device node file ttyS4 is softlink that want to build command A: backup device node in /dev, for example a ttyS4 /dev/ttyS4 will rename to /dev/ttyS4.bak command R: remove device node in /dev, for example r ttyS4 delete /dev/ttyS4 F3. snxterm - dumb terminal for test tty device node data transmitting and receiving , do command: # snxterm ------------------------------------------------------------------------------------------Download Driver Pack
After your driver has been downloaded, follow these simple steps to install it.
Expand the archive file (if the download file is in zip or rar format).
If the expanded file has an .exe extension, double click it and follow the installation instructions.
Otherwise, open Device Manager by right-clicking the Start menu and selecting Device Manager.
Find the device and model you want to update in the device list.
Double-click on it to open the Properties dialog box.
From the Properties dialog box, select the Driver tab.
Click the Update Driver button, then follow the instructions.
Very important: You must reboot your system to ensure that any driver updates have taken effect.
For more help, visit our Driver Support section for step-by-step videos on how to install drivers for every file type.