From owner-cvs-src@FreeBSD.ORG Wed Dec 17 20:39:58 2003 Return-Path: Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DF47E16A4CE; Wed, 17 Dec 2003 20:39:58 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1B03343D39; Wed, 17 Dec 2003 20:39:58 -0800 (PST) (envelope-from njl@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.10/8.12.10) with ESMTP id hBI4dv0B022444; Wed, 17 Dec 2003 20:39:57 -0800 (PST) (envelope-from njl@repoman.freebsd.org) Received: (from njl@localhost) by repoman.freebsd.org (8.12.10/8.12.10/Submit) id hBI4dvC0022443; Wed, 17 Dec 2003 20:39:57 -0800 (PST) (envelope-from njl) Message-Id: <200312180439.hBI4dvC0022443@repoman.freebsd.org> From: Nate Lawson Date: Wed, 17 Dec 2003 20:39:57 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/etc/rc.d Makefile power_profile src/etc devd.conf src/etc/defaults rc.conf X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 18 Dec 2003 04:39:59 -0000 njl 2003/12/17 20:39:57 PST FreeBSD src repository Modified files: etc/rc.d Makefile etc devd.conf etc/defaults rc.conf Added files: etc/rc.d power_profile Log: Add power_profile, a script that changes the ACPI CPU Cx idle state and/or the throttling state in response to line transitions. Future plans include adding support for CPU frequency changes. Add a devd.conf entry for calling this script. The default values for this are: performance_cx_lowest="HIGH" # Use HLT (C0) online performance_throttle_state="HIGH" # 100% (no throttling) economy_cx_lowest="LOW" # Use the lowest Cx state possible economy_throttle_state="HIGH" # 100% (no throttling) Revision Changes Path 1.194 +4 -0 src/etc/defaults/rc.conf 1.10 +7 -0 src/etc/devd.conf 1.29 +1 -1 src/etc/rc.d/Makefile 1.1 +86 -0 src/etc/rc.d/power_profile (new)