NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Power tools on amd64



Thank you, Steve!

On Sun, Sep 12, 2010 at 4:51 PM, Steven Bellovin 
<smb%cs.columbia.edu@localhost> wrote:
>
> On Sep 12, 2010, at 8:12 16AM, hans dinsen-hansen wrote:
>
>> Dear list
>>
>> I am running amd64 rel 5.0.1 (binary, GENERIC kernel) on my laptop, and
>> just to-day my fortune cookie said:
>> "X windows:
>>       ... ...
>>       Power tools for Power Fools.
>>       ... ..."
>>
>> Being a fool, I took a look into /etc/rc.d/apmd and /etc/powerd/scripts;
>> they refer to the programs like e.g. /usr/sbin/apm{,d} which are missing.
>>
>> The manuals say that these programs belong to the i386 release.
>> The options to GENERIC say:
>> " ... ...
>> options       COMPAT_NETBSD32
>> ... ... "
>>
>> My question is:  Can I just load missing binaries like the pair
>> /usr/sbin/apm{,d} from a distribution of i386, rel. 5.0.1, or will I run
>> into trouble with shared libraries?
>>
>
> I don't think you need them -- you should run powerd instead.
>
> Looking at lid_switch (and all I have handy is 5.1rc2), it first checks
> /sbin/sysctl machdep.sleep_state, which is for ACPI; ...
Thank you, then I'll wait for NetBSD 5.1.  There are other things, I wait for.
> if that fails, it
> falls back to apm.  I believe that all amd64 machines have ACPI, so that
> "shouldn't" fail.
>
>
>                --Steve Bellovin, http://www.cs.columbia.edu/~smb

!I was never a good beta tester, and I have usually used odd numbered
sub releases, starting with
NetBSD 0.9 ---> 1.1 ... etc.  There are other things I wait for in 5.1   :-)

Hans


Home | Main Index | Thread Index | Old Index