The Research and Implement of USB Video Device Driver Based on Linux Platform

Author
JiChunZhi
Advisor
YangShanLin
School
Hefei University of Technology
Major
Applied Computer Technology
Classification
TP334.7 Interface devices,plug-in
Degree
Master's thesis
Year
2009
Downloads
222
Citations
4

Request the full text

Abstract

Nowadays,the Linux operation system has many merits of open source,the ease of development,powerful function,low cast,stability,etc.So it has permeated into industry and agriculture,education,national defence,scientific research,etc.Linux operation system and its variants are the very important power to impulse the development of a wide variety of industries.Meanwhile,video-monitoring technology has been widely putting into used in all aspects of our daily life,so the related research,improvement and application based on the video device driver on linux platform has high academic and commercial value.This dissertation,firstly,introduces the basic knowledge of USB bus protocol, on this basic analyzes the module mechanism of device driver,composition of USB sub-system and architecture of device driver based on Linux operation system,summarizes the design and development steps of the Linux device driver.Secondly,illuminates relay,V4L interface technology,the problem exsited during acquisition video data and transmition,etc,and analyzes the performance of generic camera device driver on the Linux platform,points out the disadvantage,gives the overall framework design and implement of modified USB video device.Finally points out the new problem of modified USB video device driver currently,and gives some suggestions for the future work.In the research work of the master dissertation,the main contribution of the author has:1.Investigates and anlayzes the key problem of USB video device performance on the development of the project,analyzes the shortage about the methods of generic USB video device driver,gives and implements two methods about enhancing the efficiency during transmitting and weakening the influence of the data synchronization to deal these problem.2.Summarizes the design and development steps of linux USB video device driver,the course of making advantage of V4L2 API to fulfill the data acquisition.

Table of contents

Abstract 5-6 ABSTRACT 6-7 Acknowledgements 7-12 first chapter 12-17 the 1.1 topic source and the purpose and significance of 12-13 1.2 research field research status 13-15 1.2.1 Linux operating system, application status and development prospects 13-14 the 1.2.2 USB video device technology status and development prospects 14-15 1.3 In this paper, the main research work 15 1.4 paper structure 15-17 the USB2.0 agreement 17-25 2.1 USB technology background introduction 17-18 2.2 USB architecture 18-21 2.2.1 USB bus topology 18-20 2.2.2 USB system software composition 20-21 2.3 USB 2.0 electrical signal characteristics 21-23 2.3.1 data encoding and data frames related concepts 21-22 2.3.2 High-speed device detection 22-23 2.4 USB data transfer protocol 23-24 2.5 This chapter Summary 24-25 Chapter Linux platform USB device driver 25-39 3.1 Introduction 25 3.2 device driver development of basic concepts 25-29 3.2.1 device driver module mechanism 26-28 3.2.2 device file 28-29 3.2.3 kernel space and user space 29 3.3 Linux operating system in the USB subsystem driver Framework Research and Analysis 29-37 3.3.1 Linux operating system, the USB subsystem driver structure 30-31 3.3.2 Linux operating system, USB device driver development foundation 31-35 3.3.3 Linux operating system, USB device driver modules 35-37 3.4 driver debugging method 37-38 3.5 This chapter Summary 38-39 Chapter Linux platform Universal USB video device driver and Analysis 39-47 4.1 the V4L interface 39-41 4.2 USB video device driver critical analysis 41-44 4.2.1 Data Acquisition 41-42 4.2.2 Data Transfer 42-44 4.3 Linux systems Universal USB video device driver performance analysis 44-46 4.3.1 to expand the the URB buffer size 44-45 4.3.2 nbsp add URB number; 45-46 4.3.3 using multi-buffer 46 4.4 This chapter Summary 46-47 Chapter Linux platform USB video device driver improvements 47-66 5.1 USB video device driver performance improved method 47-49 5.1.1 Relay achieve efficient transmission of video equipment data acquisition 47-48 5.1.2 continuous acquisition image 48-49 USB video device driver in the 5.2 Linux system design and implementation 49-62 5.2.1 development tools 49-50 5.2.2 USB video device driver development process 50-52 5.2.3 USB video device driver overall design 52-53 5.2.4 USB video device driver to achieve 53-62 5.3 driver test 62-65 5.4 Chapter Summary 65-66 Chapter Summary and Outlook 66-68 6.1 work summarizes 66 6.2 subjects improved with perfect point 66 6.3 Conclusion 66-68 the References 68-71 the biographical 71

Related dissertations

  1. Design and Implementation of Four Channels High Speed Synchronous Sampling in Sound Source Localization System
    ZhengZuo ·Hebei University of Technology ·2013 ·Master's thesis
  2. Usb Without Invasive Data Collection Technology Research
  3. Hardware Design for Circuit Fault Diagnosis System Based on JTAG Interface
  4. Study on FPGA Research and Implementation of Multi-Channel Image Acquistion System
  5. Grating Data Acquisition and Error Correction Technology
    DongShanShan ·Hefei University of Technology ·2014 ·Master's thesis
  6. CCD Data Acquisition System Implementation Based on FPGA
    LiuYu ·Anhui University ·2014 ·Master's thesis
  7. Research of Data Acquistion System Based on FPGA
    XuLongFei ·University of North ·2014 ·Master's thesis
  8. Research of Fieldbus Relay Basing on CAN Bus
  9. Research and Realization of Fieldbus Conversion and Monitoring System Based on ARM
    ZhaoBo ·Dalian Polytechnic University ·2012 ·Master's thesis
  10. Research and Realization of Embedded Wireless Sensor Networks
    ZhangJiPing ·Dalian Polytechnic University ·2013 ·Master's thesis
  11. Research and design of intelligent 3D pulse peak field strength tester
  12. Multi functional comprehensive test instrument based on Virtual Instrument Technology
  13. Embedded Fingerprint Identification System and Storage Technology
  14. Research on the Digital Broadband Electromagnetic Tomography System
    ChenGuang ·Tianjin University ·2010 ·Doctoral dissertation
  15. VxWorks Migration on VME Bus Embedded Controler
    GuanFei ·Harbin Institute of Technology ·2012 ·Master's thesis
  16. Embedded Linux-based USB Encryption Driver Design
  17. Research and Implementation of Usbtmc Specification about Universal Test Instrument
  18. Research Communication Device and Communication Protocols Based on USB Interface
    YuXiaoLei ·Harbin Institute of Technology ·2012 ·Master's thesis
  19. Research and Implementation of Infrared Touch Screen Based on HID Class
    WangYun ·Anhui University ·2014 ·Master's thesis
  20. The Designand Realization of Embedded USB Mass Storage System
    WangMeng ·Hebei University of Technology ·2013 ·Master's thesis