This thesis introduces how to develop kernel level device driver on Linux platform in detail. On the basis of comparing proc file system with dev file system, we choose PCI device and USB device as instances to introd...This thesis introduces how to develop kernel level device driver on Linux platform in detail. On the basis of comparing proc file system with dev file system, we choose PCI device and USB device as instances to introduce the method of writing device driver for char devices by using these two file systems.展开更多
By analyzing the working principle of Linux network device driver,discussing the Linux network driver structure and its key technologies,the general network driver structure and its design methodologies in Linux syste...By analyzing the working principle of Linux network device driver,discussing the Linux network driver structure and its key technologies,the general network driver structure and its design methodologies in Linux system are summarized. Through modifying the network device driver of Linux device driver 3rd version snull.c and improving the COW technology,the Zero-Copy technology in Linux (kernel version 2.6.11) is implemented. In the end,the success test tells us that the thorough analysis of network device driver is the foundation of many applications,and it also provides a certain improvement to a lot of real applications,even to military application development.展开更多
Based on the in-depth research of the embedded device management system,analyze the process of the driver parameters delivery on kernel level particularly.According to this,expound the device driver 's working pri...Based on the in-depth research of the embedded device management system,analyze the process of the driver parameters delivery on kernel level particularly.According to this,expound the device driver 's working principle,structure and design methods especially.Finally realize the drivers of the character-based devices which can be dynamically loaded.Actual result shows that mastering the realization of the device driver mechanism and the process of parameters delivery with kernel can improve the embedded device driver development efficiency and reduce error probability effectively,thus saving the development cost and development cycle of embedded products.展开更多
开发USB(Universal Serial Bus)设备驱动是一项比较繁琐的工作。Linux中的USB核心子系统提供了大量的API以及相关的支持机制,保证了USB设备的即插即用,简化了驱动的编写。结合具体开发实例,介绍了USB的相关概念,分析Linux中USB核心子系...开发USB(Universal Serial Bus)设备驱动是一项比较繁琐的工作。Linux中的USB核心子系统提供了大量的API以及相关的支持机制,保证了USB设备的即插即用,简化了驱动的编写。结合具体开发实例,介绍了USB的相关概念,分析Linux中USB核心子系统的框架构成以及重要的数据结构,剖析Linux内核对USB规范的支持,描述了驱动开发的一般方法和技巧。展开更多
文摘This thesis introduces how to develop kernel level device driver on Linux platform in detail. On the basis of comparing proc file system with dev file system, we choose PCI device and USB device as instances to introduce the method of writing device driver for char devices by using these two file systems.
文摘By analyzing the working principle of Linux network device driver,discussing the Linux network driver structure and its key technologies,the general network driver structure and its design methodologies in Linux system are summarized. Through modifying the network device driver of Linux device driver 3rd version snull.c and improving the COW technology,the Zero-Copy technology in Linux (kernel version 2.6.11) is implemented. In the end,the success test tells us that the thorough analysis of network device driver is the foundation of many applications,and it also provides a certain improvement to a lot of real applications,even to military application development.
文摘Based on the in-depth research of the embedded device management system,analyze the process of the driver parameters delivery on kernel level particularly.According to this,expound the device driver 's working principle,structure and design methods especially.Finally realize the drivers of the character-based devices which can be dynamically loaded.Actual result shows that mastering the realization of the device driver mechanism and the process of parameters delivery with kernel can improve the embedded device driver development efficiency and reduce error probability effectively,thus saving the development cost and development cycle of embedded products.
文摘开发USB(Universal Serial Bus)设备驱动是一项比较繁琐的工作。Linux中的USB核心子系统提供了大量的API以及相关的支持机制,保证了USB设备的即插即用,简化了驱动的编写。结合具体开发实例,介绍了USB的相关概念,分析Linux中USB核心子系统的框架构成以及重要的数据结构,剖析Linux内核对USB规范的支持,描述了驱动开发的一般方法和技巧。