What phone did you buy? If you're talking about the Nexus One the
userspace governor is already compiled into the kernel. Otherwise
you'll probably have to recompile the kernel with the userspace
governor.

We do DVFS using the ondemand governor currently.

To enable userspace governor:
adb shell echo "userspace >
/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor"

To set the speed:

adb shell echo "xxx > /sys/devices/system/cpu/cpu0/cpufreq/scaling_cur_freq"

-- Mike



On Sun, Mar 21, 2010 at 11:28 PM, xlshe <[email protected]> wrote:
> I have bought the android develop phone 2. I want to do some research
> about
> power management on ADP2. But I wonder if ADP2 support Dynamic Voltage
> and
> Frequency Scaling(DVFS). That means whether we can change the CPU
> frequency
> dynamically on ADP2. Previously, someone told me that I can rebuild
> the
> android OS kernel and turn on the user space and then I can set the
> CPU
> frequency. I have tried to rebuild the kernel just as "
> http://source.android.com/documentation/building-for-dream"; said. But
> I
> still don't know how to turn on the user space when built the kernel
> and
> don't know how to set the CPU frequency on ADP2. Would you kindly give
> me
> some support on how to dynamically set the CPU frequency on ADP2? I
> will
> appreciate very very much for your support.
>
> --
> unsubscribe: [email protected]
> website: http://groups.google.com/group/android-kernel
>
> To unsubscribe from this group, send email to 
> android-kernel+unsubscribegooglegroups.com or reply to this email with the 
> words "REMOVE ME" as the subject.
>

-- 
unsubscribe: [email protected]
website: http://groups.google.com/group/android-kernel

To unsubscribe from this group, send email to 
android-kernel+unsubscribegooglegroups.com or reply to this email with the 
words "REMOVE ME" as the subject.

Reply via email to