设置显示驱动程序的电源要求 [英] Setting Power Requirement of Display Driver

查看:108
本文介绍了设置显示驱动程序的电源要求的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

简短版本:


==========


是否有类似于SetPowerRequirement的调用(。 ..)可用于设置显示驱动程序的最低功率要求?


 


长版本:


==========


我们有一个运行Windows Embedded CE 6.0 R3的系统,它使用标准(没有克隆或修改)"电源管理(完整)"目录。


设备具有适当的超时设置,以便显示器和各种设备根据UserIdle和SystemIdle电源状态进入适当的电源状态。


我们希望能够在系统处于"用户空闲"状态时保持显示器不断电。或"系统空闲"或"系统空闲"。但不是暂停。  最初我们认为我们可以使用SetPowerRequirement API调用(就像我们对Backlight所做的那样)告诉系统我们希望保持显示的


我们知道如果我们点击"用户活动"事件以防止系统进入"用户空闲"状态状态,我们可以保持显示(这已经过测试),但这并不理想。


SetPowerRequirement(显示)确实是完美的解决方案,但没有显示驱动程序,因为有BKL1: 。  我们尝试仅使用Power Class  {EB91C7C9-8BF6-4a2d-9AB8-69724EED97D1},但会返回错误代码87:不正确的参数。


我还通过了HKLM \ Drivers\Active\XX在设备上查看我是否可以找到GWES的驱动程序,看看我是否可以将其用作驱动程序但无法找到它指定。


谢谢,


Brad。

解决方案

您可以使用注册表:


[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\State\UserIdle\ {EB91C7C9-8BF6-4a2d-9AB8-69724EED97D1}]

    "默认" = DWORD:0          ; D0


[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\State\ SystemIdle \ {EB91C7C9-8BF6-4a2d-9AB8-69724EED97D1}]

    "默认" = DWORD:0           ; D0


 以上告诉PM,属于类别的设备{EB91C7C9-8BF6-4a2d-9AB8-69724EED97D1}(显示屏)必须保存在UserIdle和SystemIdle中的D0中


Short Version:

==========

Is there any call similar to SetPowerRequirement(...) that may be used to set a Minimum Power Requirement for the Display Driver?

 

Long Version:

==========

We have a system running Windows Embedded CE 6.0 R3 that uses the standard (did not clone or modify) "Power Management (Full)" Catalog.

The device has appropriate timeouts set so that the display and various devices enter their appropriate power states based on the UserIdle and SystemIdle Power States.

We wish to be able to keep the Display from powering down when the system is in "User Idle" or "System Idle" but not suspend.  Initially we thought that we could use the SetPowerRequirement API call (like we do for the Backlight) to tell the system that we wish to keep the display on.

We know that if we hit the "User Activity" event to keep the system from entering the "User Idle" state we can keep the display on (this has been tested) but this is not ideal.

SetPowerRequirement(Display) is really the perfect solution but there is no Display Driver as there is BKL1:.  We've tried to use just the Power Class {EB91C7C9-8BF6-4a2d-9AB8-69724EED97D1} but that returns Error Code 87: Incorrect Parameter.

I also went through HKLM\Drivers\Active\XX on the device to see if I could find a driver for GWES to see if maybe I could use that as the driver but could not find it specified.

Thank you,

Brad.

解决方案

You can use the registry:

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\State\UserIdle\{EB91C7C9-8BF6-4a2d-9AB8-69724EED97D1}]
    "Default"=dword:0          ; D0

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power\State\SystemIdle\{EB91C7C9-8BF6-4a2d-9AB8-69724EED97D1}]
    "Default"=dword:0           ; D0

 The above tell the PM that the devices belonging to class {EB91C7C9-8BF6-4a2d-9AB8-69724EED97D1}, the display, must be kept in D0 in UserIdle and SystemIdle


这篇关于设置显示驱动程序的电源要求的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