2

I need to run some code when my computer resumes from hibernate (even before I logon). The laptop I am using has a bizzare problem. If I have an external monitor connected to it while resuming from hibernate the laptop chooses the external display as the main video device and the laptop screen remains blank. This becomes more frustrating when sometimes both displays remain blank indefinitely.

I am thinking of writing some code to switch the active display back to the laptop screen when the computer resumes from hibernate. But which windows event do I need to look for to begin with?

The built in hot keys for switching the display have also stopped working. I have reinstalled the OS several times by now and things go smoothly for a few days after that and then its back to square one.

3
  • The built-in hotkeys for switching the display don't do anything? Dec 3, 2008 at 19:19
  • I have updated my question to answer your question! Dec 3, 2008 at 19:37
  • At least ThinkPads have their own utility which handles displays, updating it solved quite a few problems on my work laptop. If you have reinstalled the OS, the utilities might not have been updated to their latest version.
    – Kaniu
    Dec 3, 2008 at 20:17

1 Answer 1

0

I think most laptops have issues with that. It is not something they seem to be able to solve in the drivers/ACPI BIOS.

I know Linux allows you to modify the ACPI tables, but I cannot remember if this is possible on Windows.

A Google should provide links to tools you can use to inspect your laptop's ACPI tables in Windows (MS tools IIRC).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.