You're right, that's the one and it is indeed in there now!
I didn't notice it because it kept booting 2.6.40.3-0.fc15.x86_64 in favour of 2.6.40-4.fc15.x86_64 for which I still had to install it manually.
I think it's because of the alphabetical order:
2.6.40.3-0.fc15.x86_64
2.6.40-4.fc15.x86_64
2.6.38.6-26.rc1.fc15.x86_64
Guess it's really time for grub2.
For anyone who's interested, here are some parts of my sleep.d powersave script.
You do want to tweak it to your setup because some parts might cause annoying side effects with the pci devices (such as delays on a usb mouse or even hibernate and power off problems. Should be harmless though).
If that is the case you'll need to troubleshoot it with Powertop and/or lspci (or a graphical tool like gnome-device-manager).
If you are using laptop-mode-tools remember that some of these savings are already taken care of even though Powertop says different.
To try it out run the lines as root and when you're ready put the script in /etc/pm/power.d with execution rights and it should be automatically run when on battery (if i'm correct however it also could be triggered by laptop-mode-tools).
You can also control it manually with
sudo pm-powersave true / false
Power save script:
Quote:
#!/bin/sh
# Generic /etc/pm/power.d powersave script.
on() {
# All pci devices:
find /sys/devices/pci* -path "*power/control" -exec bash -c "echo auto > '{}'" \;
# SATA Link Power Management:
echo min_power > /sys/class/scsi_host/host0/link_power_management_policy
# Power Aware CPU scheduler:
echo 1 > /sys/devices/system/cpu/sched_mc_power_savings
# VM Writeback:
echo 1500 > /proc/sys/vm/dirty_writeback_centisecs
# nVidia (Optimus) off (vgaswitcheroo/switch, only useful with second graphic card and kernel 3.0+):
echo OFF > /sys/kernel/debug/vgaswitcheroo/switch
}
off() {
# All pci devices:
find /sys/devices/pci* -path "*power/control" -exec bash -c "echo on > '{}'" \;
# SATA Link Power Management:
echo max_performance > /sys/class/scsi_host/host0/link_power_management_policy
# VM Writeback:
echo 500 > /proc/sys/vm/dirty_writeback_centisecs
# Power Aware CPU scheduler:
echo 2 > /sys/devices/system/cpu/sched_mc_power_savings
# nVidia (Optimus) off (should stay off):
#echo ON > /sys/kernel/debug/vgaswitcheroo/switch
}
case $1 in
true) on;;
false) off;;
*) exit $NA;;
esac
|
As basis I used some script from /usr/lib64/pm-utils/sleep.d.
I actually don't really know what
$NA;; does so I just left it in there.
Hope this might be useful for someone.