Laptop sometimes not going to sleep

This forum is dedicated to advanced help and support :

Ask here your questions about advanced usage of Mageia. For example you may post here all your questions about network and automated installs, complex server configurations, kernel tuning, creating your own Mageia mirrors, and all tasks likely to be touchy even for skilled users.

Laptop sometimes not going to sleep

Postby DiBosco » Dec 15th, '11, 01:37

My laptop is sometimes not going to sleep. You can see it looks like it's about to then just as all the lights go out, they come back on again. It's like something is waking it, just after it sleeps.

Anyone come across this before?

Is there a way to send it to sleep from the command line to see what's going on? Similar instruction to shutdown -h now bit for sleep rather than shutdown.

Thanks.
DiBosco
 
Posts: 331
Joined: Aug 31st, '11, 10:22

Re: Laptop sometimes not going to sleep

Postby JoesCat » Dec 15th, '11, 03:55

Several years ago, people had problems with sleep due to linux updating some log files.

When it wakes-up, go to the command-line and try to see if there are any hints:
tail /var/logs/messages
or
tail /var/logs/syslog
User avatar
JoesCat
 
Posts: 177
Joined: Sep 15th, '11, 04:27
Location: Richmond, BC, Canada

Re: Laptop sometimes not going to sleep

Postby doktor5000 » Dec 15th, '11, 11:49

@JoesCat: It's /var/log/ and tail by default shows only the last 10 lines, which in that case won't be really helpful.

@DiBosco: You should try the pm- commands, either pm-suspend, pm-suspend-hybrid or pm-hibernate.
All of them also have additional options for special video quirks, maybe that helps.

For reference, how do you send it to sleep normally?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18015
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany


Return to Advanced support

Who is online

Users browsing this forum: No registered users and 1 guest