On Fri, Jun 24, 2011 at 03:56:58PM +0200, Andras Simon wrote:
> On 6/24/11, Darryl L. Pierce <dpie...@redhat.com> wrote:
> > Whenever I try to put my laptop into either suspend or hibernate mode
> > (i.e., close the lid when not plugged in) the laptop _seems_ to be
> > trying to go to sleep but never quite gets there. The battery light
> > stays on, the sleep light (crescent moon) light blinks, but there's no
> > disk activity and the power light stays on.
> >
> > And nothing short of holding the power button down and forcing a power
> > off works for bringing the laptop back out of htis state.
> 
> /var/log/pm-suspend.log may be worth a look.
> And you could run pm-is-supported (see its manpage for how to
> interpret the result).

Here's what I get:

(mcpierce@mcpierce-laptop:~)$ pm-is-supported --suspend
(mcpierce@mcpierce-laptop:~)$ echo $?
0
(mcpierce@mcpierce-laptop:~)$ pm-is-supported --hibernate
(mcpierce@mcpierce-laptop:~)$ echo $?
0
(mcpierce@mcpierce-laptop:~)$ pm-is-supported --suspend-hybrid
(mcpierce@mcpierce-laptop:~)$ echo $?
1

Though I'm questioning this last once since I tried to do:

pm-is-supported --suspend-hybrid && echo $?

and it never showed the RC, telling me the command itself failed.

> > Any ideas on what I should or could do to get suspend to work again?
> > It's a PITA to have to hard shutdown the laptop when I accidentally shut
> > the lid.
> 
> I hope this feature (closing lid causes suspend) can be switched off
> somehow. It's a PITA even if suspend/hibernate works.

It can. Check out my blog post [1] about how to disable it.

[1] http://mcpierce.blogspot.com/2011/05/fedora-15-gnome-3-and-closing-your.html

-- 
Darryl L. Pierce, Sr. Software Engineer @ Red Hat, Inc.
Delivering value year after year.
Red Hat ranks #1 in value among software vendors.
http://www.redhat.com/promo/vendor/

Attachment: pgpn2qVCgXpvM.pgp
Description: PGP signature

-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

Reply via email to