Rootserver Sponsor

webtropia"

Donations

Please support your operating system's further development:

donate"

This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
View previous topic Printable version Log in to check your private messages View next topic
Author Message
goofythekillerOffline
Post subject: Laptop won't sleep after kernel upgrade  PostPosted: 29.09.2010, 18:42



Joined: 2010-09-12
Posts: 10

Status: Offline
I have a Thinkpad T500 and I can not longer put it to sleep after upgrading from kernel 2.6.34.7 to 2.6.35.7. It turns off the hard drive and everything else, but the screen remains on and the sleep light on my laptop starts flashing.

Does anyone have any idea how I can fix this? Is there a way to just force it to sleep?
 
 View user's profile Send private message  
Reply with quote Back to top
muchan
Post subject: RE: Laptop won  PostPosted: 29.09.2010, 19:49
Moderator


Joined: 2010-09-11
Posts: 469

(I don't know if sleep and hybernate are the same.., but FYI
I have a script like this
      Code:

$ cat /usr/local/bin/hybernate
#!/bin/sh
if [ "$(id -u)" -ne 0 ]; then
        exec su -c 'echo mem > /sys/power/state'
else
   echo better hybernate as user!
fi
 
 View user's profile Send private message  
Reply with quote Back to top
goofythekillerOffline
Post subject: Re: RE: Laptop won  PostPosted: 30.09.2010, 02:14



Joined: 2010-09-12
Posts: 10

Status: Offline
      muchan wrote:
(I don't know if sleep and hybernate are the same.., but FYI
I have a script like this
      Code:

$ cat /usr/local/bin/hybernate
#!/bin/sh
if [ "$(id -u)" -ne 0 ]; then
        exec su -c 'echo mem > /sys/power/state'
else
   echo better hybernate as user!
fi


This will have to do until this issue is fixed.

Thank you.
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 12 Hours
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.
View previous topic Printable version Log in to check your private messages View next topic
Powered by Zafenio