LinuxSir.cn,穿越时空的Linuxsir!

 找回密码
 注册
搜索
热搜: shell linux mysql
查看: 1278|回复: 10

找到一个可能是s3显卡的驱动,大家研究一下。

[复制链接]
发表于 2006-9-26 23:18:41 | 显示全部楼层 |阅读模式
http://www.deltachrome.com/modul ... viewtopic&t=322
我是菜鸟没成功。烦请高手试一下。
发表于 2006-9-27 00:01:11 | 显示全部楼层
是不是VIA/S3G的 ?
回复 支持 反对

使用道具 举报

发表于 2006-9-27 00:02:11 | 显示全部楼层
看过了,又是一个驱动的源代码.需要编译的,我不怎么会使呢。
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-9-27 06:31:57 | 显示全部楼层
Post by MRJQ113
看过了,又是一个驱动的源代码.需要编译的,我不怎么会使呢。

我用s3显卡,s8ce.我和这个公司联络多次有关linux 驱动,不采你.
我不会编译,按说明书试了一下未果,有谁会,看一下说明书试一下.
s3显卡是块好卡,就是没有linux驱动.
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-9-27 06:42:30 | 显示全部楼层
VIA S3 UniChrome Linux Display Driver
                 Source Code Compiling Instructions
                         June 29, 2006
           Copyright (C) 2002-2006 VIA Technologies, INC.

1. Summary
   This document describes how to compile the VIA DeltaChrome family Linux display
   driver source code on Fedora Core Linux 4, Mandriva Linux 2006.0 and SuSE Linux 10.0.
   This software package supports 2D and TV-Out. The information and the source code files are
   provided "AS IS" without guarantee of any kind.

2. Set up environment
   (1) Xorg source code:
       Fedora Core Linux 4.0: xorg-x11-6.8.2-31.src.rpm
       Mandriva Linux 2006.0: xorg-x11-6.9-1.cvs20050915.2mdk.src.rpm
       SuSE Linux 10.0: xorg-x11-6.8.2-100.src.rpm
   (2) VIA UniChrome family display driver version: 4.0.0069.
       The driver source code comprises files in three directories as described below:
       via (C header files, and XServer source files)
       Utility (VIA/S3G TV display utility)
       Note: After installing OS, using command "rpm -qa | grep gcc" to verify
       the following packages have been installed on the system.
       Fedora Core Linux 4.0 dependency packages:
              bash-3.0-31
              bison-2.0-6
              cpp-4.0.0-8
              expat-1.95.8-6
              flex-2.5.4a-34
              fontconfig-devel-2.2.3-13
              freetype-devel-2.1.9-2
              gcc-4.0.0-8
              glibc-devel-2.3.5-10
              kernel-2.6.11-1.1369_FC4.src.rpm
              libstdc++4.0.0-8
              libpng-devel-1.2.8-2
              ncurses-devel-5.4-17
              pam-devel-0.79-8
              rpm-4.4.1-21
              rpm-build-4.4.1-21
              xorg-x11-devel-6.8.2-31
              xorg-x11-libs-6.8.2-31
              zlib-devel-1.2.2.2-3
       Mandriva Linux 2006.0 dependency packages:
              bash-3.0-6mdk
              bison-2.0-3mdk
              flex-2.5.4a-22mdk
              fontconfig-devel-2.3.2-5mdk
              freetype-devel-1.2.1-23mdk
              gcc-4.0.1-5mdk
              gcc-cpp-4.0.1-5mdk
              glibc-devel-2.3.5-5mdk
              kernel-source-2.6-2.6.12-12mdk.src.rpm
              libexpat0-devel-1.95.8-1mdk
              libstdc++6-4.0.1-5mdk
              libpng3-devel-1.2.8-1mdk
              ncurses-5.4-1.20050108.1mdk
              pam-devel-0.77-31mdk
              rpm-4.4.2-4mdk
              rpm-build-4.4.2-4mdk
              xorg-x11-devel-6.9-1.cvs20050915.2mdk
              xorg-x11-libs-6.9-1.cvs20050915.2mdk
              zlib1-devel-1.2.3-1mdk
       SuSE Linux 10.0 dependency packages:
              bash-3.0-17
              bison-1.875-56
              cpp-4.0.2_20050901-3
              expat-1.95.8-5
              flex-2.5.4a-297
              fontconfig-devel-2.3.2.20050721-10
              freetype-devel-2.1.10-4
              gcc-4.0.2_20050901-3
              glibc-devel-2.3.5-40
              kernel-source-2.6.13-15.src.rpm
              libstdc++4.0.2_20050901-3
              libpng-devel-1.2.8-5
              ncurses-devel-5.4-71
              pam-0.80-6
              rpm-4.1.1-222
              xorg-x11-devel-6.8.2-100
              xorg-x11-libs-6.8.2-100
              zlib-devel-1.2.3-3

