cvs commit: src/etc/rc.d apm apmd archdep

Robert Watson rwatson at FreeBSD.org
Mon May 5 17:06:05 PDT 2003


On Mon, 5 May 2003, Peter Wemm wrote:

> >   Modified files:
> >     etc/rc.d             apm apmd archdep 
> >   Log:
> >   Huh? When did the etc bits for amd64 get added?
> >   Make sure they're ported over to rc.d.
> >   While I'm at it correct a logic mistake in rc.d/apmd.
> >   
> >   Approved by:    markm (mentor)(implicit)
> 
> Umm, I dont think so.  apm does not exist on amd64, cannot exist and
> never will exist.  Please back this out. 

Well, ACPI does provide emulation for some of the apm(4) control ioctls,
such that apm(8) actually usefully reports on the power condition on ACPI
boxes.  I'd imagine the functionality provided by apmd(8) would be useful
still with ACPI, but I don't know if it either directly speaks ACPI or
whether the ACPI apm emulation is sufficient to support apmd.  If it does,
then in theory the apm startup scripts could be useful on ACPI-supporting
platforms, including ia64 and AMD64.  If that's the case, we might
seriously think about renaming apmd to powerd or the like.

Robert N M Watson             FreeBSD Core Team, TrustedBSD Projects
robert at fledge.watson.org      Network Associates Laboratories




More information about the cvs-src mailing list