[speedstep] Testers wanted

plasma plasma at ms9.hinet.net
Mon Nov 22 06:44:15 PST 2004


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 at 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 at 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


More information about the freebsd-mobile mailing list