星期四, 4月 21, 2005

Framebuffer : Multi framebuffer device

check video_setup()的code,發現她只parse一個video=fbname... 的option。
所以就在boot argument寫兩個"video=" parameters.
video=vesa:ywrap video=vfb:font:5 vga=788
結果從boot message中可以看到vesa和vfb都啟動了。
# cat /proc/fb
0 VESA VGA
1 Virtual FB
可以知道都啟動了,而且VESA是fb0,VFB是1.
對/dev/fb0,/dev/fb1都可以作檔案操作。
但是console是VESA。

沒有留言:

網誌存檔