《机电工程》杂志,月刊( 详细... )

中国标准连续出版物号 ISSN 1001-4551 CN 33-1088/TH
主办单位浙江省机电集团有限公司
浙江大学
主编赵 群
副 主 编唐任仲、罗向阳(执行主编)
总 经 理罗向阳
出 版浙江《机电工程》杂志社有限公司
地 址杭州市上城区延安路95号浙江省机电集团大楼二楼211、212室
电话Tel+86-571-87041360、87239525
E-mailmeem_contribute@163.com
国外发行中国国际图书贸易总公司
订阅全国各地邮局   国外代号M3135
国内发行浙江省报刊发行局
邮发代号32-68
广告发布登记证:杭上市管广发G-001号

在线杂志

当前位置: 机电工程 >>在线杂志

Linux输入子系统在触摸屏驱动上的实现

作者:於琪建,张海峰 日期:2009-04-21/span> 浏览:3038 查看PDF文档

Linux输入子系统在触摸屏驱动上的实现

於琪建,张海峰
(杭州电子科技大学 电子信息学院,浙江 杭州 310018)

摘要:为了简化传统Linux驱动程序设计及便于对驱动模块的管理与维护,采用了基于内核对象的输入子系统,完成了Linux设备驱动框架,改进了传统基于文件操作接口的驱动程序设计方法,提出了只需向系统报告输入事件的开发方法,并顺利地实现了触摸驱动的开发。试验结果表明,该驱动运行稳定并能精确控制触摸屏。
关键词:设备驱动;设备模型;输入子系统;触摸屏
中图分类号:TP316文献标识码:A文章编号:1001-4551(2009)03-0032-04

Realization of touch screens driver with Linux input subsystem
YU Qi-jian, ZHANG Hai-feng
(School of Electronics Information, Hangzhou Dianzi University, Hangzhou 310018, China)
Abstract: Aiming at simplifying the design of traditional Linux driver and contributing to management and maintenance of the drive model, using the input subsystem based on kernel object, the Linux device drivers framework was fulfilled. The traditional method concerned with the interfaces of file operations was improved. The method of only reporting the input event to the Linux system was proposed. The driver was successfully developed. The test results indicate that the driver works well, and it can control the touch screen precisely.
Key words: device driver; device model; input subsystem; touch screen



友情链接

浙江机械信息网