I've made the first start on this by setting up the framebuffer on my Ubuntu laptop. There is a few steps involved on this.
Firstly, the grub bootloader needs to be amended. To do this, amend the file
/boot/grub/menu.lst with any editor. As this is a system file, it will have to be in root mode.In menu.lst, scroll down to the bottom where the Grub Bootloader entries are located. These are always of in the format of
title ..
root ...
kernel ...
initrdIn the appropriate entry, edit the kernel line by removing the text splash and replace it with
vga=792. An example would look like thistitle Ubuntu 8.04.2, kernel 2.6.24-24-generic
root (hd0,4)
kernel /boot/vmlinuz-2.6.24-24-generic root=UUID=ec2c54a8-1fd7-4186-9d86-33e5e27659a8 ro quiet vga=792
initrd /boot/initrd.img-2.6.24-24-genericTo use different framebuffer resolution modes refer to the following webpage - link here
Secondly,
/etc/X11/x.org needs to be amended to include the following text:Section "Screen"
Driver "FBDev"
Device "Primary Card"
Monitor "Primary Monitor"
SubSection "Display"
Modes "default"
EndSubSection
EndSectionLastly, the vesafb modules needs to removed from the module blacklist. To do this edit
/etc/modprode.d/blacklist-framebuffer and comment out the vesafb module by entering a # in front of it. The entry should look like:#blacklist vesafbReboot the computer and if everything works ok then the Framebuffer and the X11 framebuffer should be set up. To test this enter the following command at the terminal:
ls /dev/fb*The following info should be displayed:
/dev/fb0Also enter the command on the terminal:
/fbsetIf successful, the framebuffer mode settings should be displayed.
0 comments:
Post a Comment