On Fri, 25 Jul 2008 10:15:16 +0200,
  Marco Cogoni <[EMAIL PROTECTED]> wrote:

> I checked on my thinkpad X31 and this does not happen,
> everything works as expected. I am using pure testing.
> so it should be some interaction with other packages.

I have deliberately never installed anything from gnome or kde, and have
rigourously checked every other package that might conceivably affect
cpufreq.

It may be a hardware interaction.  I tried installing a new bios
after this bug appeared, but that doesn't change any behaviour.

I ended up installing a workaround in battery.d:

( ( sleep 20 ; laptop_mode force auto ) >> /tmp/powerchange.txt 2>&1 & )

The long sleep seems to be necessary, since something is not only causing
a jump to 800Mhz as soon as the power is unplugged, but something causes
it to jump to 800MHz 10 seconds afterwards too.  So 10 seconds after that,
I force laptop_mode to apply its policy again (it having already applied
it 20 seconds earlier, if I didn't say "force", then it would just exit
immediately, thinking the policy is still currently applied), which
is the "conservative" governor, and the full 800-2201Mhz speed range.

I tried strace -f on the acpid process, but nothing enlightening in the
gobs of logs.

Still, I'm pretty sure this didn't happen in the past, and I hadn't done
an upgrade of the bios until after this all started happening.

-- 
TimC
The only thing more dangerous than a hardware guy with a code patch is
a programmer with a soldering iron.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to