LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (https://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   System reboots instead of resumes after suspend (https://www.linuxquestions.org/questions/linux-hardware-18/system-reboots-instead-of-resumes-after-suspend-4175615760/)

philygee 10-16-2017 11:25 AM

System reboots instead of resumes after suspend
 
I've been having a problem with resuming my system from sleep/suspend, and can't seem to find the answer.
The computer seems to go to sleep properly. I press the power button or close the lid, and it enters sleep mode (at least, I believe it does because the power LED flashes at regular intervals). When I attempt to resume the computer, it goes through the same start-up process that it goes through when it starts up from off. After I log in, it appears that the computer has actually rebooted and not resumed a previous session (all applications are closed down, for instance).
How can I troubleshoot this?
I'm running Linux fedora 4.13.5-200.fc26.x86_64 on an older Sony Vaio laptop (VGN265D). Any help would be appreciated!

business_kid 10-17-2017 09:49 AM

There is/was a forum on linux-laptop.net where all these laptop-specific tweaks were argued over, and kernel patches were fought over in past times. Those are configurable options in the linux kernel today, and the main advice I would pass on is to build your own kernel.

I see you're on Fedora; To put it kindly, you're a crash tester for Red Hat using Alpha/Beta software. Best leave their kernel there, and add yours in grub/lilo/whatever they use now. Don't compile their source if you have the disk space to add a pure one. Red Hat distros have over a Meg of patches applied to the source.
IIRC, there are specific options for some Sony, Thinkpad and other laptops in the acpi stuff. There are also boot options and other quirks in odd places for exotic stuff.

philygee 10-17-2017 10:43 AM

Thanks for the reply. I'll have a look over on linux-laptop and see what I can find. I'm a bit of a Linux newb so I don't know if I'm quite ready to build my own kernel just yet...(if you had any useful online literature on the subject, I'd be happy to read it though).

Quote:

Originally Posted by business_kid (Post 5770923)
There is/was a forum on linux-laptop.net where all these laptop-specific tweaks were argued over, and kernel patches were fought over in past times. Those are configurable options in the linux kernel today, and the main advice I would pass on is to build your own kernel.

I see you're on Fedora; To put it kindly, you're a crash tester for Red Hat using Alpha/Beta software. Best leave their kernel there, and add yours in grub/lilo/whatever they use now. Don't compile their source if you have the disk space to add a pure one. Red Hat distros have over a Meg of patches applied to the source.
IIRC, there are specific options for some Sony, Thinkpad and other laptops in the acpi stuff. There are also boot options and other quirks in odd places for exotic stuff.


business_kid 10-18-2017 03:32 AM

It's not as active now but there should be searchable forums and maybe old mailing list archives. There is also model-specific stuff.

syg00 10-18-2017 04:42 AM

As a constant Fedora user, I am continually amazed at this "bleeding edge" reference.
I have had to request options be turned on in their kernels - the devs can be quite conservative.

@philygee, what did you change to activate the suspend option(s) ?. Also pls post the output of this
Code:

sed -nr '/Login/,$ p' /etc/systemd/logind.conf

business_kid 10-19-2017 03:51 AM

@syg00: I've loaded most existing distros at some time or another, and quite a few that no longer exist. Fedora is the only system where you can upgrade to a non functional kernel in my experience.

syg00 10-19-2017 06:31 AM

The only time I've had broken kernels is with rawhide - and the breakages are pretty infrequent all things considered. Standard Fedora has been fine - even avoided a Radeon regression that annoyed me in rawhide kernels with 4.13
And I guess I'm one of those that accept the possibility - if I can help nut out a fix, we all win.


All times are GMT -5. The time now is 12:42 AM.