Facilitating USB Device Driver Development

碩士 === 輔仁大學 === 電子工程學系 === 94 === A device driver is a software layer that lies between the applications and the physical peripheral device. Writing device drivers has always been a tedious and error-pone job. In this thesis, we propose facilities to assist device driver development for USB devices....

Full description

Bibliographic Details
Main Authors: Jr-Tsung Lin, 林志聰
Other Authors: Kuan-Jen Lin
Format: Others
Language:zh-TW
Published: 2006
Online Access:http://ndltd.ncl.edu.tw/handle/45398844773098010841
Description
Summary:碩士 === 輔仁大學 === 電子工程學系 === 94 === A device driver is a software layer that lies between the applications and the physical peripheral device. Writing device drivers has always been a tedious and error-pone job. In this thesis, we propose facilities to assist device driver development for USB devices. The facilities include (1) automatically generating driver code skeleton from a user-specified configuration file; (2) flattening USB input-device drivers by merging multi-layer drivers into a monolithic driver and pruning codes for certain applications. The generated code skeleton reduces the development effort and allows a programmer to rapidly obtain a driver prototype. The flattened drivers can not only reduce driver codes but also shorten driver response time. We implemented these facilities under Linux environment. Assessments showed favorable results.