From: Michael Gernoth Date: Mon, 12 May 2008 13:35:01 +0000 (+0200) Subject: enable sol on powerup X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/amt/commitdiff_plain/b562f16a324b4438d70de664cede5cce37603d48?ds=sidebyside enable sol on powerup --- 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";