From owner-freebsd-arch Thu Dec 27 1:26: 7 2001 Delivered-To: freebsd-arch@freebsd.org Received: from tasogare.imasy.or.jp (tasogare.imasy.or.jp [202.227.24.5]) by hub.freebsd.org (Postfix) with ESMTP id 50B7D37B405 for ; Thu, 27 Dec 2001 01:26:05 -0800 (PST) Received: from localhost (root@localhost [127.0.0.1]) (authenticated as iwa with CRAM-MD5) by tasogare.imasy.or.jp (8.11.6+3.4W/8.11.6/tasogare) with ESMTP/inet id fBR9Q2P89625 for ; Thu, 27 Dec 2001 18:26:03 +0900 (JST) (envelope-from iwasaki@jp.FreeBSD.org) Date: Thu, 27 Dec 2001 18:25:33 +0900 (JST) Message-Id: <20011227.182533.112880512.iwasaki@jp.FreeBSD.org> To: arch@freebsd.org Subject: CFR: Generalized power profile From: Mitsuru IWASAKI X-Mailer: Mew version 2.0 on Emacs 20.7 / Mule 4.0 (HANANOEN) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 Hi, 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. The patche is available at http://people.freebsd.org/~iwasaki/acpi/power_profile-20011226.diff This includes: - move subroutines in acpi_powerprofile.c to kern/subr_power.c - call power_profile_set_state() also from APM driver when AC-line status changes - add call-back function for Crusoe LongRun controlling on power profile changes for a example I'll commit the patches early next year if no objections. Thanks To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message