毕业论文---基于Linux系统下USB鼠标驱动开发_精品.doc
文本预览下载声明
毕业设计(论文)
题 目 基于Linux系统下USB鼠标驱动开发
英文题目 Using Linux system to Write Device Drivers of USB mouse
学生姓名
学 号
指导教师 职称 讲 师
专 业 信 息 工 程
二零一一年五月
目 录
摘 要 I
ABSTRACT II
第一章 绪 论 1
1.1 课题研究的背景和意义 1
1.1.1 课题研究的背景 1
1.1.2 课题研究的意义 1
1.3 课题研究的内容 1
第二章 USB简介 2
2.1 USB的沿革 2
2.2 USB的优点 2
2.3 USB的应用及发展趋势 3
2.3.1 USB的扩展应用 3
2.3.2 USB的发展趋势 4
2.4 USB接口类型 4
2.5 USB2.0规范 5
2.6 USB 3.0 简介 5
第三章 USB系统架构与协议 7
3.1 USB系统拓扑结构 7
3.2 USB设备逻辑结构 8
3.3 USB描述符 9
3.3 USB数据传输方式 9
3.3 USB数据流模型 10
3.3.1 控制传输 10
3.3.2 中断传输 11
3.3.3 批量传输 11
3.3.4 同步传输 12
第四章 Linux系统内核及内核模块 13
4.1 Linux体系结构 13
4.2 Linux内核架构 13
4.3 Linux内核目录结构 14
4.4 Linux内核模块开发 15
4.4.1 makefile 15
4.4.2 安装和卸载内核模块 17
4.5 Linux内核配置与安装 18
第五章 Linux USB系统与功能测试 23
5.1 USB协议软件层次 23
5.2 Linux USB架构 24
5.3 MassStorsge 24
5.4 USB-HID 28
第六章 Linux USB鼠标驱动程序设计 31
6.1 USB鼠标驱动程序分析 31
6.2 URB 33
6.3 搭建开发平台 33
6.3.1 安装编辑工具 33
6.3.2 安装和配置编译器 33
6.3.3 安装其他工具 34
6.3.4 平台硬件构成 34
6.3.5 平台软件构成 36
6.4 USB鼠标驱动程序详细设计 36
总 结 41
致 谢 42
参考文献 43
摘 要
随着计算机硬件飞速发展,外围设备日益增多,键盘、鼠标、调制解调器、打印机、扫描仪早已为人所共知,数码相机、MP3随身听接踵而至,这么多的设备,如何接入个人计算机?USB就是基于这个目的产生的。USB是一个使计算机周边设备连接标准化、单一化的接口,其规格是由Intel(英特尔)、NEC、Compaq、DEC、IBM(商业机器公司)、Microsoft(微软)、Northern Telecom联系制定的。USB具有传输速度快,使用方便,支持热插拔,连接灵活,独立供电等优点,几乎所有的外部设备成为当今个人电脑和大量智能设备的必配的接口之一。
ABSTRACT
With the rapid development of computer hardware and peripherals increasing, keyboard, mouse, modem, printer, scanner is already known, digital camera, MP3 player, so many of the ensuing equipment, how to access personal computer? USB is based on the objective of generation. USB is a computer peripheral devices connected standardization, simplification, its specification is made interface Intel (Intel), NEC, Compaq, DEC, IBM (business machine company), Microsoft (Microsoft), Northern Telecom contact work. USB with transmitting speed, easy to use, support hot swaps, connect flexible, independent power supply etc, almost applied to all external devi
显示全部