From owner-freebsd-current@FreeBSD.ORG Mon Jul 6 09:03:31 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DF25310656DF for ; Mon, 6 Jul 2009 09:03:31 +0000 (UTC) (envelope-from cavac@magicbooks.org) Received: from magic3.magicbooks.org (cl-190.dus-01.de.sixxs.net [IPv6:2a01:198:200:bd::2]) by mx1.freebsd.org (Postfix) with ESMTP id 542948FC1A for ; Mon, 6 Jul 2009 09:03:30 +0000 (UTC) (envelope-from cavac@magicbooks.org) Received: from mail.magicbooks.org (localhost [127.0.0.1]) by magic3.magicbooks.org (8.14.3/8.14.3) with ESMTP id n6693DDD071234; Mon, 6 Jul 2009 11:03:25 +0200 (CEST) (envelope-from cavac@magicbooks.org) Received: from 213.150.228.38 (SquirrelMail authenticated user cavac) by mail.magicbooks.org with HTTP; Mon, 6 Jul 2009 11:03:25 +0200 (CEST) Message-ID: <37078.213.150.228.38.1246871005.squirrel@mail.magicbooks.org> In-Reply-To: <20090706103602.394c463a@baby-jane.lamaiziere.net> References: <18510.213.150.228.38.1246864978.squirrel@mail.magicbooks.org> <20090706103602.394c463a@baby-jane.lamaiziere.net> Date: Mon, 6 Jul 2009 11:03:25 +0200 (CEST) From: "Rene Schickbauer" To: "Patrick Lamaiziere" User-Agent: SquirrelMail/1.4.6 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal Cc: freebsd-current@freebsd.org Subject: Re: RFC: powerd Patch & proposed future changes X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Jul 2009 09:03:32 -0000 Hi! >> Yesterday i submitted a patch for powerd to set maximum allowed CPU >> speed for adaptive modes (to keep the system cool and using less >> power). >> >> PR: 136354 > > I would like an option to set the minimum allowed CPU speed, instead > the use of the sysctl debug.cpufreq.lowest. This is so that powerd doesn't take so long to spin up power in the adaptive modes? Never thought of that, but makes sense to me. i will adapt the patch. >> Would it also make sense to have powerd run an (optional) user >> configureable script on ac state change? I'm thinking about things >> like dimming TFT backlight, on EEE PC turning of the webcam and so on. > > We can do this with devd. I'm not really familiar with devd. Could you give me a pointer how that would work? LLAP & LG Rene Schickbauer -- Hackerkey: http://tinyurl.com/pof37z