sdague / amt

Python tools for interacting with Intel's AMT hardware control interfaces
Apache License 2.0
64 stars 30 forks source link

Add hibernate power state. #22

Closed chenl closed 7 years ago

chenl commented 7 years ago

According to Intel® AMT 9.0 Start Here Guide

7: Hibernate (Off Soft), corresponding to ACPI state S4, where the state of the managed element is preserved and will be recovered upon powering on

I also tested this with an Intel NUC I have access to, and after asking the OS to hibernate the machine (and waiting for about 2 minutes) amt.client.Clients.poser_status() returned '7'.

sdague commented 7 years ago

Thanks!

chenl commented 7 years ago

That was quick. :smiley:

What version should I put in my requirements.txt to get this fix?

Thanks.

On Tue, Jun 27, 2017 at 2:49 PM, Sean Dague notifications@github.com wrote:

Thanks!

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/sdague/amt/pull/22#issuecomment-311334752, or mute the thread https://github.com/notifications/unsubscribe-auth/ABmZU1DcBDFhsB8DoZ3zWhldoQJ5IsK1ks5sIOxQgaJpZM4OGOTC .

-- Cheers, Chen.

sdague commented 7 years ago

Well, the patch was simple.

Just pushed 0.8.0 up to pypi with the change - https://pypi.python.org/pypi/amt/0.8.0

On 06/27/2017 08:54 AM, Chen Rotem Levy wrote:

That was quick. :)

What version should I put in my requirements.txt to get this fix?

Thanks.

On Tue, Jun 27, 2017 at 2:49 PM, Sean Dague notifications@github.com wrote:

Thanks!

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/sdague/amt/pull/22#issuecomment-311334752, or mute the thread

https://github.com/notifications/unsubscribe-auth/ABmZU1DcBDFhsB8DoZ3zWhldoQJ5IsK1ks5sIOxQgaJpZM4OGOTC .

-- Cheers, Chen.

— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub https://github.com/sdague/amt/pull/22#issuecomment-311348990, or mute the thread https://github.com/notifications/unsubscribe-auth/AAA4H-gwm_vjVv962Q16LPNOZR65REeUks5sIPt2gaJpZM4OGOTC.

-- Sean Dague http://dague.net