summaryrefslogtreecommitdiffstats
path: root/amttool
diff options
context:
space:
mode:
authorkraxel <kraxel>2008-10-30 09:59:57 +0000
committerkraxel <kraxel>2008-10-30 09:59:57 +0000
commit67ae9c9d246070251ba1ab9660bf5cb78deefb82 (patch)
tree6ffcededa4d9ba6efb72c38de899657788c92028 /amttool
parent7c080383cd6cc523b0bd196dc5d13112d3929b24 (diff)
downloadamtterm-67ae9c9d246070251ba1ab9660bf5cb78deefb82.tar.gz
- make BIOS-over-SOL work.
Diffstat (limited to 'amttool')
-rwxr-xr-xamttool8
1 files changed, 7 insertions, 1 deletions
diff --git a/amttool b/amttool
index d1b0f48..b47d3fe 100755
--- a/amttool
+++ b/amttool
@@ -13,6 +13,7 @@ $amt_debug = $ENV{'AMT_DEBUG'} if defined($ENV{'AMT_DEBUG'});
my $amt_command = shift;
$amt_command = "info" if !defined($amt_command);
+my $amt_arg = shift;
my $amt_version;
@@ -277,7 +278,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 (defined($amt_arg) && $amt_arg eq 'bios') {
+ 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";