You are not logged in.
I use boot with init=/bin/systemd.
Service run on boot time "hdparm -B 254 /dev/sda" this is working to.
But my question is:
# systemctl suspend or # systemctl hibernate, then restore laptop will "hdparm -B /dev/sda= 128". Why?
How to run service resume suspend and hibernate after?
I could not find a description.
Thanks!
Last edited by gya82 (2012-06-10 19:14:32)
Offline
May be you want to try pm-suspend tools to suspend/hibernate your system, usually works great.
Enjoying i3wm w/ lifebar + j4-dmenu-desktop + tab_windows / fish shell / Emacs / tmux / Konsole / KDE apps
Arch + Linux-libre kernel: ParabolaGNULinux.org
Offline
you might have a look at the systemd.special man page. systemd provides three hooks to trigger services at suspend (suspend.target) / hibernate (hibernate.target) or both (sleep.target).
Unfortunately there doesn't seem to be any documentation yet how exactly this is supposed to be used or if this even can replace the pm-utils hooks, I haven't really looked into it yet.
But using pm-utils together with systemd for now shouldn't do any harm.
Last edited by 65kid (2012-06-10 10:46:18)
Offline
ok, pm-utils works great!
(I use pm-hibernate and pm-suspend)
Thanks!
Last edited by gya82 (2012-06-10 19:33:55)
Offline