3. Install & compile Xorg source. Run the following commands. This sample is
   in Fedora Core Linux 4.
       # rpm -ivh xorg-x11-6.8.2-31.src.rpm
       # cd /usr/src/redhat/SPECS   
       # rpmbuild -bc xorg-x11.spec
       # cd /usr/src/redhat/BUILD/xorg-x11-6.8.2/
       # mv xc/ /usr/src/
   Note: Depending on your system used, it may take 1 or 2 hours to finish.
4. Prepare kernel source for VIA display driver or rebuild kernel
       # rpm -ivh kernel-2.6.11-1.1369_FC4.src.rpm
       # cd /usr/src/redhat/SPECS/
       # rpmbuild -bp kernel-2.6.spec --target=i686
       # mv /usr/src/redhat/BUILD/kernel-2.6.11/linux-2.6.11 /usr/src/
       # ln -sf /usr/src/linux-2.6.11 /usr/src/linux
   Note: Depending on your system used, it may take 5 or 10 minutes to finish.
5. Create a ".config" file to kernel source "/usr/src/linux" from "/boot" folder
       # cp /boot/config-2.6.11-1.1369_FC4  /usr/src/linux/.config
       # vi /usr/src/linux/Makefile (make sure the "EXTRAVERSION" value in Makefile is the same as
         OS kernel version "#uname -r")
       # make (use "Ctrl + C" to stop building kernel source by this command after two minutes
         in /usr/src/linux folder)
6. Use a script to make K8M890XF40069 driver and select "69" version and CPU type to build.
   The driver binary will be created
   in /K8M890XF40069 folder
       # tar zxvf K8M890XF40069-kernel-src_[date].tgz
       # cd K8M890XF40069-kernel-src_[date]/src
       # ./makedriver
       # ldconfig
7. Confirm the existence of "via_drv.o" and "Utility". Use a script "vinstall"
   to setup 2D driver and VIA/S3G TV display utility.
       # ./vinstall336 (or ./vuninstall336 to uninstall)
   Edit the xorg log "/var/log/Xorg.0.log" to check whether the via driver is successfully loaded.
   If users see the "via" module and the "4.1.69" version then the via 2D driver
   is successfully loaded.
回复 支持 反对

使用道具 举报

发表于 2006-9-27 06:58:31 | 显示全部楼层
需要自己编译,说明已经极其详尽了。怎么能说“没有 Linux 驱动”呢?
回复 支持 反对

使用道具 举报

发表于 2006-9-28 00:16:54 | 显示全部楼层
Post by wildfire
需要自己编译,说明已经极其详尽了。怎么能说“没有 Linux 驱动”呢?

没有FC5的。.郁闷。哪位兄弟提供下FC5的ReadME?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-10-3 06:22:07 | 显示全部楼层
这也叫驱动?
回复 支持 反对

使用道具 举报

 楼主| 发表于 2006-10-6 22:10:01 | 显示全部楼层
VIA S3 UniChrome Linux Display Driver

                 Source Code Compiling Instructions

                         June 29, 2006

           Copyright (C) 2002-2006 VIA Technologies, INC.



1. Summary

   This document describes how to compile the VIA DeltaChrome family Linux display

   driver source code on Fedora Core Linux 4, Mandriva Linux 2006.0 and SuSE Linux 10.0.

   This software package supports 2D and TV-Out. The information and the source code files are

   provided "AS IS" without guarantee of any kind.



