📄 readme.fb
字号:
Linux 2.6 frame buffer driver=============================This file describe how to use the frame buffer driver for Sigma Designs' 86xxchips. Noth that this framebuffer is for Linux kernels >= 2.6.15.1 only. 1. Compilation==============Nothing special is required. Default compilation produces a em8xxxfb.ko filewhich is the frame buffer kernel module driver.2. Usage========2.1 Kernel configuration------------------------Be sure your kernel is configured for frame buffer utilisation.Example:CONFIG_FB=yCONFIG_FB_CFB_FILLRECT=yCONFIG_FB_CFB_COPYAREA=yCONFIG_FB_CFB_IMAGEBLIT=yCONFIG_FRAMEBUFFER_CONSOLE=yYou can use modules if you prefer.2.2 Kernel module usage-----------------------First, you need to create an OSD buffer, using the osdbuf_control sampleapplication for instance.Example: $ samples/osdbuf_control -c1024x768 -Ftc:32bppThe application gives some information on the OSD buffer on a single linestarting with `videomemory'. You can copy and paste this line for the parametersneeded by the kernel module:Example: $ insmod rua/emhwlib_kernel/kernel_set em8xxxfb.ko videomemory=0x...videomemorysize=... palette=0x... mode=...You can test the framebuffer using the fb_test sample application.Example: $ samples/fb_test /dev/fb12.3 Making X run on top of the frame buffer-------------------------------------------Tell X you want to use the `fbdev' driver in xorg.conf.You can use the provided xorg.conf as an example.Example: $ Xorg -config xorg.conf2.4 Using the frame buffer console----------------------------------Insert the fbcon module if necessary. Be sue you created the OSD buffer in LUTmode (see the -F option). Then use samples/sendconsoletoframebuffer.Example (to redirect /dev/tty5 to /dev/fb1): $ modprobe fbcon $ ./osdbuf_control -c -Flut8bpp:32bpp $ insmod rua/emhwlib_kernel/kernel_set em8xxxfb.ko videomemory=0x...videomemorysize=... palette=0x... mode=... $ samples/sendconsoletoframebuffer 5 /dev/fb1
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -