[PATCH] AHCI powersaving and port-stopping (2.6.22-rc4)
John Fremlin
john at fremlin.org
Mon Jun 11 03:54:15 PDT 2007
Tejun Heo has made an excellent patch for saving power with the AHCI
chipset. It saves about 1 W on my Thinkpad X60s.
This patch will stop the ports when they are idle. To turn it on,
echo 1 > /sys/module/libata/parameters/powersave
This is very different from the patch I posted a while ago turning on
a few bits in the CMD register (ALPE and ASP) and which Intel is
apparently now trying. That only saves around 250mW. Tejun's patch
saves about 1 W. It should also make the ALPE and ASP stuff irrelevant
because it performs the same operation in software where better
information about usage is (theoretically) available.
I have updated the patch for 2.6.22-rc4. That is the extent of my
involvement - if it works, thank Tejun Heo. But problems are quite
likely to have been introduced by my clumsy update, so if it doesn't
work, blame me first.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ahci-powersave-linux-2.6.22-rc4-clean.patch.bz2
Type: application/octet-stream
Size: 11253 bytes
Desc: not available
Url : http://www.bughost.org/pipermail/power/attachments/20070611/57c68d23/ahci-powersave-linux-2.6.22-rc4-clean.patch.obj
More information about the Power
mailing list