I've managed to compile the interactive governor (supported by SetCPU!) for X10 2.3.3 GB kernel (2.6.29-00054-g5f01537).
It was difficult to find a source that worked. This module is a compiled version of the code from here.
Screenshot. It oscillates between 245Mhz and 384Mhz while playing music!
After unpacking the zip into the folder of your choice, execute the following commands:
adb push "cpufreq_interactive.ko" /sdcard/cpufreq_interactive.ko mount -o rw,remount -t yaffs2 /dev/block/mtdblock3 /system cd /system/lib/modules cp /sdcard/cpufreq_interactive.ko . insmod cpufreq_interactive.ko echo "interactive" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
Although the initial interactive module only supported one setting, the min_sample_time, this one supports an additional one:
# pwd pwd /sys/devices/system/cpu/cpu0/cpufreq/interactive # ls ls go_maxspeed_load min_sample_time #
SetCPU only supports the initial setting that the module came with, the min_sample_time. By default, it is configured to 80000 here, but 50000 could also be a good value.
The settings default values and explanations:
/* Go to max speed when CPU load at or above this value. */ #define DEFAULT_GO_MAXSPEED_LOAD 85 /* * The minimum amount of time to spend at a frequency before we can ramp down. */ #define DEFAULT_MIN_SAMPLE_TIME 80000;
echo "85" > /sys/devices/system/cpu/cpu0/cpufreq/interactive/go_maxspeed_load
Use it at your own risk!