

Configuration instructions:
-----------------------------

RS232 RS422 RS485 change:
---------------------------
1.Modified the default setting in mos7840.h

  ex: MCS7840 port1 and port2 is RS232, port3 is RS422, port4 is RS485
	//RS_MODE 0:RS232 1:RS422 2:RS485
	#define RS_MODE_DEFAULT_PORT1 0
	#define RS_MODE_DEFAULT_PORT2 0
	#define RS_MODE_DEFAULT_PORT3 1
	#define RS_MODE_DEFAULT_PORT4 2
	
  Re-compile driver and install
	
2.Auto-switch:

  Auto-switch is a transceiver switch method by I2C.
	1. Enable the define of auto-switch in mos7840.h
		#define AUTO_SWITCH
	2. Re-compile driver and install
	3. Execute ./ioctl to switch transceiver

Modem:
--------
(i)Steps to configure modem in FC2 and FC4

	In KPPP configuration select the device as /dev/usb/ttyUSB0.

(ii)Steps to configure modem in FC3

	rm /dev/modem
	ln -sf /dev/ttyUSB0  /dev/modem

	Now /dev/modem can be selected for  KPPP configuration.

(iii)Steps to configure modem from FC5 to FC11
	
	
	In KPPP configuration select the device as /dev/ttyUSB0.

Browsing net:
---------------
	i.Deactivate the eth0 or any other network device.
	ii.Open the net browser,select proxy as direct connection to Internet.   
  	
Serial mouse configuration:
------------------------------
	1.For this we need to edit /etc/X11/xorg.conf file and add serial mouse.

	(i).Add the fallowing Line
		InputDevice    "Mos7840Mouse0" "SendCoreEvents"

	(ii)Also add the fallowing section

		Section "InputDevice"
	        Identifier  "Mos7840Mouse0"
		        Driver      "mouse"
		        Option      "SendCoreEvents" "true"
		        Option      "Protocol" "auto"
		        Option      "Device" "/dev/ttyUSB0"
		        Option      "ZAxisMapping" "4 5"
		        Option      "Emulate3Buttons" "yes"
		EndSection

	2.One can refer to the xrog.conf_example for editing
	3.After editing we have to restart the Xserver.

Restarting Xserver:
----------------------
	i. in FCX, alt+ctrl+Backspace should work.
	ii. in FC4 with our observation, we have to enter in INIT3, 
		Do "service xfs restart" and then "startx".
Note:In FCX- X represents 1 to 11 except 4.

