Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
laptop-mode hd problem
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
homry
Tux's lil' helper
Tux's lil' helper


Joined: 01 Apr 2005
Posts: 146
Location: Karlsruhe, Germany

PostPosted: Fri Sep 16, 2005 5:06 pm    Post subject: laptop-mode hd problem Reply with quote

hi,

i have just installed and configured laptop-mode on my thinkpad r51. concerning the hd options, i have done following things in my laptop-mode.conf:
Code:

# Idle timeout for your hard drive (man hdparm for valid values, -S option)
# Default is 2 hours on AC (AC_HD_WITHOUT_LM=244) and 5 seconds for battery
# (BATT_HD=1) and for AC with laptop mode on (AC_HD_WITH_LM=1).
# Note: AC_HD_WITH_LM is used when AC power is present but laptop mode is enabled
# (i.e. with LAPTOP_MODE_ALWAYS_ON=1), while AC_HD_WITHOUT_LM is used when
# AC power is present and laptop mode is _disabled_. We still support the old
# option AC_HD: if it is set in the config file then it overrides both these
# options.
AC_HD_WITH_LM=120
AC_HD_WITHOUT_LM=244
#BATT_HD=0

# Shall we adjust the power management values on the hard drives?
DO_HD_POWERMGMT=1

# Power management for HD (hdparm -B values)
AC_HDPARM_POWERMGMT_WITH_LM=255
AC_HDPARM_POWERMGMT_WITHOUT_LM=255
#BATT_HDPARM_POWERMGMT=0

# The drives for which to adjust the idle timeout and power management settings.
# Separate them by a space, e.g. HD="/dev/hda /dev/hdb".
HD="/dev/hda /dev/hdb /dev/hdc /dev/hdd"

# Set the spindown timeout on the hard drives?
DO_HD=1


now although i have the -B options turned off and the -S option turned on 10min my hd stops to spin every 5secs. first i had
Code:
BATT_HD
and
Code:
BATT_HDPARM_POWERMGMT
turned on, then i tried to deactivate it with 0. now i have commented it out. no change, the hd spins down after 5secs. with laptop-mode turned off everything is ok. with laptop-mode on and AC on everything is ok. btw, i do not have a battery-runlevel or some other configurations concerning the hd from the handbook. i have laptop-mode in my default-rl and turned it on all the time (only for informations, dunno if it is relevant).

homry
_________________
IBM ThinkPad R51
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum