Quantcast
Channel: Debian User Forums
Viewing all articles
Browse latest Browse all 2681

General Questions • Re: [Hardware] Setting up Hibernate and Sleep on PC - SOLVED

$
0
0
I have never managed to do either: neither hibernate nor sleep.
No matter which one (hibernate or sleep) I tried, I could not bring back the operating system with either the USB keyboard or the USB mouse. It was necessary to use the Power button on the computer.
BTW, I do not know, if it cannot sleep or wake up.

Have you tried other setting of acpi_sleep kernel parameter?
See Documentation/power/video.rst for information on s3_bios and s3_mode.
s3_beep is for debugging; it makes the PC's speaker beep as soon as the kernel's real-mode entry point is called.
s4_hwsig causes the kernel to check the ACPI hardware signature during resume from hibernation, and gracefully refuse to resume if it has changed. This complies with the ACPI specification but not with reality, since Windows does not do this and many laptops do change it on docking. So the default behaviour is to allow resume and simply warn when the signature changes, unless the s4_hwsig option is enabled.
s4_nohwsig prevents ACPI hardware signature from being used (or even warned about) during resume.
old_ordering causes the ACPI 1.0 ordering of the _PTS control method, with respect to putting devices into low power states, to be enforced (the ACPI 2.0 ordering of _PTS is used by default).
nonvs prevents the kernel from saving/restoring the ACPI NVS memory during suspend/hibernation and resume.
sci_force_enable causes the kernel to set SCI_EN directly on resume from S1/S3 (which is against the ACPI spec, but some broken systems don't work without it).
nobl causes the internal blacklist of systems known to behave incorrectly in some ways with respect to system suspend and resume to be ignored (use wisely).
Maybe mentioned link is this: The Linux Kernel documentation: Video issues with S3 resume.

Output of command

Code:

ls -l /dev/disk/by-path/
give you name of disk with issue on the screen-shot.
You can check and set its Advanced power management by hdparm.
Finally, we did it!
The problem was probably that I didn't run the following command after writing to /etc/default/grub:

Code:

update-grub
So, now in /etc/default/grub is this:

Code:

GRUB_CMDLINE_LINUX_DEFAULT="acpi_sleep=old_ordering"
On my Debian system I am now using the MATE desktop environment.
When I switch off, I can choose between Switch off, Restart, Suspend, Hibernate and Log off.
Suspend and Hibernate also work, although I don't wake up my computer with my USB keyboard or USB mouse (these not works), but with the computer's Power button.
Maybe the USB keyboard and mouse don't work because my power supply isn't powerful enough, maybe it doesn't provide 500mAh of power.

Thank you all very much for your help!

Statistics: Posted by cspaul — 2024-01-28 11:22



Viewing all articles
Browse latest Browse all 2681

Trending Articles