From: Stephen Soltesz Date: Tue, 2 Jun 2009 17:57:30 +0000 (+0000) Subject: Something bizarre occurs with the dc7800 display after this runs. adding the X-Git-Tag: Monitor-3.0-12~3 X-Git-Url: http://git.onelab.eu/?p=monitor.git;a=commitdiff_plain;h=123bf8bf22c205d7c6ac9064b3371def83bf5a01 Something bizarre occurs with the dc7800 display after this runs. adding the delay helps, but only slightly. Apparently, disconnecting the display cable and reattaching it clears up the problem. No idea why. --- diff --git a/pcucontrol/models/intelamt/RemoteControlSample.cpp b/pcucontrol/models/intelamt/RemoteControlSample.cpp index f12cab5..161738a 100644 --- a/pcucontrol/models/intelamt/RemoteControlSample.cpp +++ b/pcucontrol/models/intelamt/RemoteControlSample.cpp @@ -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;