android
Prev Previous Post   Next Post Next
  #10  
Old 12-10-2013, 03:24 AM
Lorenz092 Lorenz092 is offline
Member
 
Join Date: Jan 2011
Location: Italy
Posts: 449
Default

Quote:
Originally Posted by stbi View Post
I did some experiments:

Code:
echo "powersave" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
Result: Channel swap after ~1 minute.

Code:
echo "userspace" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo "200000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed
Result: Channel swap after ~1 minute.

Code:
echo "userspace" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo "266000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed
(266000 = half of 532000)

Result: No channel swap observed within 1 hour of listening.
Perhaps it's just luck - I will observe it further...
Call it luck or placebo effect, but there cannot be a "mid" setting
There are just 3 options available as far i know on this CPU
200,400,532 MHz
Nothing less, nothing more.
*Perhaps* the only reason behind this is that the on invalid settings, the kernel defaults to 400 or 532, i should have a closer look at the kernel
To prove this, just look at kernel's source code
Code:
/* does need to be in ascending order for calc_frequency_khz() below */
static struct cpufreq_frequency_table imx37_freq_table[] = {
    {0x01, CPU_FREQUENCY_200000_KHZ},
    {0x02, CPU_FREQUENCY_400000_KHZ},
    {0x03, CPU_FREQUENCY_532000_KHZ},
    {0, CPUFREQ_TABLE_END},
};
Let us know for other experiments ! Thanks in advance !
__________________
Check out my modded firmware both for YP-R0 and YP-R1!!!
** DONATE ** -> https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=K658CHJKX2X8C
NOTE: if you want to donate for Rockbox itself and not my work, go to their website!!
Reply With Quote

 

Tags
r0, rockbox, samsung yp-r0

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT -5. The time now is 05:42 AM.