cpufrequtils for x86_64

If there's software you need and you can't find, make a request for it.
Shador
Posts: 1295
Joined: 11. Jun 2009, 14:04
Location: Bavaria

Re: cpufrequtils for x86_64

Post by Shador »

Yes, but you left out this preceding your quoted block: ;)

Code: Select all

CPUFREQ=battery

# If CPUFREQ=battery and the battery module is loaded, turn on CPUfreq.
if [ "$CPUFREQ" = "battery" ]; then
  if /sbin/lsmod | grep -wq battery ; then
    # CPUFREQ=battery and a battery was detected, so change CPUFREQ
    # to 'on' so that the block of script below will try to enable it.
    CPUFREQ=on
  fi
fi

### Enable CPU frequency scaling if requested:
if [ "$CPUFREQ" = "on" ]; then
So only if rc.modules thinks you're using a battery powered system, it uses cpufreq or if you explicitely set CPUFREQ to on. :D
That's the reason for the custom kernel of my laptop. But I think it also didn't work with the non-custom and the custom kernel which still had battery module. Anyway, nevermind. :mrgreen:
Image
Post Reply