利用KMDF驱动程序实现USB设备的功耗控制  被引量:3

IMPLEMENTING POWER CONTROLLING FOR USB DEVICE BY KMDF DRIVER

在线阅读下载全文

作  者:朱诚[1] 左辉 

机构地区:[1]天津商业大学信息工程学院,天津300134 [2]天津市西青区计量检定所,天津300380

出  处:《计算机应用与软件》2012年第12期252-254,321,共4页Computer Applications and Software

摘  要:当今越来越多的设备通过USB接口与计算机连接,这种方式虽然为功能的扩展提供了便利,但使得连接在主机上的各种USB设备总耗电量越来越大。因此适时将USB设备切换至"睡眠"状态可以有效地降低主机的整体功耗。KMDF驱动程序框架提供了基于事件驱动、面向对象的驱动程序开发接口,丰富的指令集和函数库使得控制USB设备功耗和切换运行状态的工作变得非常简便。介绍选择性挂起、设备栈等技术概念,说明设备I/O请求的处理原则和分发流程,描述如何通过内核模式驱动程序框架(KMDF)实现USB设备的挂起和唤醒。通过简单的代码片段,证明了设备的"功耗控制"工作简便、可行。Today, there are more and more devices connecting to computer through USB port which provides convenience for function expansion. However, the overall power-consumption of USB devices appended to host is getting growing high as well. So, to switch USB devices into "sleeping" status timely is an efficient way to reduce whole power consumption of the host. KMDF provides event-driven and object-oriented interfaces for drives development. Rich instructions set and function library make the job of power controlling and state- switching in regard to USB devices convenient. This article introduces the concepts of selective suspend and device stack, expresses the principle of management and the dispatch flow of I/O requests, as well as describes how to implement selective suspend and awaking of USB by KMDF. Moreover, the simple snippets of codes verify that the power-managed is easy and practicable.

关 键 词:选择性挂起 功耗控制 电源管理 内核模式驱动程序框架 

分 类 号:TP399[自动化与计算机技术—计算机应用技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象