From owner-freebsd-arch Fri Dec 28 10:31:37 2001 Delivered-To: freebsd-arch@freebsd.org Received: from mass.dis.org (mass.dis.org [216.240.45.41]) by hub.freebsd.org (Postfix) with ESMTP id C987F37B416 for ; Fri, 28 Dec 2001 10:31:33 -0800 (PST) Received: from mass.dis.org (localhost [127.0.0.1]) by mass.dis.org (8.11.6/8.11.3) with ESMTP id fBSIdGF13050; Fri, 28 Dec 2001 10:39:20 -0800 (PST) (envelope-from msmith@mass.dis.org) Message-Id: <200112281839.fBSIdGF13050@mass.dis.org> X-Mailer: exmh version 2.1.1 10/15/1999 To: Mitsuru IWASAKI Cc: arch@freebsd.org Subject: Re: CFR: Generalized power profile In-reply-to: Your message of "Thu, 27 Dec 2001 18:25:33 +0900." <20011227.182533.112880512.iwasaki@jp.FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Fri, 28 Dec 2001 10:39:16 -0800 From: Mike Smith Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > I've made the changes for generalized power profile based on ACPI > power profile code, dev/acpica/acpi_powerprofile.c and some related > files. This makes other power-management system (APM for now) to be > able to generate power profile change events (ie. AC-line status > changes), and other kernel components, not only the ACPI components, > can be notified the events. Thanks for picking up on this. > This includes: > - move subroutines in acpi_powerprofile.c to kern/subr_power.c If we think this might become more complicated, do we want sys/dev/power? If not, this is an OK place. What do you think of POWER_PROFILE_OFF as an alternate mechanism for switching the system off, rather than the current shutdown hook? Regards, Mike -- ... every activity meets with opposition, everyone who acts has his rivals and unfortunately opponents also. But not because people want to be opponents, rather because the tasks and relationships force people to take different points of view. [Dr. Fritz Todt] V I C T O R Y N O T V E N G E A N C E To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message