User mode api for PoSetSystemState is SetThreadExecutionState
Dev
-----Original Message-----
From: Doron Holan [mailto:xxxxx@windows.microsoft.com]
Sent: Thursday, November 18, 2004 5:26 AM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] controlling device power states
Let’s see, these are pure guesses:
HD: cause disk traffic (Read, write). Specify no buffering to make
sure it goes to disk
Display: PoSetSystemState (ES_USER_PRESENT) (there is also a user mode
API for this). This will reset all power related times in the OS
Network: send network traffic
I know network allows you to turn off idle management while the system
is runnig via the WMI guid
D
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Kutty Banerjee
Sent: Wednesday, November 17, 2004 3:40 PM
To: Windows System Software Devs Interest List
Subject: Re:[ntdev] controlling device power states
Hi,
“If you need the device in full power, do something specific with the
device’s exported interface to bring it into full power. That may be
opening the device, sending it an IOCTL, something else. This type of
action that makes sure the device is in full is specific to each
device.”
I am trying to ensure the following 3 devices from the mentioned
classes are in state D0.
<1>Storage Device Class -> Hard Disk
<2>Display Device Class -> Display and Controller
<3>Network Device Class
Can you please point me to link, manual that refers IOCTL or IRPs
sent to these devices which ensure that the device is in state D0.
K
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of Kutty Banerjee
Sent: Wednesday, November 17, 2004 2:14 PM
To: Windows System Software Devs Interest List
Subject: Re:[ntdev] controlling device power states
May I reframe my question as follows. I figure that I/O Devices drivers
(WDM) can be sent IRP_MJ_POWER with IRP_MN_SET_POWER. Can I as a kernel
mode
driver sent this to “A Device” asking it to be in D0 State? Or will the
Power Manager tamper with my request? Can the device deny my request?
Thanks
Kutty
“Kutty Banerjee” wrote in message news:xxxxx@ntdev…
> Hi,
> Is there a technique to control (by control panel, code in user mode
or
> kernel mode) the device states of individual i/o devices?
> Namely, can i force all devices to run at max power consumption state?
> Likewise, can i force the cpu to run at max frequency overriding the
power
> saving features?
>
> With Thanks
> Kutty S Banerjee
>
>
>
>
—
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: xxxxx@windows.microsoft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
—
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: xxxxx@windows.microsoft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
—
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: unknown lmsubst tag argument: ‘’
To unsubscribe send a blank email to xxxxx@lists.osr.com