[ltp] apm and hdparm

David Margrave linux-thinkpad@www.bm-soft.com
Tue, 18 Sep 2001 23:01:27 -0700 (PDT)


I noticed that when I compiled my kernel with various APM options, that
the hard drive spins down fairly quickly when idle.  X always seems to
keep it spinning.  Anyhow, when not in X, it spins down quickly and seems
to ignore whatever I set with hdparm.  i.e. hdparm  -S 0 /dev/hda should
disable the spin-down, but does not.  Nor does something like hdparm -S
240 /dev/hda work either.

Here is the applicable part of my kernel .config.  I'm on a thinkpad 600
with kernel 2.2.19.  

thanks,

Dave


CONFIG_APM=y
# CONFIG_APM_IGNORE_USER_SUSPEND is not set
CONFIG_APM_DO_ENABLE=y
CONFIG_APM_CPU_IDLE=y
CONFIG_APM_DISPLAY_BLANK=y
CONFIG_APM_RTC_IS_GMT=y
CONFIG_APM_ALLOW_INTS=y
# CONFIG_APM_REAL_MODE_POWER_OFF is not set
# CONFIG_TOSHIBA is not set



----- The Linux ThinkPad mailing list -----
The linux-thinkpad mailing list home page is at:
http://www.bm-soft.com/~bm/tp_mailing.html