计算机应用与软件2012,Vol.29Issue(12):252-254,321,4.DOI:10.3969/j.issn.1000-386x.2012.12.071
利用KMDF驱动程序实现USB设备的功耗控制
IMPLEMENTING POWER CONTROLLING FOR USB DEVICE BY KMDF DRIVER
朱诚 1左辉2
作者信息
- 1. 天津商业大学信息工程学院 天津300134
- 2. 天津市西青区计量检定所 天津300380
- 折叠
摘要
Abstract
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.关键词
选择性挂起/功耗控制/电源管理/内核模式驱动程序框架Key words
Selective suspend/Power controlling/Power-management/Kernel-mode driver framework (KMDF)分类
信息技术与安全科学引用本文复制引用
朱诚,左辉..利用KMDF驱动程序实现USB设备的功耗控制[J].计算机应用与软件,2012,29(12):252-254,321,4.