Driver Problems? Questions? Issues?
Put OSR's experience to work for you! Contact us for assistance with:
  • Creating the right design for your requirements
  • Reviewing your existing driver code
  • Analyzing driver reliability/performance issues
  • Custom training mixed with consulting and focused directly on your specific areas of interest/concern.
Check us out. OSR, the Windows driver experts.

Upcoming OSR Seminars:

Writing WDF Drivers I: Core Concepts, Nashua, NH 15-19 May, 2017
Writing WDF Drivers II: Advanced Implementation Tech., Nashua, NH 23-26 May, 2017
Kernel Debugging and Crash Analysis, Dulles, VA 26-30 June, 2017
Windows Internals & Software Driver Development, Nashua, NH 24-28 July, 2017


Go Back   OSR Online Lists > ntdev
Welcome, Guest
You must login to post to this list
  Message 1 of 3  
13 Jul 17 07:06
Vishnu Karthik
xxxxxx@gmail.com
Join Date: 25 Oct 2016
Posts To This List: 4
D0Entry on resumption from Hibernation

Hi all, Upon resumption from Hibernation, I see that my driver doesn't get a D0Entry notification. Instead I see that the driver is getting a surprise removal notification. As per MSDN links, I see that upon failure from D0Entry, surprise removal gets invoked. However, I in my case I see the D0Entry itself isn't getting invoked. What could be the possible reasons for D0Entry "not" getting called and for surprise removal getting invoke? thanks, Vishnu
  Message 2 of 3  
13 Jul 17 08:27
sunil kumar
xxxxxx@gmail.com
Join Date: 16 Jul 2010
Posts To This List: 101
D0Entry on resumption from Hibernation

What kind of device is it? USB based ? Does it support D3Cold? I have seen it on a platform which supports D3Cold. D3Cold device need support from BIOS\ACPI to go D3Cold. While resuming from Hibernation if BIOS\ACPI doed not turn on device correctly you may see this issue. Refer this link details https://msdn.microsoft.com/en-us/library/windows/hardware/ff543186(v=vs.85).aspx Not sure if it matches what you looking for! On Thu, Jul 13, 2017 at 7:05 PM, xxxxx@gmail.com < xxxxx@lists.osr.com> wrote: > Hi all, > > Upon resumption from Hibernation, I see that my driver doesn't get a > D0Entry notification. Instead I see that the driver is getting a surprise > removal notification. As per MSDN links, I see that upon failure from > D0Entry, surprise removal gets invoked. > > However, I in my case I see the D0Entry itself isn't getting invoked. What > could be the possible reasons for D0Entry "not" getting called and for > surprise removal getting invoke? <...excess quoted lines suppressed...> --
  Message 3 of 3  
13 Jul 17 10:33
Doron Holan
xxxxxx@microsoft.com
Join Date: 08 Sep 2005
Posts To This List: 10046
D0Entry on resumption from Hibernation

How are you verifying D0entry is not being called? Debug print statements are not sufficient as there may be lost prints when resuming. What does the wdf log say? Bent from my phone ________________________________ From: xxxxx@lists.osr.com <xxxxx@lists.osr.com> on behalf of Sunil Kumar <xxxxx@gmail.com> Sent: Thursday, July 13, 2017 5:26:40 AM To: Windows System Software Devs Interest List Subject: Re: [ntdev] D0Entry on resumption from Hibernation What kind of device is it? USB based ? Does it support D3Cold? I have seen it on a platform which supports D3Cold. D3Cold device need support from BIOS\ACPI to go D3Cold. While resuming from Hibernation if BIOS\ACPI doed not turn on device correctly you may see this issue. Refer this link details https://msdn.microsoft.com/en-us/library/windows/hardware/ff543186(v=vs.85).aspx< https://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fmsdn.microsoft.c om%2Fen-us%2Flibrary%2Fwindows%2Fhardware%2Fff543186(v%3Dvs.85).aspx&data=02%7C01 %7CDoron.Holan%40microsoft.com%7C43ad157663a94b59cd6308d4c9ea75ec%7C72f988bf86f14 1af91ab2d7cd011db47%7C1%7C0%7C636355456221056124&sdata=UouxBTUc8PguRBmGyCV5axHpP% 2Bo0onQzX7oM9TJfH8w%3D&reserved=0> Not sure if it matches what you looking for! On Thu, Jul 13, 2017 at 7:05 PM, xxxxx@gmail.com<mailto:xxxxx@gmail.com> <xxxxx@lists.osr.com<mailto:xxxxx@lists.osr.com>> wrote: Hi all, Upon resumption from Hibernation, I see that my driver doesn't get a D0Entry notification. Instead I see that the driver is getting a surprise removal notification. As per MSDN links, I see that upon failure from D0Entry, surprise removal gets invoked. However, I in my case I see the D0Entry itself isn't getting invoked. What could be the possible reasons for D0Entry "not" getting called and for surprise removal getting invoke? thanks, Vishnu --- NTDEV is sponsored by OSR Visit the list online at: <http://www.osronline.com/showlists.cfm?list=ntdev<https://na01.safelinks.protect ion.outlook.com/?url=http%3A%2F%2Fwww.osronline.com%2Fshowlists.cfm%3Flist%3Dntde v&data=02%7C01%7CDoron.Holan%40microsoft.com%7C43ad157663a94b59cd6308d4c9ea75ec%7 C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636355456221056124&sdata=%2F7Ts%2BgNw P1QrzX1vNOKGz6cHWKMtSc%2Bg%2F8wsltdBQxA%3D&reserved=0>> MONTHLY seminars on crash dump analysis, WDF, Windows internals and software drivers! Details at <http://www.osr.com/seminars<https://na01.safelinks.protection.outlook.com/?url=h ttp%3A%2F%2Fwww.osr.com%2Fseminars&data=02%7C01%7CDoron.Holan%40microsoft.com%7C4 3ad157663a94b59cd6308d4c9ea75ec%7C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C6363 55456221056124&sdata=UIGmuFG4RYDiPxURrWeCZAmfqEYgh6RtA81mvZ%2BTEAw%3D&reserved=0> > To unsubscribe, visit the List Server section of OSR Online at <http://www.osronline.com/page.cfm?name=ListServer<https://na01.safelinks.protect ion.outlook.com/?url=http%3A%2F%2Fwww.osronline.com%2Fpage.cfm%3Fname%3DListServe r&data=02%7C01%7CDoron.Holan%40microsoft.com%7C43ad157663a94b59cd6308d4c9ea75ec%7 C72f988bf86f141af91ab2d7cd011db47%7C1%7C0%7C636355456221056124&sdata=1F1tcTH3JyOm b5aWQ7SFXgedxOu2lVDcq8E5g64oP%2Fo%3D&reserved=0>> --- NTDEV is sponsored by OSR Visit the list online at: MONTHLY seminars on crash dump analysis, WDF, Windows internals and software drivers! Details at To unsubscribe, visit the List Server section of OSR Online at --
Posting Rules  
You may not post new threads
You may not post replies
You may not post attachments
You must login to OSR Online AND be a member of the ntdev list to be able to post.

All times are GMT -5. The time now is 16:45.


Copyright ©2015, OSR Open Systems Resources, Inc.
Based on vBulletin Copyright ©2000 - 2005, Jelsoft Enterprises Ltd.
Modified under license