--------------------------------------------------------------------------- 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-> 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 --------------------------------------------------------------------------- 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