Problems in hibernation and sleep

If none of the more specific forums is the right place to ask

Problems in hibernation and sleep

Postby Mauriciodez » 2019-02-08 19:21

People ... I'm sorry if I posted in the wrong place but I did not identify the right place.

I have 2 problems:

* Instead of Hibernate the system is shutting down as if the power has run out.

* When I come back from the standby I can not reactivate the wireless USB nor pray, I could not identify what is disabled.

How to solve ???

Debian 8.11 + Cinnamon + 4GB RAM + 4GB SWAP

Translated from Portuguese by google translator
Mauriciodez
 
Posts: 4
Joined: 2019-02-08 19:17

Re: Problems in hibernation and sleep

Postby albsanrom » 2019-02-08 21:51

In /etc/default/grub try changing
Code: Select all
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash'"
to
Code: Select all
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_backlight=vendor acpi_osi='!Windows 2013' acpi_osi='!Windows 2012'"

or something else.

In addition to that, regarding your first point, take a look at this:
https://askubuntu.com/questions/195671/wont-hibernate-when-battery-critical
albsanrom
 
Posts: 13
Joined: 2019-02-07 18:31

Re: Problems in hibernation and sleep

Postby stevepusser » 2019-02-08 22:13

What is your hardware, and about when does it date from? Jessie might be too old to work right with it if it's newer than 2014.
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Foliate 1.5.3, Minitube 3.1, wine-staging 4.12, Virtual Box 5.2.32 & 6.0.10, Pale Moon 28.6.1, Waterfox 56.2.12
User avatar
stevepusser
 
Posts: 11016
Joined: 2009-10-06 05:53

Re: Problems in hibernation and sleep

Postby Mauriciodez » 2019-02-08 23:13

stevepusser wrote:What is your hardware, and about when does it date from? Jessie might be too old to work right with it if it's newer than 2014.


My hardware is compatible with jessie ... kkk

mobo Gigabyte G31es2l
4GB ram DDr2
Intel E5500

TKS

translated from Portuguese by google translate
Mauriciodez
 
Posts: 4
Joined: 2019-02-08 19:17

Re: Problems in hibernation and sleep

Postby Mauriciodez » 2019-02-08 23:27

albsanrom wrote:In /etc/default/grub try changing
Code: Select all
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash'"
to
Code: Select all
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_backlight=vendor acpi_osi='!Windows 2013' acpi_osi='!Windows 2012'"

or something else.

In addition to that, regarding your first point, take a look at this:
https://askubuntu.com/questions/195671/wont-hibernate-when-battery-critical


nothing done, keep turning it off ... when it reboots it makes the recovering journal and blah blah blah

Translated from Portuguese by google translate
Mauriciodez
 
Posts: 4
Joined: 2019-02-08 19:17

Re: Problems in hibernation and sleep

Postby bw123 » 2019-02-08 23:59

Desktop environments sometimes have their own power manager apps or scripts that try to do things their own way. What command are you using to hibernate?

I don't remember when hibernate came to systemd, but the first test I'd make is see if hibernate works correctly under systemd. Did you search the man pages for anything relevant?

Code: Select all
$ apropos hibernate
$ systemctl hibernate


If that works, then the problem is with whatever thing you are clicking or using in the DE, check what command it runs.

Really, I don't see the point in starting a new thread for jessie anyway, there should be dozens of them about this on the net already.
User avatar
bw123
 
Posts: 3787
Joined: 2011-05-09 06:02

Re: Problems in hibernation and sleep

Postby Mauriciodez » 2019-02-09 20:19

bw123 wrote:Desktop environments sometimes have their own power manager apps or scripts that try to do things their own way. What command are you using to hibernate?

I don't remember when hibernate came to systemd, but the first test I'd make is see if hibernate works correctly under systemd. Did you search the man pages for anything relevant?

Code: Select all
$ apropos hibernate
$ systemctl hibernate


If that works, then the problem is with whatever thing you are clicking or using in the DE, check what command it runs.

Really, I don't see the point in starting a new thread for jessie anyway, there should be dozens of them about this on the net already.


The problem is not that it is not hibernating, the problem is that when it goes into hibernation it is shutting down as if the energy was finished ... so clicking on the DE or via terminal has the same effect !!!

I have not found anything so far on the internet with similar problem, so I opened the topic ... if you find me please show me !!!

not to mention the suspension problem that when I return I can not lift the wireless network.
Mauriciodez
 
Posts: 4
Joined: 2019-02-08 19:17

Re: Problems in hibernation and sleep

Postby Head_on_a_Stick » 2019-02-10 11:17

Mauriciodez wrote:the problem is that when it goes into hibernation it is shutting down as if the energy was finished

Check /etc/initramfs-tools/conf.d/resume and also the output of `/sbin/blkid` and make sure the correct resume device is set.

If it is wrong then correct the file and run
Code: Select all
# update-initramfs -u

Mauriciodez wrote:when I return I can not lift the wireless network

Check if the module for your wireless card is loaded:
Code: Select all
# lsmod | grep $module

Replace $module with the name of the actual module, which can be found with
Code: Select all
lspci -k | grep -iA2 net

Reference: https://askubuntu.com/questions/761180/ ... 04-upgrade

The search term used to find that thread was "wireless dead after resume debian".

If the module is loaded then install the rfkill package and check the output of `/usr/sbin/rfkill list` for any soft blocks that can be lifted with `/usr/sbin/rfkill unblock all` (as root).
User avatar
Head_on_a_Stick
 
Posts: 10346
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Problems in hibernation and sleep

Postby bw123 » 2019-02-10 18:37

Mauriciodez wrote:...
The problem is not that it is not hibernating, the problem is that when it goes into hibernation it is shutting down as if the energy was finished ... so clicking on the DE or via terminal has the same effect !!!

I have not found anything so far on the internet with similar problem, so I opened the topic ... if you find me please show me !!!
...


That's what hibernate does, it powers off the machine after saving the state in the swap file.
https://unix.stackexchange.com/question ... e-s4-state
User avatar
bw123
 
Posts: 3787
Joined: 2011-05-09 06:02


Return to General Questions

Who is online

Users browsing this forum: No registered users and 10 guests

fashionable