触摸屏驱动程序

测试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
版权声明:本文为博主原创文章,转载请注明文章来源,有需要帮忙可加QQ:871263854
原文地址:https://www.cnblogs.com/Dream998/p/8540777.html