Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Dec 2008 06:14:58 -0800 (PST)
From:      Unga <unga888@yahoo.com>
To:        freebsd-acpi@freebsd.org
Subject:   Re: shutdown does not power down
Message-ID:  <435143.84625.qm@web57005.mail.re3.yahoo.com>
In-Reply-To: <297791.94053.qm@web57005.mail.re3.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--- On Sun, 12/7/08, Unga <unga888@yahoo.com> wrote:

> From: Unga <unga888@yahoo.com>
> Subject: shutdown does not power down
> To: freebsd-acpi@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


      



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?435143.84625.qm>