个人工具

UbuntuHelp:ConsoleFramebuffer

来自Ubuntu中文

Oneleaf讨论 | 贡献2007年5月24日 (四) 09:25的版本 (新页面: {{From|https://help.ubuntu.com/community/ConsoleFramebuffer}} {{Languages|UbuntuHelp:ConsoleFramebuffer}} == Introduction == If you are having trouble with an embedded system giving you...)

(差异) ←上一版本 | 最后版本 (差异) | 下一版本→ (差异)
跳转至: 导航, 搜索


Introduction

If you are having trouble with an embedded system giving you the following message

Console: switching to colour frame buffer device 80x30

then this answer will help you.

The Blacklist Solution

The reason the console switches to a frame buffer device is that during boot time a frame buffer driver was loaded for your hardware. To discover what frame buffer driver was loaded, you will have to run

  1. lsmod

and look at the output. For my system, I noticed this line

gxfb 8832 1

Now the question is, "How do I prevent the frame buffer driver from being loaded?" Well, Ubuntu has an unusual system for preventing the automatic loading of drivers. In /etc/modprobe.d there are a set of blacklist files. To fix my problem, I simply added

blacklist gxfb

to the blacklist-framebuffer file and the system no longer tried to switch to a frame buffer console.

TODO: Find a better solution

Feel free to add a better solution here.