Hi everyone,
I was implementing ACPI , i got all data that i want to shutdown the PC , then i enabled the ACPI
after that i sent (SLP_TYPa | SLP_EN) to (PM1a_CN) and if PM1b_CN != 0 , i sent (SLP_TYPb | SLP_EN) to it.
It worked on VPC and Bochs , but it didn't run on my real hardware.
Am i missing anything ?, Should I do anything else to make a real hardware shutdown ?
--------------------------------
Thanks in advance.
ACPI Power off failed on a real hardware
-
- Member
- Posts: 109
- Joined: Wed Nov 10, 2010 10:49 am
Re: ACPI Power off failed on a real hardware
Make sure you're retrieving the correct values from the namespace and writing them to the proper bits. There's also some required AML methods you should run (if they exist) prior to sleep/shutdown. The steps necessary are covered in depth under sections 7.3 and 7.4 of the ACPI 5.0 specification. If you're using ACPICA it provides two functions that will allow you to transition to the soft off state AcpiEnterSleepStatePrep and AcpiEnterSleepState.
Reserved for OEM use.