LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 10-05-2012, 12:51 PM   #1
kernel-P4N1C
Member
 
Registered: Nov 2007
Location: Panama city, Republic of Panmaa
Posts: 167

Rep: Reputation: 18
I think i have a problem (power management)


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
Code:
root@netbook:/home/weput# /etc/rc.d/rc.laptop-mode restart
SG_IO: bad/missing sense data, sb[]:  70 00 05 00 00 00 00 0a 00 00 00 00 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
SG_IO: bad/missing sense data, sb[]:  70 00 05 00 00 00 00 0a 00 00 00 00 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
SG_IO: bad/missing sense data, sb[]:  f0 01 05 00 00 00 00 0a 00 aa 55 21 20 00 01 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
SG_IO: bad/missing sense data, sb[]:  70 00 05 00 00 00 00 0a 00 00 00 00 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
SG_IO: bad/missing sense data, sb[]:  70 00 05 00 00 00 00 0a 00 00 00 00 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
SG_IO: bad/missing sense data, sb[]:  f0 01 05 00 00 00 00 0a 00 aa 55 21 20 00 01 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Warning: Configuration file /etc/laptop-mode/conf.d/board-specific/*.conf is not readable, skipping.
Laptop mode 
disabled, not active
SG_IO: bad/missing sense data, sb[]:  70 00 05 00 00 00 00 0a 00 00 00 00 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
SG_IO: bad/missing sense data, sb[]:  70 00 05 00 00 00 00 0a 00 00 00 00 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
SG_IO: bad/missing sense data, sb[]:  f0 01 05 00 00 00 00 0a 00 aa 55 21 20 00 01 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
SG_IO: bad/missing sense data, sb[]:  70 00 05 00 00 00 00 0a 00 00 00 00 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
SG_IO: bad/missing sense data, sb[]:  70 00 05 00 00 00 00 0a 00 00 00 00 20 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
SG_IO: bad/missing sense data, sb[]:  f0 01 05 00 00 00 00 0a 00 aa 55 21 20 00 01 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
Warning: Configuration file /etc/laptop-mode/conf.d/board-specific/*.conf is not readable, skipping.
Laptop mode 
enabled, not active
root@netbook:/home/weput#
Code:
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#
Please advice
 
Old 10-05-2012, 01:25 PM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Hanover, Germany
Distribution: Gentoo
Posts: 15,438
Blog Entries: 2

Rep: Reputation: 4001Reputation: 4001Reputation: 4001Reputation: 4001Reputation: 4001Reputation: 4001Reputation: 4001Reputation: 4001Reputation: 4001Reputation: 4001Reputation: 4001
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.
 
Old 10-05-2012, 03:19 PM   #3
kernel-P4N1C
Member
 
Registered: Nov 2007
Location: Panama city, Republic of Panmaa
Posts: 167

Original Poster
Rep: Reputation: 18
is empty...

I have a rc.modules-3.2.29 instead... maybe that's the problem.


Code:
#
root@netbook:/home/weput# less /etc/rc.d/rc.modules-3.2.29
.
.
.
CPUFREQ=battery
I'll make a soft link or something and reboot to see what happens
 
Old 10-05-2012, 03:35 PM   #4
kernel-P4N1C
Member
 
Registered: Nov 2007
Location: Panama city, Republic of Panmaa
Posts: 167

Original Poster
Rep: Reputation: 18
ok

didn't work
 
Old 10-08-2012, 08:56 AM   #5
kernel-P4N1C
Member
 
Registered: Nov 2007
Location: Panama city, Republic of Panmaa
Posts: 167

Original Poster
Rep: Reputation: 18
ok guys

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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Power management problem suresh.k Linux - Newbie 1 04-20-2012 06:18 AM
Problem with power management. din Suse/Novell 0 01-11-2008 12:24 PM
Power management problem, still not solved kule Linux - Software 2 02-25-2005 02:15 AM
problem with power management gkcom Linux - General 2 01-04-2005 12:31 PM
power management problem navarre9 Linux - Laptop and Netbook 3 12-09-2003 09:06 AM


All times are GMT -5. The time now is 04:25 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration