---------------------------------------------------------------------------
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
/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
### Comment all HorizSync and VertSync values to use DDC:
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "Monitor 1024x768"
### Comment all HorizSync and VertSync values to use DDC:
HorizSync 31.5 - 71.5
VertRefresh 50.0 - 86.5
EndSection
晕死~,驱动装上了,但是到最后一步
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