| 
 
贡献39 
飞刀0 FD
注册时间2014-8-19
在线时间4 小时积分14 
 
 扫一扫,手机访问本帖  | 
 
| 本帖最后由 2摄氏度的冰 于 2014-8-21 10:54 编辑 
 ok335xD 开发板,如何调整屏幕的旋转,让屏幕转90度,就是说原来是800*480的显示现在要480*800的显示。谢谢!
 
 再补充一下,我的意思是原来是横屏显示,现在把它变成竖屏显示,该改驱动的那些地方呢?谢谢了
 
 补充:
 我在内核drivers/video下发现了这样几个文件,不知道是否能用的到?
 ./Kconfig:          and 8, 15 or 16 bpp color; 90 degrees clockwise display rotation for
 ./xilinxfb.c: * be turned on or off as well as rotated 180 degrees.
 ./console/fbcon_ud.c: *  linux/drivers/video/console/fbcon_ud.c -- Software Rotation - 180 degrees
 ./console/fbcon_ud.c: * Rotation 180 degrees
 ./console/fbcon_ud.c:MODULE_DESCRIPTION("Console Rotation (180 degrees) Support");
 ./console/fbcon_ccw.c: *  linux/drivers/video/console/fbcon_ccw.c -- Software Rotation - 270 degrees
 ./console/fbcon_ccw.c: * Rotation 270 degrees
 ./console/fbcon_ccw.c:MODULE_DESCRIPTION("Console Rotation (270 degrees) Support");
 ./console/fbcon_cw.c: *  linux/drivers/video/console/fbcon_ud.c -- Software Rotation - 90 degrees
 ./console/fbcon_cw.c: * Rotation 90 degrees
 ./console/fbcon_cw.c:MODULE_DESCRIPTION("Console Rotation (90 degrees) Support");
 
 | 
 |