首页 | 本学科首页   官方微博 | 高级检索  
     

多通道串行通信设备的Linux驱动程序实现
引用本文:邹荣士,郭立红,司玉美,赵海波.多通道串行通信设备的Linux驱动程序实现[J].吉林大学学报(工学版),2007,37(1):164-167.
作者姓名:邹荣士  郭立红  司玉美  赵海波
作者单位:1. 中国科学院,长春光学精密机械与物理研究所,长春,130033;中国科学院研究生院,北京,100039
2. 中国科学院,长春光学精密机械与物理研究所,长春,130033
基金项目:中国科学院知识创新工程项目
摘    要:以自行开发的PCI接口通信卡为例,简要介绍了PCI总线在光电测量数据通信系统中的应用,重点讨论了Linux设备驱动程序开发方法及虚拟文件层机制等相关概念。针对该通信设备,介绍其在Linux下采用内核模块编程方式,实现中断和DMA方式数据传送的方法。实验测得此传输方案的本地速率可达24.096 Mb/s,传输和响应速度较传统读写方式有了显著提高,数据可稳定传输在460 kb/s,满足系统传输需求。

关 键 词:计算机应用  设备驱动  直接内存访问(DMA)  PCI总线  内核
文章编号:1671-5497(2007)01-0164-04
收稿时间:2006-03-20
修稿时间:2006年3月20日

Implementation of drivers for multi-channel data communication devices in Linux operating system
Zou Rong-shi,Guo Li-hong,Si Yu-mei,Zhao Hai-bo.Implementation of drivers for multi-channel data communication devices in Linux operating system[J].Journal of Jilin University:Eng and Technol Ed,2007,37(1):164-167.
Authors:Zou Rong-shi  Guo Li-hong  Si Yu-mei  Zhao Hai-bo
Affiliation:1. Changchun Institute of Optics, Fine Mechanics China; 2. Graduate University of Chinese Academy and Physics, Chinese Academy of Sciences, Changchun, 130033, of Sciences, Beij ing 100039,China
Abstract:The application of PCI bus in opto-electronics measurement device was introduced based on a self-developed PCI communication card.The approaches of developing device drives in Linux system and related concepts,such as Virtual File System(VFS) mechanism were discussed.For this communication card,the kernel module programming method in Linux,the interruption of implementation and the Direct Memory Access(DMA) were illustrated.Experimental results show that,with this scheme,the local rate can reach 24.096 Mb/s.Comparing with conventional method the transmission and real-time response speed are significantly improved.Data can be steadily transmitted at 460 kb/s which meets the system requirement.
Keywords:computer application  device driver  direct memory access(DMA)  PCI bus  kernel
本文献已被 CNKI 维普 万方数据 等数据库收录!
点击此处可从《吉林大学学报(工学版)》浏览原始摘要信息
点击此处可从《吉林大学学报(工学版)》下载全文
设为首页 | 免责声明 | 关于勤云 | 加入收藏

Copyright©北京勤云科技发展有限公司  京ICP备09084417号