[SOLVED] I think i have a problem (power management)
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm running -current (or 14) on an asus 1005ha and after noticing lowered battery time I started to check stuff.. check this out.
Code:
root@netbook:/home/weput# cpufreq-info
cpufrequtils 008: cpufreq-info (C) Dominik Brodowski 2004-2009
Report errors and bugs to cpufreq@vger.kernel.org, please.
analyzing CPU 0:
no or unknown cpufreq driver is active on this CPU
maximum transition latency: 0.00 ms.
analyzing CPU 1:
no or unknown cpufreq driver is active on this CPU
maximum transition latency: 0.00 ms.
root@netbook:/home/weput#
Code:
root@netbook:/home/weput# uname -a
Linux netbook 3.2.29-smp #2 SMP Mon Sep 17 13:16:43 CDT 2012 i686 Intel(R) Atom(TM) CPU N270 @ 1.60GHz GenuineIntel GNU/Linux
I have no idea what happened... maybe the upgrade from 3.2.28 to 3.2.29 broke something.
System has laptop-mode-tools installed and is not able to be activated
root@netbook:/home/weput# /etc/rc.d/rc.laptop-mode status
Laptop mode status:
Warning: Configuration file /etc/laptop-mode/conf.d/board-specific/*.conf is not readable, skipping.
Mounts:
/dev/root on / type ext4 (rw,relatime,user_xattr,acl,barrier=1,data=ordered)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw)
/dev/sda1 on /mnt/win type fuseblk (rw,allow_other,blksize=4096,default_permissions)
tmpfs on /dev/shm type tmpfs (rw)
/dev/sda6 on /mnt/shared type fuseblk (rw,allow_other,blksize=4096,default_permissions)
gvfs-fuse-daemon on /home/weput/.gvfs type fuse.gvfs-fuse-daemon (rw,nosuid,nodev,user=weput)
Drive power status:
/dev/sda:
drive state is: active/idle
/dev/sdb:
drive state is: standby
/dev/sdc:
drive state is: standby
/dev/sdd:
drive state is: standby
(NOTE: drive settings affected by Laptop Mode cannot be retrieved.)
Readahead states:
/dev/sda1: 128 kB
/dev/sda6: 128 kB
Laptop Mode Tools is allowed to run: /var/run/laptop-mode-tools/enabled exists.
/proc/sys/vm/laptop_mode:
0
/proc/sys/vm/dirty_ratio:
40
/proc/sys/fs/xfs/xfsbufd_centisecs:
100
/proc/sys/fs/xfs/xfssyncd_centisecs:
3000
/proc/sys/vm/dirty_background_ratio:
10
/proc/sys/vm/dirty_expire_centisecs:
3000
/proc/sys/vm/dirty_writeback_centisecs:
500
/proc/acpi/button/lid/LID/state:
state: open
/proc/acpi/ac_adapter/AC0/state:
state: on-line
/proc/acpi/battery/BAT0/state:
present: yes
capacity state: ok
charging state: charged
present rate: 0 mA
remaining capacity: 2330 mAh
present voltage: 12355 mV
/sys/class/power_supply/AC0/online:
1
root@netbook:/home/weput#
Have a look at line 823 in /etc/rc.d/rc.modules and set the CPUFREQ option to on. i had to do that on my desktop machine to activate frequency scaling.
I also don't see a reason why this is off by default.
I did the windows thing (format and reinstall)... and now i have it working..
Code:
weput@netbook:~$ cpufreq-info
cpufrequtils 008: cpufreq-info (C) Dominik Brodowski 2004-2009
Report errors and bugs to cpufreq@vger.kernel.org, please.
analyzing CPU 0:
driver: acpi-cpufreq
CPUs which run at the same hardware frequency: 0
CPUs which need to have their frequency coordinated by software: 0
maximum transition latency: 10.0 us.
hardware limits: 800 MHz - 1.60 GHz
available frequency steps: 1.60 GHz, 1.33 GHz, 1.07 GHz, 800 MHz
available cpufreq governors: ondemand, userspace
current policy: frequency should be within 800 MHz and 1.60 GHz.
The governor "ondemand" may decide which speed to use
within this range.
current CPU frequency is 800 MHz.
analyzing CPU 1:
driver: acpi-cpufreq
CPUs which run at the same hardware frequency: 1
CPUs which need to have their frequency coordinated by software: 1
maximum transition latency: 10.0 us.
hardware limits: 800 MHz - 1.60 GHz
available frequency steps: 1.60 GHz, 1.33 GHz, 1.07 GHz, 800 MHz
available cpufreq governors: ondemand, userspace
current policy: frequency should be within 800 MHz and 1.60 GHz.
The governor "ondemand" may decide which speed to use
within this range.
current CPU frequency is 800 MHz.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.