diff options
author | kraxel <kraxel> | 2008-10-30 09:59:57 +0000 |
---|---|---|
committer | kraxel <kraxel> | 2008-10-30 09:59:57 +0000 |
commit | 67ae9c9d246070251ba1ab9660bf5cb78deefb82 (patch) | |
tree | 6ffcededa4d9ba6efb72c38de899657788c92028 /amttool | |
parent | 7c080383cd6cc523b0bd196dc5d13112d3929b24 (diff) | |
download | amtterm-67ae9c9d246070251ba1ab9660bf5cb78deefb82.tar.gz |
- make BIOS-over-SOL work.
Diffstat (limited to 'amttool')
-rwxr-xr-x | amttool | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -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"; |