tech-userlevel archive

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

Re: Making powerd=YES default



On Mon, 25 Jul 2011 07:12:20 -0700, Matt Thomas wrote:
My opinion is: It should *not* be enabled by default, but rather during
system install time, i.e. in sysinst, towards the end of the
installation, the user should be asked a few questions:

- Do you want to run powerd by default?

It's like: Do you install NetBSD on a machine not from the garbage?
powerd on i386/amd64 pretty much part of the hardware support
(although some of us would like to have less of its functionality in
userspace, eg possibility to use aps, without touching the disk)

Not all arches support power management.  Maybe there should be a
sysctl which indicates whether the kernel support power management.
/etc/rc.d/powerd could check this to see if starting powerd makes
sense. How does powerd determine the power states that are supported?

When starting, it queries for power backends. If there are none, it bails out.

Note that power management backends are currently "not supported" (e.g. the interfaces in kernel are present, but nothing uses them at the moment)

--
Jean-Yves Migeon
jeanyves.migeon%free.fr@localhost


Home | Main Index | Thread Index | Old Index