The New kernel discards the old /sys interface which saves power.
It uses the “/sys/block/%s/device/unload_heads” instead of “/sys/block/sda/queue/protect” for parking the heads.
Kernel
The patches to the kernel could be downloaded from : http://article.gmane.org/gmane.linux.drivers.hdaps.devel/1379/raw
Build and install the kernel.
Get the lastest source of tp_smapi.
build it with HDAPS=1 flag.
install modules.
UserDaemon : hdapsd : should be downloaded here : http://article.gmane.org/gmane.linux.drivers.hdaps.devel/1372
I had to manually change the if condition that sets the protect_factor. for some reason the sysinfo struct could not be read.
Compile the hdapsd.c and move it to /usr/bin/
edit the /etc/init.d/hdapsd file to check for “/sys/block/%s/device/unload_heads” instead of “/sys/block/%s/queue/protect”
Thanks Elias Oltmanns for the recent patches.
more info at : http://www.thinkwiki.org/wiki/HDAPS
Sri :: Oct.21.2008 ::
thinkpad ::
No Comments »