Hibernation & Resume
Forum rules
Topics in this forum are automatically closed 6 months after creation.
Topics in this forum are automatically closed 6 months after creation.
Re: Hibernation & Resume
There's indication that this same issue was solved for RTL8169 by kernel 4.17. For Mint 19, 4.18.0-13 is available from Update Manager (View -> Linux kernels). Upgrading to that might be the simplest fix...
Re: Hibernation & Resume
Solved. I've updated the kernel to 4.18, backed out the previous changes, and added modprobe additions to the wifi-sleep.service and wifi-resume.service
wifi-sleep.service
wifi-resume.serivce
/etc/systemd/system
wifi-sleep.service
Code: Select all
[Unit]
Description=Stop networkmanager before sleep
Before=suspend.target
Before=hibernate.target
Before=hybrid-sleep.target
[Service]
Type=oneshot
ExecStart=/sbin/modprobe -r ath10k_pci
ExecStart=/bin/systemctl stop network-manager.service
[Install]
WantedBy=suspend.target
WantedBy=hibernate.target
WantedBy=hybrid-sleep.target
Code: Select all
[Unit]
Description=Enable networkmanager after sleep
After=suspend.target
After=hibernate.target
After=hybrid-sleep.target
[Service]
Type=oneshot
ExecStart=/sbin/modprobe ath10k_pci
ExecStart=/bin/systemctl restart network-manager.service
[Install]
WantedBy=suspend.target
WantedBy=hibernate.target
WantedBy=hybrid-sleep.target
Re: Hibernation & Resume
Thanks for posting back; had never even noticed those service files (I don't use Wi-Fi). Yes, the additions make perfect sense in the context of the problem description. Only question: I suppose you tested that they were in fact necessary also on 4.18?
In any case, well done...
Re: Hibernation & Resume
The firmware is still crashing if the network is disconnected by applet or command line.
Re: Hibernation & Resume
Thanks once again; know what to advise a potential next poster with this problem then.