Energiespareinstellungen (Debian): Unterschied zwischen den Versionen

Aus MattWiki
Keine Bearbeitungszusammenfassung
Keine Bearbeitungszusammenfassung
Zeile 13: Zeile 13:


Oder in <code>/etc/hdparm.conf</code> die o. g. Einträge wieder auskommentieren. Evtl beides?
Oder in <code>/etc/hdparm.conf</code> die o. g. Einträge wieder auskommentieren. Evtl beides?
== Disable Suspend and Hibernation ==
If the operation system should not attempt any type of suspend or hybernation, the appropriate targets need to be disabled at the systemd level:
systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target
Re-enable hibernate and suspend with the following command:
systemctl unmask sleep.target suspend.target hibernate.target hybrid-sleep.target
Source: https://wiki.debian.org/Suspend#Disable_suspend_and_hibernation


[[Category:Linux]]
[[Category:Linux]]

Version vom 8. September 2020, 13:10 Uhr

Festplatte Spindown aktivieren

# nano /etc/hdparm.conf
command_line {
       hdparm -B 200 /dev/sda
}

Werte 1 bis 240 sind in 5 Sekunden-Schritten, Werte 241 bis 251 sind Schritte von 30 Minuten.

Festplatte Spindown deaktivieren

Entweder in Root-Terminal:

hdparm -B 255 /dev/sdx

Oder in /etc/hdparm.conf die o. g. Einträge wieder auskommentieren. Evtl beides?

Disable Suspend and Hibernation

If the operation system should not attempt any type of suspend or hybernation, the appropriate targets need to be disabled at the systemd level:

systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target

Re-enable hibernate and suspend with the following command:

systemctl unmask sleep.target suspend.target hibernate.target hybrid-sleep.target

Source: https://wiki.debian.org/Suspend#Disable_suspend_and_hibernation