Something bizarre occurs with the dc7800 display after this runs. adding the
authorStephen Soltesz <soltesz@cs.princeton.edu>
Tue, 2 Jun 2009 17:57:30 +0000 (17:57 +0000)
committerStephen Soltesz <soltesz@cs.princeton.edu>
Tue, 2 Jun 2009 17:57:30 +0000 (17:57 +0000)
delay helps, but only slightly.  Apparently, disconnecting the display cable
and reattaching it clears up the problem.  No idea why.

pcucontrol/models/intelamt/RemoteControlSample.cpp

index f12cab5..161738a 100644 (file)
@@ -175,10 +175,16 @@ bool MainFlow(Soap *server, int option, bool verbose)
                        }       
                        /* Ensure that the machine is powered up before trying to
                         * 'reset' it, since a reset on a down node will fail. */
+                       /*if ((status = ExecuteRemoteControl(server,true,PowerDown)) == false)
+                       {
+                               return status;
+                       }
+                       sleep(10); */
                        if ((status = ExecuteRemoteControl(server,true,PowerUp)) == false)
                        {
                                return status;
                        }
+                       sleep(5);
                        if ((status = ExecuteRemoteControl(server,true,Reset)) == false)
                        {
                                return status;