2440+2.6.33 触摸屏驱动 移植(十一)
来源:互联网 发布:ubuntu chmod user 编辑:程序博客网 时间:2024/05/13 09:29
本来 这一篇章应该在 QT移植之前,但是没有写,现在补上,触摸屏驱动移植
没有仔细研究 触摸屏AD 哪些东西,只是按照手册,使用了tq写好的ADC 驱动
参考:qt 09 移植手册
1.复制 tq-2.6.30.4/drivers/input/touchsreen/tq2440_ts.c 到自己内核
2.6.33/drivers/input/touchsreen/ywx2440_ts.c
2.修改 ywx2440_ts.c 在 第41行
//extern struct semaphore ADC_LOCK; 修改为下面的
DECLARE_MUTEX(ADC);
3.修改 /touchscreen/Kconfig 最后一行
添加
4.修改 /touchscreen/Makefile
5.配置内核
Device driver ->
input device support->
(320) Horizontal screen resolution
(240) Vertical screen resolution
(*) Event interface
[*] Touchscreens ->
<*> ywx 2440 TouchScreen input driver
6.启动时,打印 触摸屏驱动 移植好
阅读(218) | 评论(0) | 转发(0) |
没有仔细研究 触摸屏AD 哪些东西,只是按照手册,使用了tq写好的ADC 驱动
参考:qt 09 移植手册
1.复制 tq-2.6.30.4/drivers/input/touchsreen/tq2440_ts.c 到自己内核
2.6.33/drivers/input/touchsreen/ywx2440_ts.c
2.修改 ywx2440_ts.c 在 第41行
//extern struct semaphore ADC_LOCK; 修改为下面的
DECLARE_MUTEX(ADC);
3.修改 /touchscreen/Kconfig 最后一行
添加
- config TOUCHSCREEN_YWX2440
- tristate "ywx 2440 TouchScreen input driver"
- depends on ARCH_S3C2410 && INPUT && INPUT_TOUCHSCREEN
- help
- Say Y here if you have the ywx2440 TouchScreen.
- If unsure, say N.
- To compile this driver as a module, choose M here: the
- module will be called ywx2440_ts.
- endif
- obj-$(CONFIG_TOUCHSCREEN_YWX2440) +=ywx2440_ts.o
5.配置内核
Device driver ->
input device support->
(320) Horizontal screen resolution
(240) Vertical screen resolution
(*) Event interface
[*] Touchscreens ->
<*> ywx 2440 TouchScreen input driver
6.启动时,打印 触摸屏驱动 移植好
- USB Serial support registered for pl2303
- usbcore: registered new interface driver pl2303
- pl2303: Prolific PL2303 USB to serial adaptor driver
- mice: PS/2 mouse device commonfor all mice
- TQ2440 TouchScreen successfully loaded ###这里打印输出
- input: TQ2440 TouchScreen as /class/input/input0
- S3C2410 Watchdog Timer, (c) 2004 Simtec Electronics
- s3c2410-wdt s3c2410-wdt: watchdog inactive, reset disabled, irq enabled
阅读(218) | 评论(0) | 转发(0) |
0
上一篇:在技术面前,请保持一颗谦卑的心
下一篇:H.264技术在视频监控领域的应用前景
相关热门文章
- 《三疊愁》中的定句與活句...
- gnuplot用于科学研究
- 欢迎今天十一月二十五在ChinaU...
- 欢迎包赢不输的二十一点诀窍在...
- 欢迎最好的二十一点方法在Chin...
- A sample .exrc file for vi e...
- IBM System p5 服务器 HACMP ...
- 游标的特征
- busybox的httpd使用CGI脚本(Bu...
- Solaris PowerTOP 1.0 发布
评论热议
0 0
- 2440+2.6.33 触摸屏驱动 移植(十一)
- linux-2.6.26.5内核的 lcd驱动移植 lcd 触摸屏移植 tslib-1.4移植 (转)
- 触摸屏驱动移植 2410+linux 2.6.13
- 触摸屏驱动移植(mini2440,linux-2.6.32.2)
- 2.6.36.2 s3c6410 触摸屏驱动移植。
- 2.6.36.2 s3c6410 触摸屏驱动移植。 .
- fl2440 2.6.35移植触摸屏驱动错误
- 【笔记】mini2440触摸屏驱动移植(二)
- 2410移植触摸屏驱动
- S3c2410触摸屏驱动移植
- FS_S5PC100触摸屏驱动移植
- usb触摸屏驱动移植
- mini2440触摸屏驱动移植
- 触摸屏驱动移植调试
- 触摸屏驱动移植
- AM1808触摸屏驱动移植
- s3c6410 触摸屏驱动移植
- Linux-4.9.2内核在mini2440上的移植(十一)——触摸屏驱动移植
- qt俄罗斯方块 可以使用 (一)
- Linux下shell(献给初学者)
- 个人所做(歌词解析器)
- 深入理解C程序内存布局
- 在技术面前,请保持一颗谦卑的心
- 2440+2.6.33 触摸屏驱动 移植(十一)
- H.264技术在视频监控领域的应用前景
- Linux驱动学习笔记之触摸屏驱动
- 关于系统调用 (初学者可以看下)
- 盘点Linux内核源码中使用宏定义的若干技巧(2)
- (整理)关于C语言中的输入和输出函数的一些运用
- iOS开发之深入理解GCD
- 一个比冒泡,选择效率快的排序方法(折半排序)
- 树与二叉树遍历演示