Ok Acer E5-573-38T2 Broadwell i3-5005u ubuntu 16.04.1/16.10 going freeze and
black screen after suspend, fan still spins, the power light is on and the
battery is trained. This problem only when plug in, on battery or when charged
works fine. For me works this
https://wiki.archlinux.org/index.php/Acer_Aspire_E5-573
"suspending to RAM (S3 Sleep state) and hibernating to disk don't work when
running on AC power. After debugging with
https://www.kernel.org/doc/Documentation/power/basic-pm-debugging.txt culprit
revealed to be the non-boot online cpus."
Create file:
$ sudo nano /lib/systemd/system-sleep/sleepcpu
put that script and save:
#!/bin/bash
case "$1" in
pre)
for c in /sys/devices/system/cpu/cpu*/online; do echo 0 >$c; done
;;
post)
for c in /sys/devices/system/cpu/cpu*/online; do echo 1 >$c; done
;;
esac
Save it, and:
$ sudo chmod +x /lib/systemd/system-sleep/sleepcpu
After that going to suspend perfect, but when wake up sometimes freeze. If you
have this, make another script.
$ sudo nano /lib/systemd/system-sleep/network
Put script:
!#/bin/bash
case "$1" in
post)
sudo service network-manager restart
;;
esac
Save and
$ sudo chmod +x /lib/systemd/system-sleep/network
After that suspend on my acer work perfect, testing 20/20 all works.
Hope it helps.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1574125
Title:
[Lenovo G50-70] suspend not working after upgrade
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1574125/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs