From owner-freebsd-mobile@FreeBSD.ORG Mon Nov 22 14:44:15 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 8699116A4CE for ; Mon, 22 Nov 2004 14:44:15 +0000 (GMT) Received: from seed.net.tw (sn14.seed.net.tw [139.175.54.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id 389E643D1D for ; Mon, 22 Nov 2004 14:44:15 +0000 (GMT) (envelope-from plasma@ms9.hinet.net) Received: from [59.105.9.100] (port=52819 helo=me) by seed.net.tw with smtp (Seednet 4.23:1) id 1CWFQL-000FJW-6V; Mon, 22 Nov 2004 22:44:13 +0800 Received: (nullmailer pid 1162 invoked by uid 1001); Mon, 22 Nov 2004 14:44:08 -0000 Date: Mon, 22 Nov 2004 22:44:07 +0800 From: plasma To: Robert Blacquiere Message-ID: <20041122144407.GA821@plasmanb.plasma.idv.tw> References: <20041122084814.GA1358@plasmanb.plasma.idv.tw> <20041122100701.GE33509@bombur.guldan.demon.nl> <20041122121210.GA857@plasmanb.plasma.idv.tw> <20041122122827.GH33509@bombur.guldan.demon.nl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041122122827.GH33509@bombur.guldan.demon.nl> User-Agent: Mutt/1.5.6i cc: freebsd-mobile@freebsd.org Subject: Re: [speedstep] Testers wanted 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: Mon, 22 Nov 2004 14:44:15 -0000 On Mon, Nov 22, 2004 at 01:28:27PM +0100, Robert Blacquiere wrote: > On Mon, Nov 22, 2004 at 08:12:10PM +0800, plasma wrote: > > On Mon, Nov 22, 2004 at 11:07:01AM +0100, Robert Blacquiere wrote: > > > > > > It seems to work quite good. It's decreasing the cpu clock when system is > > > more or less idle. But i have some problems with the battery <-> AC switching. > > > > Thank you for testing ichctrl. The bug is fixed, and please refetch > > it. The md5 of new ichctrl.tar.gz is 8ef0793d9be1909198fa3106834e5db6. > > It seems better now but it still does not see always the battery power mode.. > If I run: > > ./ichctrl -v -a max -b min > > it reports only: > > Now operating on AC power; changing frequency to high speed > > and when i pull the ac it does not respons. > and when i connect ac back online it does not report any thing. This is strange. I just tested on acpi and apm configurations, and both of them works just fine (on ACPI): root@plasmanb:~# ~/tmp/fbsd/ichctrl/ichctrl -v -a max -b min Now operating on AC power; changing frequency to high speed ** pull ac ** Now operating on battery power; changing frequency to low speed ** plug ac ** Now operating on AC power; changing frequency to high speed > When i run with these options: > > ./ichctrl -v -b min > > it response only the following on ac inserts... > > Idle time > 75%, decreasing clock speed from high speed to low speed > Idle time > 75%, decreasing clock speed from high speed to low speed > Idle time > 75%, decreasing clock speed from high speed to low speed > > Hope this will give you more input what is going on. This is what happened on my X23: root@plasmanb:~# ~/tmp/fbsd/ichctrl/ichctrl -v -b min ** ac is on ** Idle time > 75%, decreasing clock speed from high speed to low speed ** 'openssl speed sha1' start** Idle time < 50%, increasing clock speed from low speed to high speed ** 'openssl speed sha1' stop** Idle time > 75%, decreasing clock speed from high speed to low speed ** pull ac. no response. ** ** 'openssl speed sha1' start. no response. ** ** 'openssl speed sha1' stop. no response. ** ** plug ac. no response. ** Idle time < 50%, increasing clock speed from low speed to high speed ** 'openssl speed sha1' start** ** while running openssl, pull ac ** Now operating on battery power; changing frequency to low speed Looks fine to me. It seemds to me that ichctrl is not able to see your battery when ac is pulled. Please provide me more information: * Output of 'uname -a'. * You're using ACPI or APM? * 'sysctl -a | grep -i acline' when AC is plugged and pulled. * 'apm | grep AC' when AC is plugged and pulled. I need sleep now. I'll check your feedback when I wake up. Many thanks in advance. :) plasma