From owner-freebsd-mobile@FreeBSD.ORG Mon Nov 22 18:44:22 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 BA7B516A4CE for ; Mon, 22 Nov 2004 18:44:22 +0000 (GMT) Received: from smtp1.cistron.nl (smtp1.cistron.nl [62.216.30.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 33B5143D39 for ; Mon, 22 Nov 2004 18:44:22 +0000 (GMT) (envelope-from robert@guldan.demon.nl) Received: from cust.13.38.adsl.cistron.nl ([62.216.13.38] helo=guldan.demon.nl) by smtp1.cistron.nl with esmtp (Exim 3.36 #1 (Debian)) id 1CWJAf-0001r7-00; Mon, 22 Nov 2004 19:44:17 +0100 Received: from bombur.guldan.demon.nl ([192.168.201.3] helo=localhost) by guldan.demon.nl with esmtp (Exim 4.24; FreeBSD) id 1CWJAc-000FNo-Cc; Mon, 22 Nov 2004 19:44:14 +0100 Date: Mon, 22 Nov 2004 19:44:14 +0100 From: Robert Blacquiere To: plasma Message-ID: <20041122184414.GL33509@bombur.guldan.demon.nl> 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> <20041122144407.GA821@plasmanb.plasma.idv.tw> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20041122144407.GA821@plasmanb.plasma.idv.tw> User-Agent: Mutt/1.4.1i X-Disclaimer: running FreeBSD X-Spam-Score: 0.0 (/) 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 18:44:22 -0000 On Mon, Nov 22, 2004 at 10:44:07PM +0800, plasma wrote: > 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'. FreeBSD bifur.guldan.demon.nl 5.3-STABLE FreeBSD 5.3-STABLE #1: Wed Nov 10 10:40:52 CET 2004 \ robert@bifur.guldan.demon.nl:/usr/obj/usr/src/sys/bifur i386 > * You're using ACPI or APM? I'me using ACPI > * 'sysctl -a | grep -i acline' when AC is plugged and pulled. robert@bifur$ sysctl hw.acpi.acline hw.acpi.acline: 1 pulling ac out... robert@bifur$ sysctl hw.acpi.acline hw.acpi.acline: 0 > * 'apm | grep AC' when AC is plugged and pulled. robert@bifur$ apm | grep AC AC Line status: on-line pulling out ac robert@bifur$ apm | grep AC AC Line status: off-line > > I need sleep now. I'll check your feedback when I wake up. Many > thanks in advance. :) It seems i get also a lot of: rtc: 100 > kern.hz: Timing will be inaccurate, please increase hz. when using the ichctrl ... Probably due to the fact the clock freq is changed... If you need more info i'me willing to help Robert -- Microsoft: Where do you want to go today? Linux: Where do you want to go tomorrow? FreeBSD: Are you guys coming or what? OpenBSD: Hey guys you left some holes out there!