Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 09 Dec 2008 09:04:11 -0800
From:      Nate Lawson <nate@root.org>
To:        unga888@yahoo.com
Cc:        freebsd-acpi@freebsd.org
Subject:   Re: shutdown does not power down
Message-ID:  <493EA50B.6000001@root.org>
In-Reply-To: <435143.84625.qm@web57005.mail.re3.yahoo.com>
References:  <435143.84625.qm@web57005.mail.re3.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Unga wrote:
> --- 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.

Are you sure devfs is not just hiding it since it wasn't used yet?
devfs unhide or touch /dev/acpi would probably reveal it.

-- 
Nate



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