README.windows.txt Driver File Contents (PCI-COM232-2.exe)

==========================================================================================
=                                                                                        =
=                   Golden Series Board Driver Installation Guide                        =
=                                                                                        =
=                                 For Kernel 2.4.x                                       =
=                                                                                        =
=                                                               Version: 1.06            =
=                                                               Date: 2007/03/31         =
==========================================================================================

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 boot
   E.1 RedHat 8	
   E.2 RedHat 9
   E.3 Fedora Core 1 
   E.4 Suse 9.0
   E.5 Mandrake 9.0
	
F. Utility
   F.1 snxdump
   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.


	2006/07/11 - Ver:1.02
		1) Add snxterm program into driver package.
		2) Fix read fcr register in driver and backup a fcr register value in struct.

  	2006/10/02 - Ver:1.03
		1) Add GNU information in driver.
		2) Support 4027D, 4037D and 4056D.

	2006/10/12 - Ver:1.04
		1) Fix system hanged. Modem interrupt can't be cleared by reading iir and msr
		   register for SUN1699 chip.

	2006/12/01 - Ver:1.05
		1) Fix system hanged. Data coming but device node didn't opened, when open, system
		   maybe crash.
		2) Add version information in /var/log/messages.

	2007/03/31 - Ver:1.06
		1) Fix data receiving function.
		2) Modify ioctl function for dump port informations.

------------------------------------------------------------------------------------------

B. Introduction

	Maximum 4 boards can be installed in combination, support golden series boards as 
	list below.

	1 port -
		4027T
		4027A
    		4027D
		4027P


	2 port -
		4037T
		4037A
		4037AL
		4037D
		4037U
		4037P
		4036A3V

		8139
		8139S
		8139SI


	4 port -
		4056A
		4056AL
    		4056D
		4056J
		4056U
		4056UE
		4056P
		4055WN
		4056WN
		4056DW

		8159
		8159S
		8159SI


	8 port -
		4066A
		4066R
		4066J
		4066U
		4066UE

		8169
		8169S
		8169SI

------------------------------------------------------------------------------------------

C. Distributions test

	Driver tested with distributions as list.

	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 "golden_2.4_Vx.xx.tgz". Copy file to /temp
		directory, then extract and install, do commands:

		# cp golden_2.4_Vx.xx.tgz /temp 
		# cd /temp
		# tar xvfz golden_2.4_Vx.xx.tgz
		# cd /temp/golden_2.4
		# make clean ; make install

		***********************************************************
		* If system is Suse 9.0  and errors occur when            *
		* doing "make install", do commands:                      *
		*                                                         *
		* # cd /usr/src/linux/                                    *
		* # make cloneconfig                                      *
		* # make dep                                              * 
		*                                                         *
		* then do make install again in /temp/golden_2.4          *
		***********************************************************

		Load driver module, do command:

		# modprobe snx_golden
		or
		# insmod /temp/golden_2.4/driver/snx_golden.o


		Check driver module, do command:
		# lsmod | grep snx_golden


		Unload driver, do command:
		# rmmod snx_golden


	D.2 Device node creation 
		Each serial port has two device nodes. One is dail in
		port which is named "ttySNX?", the other is call out
		port which is named "cnx?". Do commands:
		
		# cd /temp/golden_2.4/snxmknod
		# ./snxmknod

		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       ttySNX0  ~ ttySNX7       cnx0  ~ cnx7
		2nd board       ttySNX8  ~ ttySNX15      cnx8  ~ cnx15
		3rd board       ttySNX16 ~ ttySNX23      cnx16 ~ cnx23
		4th board       ttySNX24 ~ ttySNX31      cnx24 ~ cnx31

------------------------------------------------------------------------------------------

E. Loading driver automatic after system boot
	
	E.1 RedHat 8
		After finish item C. Modify /etc/rc.d/rc.local for loading driver
		on system boot. Use vi or other editor to open rc.local, and add
	  	"modprobe snx_golden" in last line.

	E.2 RedHat 9
		After finish item C. Modify /etc/rc.d/rc.local for loading driver
		on system boot. Use vi or other editor to open rc.local, and add
	  	"modprobe snx_golden" in last line.

	E.3 Fedora Core 1
		After finish item C. Modify /etc/rc.d/rc.local for loading driver
		on system boot. Use vi or other editor to open rc.local, and add
	  	"modprobe snx_golden" in last line.

	E.4 Suse 9.0
		After finish item C.
		Modify /etc/rc.d/boot.local for loading driver on system boot. Use vi or other
		editor to open boot.local, and add "modprobe snx_golden" in last line.
		Modify /etc/rc.d/halt.local for unloading driver on system halt. Use vi or other
		editor to open halt.local, and add "rmmod snx_golden" in last line.

	E.5 Mandrake 9.0
		After finish item C. Modify /etc/rc.d/rc.local for loading driver
		on system boot. Use vi or other editor to open rc.local, and add
	  	"modprobe snx_golden" in last line.

------------------------------------------------------------------------------------------

F. Utility

	F1. snxdump - dump port informations, do command:

		# snxdump

		the informations should be like this

		================ Found  2 GOLDEN port, list informations ====================
		ttySNX0 --
		GOLDEN 4037 Series (bus:2 device: 2) , base address = b800, irq =  7

		ttySNX1 --
		GOLDEN 4037 Series (bus:2 device: 2) , base address = b808, irq =  7

		=============================================================================


		In this case, means ttySNX0 is the first port on golden 4037
	  	series board, base address is 0xb800 and irq is 7.

		bus:2 means the bus number of board is 2.
		device:2 means the device number of board is 2.


		If no information print on screen. Make sure the device node
		exist in /dev and driver module loaded.



	F2. snxlink - build softlink for ttySNX 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:

		
		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

How To Update Drivers Manually

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.

server: web3, load: 2.01