2. Set up environment

   (1) Xorg source code:

       Fedora Core Linux 4.0: xorg-x11-6.8.2-31.src.rpm

       Mandriva Linux 2006.0: xorg-x11-6.9-1.cvs20050915.2mdk.src.rpm

       SuSE Linux 10.0: xorg-x11-6.8.2-100.src.rpm

   (2) VIA UniChrome family display driver version: 4.0.0069.

       The driver source code comprises files in three directories as described below:

       via (C header files, and XServer source files)

       Utility (VIA/S3G TV display utility)

       Note: After installing OS, using command "rpm -qa | grep gcc" to verify

       the following packages have been installed on the system.

       Fedora Core Linux 4.0 dependency packages:

              bash-3.0-31

              bison-2.0-6

              cpp-4.0.0-8

              expat-1.95.8-6

              flex-2.5.4a-34

              fontconfig-devel-2.2.3-13

              freetype-devel-2.1.9-2

              gcc-4.0.0-8

              glibc-devel-2.3.5-10

              kernel-2.6.11-1.1369_FC4.src.rpm

              libstdc++4.0.0-8

              libpng-devel-1.2.8-2

              ncurses-devel-5.4-17

              pam-devel-0.79-8

              rpm-4.4.1-21

              rpm-build-4.4.1-21

              xorg-x11-devel-6.8.2-31

              xorg-x11-libs-6.8.2-31

              zlib-devel-1.2.2.2-3

       Mandriva Linux 2006.0 dependency packages:

              bash-3.0-6mdk

              bison-2.0-3mdk

              flex-2.5.4a-22mdk

              fontconfig-devel-2.3.2-5mdk

              freetype-devel-1.2.1-23mdk

              gcc-4.0.1-5mdk

              gcc-cpp-4.0.1-5mdk

              glibc-devel-2.3.5-5mdk

              kernel-source-2.6-2.6.12-12mdk.src.rpm

              libexpat0-devel-1.95.8-1mdk

              libstdc++6-4.0.1-5mdk

              libpng3-devel-1.2.8-1mdk

              ncurses-5.4-1.20050108.1mdk

              pam-devel-0.77-31mdk

              rpm-4.4.2-4mdk

              rpm-build-4.4.2-4mdk

              xorg-x11-devel-6.9-1.cvs20050915.2mdk

              xorg-x11-libs-6.9-1.cvs20050915.2mdk

              zlib1-devel-1.2.3-1mdk

       SuSE Linux 10.0 dependency packages:

              bash-3.0-17

              bison-1.875-56

              cpp-4.0.2_20050901-3

              expat-1.95.8-5

              flex-2.5.4a-297

              fontconfig-devel-2.3.2.20050721-10

              freetype-devel-2.1.10-4

              gcc-4.0.2_20050901-3

              glibc-devel-2.3.5-40

              kernel-source-2.6.13-15.src.rpm

              libstdc++4.0.2_20050901-3

              libpng-devel-1.2.8-5

              ncurses-devel-5.4-71

              pam-0.80-6

              rpm-4.1.1-222

              xorg-x11-devel-6.8.2-100

              xorg-x11-libs-6.8.2-100

              zlib-devel-1.2.3-3



3. Install & compile Xorg source. Run the following commands. This sample is

   in Fedora Core Linux 4.

       # rpm -ivh xorg-x11-6.8.2-31.src.rpm

       # cd /usr/src/redhat/SPECS   

       # rpmbuild -bc xorg-x11.spec

       # cd /usr/src/redhat/BUILD/xorg-x11-6.8.2/

       # mv xc/ /usr/src/

   Note: Depending on your system used, it may take 1 or 2 hours to finish.

4. Prepare kernel source for VIA display driver or rebuild kernel

       # rpm -ivh kernel-2.6.11-1.1369_FC4.src.rpm

       # cd /usr/src/redhat/SPECS/

       # rpmbuild -bp kernel-2.6.spec --target=i686

       # mv /usr/src/redhat/BUILD/kernel-2.6.11/linux-2.6.11 /usr/src/

       # ln -sf /usr/src/linux-2.6.11 /usr/src/linux

   Note: Depending on your system used, it may take 5 or 10 minutes to finish.

5. Create a ".config" file to kernel source "/usr/src/linux" from "/boot" folder

       # cp /boot/config-2.6.11-1.1369_FC4  /usr/src/linux/.config

       # vi /usr/src/linux/Makefile (make sure the "EXTRAVERSION" value in Makefile is the same as

         OS kernel version "#uname -r")

       # make (use "Ctrl + C" to stop building kernel source by this command after two minutes

         in /usr/src/linux folder)

6. Use a script to make K8M890XF40069 driver and select "69" version and CPU type to build.

   The driver binary will be created

   in /K8M890XF40069 folder

       # tar zxvf K8M890XF40069-kernel-src_[date].tgz

       # cd K8M890XF40069-kernel-src_[date]/src

       # ./makedriver

       # ldconfig

7. Confirm the existence of "via_drv.o" and "Utility". Use a script "vinstall"

   to setup 2D driver and VIA/S3G TV display utility.

       # ./vinstall336 (or ./vuninstall336 to uninstall)

   Edit the xorg log "/var/log/Xorg.0.log" to check whether the via driver is successfully loaded.

   If users see the "via" module and the "4.1.69" version then the via 2D driver

   is successfully loaded.
回复 支持 反对

使用道具 举报

发表于 2006-10-24 10:49:24 | 显示全部楼层
新手都不会编译呢。。这些公司都不知道出几个版本出来再附上源码~~
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

快速回复 返回顶部 返回列表