]> git.zerfleddert.de Git - rsbs2/blobdiff - rsbs2
make the power-relay work
[rsbs2] / rsbs2
diff --git a/rsbs2 b/rsbs2
index 91027590ee2a4fba3a822df41c61e5d7ccf9fd6a..2ad767e6768984f5441007698cfa9d7681012530 100755 (executable)
--- a/rsbs2
+++ b/rsbs2
@@ -280,11 +280,11 @@ printf("byte 22: 0x%x\n", ord($board[22]));
 #showprop("SERVER_POWER_ON_PULSE_MS");
 #showprop("SERVER_POWER_OFF_MODE");
 #showprop("SERVER_POWER_OFF_PULSE_MS");
-#showprop("AGENT_VERSION");
+#showprop("FP_COMREDIRECT");
 
 board_properties();
 
-show_all_vars();
+#show_all_vars();
 
 #server_power_on modes: (com/agilent/rmc/mgui/panels/PowerMgmtConf.class)
 #0: l_pmconf_option_disabled
@@ -301,13 +301,16 @@ setprop("FP_REMOTE_POWER", "TRUE");
 #PM Mode
 setprop("SERVER_POWER_ON_MODE", sprintf("0x%x", $pmode));
 setprop("SERVER_POWER_OFF_MODE", sprintf("0x%x", $pmode));
+#Hack: Abuse powercycloe for powerup and down...
+setprop("SERVER_POWER_ON_PULSE_MS", "0x0");
 
 #$reqstr='<?xml version="1.0"?><?RMCXML version="1.0"?><RMCSEQ><REQ CMD="boardpropset"><BPROP NAME="BOARD_DESCRIPTION"><VAL>'.$boarddesc_new.'</VAL></BPROP></REQ></RMCSEQ>';
 #print $reqstr."\n";
 #print Dumper(_req($reqstr));
 
-#serveraction("hardreset");
-serveraction("powerup");
-serveraction("powerdown");
+serveraction("hardreset");
+#serveraction("powerup");
+#serveraction("powerdown");
+serveraction("powercycle");
 
 logout();
Impressum, Datenschutz