Debian X服务移植:
Debian 带X服务 也就是UI的移植
问题描述:
使用 apt 命令 安装xorg 和 桌面 ,桌面管理器之后, 还需要配置 xorg.conf 安装x11 的模块sudo apt-get install xserver-xorg-video-fbdev
配置文件的路径 是在 /usr/share/X11/xorg.conf.d/SCREN.conf
内容如下:
Section "Device"
Identifier "device0"
Driver "fbdev"
Option "UseFBDev" "true"
EndSection
Section "Monitor"
Identifier "monitor0"
HorizSync 20-50
VertRefresh 40-80
EndSection
Section "Screen"
Identifier "screen0"
Device "device0"
Monitor "monitor0"
DefaultDepth 24
SubSection "Display"
Modes "1024x600"
Depth 24
EndSubSection
EndSection
有了这些 可以做到亮屏,这里要注意,分辨率等参数要和LCD参数一致
实际效果图:
开发板为君正X2000