Re: [asus-port] Re: [Kernel-discuss] Re: [RFC] PXA27x core voltage change sequencer

From: Serge Nikolaenko <mypal_hh_at_utl.ru>
Date: Sat, 16 Dec 2006 12:06:12 +1000

> Anyway, if Asus will report failure, then score will 2:2 (2 ports working,
> and 2 not working), and we should try using full featured PWR_I2C. :-/

Well, I have the script changing cpu freq:

#!/bin/sh
l=0

echo "set userspase scaling governor"
echo userspace > scaling_governor

while [ true ]; do
    freqs="104000 208000 312000 416000 520000 624000"
    r=0
    echo "--------- LAP: $l -----------"
    for f in $freqs; do
        echo "`date` -- round: $r, curfreq:
`cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed`, newfreq: $f"
        echo $f > /sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed
        echo "changing to $f done, curfreq is
`cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed`"
        r=`expr $r "+" 1`
        sleep 30
    done
    l=`expr $l "+" 1`
done

Runtime is 30 minutes at the moment - still alive. Suspend/resume not tested
this way. But, it may not wake even without voltage changer, so...
Received on Fri Dec 15 2006 - 21:03:07 EST

This archive was generated by hypermail 2.2.0 : Fri Dec 15 2006 - 21:03:22 EST