From owner-freebsd-mobile@FreeBSD.ORG Wed Jun 2 09:10:43 2004 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 91D6F16A4CE for ; Wed, 2 Jun 2004 09:10:43 -0700 (PDT) Received: from poup.poupinou.org (poup.poupinou.org [195.101.94.96]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5A16243D1F for ; Wed, 2 Jun 2004 09:10:43 -0700 (PDT) (envelope-from ducrot@poupinou.org) Received: from ducrot by poup.poupinou.org with local (Exim) id 1BVYK9-00053r-00; Wed, 02 Jun 2004 18:10:41 +0200 Date: Wed, 2 Jun 2004 18:10:41 +0200 To: Emmanuel Berre Message-ID: <20040602161041.GE13782@poupinou.org> References: <20040602142209.GJ591@fbone.net> <20040602154730.GD13782@poupinou.org> <20040602155628.GA1018@fbone.net> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20040602155628.GA1018@fbone.net> User-Agent: Mutt/1.5.5.1+cvs20040105i From: Bruno Ducrot cc: freebsd-mobile@freebsd.org Subject: Re: Powernow daemon X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 02 Jun 2004 16:10:43 -0000 Hi, On Wed, Jun 02, 2004 at 05:56:29PM +0200, Emmanuel Berre wrote: > Le Wednesday 02 June 2004 à 17:47, Bruno Ducrot a écrit : > | On Wed, Jun 02, 2004 at 04:22:10PM +0200, Emmanuel Berre wrote: > | > Hello, > | > > | > I looked for a little daemon to control AMD Athlon Mobile Frequency > | > for weeks in vain. So I decide to create my own daemon. My daemon is > | > based on the powernow-k7 module ported by Bruno Ducrot from Linux. > | > > | > | If you want to do so, please be sure to not hardcode the path to the > | sysctl stuff so that user of other kind of processors may benefit > | from it.. I believe that at least 'state' will be more or less > | ok hopefully, but there is good luck that the frequency table will be > | made in a more generic way somehow. > > For the moment I use "hw.powernow.state" et "hw.powernow.max_states" to > know the frequency scaling limits. > That should be more or less ok, I think. Though I don't like 'max_states'. I have to contact the developper to change that name for 'num_states' or something like that ;) -- Bruno Ducrot -- Which is worse: ignorance or apathy? -- Don't know. Don't care.