![](https://img-blog.csdnimg.cn/20201014180756724.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
linux触摸屏和LCD
文章平均质量分 79
xtx1990
新一代年轻人
展开
-
tslib的移植
首先下载tslib-1.4.tar.gz,下载地址:http://blog.chinaunix.net/u2/75270/showart_1793535.html里面自己找tar xzvf tslib-1.4.tar.gzcd tslib/#./autogen.sh这是可能会报错,因为需要安装下面的包然后再sudo apt-get install autoconfsud原创 2012-11-12 13:33:57 · 410 阅读 · 0 评论 -
音频uda1341驱动移植
1、将s3c2410_uda1341.c拷贝到sound/oss下 2、修改sound/oss/Kconfig 添加 config S3C2410_SND_UDA1341 tristate "S3C2410 UDA1341 driver(S3C2410)" depends on SOUND_PRIME!=n && SO原创 2012-11-12 13:34:05 · 572 阅读 · 0 评论 -
触摸屏驱动移植
文件:s3c2410_touchscreen.zip大小:4KB下载:下载环境:Ubuntu 8.10发行版编译好的Linux-2.6.22内核交叉编译器 arm-softfloat-linux-gnu-gcc-3.4.5下载补丁:http://svnweb.openmoko.org/branches/src/target/kernel/2.6.22原创 2012-11-12 13:34:00 · 606 阅读 · 0 评论 -
linux2.6.22.6中针对s3c2410的LCD驱动移植
1.在arch/arm/mach-s3c2410/mach-smdk2410.c中添加头文件:#include #include #include 2.继续在上面的文件中添加 static struct s3c2410fb_mach_info smdk2410_lcdcfg __initdata={ .fixed_syncs= 0, .regs={原创 2012-11-12 13:34:03 · 416 阅读 · 0 评论 -
解决s3c2410触摸屏偏移问题
针对2.6.22.6内核修改LCD屏幕偏移参数在arch/arm/mach-s3c2410/mach-smdk2410.c中找到static struct s3c2410fb_mach_info smdk2410_lcdcfg__initdata ={.....reg = { .lcdcon1 = (7 .lcdcon2 = (14 .lcd原创 2012-11-12 13:36:26 · 457 阅读 · 0 评论 -
触摸屏简单应用程序
#include #include #include #include #include #include #include #define TS_DEV "/dev/touchscreen/0" //设备文件要看下/dev目录static int ts_fd=-1;typedef struct { unsigned short pressure; unsigned short x;原创 2012-11-12 13:36:56 · 999 阅读 · 0 评论