Dell Latitude 5490 hibernate resume issues after going into Test Mode for KMDF
driver development
I'm a C/C++ programmer writing a set of KMDF Virtual HID drivers for Windows 10, the steps involved of which according to the Microsoft documentation I've read involve disabling Secure Boot, enabling Test Mode through bcdedit /set TESTSIGNING ON, downloading the Windows SDK and WDK, and remotely provisioning the target computer through Visual Studio 2019 from another host computer.
I have an older Windows 10 Dell desktop on this same network which is having no issues in Test Mode with my KMDF test drivers, but is also always on and doesn't go into Hibernate.
Once I have set up Test Mode on my Dell Latitude 5490 though, in many cases after trying to resume from hibernate after closing the lid, the computer goes into a boot loop where the white light at the bottom will blink on and off as the screen blinks on and off without showing the Dell logo, and I have to power cycle manually to reboot the whole system. In a few cases I will see a text screen that says, "TPM disabled! F2 to retry boot", yet I have disabled Secure Boot (but TPM is still checked in UEFI settings). In some scenarios I will just get a black screen and I have to power cycle and reboot the whole machine.
I ran the SupportAssist for all options and it reported no issues but the resuming from sleep/hibernate issue still persisted.
In the BIOS I enabled "Block Sleep" though, and Windows 10 still does sleep when you close the lid, and now comes back fine as before from sleep/hibernate. I have no idea why this fixes the issue, but it does.
I also tried disabling TPM entirely to see if this would stop the issue. The issue seems to be happening intermittently on the Dell Latitude 5490 when coming back from hibernate, and I'll be forced to power cycle manually and lose any work.
Just a side note my virtual HID driver is working successfully on this and three other machines I've tested on. The issue persists without any of my test drivers installed. It seems to be entirely a side effect bug of enabling Test Mode and disabling Secure Boot, which is needed for debug settings to work in Test Mode. See MS docs here: https://docs.microsoft.com/en-us/windows-hardware/drivers/download-the-wdk
jernest79
4 Posts
689
0
Posted August 16th, 2021 18:00
I ran the SupportAssist for all options and it reported no issues but the resuming from sleep/hibernate issue still persisted.
In the BIOS I enabled "Block Sleep" though, and Windows 10 still does sleep when you close the lid, and now comes back fine as before from sleep/hibernate. I have no idea why this fixes the issue, but it does.