全志a33加触摸屏
来源:互联网 发布:烟台软件开发招聘 编辑:程序博客网 时间:2024/05/19 05:39
以下为网上找的:
在开发板system/usr/idc文件夹下要有你的 “设备名.idc”文件
如何查看设备名?插上你的触摸屏
#cat /proc/bus/input/devices
看下面那个是你的触摸屏然后将NAME后面“”里面的名字就是你的设备名了,不要任何那个名字很长,有逗号,有空格就怀疑那个名称是不正确的,如何修改名称呢
When constructing a file path that contains the device name, all characters in the device name other than '0'-'9', 'a'-'z', 'A'-'Z', '-' or '_' are replaced by '_'.
什么意思呢,举个例子,你的设备名称 NAME="uGmotch lii, hehe ov",那么你提取出来创建idc文件的名字就是uGmotch_lii_hehe_ov.idc
实际操作结果:
I: Bus=0018 Vendor=0000 Product=0000 Version=0000
N: Name="atmel_mxt_ts T100 touchscreen"
P: Phys=i2c-0-004b/input0
S: Sysfs=/devices/platform/twi.0/i2c-0/0-004b/input/input2
U: Uniq=
H: Handlers=ddrfreq_dsm mouse0 event2 cpufreq_interactive
B: PROP=0
B: EV=b
B: KEY=400 0 0 0 0 0 0 0 0 0 0
B: ABS=2e18000 3
所以新建文件:
a33/android_4.4/device/softwinner/astar-evb/configs/atmel_mxt_ts_T100_touchscreen.idc
在a33/android_4.4/device/softwinner/astar-evb/astar_evb.mk文件中更改
#key and tp config file
PRODUCT_COPY_FILES += \
device/softwinner/astar-evb/configs/sunxi-keyboard.kl:system/usr/keylayout/sunxi-keyboard.kl \
device/softwinner/astar-evb/configs/tp.idc:system/usr/idc/tp.idc \
device/softwinner/astar-evb/configs/atmel_mxt_ts_T100_touchscreen.idc:system/usr/idc/atmel_mxt_ts_T100_touchscreen.idc \
device/softwinner/astar-evb/configs/gsensor.cfg:system/usr/gsensor.cfg
0 0
- 全志a33加触摸屏
- 全志A33触摸屏gslX680代码跟读
- 全志A33 printascii bug
- 全志A33的环境搭建
- 全志a33核心板方案应用
- 本地编译 全志a33 的步骤
- 全志A33开发平台搭建
- 全志A33添加开机启动脚本
- 全志A33单独更新framework
- 全志A33 fastboot模式探秘
- 全志A33文件系统结构浅分析
- 全志A33有关编译配置
- 全志A33增加uart接收 汇编层次
- 全志A33/A64移植ubuntu系统记录
- 全志A33平台调通AP6181(分色排版)
- 1、全志A33烧录固件(TF卡刷机)
- 如何搭建ubuntu的全志A33编译环境
- 全志A33之添加电容触摸GT911驱动
- js弹出框、对话框、提示框、弹窗汇总
- 动态获取和设置控件宽、高
- 使用git checkout 源代码
- Android中的权限管理(基于Permission ProtectionLevel)
- fnt 文件解释
- 全志a33加触摸屏
- 一次mysql的查询索引的优化
- HDU 5430 Reflect (欧拉函数) (类似UVA 12493 Stars)
- 微信公众平台申请测试接口URL和TOKEN的配置,怎么在本地让微信能通过80端口访问
- 处理器拦截器详解
- 中断和异常
- AFN与ASI
- socket关闭操作close和shutdown
- 截图视频缩略图