From b562f16a324b4438d70de664cede5cce37603d48 Mon Sep 17 00:00:00 2001 From: Michael Gernoth Date: Mon, 12 May 2008 15:35:01 +0200 Subject: [PATCH] enable sol on powerup --- amttool | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/amttool b/amttool index d1b0f48..3aaab53 100755 --- a/amttool +++ b/amttool @@ -277,7 +277,12 @@ sub remote_control($) { if ($reply =~ m/^(y|yes)$/i) { printf "execute: %s\n", $command; push (@args, SOAP::Data->name('Command' => $rcc{$command})); - push (@args, SOAP::Data->name('IanaOemNumber' => 4542)); + push (@args, SOAP::Data->name('IanaOemNumber' => 343)); + if ($command ne 'powerdown') { + push (@args, SOAP::Data->name('OEMparameters' => 1 )); + push (@args, SOAP::Data->name('SpecialCommand' => 0xC1 )); + push (@args, SOAP::Data->name('SpecialCommandParameter' => 0)); + } do_soap($rcs, "RemoteControl", @args); } else { printf "canceled\n"; -- 2.39.5