shutdown does not power down

Unga unga888 at yahoo.com
Tue Dec 9 06:14:59 PST 2008


--- On Sun, 12/7/08, Unga <unga888 at yahoo.com> wrote:

> From: Unga <unga888 at yahoo.com>
> Subject: shutdown does not power down
> To: freebsd-acpi at freebsd.org
> Date: Sunday, December 7, 2008, 1:26 PM
> Hi
> 
> I'm using RELENG_7 on i386.
> 
> I noticed recently that "shutdown -p now" does
> not switch off the computer.
> 
> I'm trying to understand how does the /sbin/shutdown
> performs a power down. I had a detailed look at the source
> code involved but find it difficult to see how.
> 

After studying the ACPI, I realized that acpi_shutdown_final() doesn't get registered to "shutdown_final" event due to the fact /dev/acpi is missing. Therefore, the acpi_shutdown_final() doesn't executed when shutdown.

I'm not sure why the /dev/acpi is not getting created by devfs. Appreciate if could give your ideas.

Best regards
Unga


      


More information about the freebsd-acpi mailing list