1. 需要裝 855resolution
855resolution 這個軟體主要用來替換 VESA BIOS 中的模式設定, 在 wiki 或國外的論中, 是用來讓 xorg 或 xfree86 可以切入某些寬銀幕的筆記型電腦的特殊模式, 如 1280x768, 目前 855resolution 已經在 gentoo 的 protage 中了, 可以直接下
Code: Select all
#emerge 855resolutionCode: Select all
#855resolution -lCode: Select all
855resolution xx 1280 768或為了再每一次開機時自動執行, 可以用
Code: Select all
#rc-update add 855resolution bootCode: Select all
#nano -w /etc/conf.d/855resolutionCode: Select all
replace[0]="5c"
with[0]="1280 768"
2. 要能在文字模式下使用 1280x768 的 framebuffer, 則必需將 855resolution 在 framebuffer 的 driver 之前執行, 所以, 請參考下面的方式, 先將 vesafb 編成模組
將 kernel 的 Device Drivers -> Graphics support 中,
Code: Select all
<M> VESA VGA graphics support
VESA driver type (vesafb-tng) --->
(1280x768@60) VESA default mode
註:因為沒有將vesafb-tng 編入核心中, 所以一開機時並不會載入, 所以 lilo 或 grub 的設定檔中就算設了使用 framebuffer 也沒用處
重新編譯 kernel, 並且將 System.map 及 bzImage copy 到 /boot 目錄中, 執行 lilo 或 grub.
再來, 將 /etc/conf.d/local.start 中加入一行
Code: Select all
modprobe vesafb-tng[/b]