Hiyas, there is a bug report[1] in Red Hat Bugzilla against pm-utils which says that pm-is-supported should check, whether or not there is a swap partition available. I am not sure whether or not this should be done by pm-utils, because currently there are no sanity checks for any sleep method, except that it is checked, whether or not there is an interface to try to hibernate/suspend. Also hal uses pm-is-supported and probably makes the results available in the keys:
power_management.can_suspend (bool) Yes If suspend support is compiled into the kernel. NB. This may not mean the machine is able to suspend successfully. power_management.can_suspend_hybrid (bool) Yes If the system is capable of hybrid suspend. power_management.can_hibernate (bool) Yes If hibernation support is compiled into the kernel. NB. This may not mean the machine is able to hibernate successfully. Therfore it seems that pm-is-supported should not do any sanity checks in case the output is used by hal, because it would break the hal specification. Do you have any ideas? Regards, Till [1] https://bugzilla.redhat.com/show_bug.cgi?id=431956
signature.asc
Description: This is a digitally signed message part.
_______________________________________________ Pm-utils mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/pm-utils
