“UbuntuHelp:ConsoleFramebuffer”的版本间的差异
来自Ubuntu中文
小 (新页面: {{From|https://help.ubuntu.com/community/ConsoleFramebuffer}} {{Languages|UbuntuHelp:ConsoleFramebuffer}} == Introduction == If you are having trouble with an embedded system giving you...) |
小 |
||
第1行: | 第1行: | ||
{{From|https://help.ubuntu.com/community/ConsoleFramebuffer}} | {{From|https://help.ubuntu.com/community/ConsoleFramebuffer}} | ||
{{Languages|UbuntuHelp:ConsoleFramebuffer}} | {{Languages|UbuntuHelp:ConsoleFramebuffer}} | ||
− | |||
== Introduction == | == Introduction == | ||
− | |||
If you are having trouble with an embedded system giving you the following message | If you are having trouble with an embedded system giving you the following message | ||
− | |||
Console: switching to colour frame buffer device 80x30 | Console: switching to colour frame buffer device 80x30 | ||
− | |||
then this answer will help you. | then this answer will help you. | ||
− | |||
== The Blacklist Solution == | == 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 | 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 | ||
− | |||
#lsmod | #lsmod | ||
− | |||
and look at the output. For my system, I noticed this line | and look at the output. For my system, I noticed this line | ||
− | |||
gxfb 8832 1 | 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 | 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 | blacklist gxfb | ||
− | |||
to the blacklist-framebuffer file and the system no longer tried to switch to a frame buffer console. | to the blacklist-framebuffer file and the system no longer tried to switch to a frame buffer console. | ||
− | |||
== TODO: Find a better solution == | == TODO: Find a better solution == | ||
− | |||
Feel free to add a better solution here. | Feel free to add a better solution here. | ||
− | |||
---- | ---- | ||
[[category:CategoryDocumentation]] | [[category:CategoryDocumentation]] | ||
[[category:UbuntuHelp]] | [[category:UbuntuHelp]] |
2007年11月30日 (五) 16:36的版本
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
- 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.