Hide Forgot
Description of problem: Version-Release number of selected component (if applicable): Name : pm-utils Arch : i686 Version : 1.4.1 Release : 6.fc15 Size : 355 k Repo : installed From repo : koji-override-0 Summary : Power management utilities and scripts for Fedora URL : http://pm-utils.freedesktop.org License : GPLv2 Description : The pm-utils package contains utilities and scripts useful for : tasks related to power management. How reproducible: on terminal run cd /dev/pm directory not found On terminal as root /usr/lib/pm-utils/bin/pm-pmu --suspend | echo $? have variabile result 0 and 1 Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Allways 0 and 1 if exist and non exist /dev/pm.On this kernel allways 1 Additional info:
What's wrong? # /usr/lib64/pm-utils/bin/pm-pmu --suspend # echo $? 1
I think the current behaviour is OK. It checks for PMU sleep capability. It returns 0 if supported, 1 otherwise, thus the result of test in comment 1 is OK. No matter the PMU is not supported by current stock Fedora kernel, the tool is ready for use with custom kernels. The binary is approx. 6 kB on my x86_64 test machine, thus probably not worth to remove it from the package (upstream installs it by default).