From owner-freebsd-acpi@FreeBSD.ORG Sat Feb 17 14:20:52 2007 Return-Path: X-Original-To: freebsd-acpi@freebsd.org Delivered-To: freebsd-acpi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 7B80916A400; Sat, 17 Feb 2007 14:20:52 +0000 (UTC) (envelope-from matteo@freebsd.org) Received: from vsmtp2.tin.it (vsmtp2.tin.it [212.216.176.222]) by mx1.freebsd.org (Postfix) with ESMTP id 02E5213C4B7; Sat, 17 Feb 2007 14:20:51 +0000 (UTC) (envelope-from matteo@freebsd.org) Received: from localhost.krapfengeist (87.0.186.177) by vsmtp2.tin.it (7.2.072.1) id 45D0775A008B32FF; Sat, 17 Feb 2007 15:09:47 +0100 Received: from localhost.krapfengeist (rionda@localhost [127.0.0.1]) by localhost.krapfengeist (8.13.8/8.13.8) with ESMTP id l1HE9kTg002444; Sat, 17 Feb 2007 15:09:46 +0100 (CET) (envelope-from matteo@freebsd.org) Received: (from rionda@localhost) by localhost.krapfengeist (8.13.8/8.13.8/Submit) id l1HE9jhQ002443; Sat, 17 Feb 2007 15:09:45 +0100 (CET) (envelope-from matteo@freebsd.org) X-Authentication-Warning: localhost.krapfengeist: rionda set sender to matteo@freebsd.org using -f Date: Sat, 17 Feb 2007 15:09:40 +0100 From: Matteo Riondato To: freebsd-acpi@freebsd.org, njl@freebsd.org, bruno@freebsd.org Message-ID: <20070217140940.GB1040@krapfengeist.homenet.telecomitalia.it> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="qtZFehHsKgwS5rPz" Content-Disposition: inline User-Agent: Mutt/1.4.2.2i X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: RFC: powerd patch to review related to bin/104689 X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 17 Feb 2007 14:20:52 -0000 --qtZFehHsKgwS5rPz Content-Type: multipart/mixed; boundary="St7VIuEGZ6dlpu13" Content-Disposition: inline --St7VIuEGZ6dlpu13 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable All, while digging in the PR database, I found bin/104689 and decided to implement the idea in it. Basically, I added support in powerd(8) to specify a maximum and a minimum frequencies for adaptive mode. That is, powerd will only switch between frequencies between the specified bounds instead of switching through all available frequencies. I think the idea is nice and I hope to have implemented it in the right way, but I'd like your review before committing it. Patch is attached, or can be found at http://people.freebsd.org/~matteo/powerd-minmaxfreq.patch (leave me in the reply list, since I'm not subscribed to freebsd-acpi@) Thanks in advance Best regards --=20 Matteo Riondato FreeBSD Committer (http://www.freebsd.org) G.U.F.I. Staff Member (http://www.gufi.org) FreeSBIE Developer (http://www.freesbie.org) --St7VIuEGZ6dlpu13-- --qtZFehHsKgwS5rPz Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.1 (FreeBSD) iD8DBQFF1wyk2Mp4pR7Fa+wRAgP9AKDAeiFwVx9K3mHwhazUMU/DXpXM7gCfVWdN 1VPcIwdMrLhxzANqJam9l5M= =R5kT -----END PGP SIGNATURE----- --qtZFehHsKgwS5rPz--