Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I am using the 3.2 Linux kernel on a custom ARM board with Debian Wheezy. My kernel config. for power management is below. I want the system to default to the userspace governer (which the kernel config. seems to specify), but after I'm booted it's always set to ondemand. How can I change this so the system boots to userspace?

CONFIG_CPU_FREQ=y
CONFIG_CPU_FREQ_TABLE=y
CONFIG_CPU_FREQ_STAT=y
CONFIG_CPU_FREQ_STAT_DETAILS=y
# CONFIG_CPU_FREQ_DEFAULT_GOV_PERFORMANCE is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_POWERSAVE is not set
CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE=y
# CONFIG_CPU_FREQ_DEFAULT_GOV_ONDEMAND is not set
# CONFIG_CPU_FREQ_DEFAULT_GOV_CONSERVATIVE is not set
CONFIG_CPU_FREQ_GOV_PERFORMANCE=y
CONFIG_CPU_FREQ_GOV_POWERSAVE=y
CONFIG_CPU_FREQ_GOV_USERSPACE=y
CONFIG_CPU_FREQ_GOV_ONDEMAND=y
CONFIG_CPU_FREQ_GOV_CONSERVATIVE=y
share|improve this question
    
    
@PiotrWadas how is that relevant to Linux? Those are the governors for android. –  terdon Jun 5 '13 at 14:42
1  
The link above was useful so I could potentially see new types of governer out there. My problem remains however, according to my kernel config the governer is set to userspace, but by the time the system has booted it's in ondemand mode. OS is Debian 7 ARMHF. –  fred basset Jun 5 '13 at 16:31
    
I admit I'm not an expert on the subj., but what difference does it make in what state system boots up? I mean, what's the diff. between system booting in some other state or enforcing type of governor after bootup in some init script, wherever? Does eg. booting on your board eats so much battery, that you're hoping in particular state will let you save some?You could play with modules avoiding their loading at boot, to make some mode unavailable at bootup and available later, by some custom trick, you could even dive into kernel source and find out,anyway I think problem is somewhere else. –  Piotr Wadas Jun 5 '13 at 21:07
    
I was interested in why after booting it's using the on-demand governer, but the kernel is set to userspace. I would like it to boot up to the userspace governer. –  fred basset Jun 6 '13 at 17:19
add comment

migrated from stackoverflow.com Jun 5 '13 at 0:06

This question came from our site for professional and enthusiast programmers.

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.