Finally, we did it!BTW, I do not know, if it cannot sleep or wake up.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.
Have you tried other setting of acpi_sleep kernel parameter?Maybe mentioned link is this: The Linux Kernel documentation: Video issues with S3 resume.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).
Output of commandgive you name of disk with issue on the screen-shot.Code:
ls -l /dev/disk/by-path/
You can check and set its Advanced power management by hdparm.
The problem was probably that I didn't run the following command after writing to /etc/default/grub:
Code:
update-grub
Code:
GRUB_CMDLINE_LINUX_DEFAULT="acpi_sleep=old_ordering"
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