USB over IP System Design on Linux
- Author
- YangYong
- Advisor
- ZhengZhengQi
- School
- East China Normal University
- Major
- Communication and Information System
- Classification
- TP336 Bus channel
- Degree
- Master's thesis
- Year
- 2007
- Downloads
- 209
- Citations
- 0
Abstract
In recent years, a variety of USB devices on the market after another, at the same time, more and more users want to access USB devices on the remote host like as easy access to the machine's USB device, different hosts between USB devices can seamlessly sharing, shared USB device due to the variety of USB devices, not so simple like Windows file sharing. Currently on the market to achieve a USB device sharing program, such as USB anywhere, USB over Network, etc., these products are able to achieve a USB device sharing between different hosts, but they either require users to purchase hardware, either only supports Windows not many operating systems, and the Linux operating system USB device sharing program, this paper presents a new USB device under Linux program, and does not require additional hardware costs. This study and analysis of the principle and implementation of the USB drive under Linux, proposed a USB over IP method, the driver layer the USB request encapsulated into IP packets transmitted, and drive the underlying implementation of remote USB devices to local transparent mapping limited to specific categories of equipment, so complete and any USB device between the LAN Linux host mutual sharing and does not require any changes to the original USB system structure, without additional hardware costs, simply install a driver, so as to provide access to the remote host USB devices like access USB devices on this machine is simple and convenient, as far as I test, the transmission speed of up to 100M card LAN 700Kbyte / s or more, basically meet the ordinary demands. This thesis work: lt; gt; Linux driver structure with a detailed analysis of the principles and the principle of the device driver code specific analysis of the Linux kernel, the Linux driver model and sysfs file system. lt; gt; under Linux system USB driver structure analysis, including the driver of the Linux USB host side and device-side driver, analyzes the USB host-side driver. lt; gt; realization of the principle of USB over IP and specific implementation method, the operation regardless of the USB storage device or USB camera, USB command the driver layer will be encapsulated into the USB request package (URB), so I drive layer USB Request Packet (URB) encapsulated into IP packets in Ethernet transmission to achieve the remote transparent mapping, local URB to achieve mutual sharing of equipment. Also on specific issues, such as hot-swappable, driver bindings conducted a detailed analysis and propose their own solution. The system can be extended to the Linux server, LAN workstations, personal computers, to facilitate the use of USB devices, improve work efficiency.
Table of contents
Abstract 6-7
Abstract 7-10
first chapter 10-14
1.1 Background and related areas of research 10-11
1.2 sources and research topics 11-12
1.3 choosing Linux as a development platform for the reasons 12-13
1.4 paper structure 13-14
Chapter Linux USB driver framework 14-35
2.1 Linux Introduction 14-17
2.1.1 Linux development status 14-15
2.1.2 Linux kernel before 15-17
2.2 Linux driver model 17-21
2.2.1 Kobject, Kset and subsystem 18-19
2.2.2 equipment 19-20
2.2.3 driver 20-21
2.2.4 device Interface 21
2.3 sysfs file system 21-23
2.4 Linux USB drive 23-33
2.4.1 USB drive level 26-28
2.4 .2 USB device class driver preparation 28-30
2.4.3 USB host controller driver -HCD 30-33
2.5 hot-swap (hotplug) 33-34
2.6 This chapter summarizes 34-35
Chapter III USB over IP principles and implementation 35-55
3.1 system architecture 35 -37
3.1.1 IP encapsulation 35-36
3.1.2 server side 36
3.1.3 client -side 36-37 <br / > 3.2 driver specific implementation 37-47
3.2.1 server -side stub device driver 37-39
3.2.2 server -side transceiver kernel threads 39 - 40
3.2.3 event processing thread 40
3.2.4 client -side VHCI drive 40-44
3.2.5 simulation device insertion process 44-45
3.2.6 USB device enumeration process 45-46
3.2.7 network transmission issues to consider 46-47
3.3 applications 47-54
3.3.1 bind to a specific USB device driver interfaces 47-50
3.3.2 loaded remote device to the local 50-54 < br /> 3.4 This chapter summarizes 54-55
Chapter experimental results and data 55-64
4.1 build experimental environment 55-57
4.1.1 Creating a Linux operating system environment 55
4.1.2 software Requirements 55-56
4.1.3 compile and install the application 56
4.1.4 driven compilation 56-57
4.2 experimental 57-63
4.2.1 Server -side 57-59
4.2.2 Client end 59-62
4.2.3 transmission speed 62-63
4.3 This chapter summarizes 63-64
Chapter encountered during development problems 64-67
5.1 kernel 64-65
5.2 U disk is not recognized 65
5.3 EHCI support for HID devices problems 65-66
5.4 This chapter summarizes 66-67
Chapter VI Conclusion and Outlook 67-69
References 69-71
research 71-72
Thanks 72
Related dissertations
- The Designand Realization of Embedded USB Mass Storage System
- The Designand Implement of Fingerprint Access Controlsystem Based on ARM and Linux
- Linux File System Application and File Encoding Conversion under Windows
- Design and Implementation of Driver Module Based on Android System
- A Security Storage Solution Based on FAT32File System
- USB interface technology based smart gun shooting logger research
- USB protocol multi-application smart card
- Digital Storage Oscilloscope USB interface design studies with peripheral drivers
- Research and Realization of Video Surveillance and Play Based on ARM9Hardware Platform
- Research and Design of Embedded Building Security System
- The Softeware Design and Implement on Integrated Intelligent Camera Platform Based on Davinci DM6446
- The Research of Household Remote Monitoring Based on Embedded Web Server
- Research and Design of Intelligent Video Surveillance System Based on ARM
- Design of Video Monitoring System Based on the Embedded
- The Design of Embedded Network Video Surveillance System Based on ARM9
- Design and Application of the Distributed Monitoring System Based on Embedded Web
- Terminal design of fault diagnosis system of intelligent equipment under a cloud service environment
- Study on Embedded Data Acquisition System Application
- Embedded Software Design of AC Field Detection Instrument Based on ARM
- Design and Implementation of Four Channels High Speed Synchronous Sampling in Sound Source Localization System