Post subject: Laptop won't sleep after kernel upgrade Posted: 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?
muchan
Post subject: RE: Laptop won Posted: 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
goofythekiller
Post subject: Re: RE: Laptop won Posted: 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