Your message dated Mon, 03 Oct 2011 15:32:14 +0000
with message-id <[email protected]>
and subject line Bug#639754: fixed in upower 0.9.14-1
has caused the Debian Bug report #639754,
regarding [upower] upower doesn't verify correctly the "suspend" and
"hibernate" capabilities correctly
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
639754: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=639754
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: upower
Version: 0.9.12-1
Severity: normal
upower doesn't verify correctly
the "suspend" and "hibernate" capabilities correctly
In the first, brutal, test I have removed pm-utils (used in upower for
check the two capabilities) with
dpkg -P --force-depends pm-utils
but surprisingly
upower -d | grep can
print on my screen this:
can-suspend: yes
can-hibernate yes
Then I have reinstalled the pm-utils and...
I have tryed two configuration for my custom kernel
1_ a kernel without any powermanagement support (and hence without a
readable /sys/power/state)
2 a kenrel with a stupid power management (no susped and no hibernation
support compiled in) with an empty /sys/power/state
Now in both case the
/usr/bin/pm-is-supported --suspend
echo $?
and
/usr/bin/pm-is-supported --hibernate
echo $?
show that the returned value is not 0 (it means NOT supported)
In the particular case with a not existent /sys/power/state it return
with a readable error.
but in both cases the command
upower -d | grep can
print on my screen this:
can-suspend: yes
can-hibernate yes
upower uses the up_backend_supports_sleep_state() function located in
/src/linux/up-backend.c for done a test on the capabilities (suspend,
hibernate) This function call /usr/bin/pm-is-supported with
g_spawn_command_line_sync() wich return a value.
I'm not an expert, but seems that the value returned by
up_backend_supports_sleep_state() is never false.
It should return false when /usr/bin/pm-is-supported return a non 0 value.
--- System information. ---
Architecture: i386
Kernel: Linux 3.0.0
Debian Release: wheezy/sid
500 testing ftp.it.debian.org
--- Package information. ---
Depends (Version) | Installed
=======================================-+-==============
libc6 (>= 2.3.6-6~) | 2.13-16
libdbus-1-3 (>= 1.0.2) | 1.4.14-1
libdbus-glib-1-2 (>= 0.88) | 0.94-4
libglib2.0-0 (>= 2.26.0) | 2.28.6-1
libgudev-1.0-0 (>= 146) | 172-1
libimobiledevice1 (>= 0.9.7) | 1.0.6-3
libplist1 (>= 0.16) | 1.6-2
libpolkit-gobject-1-0 (>= 0.99) | 0.102-1
libupower-glib1 (>= 0.9.2) | 0.9.12-1
libusb-1.0-0 (>= 2:1.0.8) | 2:1.0.8-4
udev | 172-1
dbus | 1.4.14-1
pm-utils | 1.4.1-8
Recommends (Version) | Installed
==========================-+-===========
policykit-1 | 0.102-1
Package's Suggests field is empty.
--- End Message ---
--- Begin Message ---
Source: upower
Source-Version: 0.9.14-1
We believe that the bug you reported is fixed in the latest version of
upower, which is due to be installed in the Debian FTP archive:
gir1.2-upowerglib-1.0_0.9.14-1_i386.deb
to main/u/upower/gir1.2-upowerglib-1.0_0.9.14-1_i386.deb
libupower-glib-dev_0.9.14-1_i386.deb
to main/u/upower/libupower-glib-dev_0.9.14-1_i386.deb
libupower-glib1_0.9.14-1_i386.deb
to main/u/upower/libupower-glib1_0.9.14-1_i386.deb
upower-doc_0.9.14-1_all.deb
to main/u/upower/upower-doc_0.9.14-1_all.deb
upower_0.9.14-1.debian.tar.gz
to main/u/upower/upower_0.9.14-1.debian.tar.gz
upower_0.9.14-1.dsc
to main/u/upower/upower_0.9.14-1.dsc
upower_0.9.14-1_i386.deb
to main/u/upower/upower_0.9.14-1_i386.deb
upower_0.9.14.orig.tar.xz
to main/u/upower/upower_0.9.14.orig.tar.xz
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Michael Biebl <[email protected]> (supplier of updated upower package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Format: 1.8
Date: Mon, 03 Oct 2011 17:10:46 +0200
Source: upower
Binary: upower upower-doc libupower-glib1 libupower-glib-dev
gir1.2-upowerglib-1.0
Architecture: source i386 all
Version: 0.9.14-1
Distribution: unstable
Urgency: low
Maintainer: Utopia Maintenance Team
<[email protected]>
Changed-By: Michael Biebl <[email protected]>
Description:
gir1.2-upowerglib-1.0 - GObject introspection data for upower
libupower-glib-dev - abstraction for power management - development files
libupower-glib1 - abstraction for power management - shared library
upower - abstraction for power management
upower-doc - abstraction for power management - documentation
Closes: 639754
Changes:
upower (0.9.14-1) unstable; urgency=low
.
* New upstream release.
- Fix kFreeBSD detection.
- Fix linux up_backend_supports_sleep_state() return code.
(Closes: #639754)
Checksums-Sha1:
5a56fd9c8af58d4bfcf02d7cc4ece740dbf6a53f 2588 upower_0.9.14-1.dsc
d073ce9f25b2c300565e75fff03834eca3dccd9a 403304 upower_0.9.14.orig.tar.xz
89f869e70c57753e7a98385c53609c21a4f2ba3c 9397 upower_0.9.14-1.debian.tar.gz
d9c81d1919dca1b68a40b30cc75edf3ffe4f10dc 100428 upower_0.9.14-1_i386.deb
240a0493e588365497c7459e69a67f9be59ecc3e 56480 upower-doc_0.9.14-1_all.deb
d9b354c0d9655cbfe669baa4db5c51f6e3f34d68 33882
libupower-glib1_0.9.14-1_i386.deb
b451e24bd19eeea7f26ecb31952b154df8b8a754 46582
libupower-glib-dev_0.9.14-1_i386.deb
5ececf840f1de6d1b1937748ebf8619eb0c64ab0 12818
gir1.2-upowerglib-1.0_0.9.14-1_i386.deb
Checksums-Sha256:
5f11baa120ae73060f42964839021d142515710c42d9f3d7b8273742dc953a22 2588
upower_0.9.14-1.dsc
81eb44c0453b264a737d32f763a31d5b1776f050a47d5be85fc5e9caf874a4c5 403304
upower_0.9.14.orig.tar.xz
14f32b2005cecf45053bc0010aa1c9cbab220ee4d7f1937a9c21c9d60d013dd9 9397
upower_0.9.14-1.debian.tar.gz
ee4850a1d53ed7705e60b5955d62dfc5dae82f3a087e2338b508824a9f60fcb0 100428
upower_0.9.14-1_i386.deb
dfbc9b853775babaa24ee128620165a7aff896bf9ab64971967fb846bb4d5072 56480
upower-doc_0.9.14-1_all.deb
ae2ac8dbd002a6e1b92af253073999be6b073bc71fbb7e559c8a72eb87baaab1 33882
libupower-glib1_0.9.14-1_i386.deb
fe047b38b05b08a1c07c8a599ee6e2d595bfc83866420ece4069f4a0e09ef95d 46582
libupower-glib-dev_0.9.14-1_i386.deb
14c568e9b62d99dcb356105450b4680e39080ef3193600f518a0555ac024f114 12818
gir1.2-upowerglib-1.0_0.9.14-1_i386.deb
Files:
099a831f23f6e7276dd7e56aeba454ec 2588 admin optional upower_0.9.14-1.dsc
18803f82102d56aac90949d1e4251645 403304 admin optional
upower_0.9.14.orig.tar.xz
147c59e32cd8f9aac22d7ae39b8f9ed2 9397 admin optional
upower_0.9.14-1.debian.tar.gz
6cd80493006f0d2a6c63dcea29667f37 100428 admin optional upower_0.9.14-1_i386.deb
2c3ac0dd290a4c55c1492d22356c73c4 56480 doc optional upower-doc_0.9.14-1_all.deb
18d394a4d5fe602d42802021ee000f21 33882 libs optional
libupower-glib1_0.9.14-1_i386.deb
86cdb23d1607722b29141e3b15a2dfa4 46582 libdevel optional
libupower-glib-dev_0.9.14-1_i386.deb
12d0f71d19216f76fe2d50cffb9c0b34 12818 libs optional
gir1.2-upowerglib-1.0_0.9.14-1_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
iQIcBAEBCAAGBQJOidOLAAoJEGrh3w1gjyLcg0YP/RfdrdO5ThQ0Z6AdMKRO/puk
4NghdYiP+P+xd7WeA5spIKZecJWgkgB4L0CajX5TxekrgiULa+8J28o+swvph8u3
JeLg7AmM1vtB8wBSoeuiPqUZ4XcESWzjrgGq77RyaQ6Lr1f0oqWqzLF8RpHmmd85
1RJ+KIsHdPeQxDoZsADISuEB/WbYt8n1l7K06/VZinmItKkMfuVfMw43pOGbHHPW
iKj6ud3xA+BUqIEeUPeeW9kTumzj4Jqe92nCKhc+77iAqOXzTyL0FsRInpzenGk9
iscg9UjKg57dgjB4xWn+LR59sdCSxwdGnnh5REHuLk+LQNSRHmPMkl+oYiyLdHJ0
wmXkdG7C0ZWXd2zwgTLIUxjmCtpZuFFhJVDsJDoapk4QvUH+h4VLBqSR7pLmtZAe
IH8TG6xmkDmHq16W2XYGGuwJ7MzWZmRL/WeA8d3VGMTh5g3GXAFHJmTtQLyRT4IY
aK9zdVKUZAUUsXaQu+rzeI7IfwjQ9/HesKeonvZwYYhI5nh+fKnIol2FEc6gSs5p
3bhMPaOICyqcdMn+x4/+r7ji9q9In4Yov+/jXQFvWtLGqr6xlN/19dyVzfrLGOvr
XPZM5xMDVtOkGoM3uKWVy2JGndnKoZ8eXaxF4co7Ojp05OlZsI96b6xuyNsYe7Ua
HA2PwKzqM5LqkzuBdTR0
=K+gr
-----END PGP SIGNATURE-----
--- End Message ---