"core control" is missing?

asked 2017-02-14 08:41:13 +0300

Asmir gravatar image

updated 2017-06-19 21:36:27 +0300

Recently, I found one strange thing in "init.qcom.post_boot.sh"

case "$target" in
"msm8909")

   ...

# Enable core control
insmod /system/lib/modules/core_ctl.ko
echo 2 > /sys/devices/system/cpu/cpu0/core_ctl/min_cpus
    max_freq=`cat /sys/devices/system/cpu/cpu0/cpufreq/cpuinfo_max_freq`
    min_freq=800000

  ...

  esac

To my surprise the path "/system/lib/modules/" and the file "core_ctl.ko" are absent.

What does it mean?

EDIT 2017-03-25: still absent in v2.1.0.10

EDIT 2017-06-19: still absent in v2.1.1.12

edit retag flag offensive close delete

Comments

1

what kind of error does this produce(if at all)?

tortoisedoc ( 2017-02-14 08:57:25 +0300 )edit
3

@tortoisedoc. No any bugs and errors. But 4 cores work in idle => more power consumption in idle :(

Asmir ( 2017-02-14 09:00:52 +0300 )edit
1

Interesting; that's a serious power issue IMO (perhaps not an error per se but a misconfiguration)? Could you detail more how this script relates to idling control? (Noob here)

tortoisedoc ( 2017-02-14 10:29:47 +0300 )edit
2

@tortoisedoc, I'm noob too ;) This string:

echo 2 > /sys/devices/system/cpu/cpu0/core_ctl/min_cpus

means 2 core "always_on" (IMHO)

Asmir ( 2017-02-14 11:01:34 +0300 )edit
2

Okay; but as the core_ctl.ko module is missing; the /sys path in question will not exist, correct? Therefore this command wont have an effect.

tortoisedoc ( 2017-02-14 13:27:03 +0300 )edit