C and power management in 2.6...
G'Day,
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. Thanks! |
Re: C and power management in 2.6...
Quote:
It's probably the only way, and it shouldn't be too hard to write a string of max. 7 chars to a file in C... Quote:
|
All times are GMT -5. The time now is 09:01 PM. |