Font Size: a A A

USB Over IP System Design On Linux

Posted on:2008-02-09Degree:MasterType:Thesis
Country:ChinaCandidate:Y YangFull Text:PDF
GTID:2178360212991249Subject:Communication and Information System
Abstract/Summary:PDF Full Text Request
In recent years, more and more USB products come forth in market. Meanwhile, more and more customers want to use remote USB device simply as local USB device, and different hosts share USB devices smoothly and stealthily between each other, whereas,it is not a piece of cake to share USB devices as files on Windows. At present time there are some USB projects which can complish USB device share, such as USB anywhere,USB over network and so on. These all can share USB devices between different hosts, but they need user buy some hardware or ther support only Windows OS. There is little project which is implemented for USB device share on Linux OS. In this thesis one new project is propursed for USB device share which do not need hardware either in addition.In this thesis, I research and analyze the principle and implementation of USB driver under Linux operation system, and have propurse and impletmented one new way, the USB over IP system. With this system, USB request block packed as IP is transferred and remote USB device is mapped into local no matter which class it is. And so Linux Hosts can share any USB devices between each other in local network, without changing any USB driver architecture and adding hardware.What you do is just to install a USB driver and you can share remote USB devices easily as local. According to my test the transfer speed can be over 700 Kbytes/s with 100M Ethernet card, which satisfy most common needs.The detail tasks including are as follows:(1) Detail analyse on Linux driver architecture and principle. With Linux kernel code as reference, device driver principle, Linux driver model and sysfs file system also are analyzed in every particular.(2) USB driver architecture analysis in Linux, including USB host driver and device driver.And USB host driver is analyzed particularly.(3) Principle and implement on USB over IP system.In that the USB command is packed as URB in driver layer no matter the device is mass storage or camera, URB packed as IP is transferred in Ethernet network, URB is mapped into local host transparently and so USB device share is implemented. Moreover particular analysis and solution are given for specified problem such as hotplug, driver bind and so on.This system, USB over IP, might be widely used on Linux servers, workstations, and PCs. with this way of sharing USB devices, it simplify usage of USB device and improve work efficience.
Keywords/Search Tags:Linux, USB, sysfs, driver, host controller, file system
PDF Full Text Request
Related items