Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 05 May 2003 19:46:13 -0700
From:      Peter Wemm <peter@wemm.org>
To:        Mike Makonnen <mtm@identd.net>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/etc/rc.d apm apmd archdep 
Message-ID:  <20030506024613.67EC22A8AE@canning.wemm.org>
In-Reply-To: <20030506021504.DGJJ17297.pop015.verizon.net@kokeb.ambesa.net> 

next in thread | previous in thread | raw e-mail | index | archive | help
Mike Makonnen wrote:
> On Mon, 5 May 2003 20:06:13 -0400 (EDT)
> Robert Watson <rwatson@FreeBSD.org> wrote:
> 
> > 
> > > 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.
> > 
> 
> Should this still be backed out ?
> FWIW, everything that I ported over to rc.d *was* in rc.amd64.

Robert is incorrect.  Only the i386 implementation of acpica provides
the APM API emulation.  The include files do not exist on the other platforms.

ACPI provides its own ioctl() interface (in addition to the sysctl stuff),
which is cross platform.

Yes, it should still be backed out.  And so should the ibcs2_compat thing.

rc.i386 was repocopied to rc.amd64 without changes.  Thats where this mess
started from.

Cheers,
-Peter
--
Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com
"All of this is for nothing if we don't go to the stars" - JMS/B5



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030506024613.67EC22A8AE>