Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Can't resume laptop from sleep
View unanswered posts
View posts from last 24 hours

Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message

Joined: 30 May 2015
Posts: 35

PostPosted: Sun Aug 20, 2017 9:47 am    Post subject: Can't resume laptop from sleep Reply with quote

Hi everybody!

I recently changed my graphics' drivers from nvidia proprietary ones back to nouveau, and I believe to have messed up something with my system's configuration, because two issues popped out from it. One of them has been solved successfully thanks to you:

The other issue concerns my laptop's sleep state: if I suspend it, it's not possible to wake it up back, although I hear the fans starting up.

I simply have no idea on how to trace such an issue because the only way out of this situation is to kill the laptop via the power button and power it up back again.

Here is my make.conf:

and my dmesg:

Thank you anticipately
Back to top
View user's profile Send private message

Joined: 13 Feb 2016
Posts: 1090

PostPosted: Mon Aug 21, 2017 6:50 am    Post subject: Reply with quote

Without more information this advice is going to seem a bit all over the place...

But here it goes anyway -

The FIX is going to of course need to happen at either one level or another....such as hardware, kernel or software.

The First level hardware is probably not the issue, or else you would not be able to likely have much use of your brand new graphics. so that means it is either kernel/driver related or something more specific to the sleep/wake tool being used.

Skipping the kernel for a minute, check to make sure that the software you are using doesn't contain anything in the way of a service hook that you don't agree should be there, the way to do this is to go into the configuration for the tool and find a subfolder (most likely) or file that is meant to control things like turning off and back on certain services that the system would do better than just crashing and turning back on...

Then, as for the kernel that is one area where the problems could be many, so whether after changing your driver to the generic from proprietary means that there are either some kernel modules that are presenting the issue, or else something with the grub config even that is telling the kernel what to boot.

Looking a bit further into these messages is going to help...but the most helpful could just be to check out the wiki's on the Nouveau driver available through some other sources in case it helps to uncover the missing piece to the puzzle. Speaking of which, have you noticed any other questionable behavior coming from the video card itself? If it is just what happens with the display when you log back in, then there could be room to continue debugging at that point (try if you have another laptop to setup a SSH connection to the PC with malfunctioning video, to see if it is actually locking up everything at the same time...or else using some nifty shell programming you should be able to hook it into the power management tool so that there is a script that will save whatever messages there are at that time.) Other places to check that could be of use, is the Xorg.log in /var/log, as well as the Power management tool itself could have a log in /var/log.


[ 2.470645] nouveau 0000:02:00.0: DRM: Pointer to flat panel table invalid
[ 2.470748] nouveau 0000:02:00.0: hwmon_device_register() is deprecated. Please convert the driver to use hwmon_device_register_with_info().[/b]
Back to top
View user's profile Send private message

Joined: 06 Mar 2007
Posts: 14973

PostPosted: Tue Aug 22, 2017 1:28 am    Post subject: Reply with quote

After the system fails to resume, what exactly does work and what does not? Failure to resume the display is very common and can indicate a variety of issues. Does the keyboard work (check by toggling an LED-reported state like caps lock)? Is the system accessible over the network after resume? If so, are user programs responsive over the network (test by logging in over ssh, assuming you have sshd running)?
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum