[ltp] apm and hdparm

Tino Keitel linux-thinkpad@www.bm-soft.com
Wed, 19 Sep 2001 11:41:13 +0200


On Wednesday, 19. September 2001 08:01, David Margrave wrote:
> 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

If it is APM related, it's possible that your ThinkPad has the drive 
power-down timer enabled. You can use tpctl ( 
http://sourceforge.net/projects/tpctl/ ) to check the status of the drive 
power-down timer and disable it.

Tino

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