C and power management in 2.6...
I understand that power management in 2.6 is normally handled through sysfs by `echo -n standby > /sys/power/state', or something similar to the individual device (or so I understand - I've not yet tried to suspend individual devices yet). I would doubt that is how you would do it in C though: surely there would be an API to make this a little easier. My question is simply what are the 2.6 PM APIs, and where can I find more information on them. I've found plenty on the 2.4 APIs, but I understand they have been depreciated; I'm yet to read anything on 2.6 APIs.