You are not logged in.
Hi,
when I hibernate all works fine! That's great!
Btw, when I try to suspend it, at restart all programs are closed: it fails to restore the session.
HERE my logs!
Thanks for your help but googling errors I can't find nothing...
Offline
The logs aren't exactly telling anything. Can you explain what do you mean by "restart". Also what happens exactly when you wake up from suspend? Did you confirm that the computer when into suspend first?
Offline
Please define "suspend" - the usual understanding, notably in conjunction with "hibernate" is "suspend to ram" what means that the system state is saved in RAM. Nothing has to be "restored" or "restarted" - all processes are "frozen" and "archived" in the volatile memory (what means the system needs to remain power supplied!)
Offline
restart: I mean, after I did "sudo systemctl suspend", I wait for x seconds, then I press the power button to wake on laptop.
It opens systemd-boot, I select arch and the starts the process of boot. I do the login with my credentials and it's like I powered off the laptop! Nothing is working, no programs are open!
suspend: "sudo systemctl suspend" from command line or I press suspend button via Gnome interface!
The laptop is always power supplied!
Thanks mates
Offline
Apparently pressing the power button triggers a reboot then (or the system doesn't actually suspend but shuts down)
If you wake from an STR, you just go on where you left, you're absolutely not supposed to see a bootmanager and login or so.
Does the system wake on usb or does rtcwake work? "sudo rtcwake -s 60 -m mem" should STR and auto-resume 60 seconds later (but does not work with all ACPI implementations)
Offline
"sudo rtcwake -s 60 -m mem" is the same! When it wake up it go for systemd-boot....
Offline
Does the HW have any status LEDs to indicate the STR state (ie. is it STR at all, or maybe fails this state itfp)?
Does it work with the linux-lts kernel?
Can you replace systemd-boot with grub?
What HW is that exactly. Notebook, Tower, Vendor (custom build)?
Can you eg. download a live-distro like knoppix or grml, boot that and try to STR/resume from there?
Offline
Yes it has a led blinking during STR!
I can give linux-lts a try...
Yes I can... I'm going reading the wiki a lot today!!!
It's a notebook, an asus k550j..
I already tried with some live-distro like ubuntu, but It doesn't work even from there!
I had the same problem on Ubuntu (with a lot of other problems that I solved thanks to Arch) and I postend on askubuntu http://askubuntu.com/questions/853042/r … l-programs!
That occasion I tried with live-distro and even with differents kernel version but nothing helped...
Last edited by Cirelli94 (2017-02-03 09:28:44)
Offline
Try passing "acpi_sleep=nonvs" as kernel parameter (no idea how to do that with systemd-boot, sorry)
Offline
Try passing "acpi_sleep=nonvs" as kernel parameter (no idea how to do that with systemd-boot, sorry)
Thanks, I'm going to try this. But I can't find info online about the parameter "nonvs". What's this?
Last edited by Cirelli94 (2017-02-05 11:21:26)
Offline
http://lxr.free-electrons.com/source/Do … meters.txt
"nonvs prevents the kernel from saving/restoring the ACPI NVS memory during suspend/hibernation and resume."
Offline
I tried s3_bios, s3_mode, s3_beep but no one worked well.. Hopefully hibernation is working, so I'll do without suspend mode! Thanks people
Offline