Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Nov 2004 19:44:14 +0100
From:      Robert Blacquiere <freebsd@guldan.demon.nl>
To:        plasma <plasma@ms9.hinet.net>
Cc:        freebsd-mobile@freebsd.org
Subject:   Re: [speedstep] Testers wanted
Message-ID:  <20041122184414.GL33509@bombur.guldan.demon.nl>
In-Reply-To: <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> <20041122144407.GA821@plasmanb.plasma.idv.tw>

next in thread | previous in thread | raw e-mail | index | archive | help
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!



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20041122184414.GL33509>