- 论坛徽章:
- 0
|
VIA/S3G UniChrome Pro IGP集成显卡驱动
我机子是AMD Semp 2600+(32位)/512M/磐正8hmmi/显卡是VIA的主板芯片
K8M800带的集成显卡芯片 VIA/S3G UniChrome Pro IGP
下面是readme.txt
---------------------------------------------------------------------------
Building and loading viafb device driver for Linux kernel 2.6
---------------------------------------------------------------------------
Building fbcon console module.
Step 1: Change to folder /usr/src/linux-2.6.
# cd /usr/src/linux-2.6.
The linux-2.6 directory depend on your kernel version, so if your kernel version is
2.6.5-1.358, you should type "/usr/src/linux-2.6.5-1.358".
Step 2: Configuring the kernel module
# make menuconfig
Step 3: Select fbcon item to module.
->; Device Drivers->;Graphics support->;Console display driver support->;
<M>; Framebuffer Console support
Step 4: Save the current setting and quit.
Step 5: Make fbcon module.
# make modules
Note that if no any error, this step will be produced "fbcon.ko" in //这里出问题了,不知是编译出错,还是怎么了,没生成fbcon.ko 出错信息我不知道是什么样的,好象是这么样的
#include
&#
/usr/src/linux-2.6./drivers/video/console folder.
Step 6: Copy fbcon.ko to lib folder.
# cp /usr/src/linux-2.6./drivers/video/console/fbcon.ko \
/lib/modules/2.6./kernel/drivers/video
---------------------------------------------------------------------------
Building viafb as a module. (for Linux kernel 2.6)
Make sure you have the kernel sources in /usr/src/linux-2.6.
Change to the viafb directory, and then following below steps:
Step 1: change to folder /usr/src/linux-2.6.
# cd /usr/src/linux-2.6.
The linux-2.6 directory depend on your kernel version, so if your kernel version is
2.6.5-1.358, you should type "/usr/src/linux-2.6.5-1.358".
Step 2: copy viafb folder in current directory.
# cp -rf .../viafb ./
Step 3: change to viafb directory
# cd /viafb
Step 4: Clear all object file.
# make clean
Step 5: Make source code
# make
Note that if no any error, this step will be produced an object file "viafb.ko
Step 6: Install viafb.ko framebuffer driver
# make install
---------------------------------------------------------------------------
Using the viafb module. (for Linux kernel 2.6)
If you want to modprobe viafb.ko into kernel and change the display mode in Linux kernel 2.6 and later versions,
you need a framebuffer device driver(viafb.ko) and a framebuffer console module(fbcon.ko).
Modprobing viafb will not change the display mode until you modprobe fbcon.
You can see the related steps below.
Step 1: Start viafb with default settings.
# modprobe viafb
Note that you can see the other options from "Using the viafb module. (for Linux kernel 2.4)" section.
Step 2: Modprope fbcon.
# modprobe fbcon
我把驱动程序放到附件里 |
|