Gentoo Archives: gentoo-user

From: Alexander Kapshuk <alexander.kapshuk@×××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] re: a couple of power management questions
Date: Sat, 16 Nov 2013 19:15:46
Message-Id: 5287C457.20203@gmail.com
1 I've been setting up power management on my HP compaq laptop using this
2 article, http://www.gentoo.org/doc/en/power-management-guide.xml, as a
3 reference.
4
5 Just a couple of questions I thought I'd ask.
6
7 (1). CONFIG_ACPI_VIDEO seems to be missing in the 3.10.17-gentoo kernel,
8 but is available in 3.10.7-r1.
9 for f in /usr/src/*/.config; do echo $f; grep CONFIG_ACPI_VIDEO $f ||
10 echo $?; done
11 /usr/src/linux-3.10.17-gentoo/.config
12 1
13 /usr/src/linux-3.10.7-gentoo-r1/.config
14 CONFIG_ACPI_VIDEO=y
15 /usr/src/linux/.config
16 1
17
18 (2). I've got my current kernel set up to use the 'userspace' governor
19 by default.
20
21 grep ^CONFIG_CPU_FREQ_DEFAULT_GOV .config
22 CONFIG_CPU_FREQ_DEFAULT_GOV_USERSPACE=y
23
24 The settings below were set to use 'ondemand' by default, so I changed
25 them to 'userspace' to correspond to the kernel setting above. Is that
26 right, or should I have left it set to the original value, or set it to
27 something else?
28
29 /etc/laptop-mode/conf.d/cpufreq.conf
30 s/ondemand/userspace/
31 LM_AC_CPU_GOVERNOR=userspace
32 s/ondemand/userspace/
33 NOLM_AC_CPU_GOVERNOR=userspace
34
35 Thanks.