X-Git-Url: http://git.zerfleddert.de/cgi-bin/gitweb.cgi/amt/blobdiff_plain/402f63cd3bf64377c6fed357a2c4856aa4864c69..b43d857c47539a2e346c391fe1b1da06c36d34c0:/amttool diff --git a/amttool b/amttool index d1b0f48..69bd1bb 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('SpecialCommand' => 0xC1 )); + push (@args, SOAP::Data->name('SpecialCommandParameter' => 0)); + push (@args, SOAP::Data->name('OEMparameters' => 1 )); + } do_soap($rcs, "RemoteControl", @args); } else { printf "canceled\n";