Subject: Re: Power button shutdown
To: Brian Rose <lists@brianrose.net>
From: Steven M. Bellovin <smb@research.att.com>
List: netbsd-users
Date: 07/29/2004 11:25:32
In message <41090900.6030107@brianrose.net>, Brian Rose writes:
>Steven M. Bellovin wrote:
>> In message <4108681E.3070103@brianrose.net>, Brian Rose writes:
>> 
>>>
>>>I am looking for a simple way to shut down the machine by pressing the power
> b
>>>utton on the front of the box. I have been looking around and it seems that 
>'p
>>>owerd' is what i should be looking at. I just want to make sure there is not
>hi
>>>ng else that I should be looking at or if there are other packages that will
> h
>>>andle this job better.
>>>
>> In order to use powerd, you need acpi, I believe.  I don't know how 
>> reliable acpi is on 1.6.2; I've only tried it on 2.0beta and -current.
>> 
>
>How do I enable ACPI? This is done in the kernel config file when I build a ke
>rnel, correct? I have 1.6.2 sources and there is no mention of acpi in either 
>the GENERIC or GENERIC_LAPTOP.
>

As I said, I've never tried it on 1.6.2.  Your best starting point is 
probably the GENERIC.ACPI configuration in -current.

		--Steve Bellovin, http://www.research.att.com/~smb