I’ve been asked to add power management features to existing
NDIS miniport driver (have the source) we obtained from a
3rd party. I’m wondering whether it is possible to add
power states handling for this device in a filter driver
thus avoiding changes to the original driver? I may add
few vendor specific OIDs to this new filter driver. Any
comments?
thanks
/kmk
Join Excite! - http://www.excite.com
The most personalized portal on the Web!
What sort of power management do you mean? The NDIS Miniport model has a
pretty straight forward concept and abstraction of power management; NDIS
tells you what power state to put your hardware and you do it. The NDIS
model of Power Management and PnP does not lend itself to implementing such
a feature elsewhere very easy or robust. If you have the Miniport sources,
that would be the best (only?) place.
Good Luck,
Dave Cattley
Consulting Engineer
Systems Software Development
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of kmk
Sent: Friday, January 13, 2006 12:37 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] Newbie questions on ndis and powermanagement
I’ve been asked to add power management features to existing NDIS miniport
driver (have the source) we obtained from a 3rd party. I’m wondering whether
it is possible to add power states handling for this device in a filter
driver thus avoiding changes to the original driver? I may add few vendor
specific OIDs to this new filter driver. Any comments?
thanks
/kmk
Join Excite! - http://www.excite.com
The most personalized portal on the Web!
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: xxxxx@msn.com To unsubscribe
send a blank email to xxxxx@lists.osr.com
Are you asking if you can manage the power state of the device behind
NDIS’s back?
d
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of kmk
Sent: Friday, January 13, 2006 9:37 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] Newbie questions on ndis and powermanagement
I’ve been asked to add power management features to existing
NDIS miniport driver (have the source) we obtained from a
3rd party. I’m wondering whether it is possible to add
power states handling for this device in a filter driver
thus avoiding changes to the original driver? I may add
few vendor specific OIDs to this new filter driver. Any
comments?
thanks
/kmk
Join Excite! - http://www.excite.com
The most personalized portal on the Web!
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: xxxxx@microsoft.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
From the filter driver, I want to report that I can handle
additional powers states for the device that are not
supported in the miniport driver I have.
I believe the miniport driver handles D0 and D3. But it does
not have code for inbetween states. Can I support those states
from a filter driver (lower or upper)?
— On Fri 01/13, David R. Cattley < xxxxx@msn.com > wrote:
From: David R. Cattley [mailto: xxxxx@msn.com]
To: xxxxx@lists.osr.com
Date: Fri, 13 Jan 2006 12:52:35 -0500
Subject: RE: [ntdev] Newbie questions on ndis and powermanagement
What sort of power management do you mean? The NDIS Miniport model has a
pretty straight forward concept and abstraction of power management; NDIS
tells you what power state to put your hardware and you do it. The NDIS
model of Power Management and PnP does not lend itself to implementing such
a feature elsewhere very easy or robust. If you have the Miniport sources,
that would be the best (only?) place.
Good Luck,
Dave Cattley
Consulting Engineer
Systems Software Development
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of kmk
Sent: Friday, January 13, 2006 12:37 PM
To: Windows System Software Devs Interest List
Subject: [ntdev] Newbie questions on ndis and powermanagement
I’ve been asked to add power management features to existing NDIS miniport
driver (have the source) we obtained from a 3rd party. I’m wondering whether
it is
possible to add power states handling for this device in a filter
driver thus avoiding changes to the original driver? I may add few vendor
specific OIDs to this new filter driver. Any comments?
thanks
/kmk
Join Excite! - http://www.excite.com
The most personalized portal on the Web!
Questions? First check the Kernel Driver FAQ at
http://www.osronline.com/article.cfm?id=256
You are currently subscribed to ntdev as: xxxxx@msn.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@excite.com
To unsubscribe send a blank email to xxxxx@lists.osr.com
Join Excite! - http://www.excite.com
The most personalized portal on the Web!
If the Miniport itself does not implement anything between NdisDeviceStateD0
and NdisDeviceStateD3, what might you expect to accomplish by hiding this
fact from the power manager? Which state do you expect, for instance, the
Miniport to be transitioned to if the request is to put it into
NdisDeviceStateD2? If you leave it in D0, the thing will be *on* and not at
all what is expected. If you put it into NdisDeviceStateD3, that is just
what the system would have done.
The point about the NdisDeviceStateD1 and NdisDeviceStateD2 states is to
provide a tradeoff between power savings and wakeup time. If the NIC does
not currently support them, then, it probably has no relevant things to
‘trade off’ (i.e. it has no subsystems that can be turned off independently
like a radio, media drivers, etc.) and thus cannot effectively implement a
distinction of relevance between NdisDeviceStateD{1,2} and
NdisDeviceStateD3.
You of course can filter the PnP device object created by NDIS for the NIC
and get all ugly with the PnP IRPs between the Power Manager and NDIS. I am
having trouble imagining what good will come of it though.
I am not helping you and will shut up at this point because I don’t think I
can help you.
Good Luck,
Dave Cattley
Consulting Engineer
Systems Software Development
-----Original Message-----
From: xxxxx@lists.osr.com
[mailto:xxxxx@lists.osr.com] On Behalf Of kmk
Sent: Friday, January 13, 2006 3:46 PM
To: Windows System Software Devs Interest List
Subject: RE: [ntdev] Newbie questions on ndis and powermanagement
From the filter driver, I want to report that I can handle additional powers
states for the device that are not supported in the miniport driver I have.
I believe the miniport driver handles D0 and D3. But it does not have code
for inbetween states. Can I support those states from a filter driver (lower
or upper)?