QDR/powerRelations;

In this thread there was a talk about QDR/PowerRelations:

http://www.osronline.com/showThread.cfm?link=167393

Where can I filter the powerRelations of a storage stack (all are inbox drivers and AHCI controller has msahci.sys as the miniport)? I tried upper disk filter and port filter driver (I attach to both the contrller FDO and disk PDOs) but I don’ see any powerRelations being queried. Thanks.

IIUC, Power relations are only queried if someone asks for them (IoInvalidateDeviceRelations(PowerRelations). If all of the devices are you are wondering about are in the same pnp hierarchy (i.e. they all share some common root node like the host controller), power relations does not matter b/c the pnp tree is the power relationship tree. Power relations are only important for 2 separate pnp trees

d

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@yahoo.com
Sent: Wednesday, November 11, 2009 4:34 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] QDR/powerRelations;

In this thread there was a talk about QDR/PowerRelations:

http://www.osronline.com/showThread.cfm?link=167393

Where can I filter the powerRelations of a storage stack (all are inbox drivers and AHCI controller has msahci.sys as the miniport)? I tried upper disk filter and port filter driver (I attach to both the contrller FDO and disk PDOs) but I don’ see any powerRelations being queried. Thanks.


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer

As in the other thread listing my boot storage device is dependent on another stack (not owned by me). From my boot device stack can I call IoInvalidateDevieRelations (PowerRelations) and then in my DispatchPnp response when asked add my other device PDO to device relations? Is that good enough to manage power relationship between stacks while transitioning across various low power states?

Why don’t you try it out and see?

d

Sent from my phone with no t9, all spilling mistakes are not intentional.

-----Original Message-----
From: xxxxx@yahoo.com
Sent: Wednesday, November 11, 2009 5:16 PM
To: Windows System Software Devs Interest List
Subject: RE:[ntdev] QDR/powerRelations;

As in the other thread listing my boot storage device is dependent on another stack (not owned by me). From my boot device stack can I call IoInvalidateDevieRelations (PowerRelations) and then in my DispatchPnp response when asked add my other device PDO to device relations? Is that good enough to manage power relationship between stacks while transitioning across various low power states?


NTDEV is sponsored by OSR

For our schedule of WDF, WDM, debugging and other seminars visit:
http://www.osr.com/seminars

To unsubscribe, visit the List Server section of OSR Online at http://www.osronline.com/page.cfm?name=ListServer