shutdown does not power down

Nate Lawson nate at root.org
Tue Dec 9 09:04:12 PST 2008


Unga wrote:
> --- 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.

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


More information about the freebsd-acpi mailing list