Hi,
thanks for reply.
OK, originally I was trying to find out, why gnome-power-manager is not
able to suspend my machine. And I somehow (this may be wrong) thought
the problem might be in pm-utils (as was in the past).
Anyway I explain thing I reported:
1] running pm-is-supported as normal user (I thought $ and # would
explain) results in:
$ pm-is-supported --suspend
$ echo $?
0
So, the suspend should be available. Sorry I didn't know I should check
the exit code.
2] running pm-is-supported as root:
# pm-is-supported --suspend
error: libhal_device_get_property_type:
org.freedesktop.Hal.NoSuchProperty: No property system.chassis.type on
device with id /org/freedesktop/Hal/devices/computer
# echo $?
0
Also returns 0 but also the error message.
3] running pm-suspend as root:
# pm-suspend
error: libhal_device_get_property_type:
org.freedesktop.Hal.NoSuchProperty: No property system.chassis.type on
device with id /org/freedesktop/Hal/devices/computer
Gives the same error message and probably tries to suspend the computer
but nothing happens except network is disconnected. And that is the same
what happens when I try to suspend using g-p-m.
I hope this is relevant and I'm not wating your time.
Thank you
Tomas
Michael Biebl wrote:
Tomas Safarik wrote:
Package: pm-utils
Version: 1.2.3-1
Severity: normal
Hello,
I have powerpc iBook G4 (A1133) and when I run $pm-is-supported --suspend
command it returns nothing
but when I use #s2ram command computer suspends ok.
Also when I run # pm-is-supported --suspend I get following error:
error: libhal_device_get_property_type: org.freedesktop.Hal.NoSuchProperty: No
property system.chassis.type on device with id
/org/freedesktop/Hal/devices/computer
That is strange: First you say: pm-is-supported --suspend returns nothing, then
that you get a hal error message???
I'll be happy to provide more details if needed.
pm-is-supported --suspend does not print anything on stdout/stderr.
It simply sets a EXIT CODE
What do you get if you run (as root):
pm-is-supported --suspend
echo $?
What does
lshal | grep power_management
say?
And what is the actual problem? What were you trying to do?
Michael
--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org