From owner-freebsd-arch Sat Jun 15 21:56:54 2002 Delivered-To: freebsd-arch@freebsd.org Received: from magic.adaptec.com (magic.adaptec.com [208.236.45.80]) by hub.freebsd.org (Postfix) with ESMTP id BBF8D37B41D for ; Sat, 15 Jun 2002 21:56:50 -0700 (PDT) Received: from redfish.adaptec.com (redfish.adaptec.com [162.62.50.11]) by magic.adaptec.com (8.10.2+Sun/8.10.2) with ESMTP id g5G4uov09241 for ; Sat, 15 Jun 2002 21:56:50 -0700 (PDT) Received: from btc.btc.adaptec.com (btc.btc.adaptec.com [10.100.0.52]) by redfish.adaptec.com (8.8.8+Sun/8.8.8) with ESMTP id VAA18278 for ; Sat, 15 Jun 2002 21:56:49 -0700 (PDT) Received: from hollin.btc.adaptec.com (hollin [10.100.253.56]) by btc.btc.adaptec.com (8.8.8+Sun/8.8.8) with ESMTP id WAA10246 for ; Sat, 15 Jun 2002 22:56:46 -0600 (MDT) Received: from hollin.btc.adaptec.com (localhost [127.0.0.1]) by hollin.btc.adaptec.com (8.12.3/8.12.3) with ESMTP id g5G4rbrP038332 for ; Sat, 15 Jun 2002 22:53:37 -0600 (MDT) (envelope-from scottl@hollin.btc.adaptec.com) Received: (from scottl@localhost) by hollin.btc.adaptec.com (8.12.3/8.12.3/Submit) id g5G4rbfZ038331 for arch@freebsd.org; Sat, 15 Jun 2002 22:53:37 -0600 (MDT) Date: Sat, 15 Jun 2002 22:53:37 -0600 From: Scott Long To: arch@freebsd.org Subject: ACPI Daemon Message-ID: <20020616045337.GA38313@hollin.btc.adaptec.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.28i 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 All, I'm soliciting input on bike shed colors and building materials for an idea I had concerning ACPI. I'd like to build an ACPI Daemon that handles things like taking corrective actions for battery and temperature problems. The daemon would run from rc, and be controlled by a config file. Since ACPI is only in 5-CURRENT, the daemon would only apply to 5-CURRENT. APM would not be supported since it is deprecated in favor of ACPI, and it does not give the level of reporting and actions that ACPI provides. The daemon would provide the following services: Temperature monitoring: The daemon could be configured to either accept or override the default thermal settings provided in the AML. Corrective actions would include CPU throttling, system suspend/ hibernate/shutdown, and possible fan control. Battery monitoring: The daemon would monitor the battery and AC power line state. Corrective actions would include CPU throttling and system suspend/hibernate/shutdown. The AC power line monitor that currently exists in the ACPI driver would be removed (though the AC power line device would remain). Warnings could be reported to the syslog. Button management: The daemon config file could be used to specify the function of the various ACPI controlled switches (power/lid/ sleep/etc). The goal of this is to centralize the management of ACPI to the daemon and config file. The config file would be in standard key=value format. Comments? Scott To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message