==================================================================== Copyright (C) VIA Technologies, Inc. and S3G Technologies, Inc. 2002 VIA/S3G CLE266 Installation Notes for Linux XFree86 ==================================================================== Installation: ============= 1.How to Install Linux Driver 1.1 Configure your hardware device when intalling Linux 1.1.1 Video Configureation Please choose another video card, for example "S3 Savgae4 (generic)" because CLE graphic chip is not on the support list. We will modify this configuration in step 3 for CLE graphic chip after the installation. If you choose to "Skip X Configuration", you could configure X after the installation following step 1.2. 1.1.2 Monitor Configuration The installation program will attempt to detect your monitor to determine your machine's best display setting. You may also enter the horizontal and vertical synchonization ranges for your monitor. These value can be found in the documentation for your display. 1.1.3 Custom X Configuration Please choose your login type as "text" because we need post configuration after the installation. 1.2 Configure your hardware device after intalling Linux If you choose to "Skip X Configuration" when install Linux. Please do following step.. 1.2.1 Login as root 1.2.2 Check is there a link point to /usr/X11R6/bin/XFree86 # cd /etc/X11 # ls -l X If there is no link named "X", then do following.. # ln -s /usr/X11R6/bin/XFree86 X Note: If you skip the step of X setup when install Linux, there will be no link named "X" in /etc/X11. 1.2.3 Run "xf86config" to configure your keyboard, mouse and monitor # xf86config The configuration program will create the file "XF86Conifg" in the /etc/X11 directory. If there is the file named "XF86Config-4", please remove or rename it. 1.3 Install driver a. Uncompress this file # tar zxvf CLEXF4000x.tgz(x is version number) b. Installation # ./vinstall c. Select what kind of CPU you used Uninstallation: =============== 2.How to Uninstall Linux Driver a. Uncompress this file # tar zxvf CLEXF4000x.tgz(x is version number) b. Uninstallation # ./vuninstall Configuration: ============== 3.How to Configure XFree86 3.1 login as root 3.2 Edit /etc/X11/XF86Confit-4 or XF86Config 3.1 Set driver In the Section "Device", make sure the driver is "via". Driver "via" for example, if you choose "S3 Savge4 (generic)", please rename Driver "savage" to Driver "via" 3.2 Add user define resolution In the Section "Monitor", add following setting before "EndSection" #Refresh Rate 60Hz ModeLine "720x480" 26.7 720 736 808 896 480 481 484 497 ModeLine "720x576" 32.7 720 744 816 912 576 577 580 597 ModeLine "848x480" 31.5 848 864 952 1056 480 481 484 497 ModeLine "856x480" 31.7 856 872 960 1064 480 481 484 497 ModeLine "1024x512" 41.3 1024 1056 1160 1296 512 513 516 531 ModeLine "1280x768" 80.1 1280 1344 1480 1680 768 769 772 795 ModeLine "1440x1050" 126.2 1440 1536 1688 1936 1050 1051 1054 1087 #Refresh Rate 75Hz ModeLine "720x480" 34.9 720 752 824 928 480 481 484 502 ModeLine "720x576" 42.6 720 760 832 944 576 577 580 602 ModeLine "848x480" 41.0 848 880 968 1088 480 481 484 502 ModeLine "856x480" 41.3 856 888 976 1096 480 481 484 502 ModeLine "1024x512" 53.3 1024 1072 1176 1328 512 513 516 535 ModeLine "1280x768" 103.0 1280 1360 1496 1712 768 769 772 802 ModeLine "1440x1050" 160.0 1440 1536 1696 1952 1050 1051 1054 1096 #Refresh Rate 85Hz ModeLine "1280x768" 118.5 1280 1368 1504 1728 768 769 772 807 ModeLine "1440x1050" 184.5 1440 1544 1704 1968 1050 1051 1054 1103 ModeLine "848x480" 47.4 848 888 976 1104 480 481 484 505 3.2 Change the Resolution & BPP 3.2.1 Change BPP In the Section "Screen", DefaultDepth xx Note: xx can be 8, 16, 24, 32 3.2.2. Change Resolution In the Subsection "Display" Section "Screen", For example, change to the resolution 800x600 of 32bpp Subsection "Display" Depth 24 Modes "800x600" EndSubSection The supported resolution: "640x480" "720x480" "720x576" "800x600" "848x480" "856x480" "1024x512" "1024x768" "1152x864" "1280x768" "1280x960" "1280x1024" "1400x1050" "1600x1200" 3.3 LCD Simultaneous 3.3.1 LCD simultaneous "Center" mode Please add following setting in the Section "Device" Option "Center" 3.3.2 LCD simultaneous "Expand" mode Please add following setting in the Section "Device" #Option "Center" 3.3.3 Turn off LCD The driver will auto detect the DVI connector is attached or not. If the DVI is attached but you would like to turn off LCD, please add following setting in the Section "Device" Option "DVIOff" 3.3.3 Turn on LCD manually The driver will auto detect the DVI connector is attached or not. If the DVI is attached but you would like to turn on LCD manully, please add following setting in the Section "Device" Option "DVIOn" Option "PanelSize" "1280x1024"(or "640x480" "800x600", "1024x768") 3.3.4 Supported Panel Size & Mode a. Panel Size - 640x480 mode: 640x480 - support LCD simultaneous "Expand" and "Center" mode 800x600 - support LCD simultaneous 720x480, 720x576, 800x600, 848x480, 856x480, 1024x768, 1152x864, 1280x768, 1280x960, 1280x1024, 1400x1050, 1600x1200 - support LCD simultaneous virtual desktop mode a. Panel Size - 800x600 mode: 640x480 - support LCD simultaneous "Expand" and "Center" mode 800x600 - support LCD simultaneous 1024x768, 1152x864, 1280x768, 1280x960, 1280x1024, 1400x1050, 1600x1200 - support LCD simultaneous virtual desktop mode b. Panel Size - 1024x768 mode: 640x480, 800x600 - support LCD simultaneous "Expand" and "Center" mode 1024x768 - support LCD simultaneous 1152x864, 1280x768, 1280x960, 1280x1024, 1400x1050, 1600x1200 - support LCD simultaneous virtual desktop mode c. Panel Size - 1280x1024 mode: 1280x768, 1280x960 - not support LCD simultaneous 640x480, 800x600, 1024x768, 1152x864, 1280x768, 1280x960 - support LCD simultaneous "Expand" and "Center" mode 1280x1024 - support LCD simultaneous 1400x1050, 1600x1200 - support LCD simultaneous virtual desktop mode 3.4 TV Simultaneous 3.4.1 Select TV Type You can use following setting in the Section "Device" to select "NTSC" or "PAL" Option "TVType" "NTSC" (or "PAL") If you don't set this option in the Section "Device", the driver will use the BIOS setting of TV_type of "Advanced Chipset Features" 3.4.2 Select TV Output Signal The driver will auto detect the TV output signal is "Composit" or "S-Video". You can also use following setting in the Section "Device" to select "Composite", or "S-Video" Option "TVOutput" "Composite" (or "S-Video") If you would like to use "RGB" or "YCbCr" as your TV output signal, Please use following setting in the Section "Device" to select "RGB", or "YCbCr". These output signals are only VT1622. Option "TVOn" Option "TVOutput" "RGB" (or "YCbCr") 3.4.3 Turn off TV The driver will auto detect the TV connector is attached or not. If the TV is attached but you would like to turn off TV, please add following setting in the Section "Device" Option "TVOff" 3.4.4 Vertical Scan a. For TV Encoder - VT1621 The driver support two kinds of TV vertical scan - under & over. You can use following setting in the Section "Device" to select. Option "TVVScan" "over" (or "under") If you don't set this option, the default value is "under". b. For TV Encoder - VT1622 The driver support three kinds of TV vertical scan - under, over. You can use following setting in the Section "Device" to select. Option "TVVScan" "under" (or "over") If you don't set this option, the default value is "under". 3.4.5 Enable DotCrawl You can use following setting in the Section "Device" to enable "DotCrawl". Option "TVDotCrawl" 3.4.6 Supported TV Encoder & Mode a. TV Encoder - VT1621 mode: 640x480, 800x600 - support TV simultaneous others - support TV simultaneous virtual desktop mode b. TV Encoder - VT1622 mode: 640x480, 800x600, 848x480, 1024x768 ,720x480(NTSC Only), 720x576(PAL Only)- support TV simultaneous others - support TV simultaneous virtual desktop mode