Whoops. I meant 'pm-is-supported', I was just being an idiot when I wrote the email. I'm also even more of an idiot and got the exit statuses reversed:
pm-is-supported --suspend && echo "Not Supported" || echo "Supported" pm-utils is the package that has all this stuff: http://cgit.freedesktop.org/pm-utils/ On Mon, May 2, 2011 at 9:26 AM, Adam Tauno Williams <awill...@whitemice.org>wrote: > On Sun, 2011-05-01 at 23:40 -0400, Jasper St. Pierre wrote: > > I'm not suggesting the Terminal for everyday usage. I'm just trying to > > get some hardware and pm-utils stats so we can solve the problem for > > other users... all that command will do is print out "Supported" or > > "Not Supported", just as a starting point for the hellish journey > > ahead of us: Debugging Linux Power Management > > Is "pm-utils" [mentioned below] meant to be a literal command? > > I have no such command [openSUSE 11.4 x86_64]. I have > "pm-is-supported", both "pm-is-supported --hibernate" and > "pm-is-supported --suspend" produce no output and have an exit status of > zero (which according to the man page means "State available". > > Suspend worked perfectly for this laptop with GNOME 2.32; after the > update suspend/resume is lethal. System resumes to a black screen with > a pointer and usually, but not always, some artifact of a window in the > center of the screen. Ctrl-Alt-F1 will take me to a console where I can > kill X and log in again. Obviously that's not supposed to happen.. All gnome-shell does is defer this to UPower, and the Linux backend eventually calls pm-utils. Can you try running '/usr/sbin/pm-suspend' and see what happens? It could be a fault of gnome-screensaver's locking stuff. > I've also walked away from the machine and come back, twice, to find a > black screen with nothing but a pointer with even Ctrl-Alt-F1 not > working. But while I'm using it GNOME 3 has been fast and stable; I > just can't turn my back on it. > That sounds even more like the fault of the screensaver. > In System Settings / Power I've unchecked both "On AC Power" and "On > Battery" suspend options. > > nVidia Corporation GT216 [GeForce GT 230M] (rev a2) > NVIDIA GPU GeForce GT 230M (GT216) at PCI:1:0:0 (GPU-0) > 2.6.37.6-0.5-desktop > Are you running nvidia proprietary or nouveau? > > On Sun, May 1, 2011 at 11:25 PM, Allan E. Registos > > <allan.regis...@smpc.steniel.com.ph> wrote: > > > Generally I like the gnome philosophy of simplifying > > > things by removing options. But leaving > > > non-technical users with a default setting that does > > > not work is not a good choice > > > Can you give us some hardware details, and try: > > > pm-utils --suspend && echo "Supported" || echo "Not > > > supported" > > > > _______________________________________________ > gnome-shell-list mailing list > gnome-shell-list@gnome.org > http://mail.gnome.org/mailman/listinfo/gnome-shell-list >
_______________________________________________ gnome-shell-list mailing list gnome-shell-list@gnome.org http://mail.gnome.org/mailman/listinfo/gnome-shell-list