触摸屏驱动程序

测试2th~7th:

  1. make menuconfig 去掉原来的触摸屏驱动程序
    -> Device Drivers
    -> Input device support
    -> Generic input layer
    -> Touchscreens
    <> S3C2410/S3C2440 touchscreens

make uImage
cp arch/arm/boot/uImage /work/nfs_root/uImage_nots
使用新内核启动
nfs 30000000 192.168.31.202:/work/nfs_root/uImage_nots
bootm 30000000

  1. insmod s3c_ts.ko
    按下/松开触摸笔

测试2th~7th:

  1. ls /dev/event*
  2. insmod s3c_ts.ko
  3. ls /dev/event*
  4. hexdump /dev/event0
    秒 微秒 type code value
    0000000 29a4 0000 8625 0008 0003 0000 0172 0000
    0000010 29a4 0000 8631 0008 0003 0001 027c 0000
    0000020 29a4 0000 8634 0008 0003 0018 0001 0000
    0000030 29a4 0000 8638 0008 0001 014a 0001 0000
    0000040 29a4 0000 863c 0008 0000 0000 0000 0000
    0000050 29a4 0000 c85e 0008 0003 0000 0171 0000
    0000060 29a4 0000 c874 0008 0003 0001 027d 0000
    0000070 29a4 0000 c87b 0008 0000 0000 0000 0000
    0000080 29a4 0000 ed37 0008 0003 0018 0000 0000
    0000090 29a4 0000 ed48 0008 0001 014a 0000 0000
    00000a0 29a4 0000 ed4a 0008 0000 0000 0000 0000
posted on 2018-03-10 17:20  Dream998 阅读( ...) 评论( ...) 编辑 收藏

转载于:https://www.cnblogs.com/Dream998/p/8540777.html

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值