Bug 712976 - /usr/lib/pm-utils/bin/pm-pmu don't do anything
Summary: /usr/lib/pm-utils/bin/pm-pmu don't do anything
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Fedora
Classification: Fedora
Component: pm-utils
Version: 15
Hardware: x86_64
OS: Linux
unspecified
unspecified
Target Milestone: ---
Assignee: Jaroslav Škarvada
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-06-13 19:23 UTC by marian
Modified: 2012-01-26 13:59 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-01-26 13:59:43 UTC
Type: ---


Attachments (Terms of Use)

Description marian 2011-06-13 19:23:37 UTC
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:

Comment 1 Jaroslav Škarvada 2011-07-07 14:50:36 UTC
What's wrong?

# /usr/lib64/pm-utils/bin/pm-pmu --suspend
# echo $?
1

Comment 2 Jaroslav Škarvada 2012-01-26 13:59:43 UTC
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).


Note You need to log in before you can comment on or make changes to this bug.