I am trying to make my video card (Radeon HD4670 on open source drivers under 13.04) use the 'dynpm' power mode at boot. I cannot seem to make this happen, either through upstart or udev.
My upstart script: /etc/init/radeon-dynpm.conf
Code:
start on starting lightdm
script
echo dynpm > /sys/class/drm/card0/device/power_method
end script
It works if I manually run 'service radeon-dynpm start' but it does not work from boot.
I found that others had similar issues with init scripts, so I decided on writing a udev rule:
/lib/udev/rules.d/10-local.rules
Code:
KERNELS=="0000:01:00.0",SUBSYSTEMS=="pci", DRIVERS=="radeon", ATTRS{power_method}="dynpm"
output of udevadm here: http://pastebin.com/maxH2DCs
no effect. After reboot power_method is "profile", power_profile is "default", and my laptop sounds like a windtunnel.
Any help with this issue will be much appreciated.