Fedora Linux Support Community & Resources Center
  #1  
Old 11th February 2008, 11:56 AM
count.delmongo Offline
Registered User
 
Join Date: Nov 2006
Posts: 3
Laptop no longer suspends after user mod

Hey,

Just wonna say that I've used this site soo much without even having to post, which I think is a testament to how brilliant the community is.. Okay, ass kissing over..

I recently wanted to address the following issue:

When I hibernate my HP Pavilion dv6095ea, running Werewolf, it works fine, as does/did suspend. I say fine, I mean as well as most can expect laptops to!! But I found it annoying that hibernating Fedora caused grub to be modified or whatever so that on next power up, it goes straight into booting back up into Fedora and resuming (I heard it being referred to as 'grub having hook placed on it'???)

Anyways, I found a post saying that if I commented out code in the relevant file, in this case
Code:
/usr/lib/pm-utils/sleep.d/01grub
, it would stop the hook. Another post indicated that simply placing
Code:
exit 0
at the top of the file would stop this from happening.

So I followed the latter approach and added 'exit 0'.

Since then, suspend/hibernate has stopped working and when I initiate it, it logs me out and i get 4 lines of output as follows:
Code:
PM: Preparing system for mem sleep
Stopping tasks ... done.
PM: entering mem sleep
Suspending console(s)
It just sits there, not hung but happy just sitting. I've subsequently removed the line from the top (Duh!!) but it still does it.. So have I broken something else by putting that single 'exit 0' line in the file and then removing it?

I recently updated to 2.6.23.14-115 and can confirm that suspend has worked since the update but not since the twit that I am broke it.

Thanks in advance for advice
Reply With Quote
  #2  
Old 11th February 2008, 12:28 PM
Zero-Override Offline
Registered User
 
Join Date: May 2005
Posts: 741
i think that it's caused by the exit 0 code it's either not recognized and therefor doesn't exit the program, or the 0 added will stop it from exiting if it is recognized

try commenting out the exit 0 code and see what happens then

oh and welcome to the club i've read the forum for like a year to before i joined up to help someone else
__________________
LINUX NUMBER 389596
machine number 290131
Reply With Quote
  #3  
Old 11th February 2008, 02:29 PM
count.delmongo Offline
Registered User
 
Join Date: Nov 2006
Posts: 3
Thanks for the welcome!!

Unfortunately, probably me being too vague as is sometimes the case in life in general, my first course of action after the problem occurred was to undo my changes and to remove the 'exit 0' entirely, leaving the file as it was.

The issue is that I still have the same problem, even AFTER removing the 'exit 0'. That's what is comfusing me...

Put simply: I made a change, the result of which b0rked suspend/hibernate. So I undid the change, still b0rked... = ahhhh!!

I broked it, lol...

???
Reply With Quote
  #4  
Old 1st March 2008, 12:31 PM
count.delmongo Offline
Registered User
 
Join Date: Nov 2006
Posts: 3
After subsequent research it appears that it wasn't me that caused the problem. It looks like a new kernel update or something. I have re-installed Fedora 8 and everything is updated, the issue is still there

Checked the system logs, it looks like it has a problem suspending a specific device, refers to something called rfkill_suspend?? A quick check on google turns up absolutely nothing. I thought it maybe wireless related, as quite a few suspend problems are, so I did 'rmmod ndiswrapper' and got rid of wireless stuff but still the same problem.

Heres an example from the logs

Feb 21 10:20:05 localhost kernel: Stopping tasks ... done.
Feb 21 10:20:05 localhost kernel: Suspending console(s)
Feb 21 10:20:05 localhost kernel: suspend_device(): rfkill_suspend+0x0/0x44 [rfkill]() returns -194090335
Feb 21 10:20:05 localhost kernel: Could not suspend device rfkill0: error -194090335
Feb 21 10:20:05 localhost kernel: Some devices failed to suspend
Feb 21 10:20:05 localhost kernel: Restarting tasks ... done.
Reply With Quote
Reply

Tags
laptop, longer, mod, suspends, user

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
My F11 Laptop Suspends Automatically whatsthatthere Using Fedora 8 14th September 2009 08:19 PM
laptop suspends, but then shutsdown on wakeup jturnbul Hardware & Laptops 6 3rd April 2006 02:36 AM
my laptop suspends itself every 3 minutes Lluisanunez Hardware & Laptops 7 5th March 2005 10:31 PM


Current GMT-time: 18:31 (Thursday, 23-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat