- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
解决嵌入式LCD屏整体偏移的问题(Solve the embedded LCD screen overall offset problem)
解决嵌入式LCD屏整体偏移的问题(Solve the embedded LCD screen overall offset problem)
Has been bothering me, using their own compiled 2.6.12 kernel burned to the development board, the overall offset screen touched the problem is finally solved
Its really a LCD driver problem
I doubt that the manufacturers that sell my development board have not compiled their own kernel at all
Board support is strongly recommended or spend a lot of money at the beginning of Maiyang or long good will not cut corners
Shit, my board says, support VGA, call me, but tell me you dont support me.! No. @ @ $@ No.
The difference is seen in this small aspect
Who knows what he is mad at me,
The lesson is, I paid enough for Yangs board, cry
Resolvent
1. find the driver in the source package
For example, mine is in /drivers/video/s3c2410fb.c
It is also possible to delete a possible LCD driver with the exclusion method in the driver\lcd or driver\display directory to see if the kernel can be compiled
2. find a shape, such as the following structure
Struct, pxafb_mach_info, S3C2410_320X240_info = {
.pixclock = 270000,
.xres = 320,
.yres = 240,
.bpp = 16,
.hsync_len = 18,
.left_margin = 4,
.right_margin = 13,
.vsync_len = 4,
.upper_margin = 4,
.lower_margin = 4,
.sync = FB_SYNC_HOR_HIGH_ACT FB_SYNC_VERT_HIGH_ACT |,
.cmap_greyscale = 0,
.cmap_inverse = 0,
.cmap_static = 0,
.reg = {
.lcdcon1 = (78) | (07) | (35) | (121),
.lcdcon2 = (1424) | (24014) | (46) | (4),
.lcdcon3 = (4519) | (3808) | (4),
.lcdcon4 = (138) | (18),
.lcdcon5 = (111) | (110) | (19) | (18) | (07) | (06) | (13) | (01) | (1),
}
};
There are many such structures in my driver, corresponding to a variety of LCD
One of these sections is the choice of which structure to use
Static int yl2410_fb_setup (char *options)
{
# ifdef CONFIG_FB_PXA_PARAMETERS
Strlcpy (g_options, options, sizeof (g_options));
# endif
If (strncmp (vga800, options, 6)
Fs2410_info = S3C2410_800X600_info;
Else if (strncmp (vga640, options, 6)
Fs2410_info = S3C2410_640X480_info_vga;
您可能关注的文档
- 考勤财物制度(Attendance property system).doc
- 耶鲁mba体验(Yale MBA experience).doc
- 考勤管理系统标准版常见问题处理办法(Attendance management system standard edition, common problems, treatment methods).doc
- 职业兴趣及性格测试(Professional interests and personality tests).doc
- 职业大全(Careers complete).doc
- 职业技能实训指导手册(Guidance manual for vocational skills training).doc
- 职业摄影师的捷径-如何进行科学练习(The short cut for professional photographers - how to practice science).doc
- 职业适合自己扮演的角色规划中要找到(Career suited to their role, planning to find).doc
- 职业单词集(Professional word set).doc
- 职业技能实训-金融市场(Vocational skills training - Financial Markets).doc
- 解决心情郁闷方法(Solutions to depressed mood).doc
- 解决您可以安全地关机了(You can safely switch off).doc
- 解决用工难的钥匙在企业自身(The key to solve the problem of employment difficulty lies in the enterprise itself).doc
- 解决电脑小问题(Solve computer problems).doc
- 解决电脑开机不能启动的问题(Solve the problem that the computer boot can not be started).doc
- 觉醒力量属性与伤害计算(Awakening power attributes and damage calculation).doc
- 解决连续供墨系统墨盒中气泡的四大问题(Four major problems to solve bubble in ink box of continuous ink supply system).doc
- 解放HR的七把金钥匙(Seven gold keys to liberate HR).doc
- 解封包技术讲解(Releasing the package technology to explain).doc
- 解构腾讯的安居工程(Deconstructing the housing project of Tencent).doc
文档评论(0)