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

Quote:
Originally Posted by stbi View Post
OK, then my "266000" value actually did nothing, and the CPU clock remained at 532 MHz. - No wonder that it worked...!

However, if only 200, 400 and 532 MHz are possible, then what does

Code:
echo "350000" > /sys/devices/system/cpu/cpu0/cpufreq/ondemand/sampling_rate
in the rockbox_loader.sh of the LightROM do?

Anyway, I set my CPU to 400 MHz now: No channel swap so far.

Edit:
It seems that it's not possible to set CPU clock to 400 MHz:
Code:
echo "userspace" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo "400000" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed

cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_setspeed > /mnt/media0/scaling_setspeed.txt
In the file "scaling_setspeed.txt" the value "532000" is written.
Only the values "200000" and "532000" can be set.
Carefully look at the file/parameter you are going to set with the first:
/cpufreq/ondemand/sampling_rate <- *sampling rate* not clock
This simply tells the system the "frequency" for sampling cpu load and act accordingly for the ondemand governor...

For the 400 MHz that is both interesting and strange, I should have a closer look at the kernel actually!

EDIT: could you please check if the same happens when backlight stays on? i.e. play music and set backlight always on
I think this could be due to a low power mode, but I might be wrong...In case we test!
__________________
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!!

Last edited by Lorenz092; 12-15-2013 at 04:04 PM.
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 01:16 AM.