I've got ACPICA running at the moment and it works well for things like shutting down the system or going to sleep (S3), but I'm currently a bit stuck on the fixed event handlers for the power button and other such devices. In both QEMU and VirtualBox there doesn't seem to be any actual devices for the power button (and no _PRW control methods), but the FADT specifies that it is handled by a fixed event. I have installed a fixed event handler and enabled it but still don't seem to have any response when the (virtual) power button is pushed.
At this point in time, all GPEs are enabled, and the fixed event for the power button has a handler installed via ACPICA, and has been enabled. There are no IRQs that fire upon hitting the power button (I would expect the SCI, but no...).
I'm not sure where to look next - anyone been here before?
ACPI: shutdown button [Solved]
-
- Member
- Posts: 2566
- Joined: Sun Jan 14, 2007 9:15 pm
- Libera.chat IRC: miselin
- Location: Sydney, Australia (I come from a land down under!)
- Contact:
Re: ACPI: shutdown button
Fixed! The solution ended up being to use the I/O APIC - after I implemented support, I could start receiving SCIs.
I can now use the ACPI Shutdown feature in VirtualBox, and the "system_powerdown" monitor command in QEMU, to shut down my OS - cool!
I can now use the ACPI Shutdown feature in VirtualBox, and the "system_powerdown" monitor command in QEMU, to shut down my OS - cool!