Power managmenet in UMDF driver

Hi All,

I am facing a problem related with the UMDF driver …We have a split architecture were in the UMDF driver sits on top of the Kernel mode driver…

I have implemented all the callbacks for IPnpCallback… With these implementation i see that the surprise removal works fine…But the issue what am seeing is when i am trying to put the device in Sleep mode …

The IPnpCallback::OnD0Exit function is never getting called… Basically the system is not entering into sleep mode… Do some body have come across such problem…???

Do any one knows whats the reason ???

thanks,
Jagadish

Are you the power policy owner for the device? Or is the kernel mode driver the power policy owner? If there is no owner, nobody will put the device into Dx when the machine goes to sleep

d

-----Original Message-----
From: xxxxx@lists.osr.com [mailto:xxxxx@lists.osr.com] On Behalf Of xxxxx@gmail.com
Sent: Monday, November 05, 2007 3:07 AM
To: Windows System Software Devs Interest List
Subject: [ntdev] Power managmenet in UMDF driver

Hi All,

I am facing a problem related with the UMDF driver …We have a split architecture were in the UMDF driver sits on top of the Kernel mode driver…

I have implemented all the callbacks for IPnpCallback… With these implementation i see that the surprise removal works fine…But the issue what am seeing is when i am trying to put the device in Sleep mode …

The IPnpCallback::OnD0Exit function is never getting called… Basically the system is not entering into sleep mode… Do some body have come across such problem…???

Do any one knows whats the reason ???

thanks,
Jagadish


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

Hi Doron,

I got the were was the problem…i was not setting the power policy to
true in my UMDF driver…Its working now…

Thanks a lot…
Jagadish

On 11/5/07, Doron Holan wrote:
>
> Are you the power policy owner for the device? Or is the kernel mode
> driver the power policy owner? If there is no owner, nobody will put the
> device into Dx when the machine goes to sleep
>
> d
>
> -----Original Message-----
> From: xxxxx@lists.osr.com [mailto:
> xxxxx@lists.osr.com] On Behalf Of
> xxxxx@gmail.com
> Sent: Monday, November 05, 2007 3:07 AM
> To: Windows System Software Devs Interest List
> Subject: [ntdev] Power managmenet in UMDF driver
>
> Hi All,
>
>
> I am facing a problem related with the UMDF driver …We have a split
> architecture were in the UMDF driver sits on top of the Kernel mode
> driver…
>
> I have implemented all the callbacks for IPnpCallback… With these
> implementation i see that the surprise removal works fine…But the issue
> what am seeing is when i am trying to put the device in Sleep mode …
>
> The IPnpCallback::OnD0Exit function is never getting called… Basically
> the system is not entering into sleep mode… Do some body have come across
> such problem…???
>
> Do any one knows whats the reason ???
>
> thanks,
> Jagadish
>
> —
> 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
>
> —
> 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
>