domenica 14 dicembre 2014

intel_pstate and set frequency

Since with Ubuntu 14.10 intel_pstate is loaded by default and superseded the old acpi control, my old trick to reduce the frequency of CPU didn't work anymore so I couldn't cool down the processors while running some demanding software (and prevent overheating).

So bad.

Instead of disabling intel_pstate as suggested by some, I digged into the issue and found that
sudo cpupower frequency-set -u 1300MHz
works as expected (and indeed it doesn't block the frequency to a level but only sets an upper limit!).

So good!

Move app to sd - Android

Since my Zenithink C97 (yes it's old, but hey it's working and has Christian Troy's Cyanogen 11  onboard!) has only 1GB of internal memory and a very hungry Angry Birds Go! were sitting on 800MB (app+data) of that memory, I needed to move the game to SD.
Unfortunately the button Move To SD was disabled. So I tried a few app (app2sd), without luck
At the end that worked:

~$ sudo adb devices
$ adb shell pm set-install-location 2 

Then rebooted the phone and.... tada! Move To SD button was enabled.
Now plenty of space!

Note: Sudo was needed because if adb daemon starts without root privileges, the system complained that
????????? no permissions

Thanks to http://techgage.com/article/moving_your_non-movable_android_apps_to_an_sd_card/