Zorin OS 17+ cannot go to sleep when suspended

Alright, that matches us to PT29 so

echo "PT29" > /proc/acpi/wakeup

Check if disabled

cat /proc/acpi/wakeup

Test without reboot...
Also - did you opt out of or into the Zorin Census?

Permission denied
Alright, let's try sudo
No output/blank

cat /proc/acpi/wakeup

Device S-state Status Sysfs node
GP12 S4 *enabled pci:0000:00:07.1
GP13 S4 *enabled pci:0000:00:08.1
XHC0 S4 *enabled pci:0000:09:00.3
GP30 S4 *disabled
GP31 S4 *disabled
PS2K S3 *disabled
GPP0 S4 *enabled pci:0000:00:01.1
GPP8 S4 *enabled pci:0000:00:03.1
PTXH S4 *enabled pci:0000:02:00.0
PT20 S4 *disabled
PT21 S4 *disabled
PT22 S4 *disabled
PT23 S4 *disabled
PT24 S4 *enabled pci:0000:03:04.0
PT26 S4 *disabled
PT27 S4 *disabled
PT28 S4 *enabled pci:0000:03:08.0
PT29 S4 *enabled pci:0000:03:09.0

Ok.. let's see if setpci works...

sudo setpci -s 06:00.0 CAP_PM+4.b=0

This change might not show in /proc/acpi/wakeup, so the only way to check is to test sleep without reboot...

:no_entry_sign::game_die:
:pensive:
This is a prime example of my statement
"I don't have normal problems, only weird :poop:"

Maybe we can look at processes that automatically check the net...

I'd be happy to poke at that. I have uh, Portmaster installed and running (was an issue before this) so that may help. As for the census, I probably ticked the box to participate, though finding that again is not obvious.

It is not obvious at all... I think your only option is to remove it:

sudo apt remove zorin-os-census

You also might go to Settings > Privacy and under network, check if the Connectivity Checker is active. Set to disable and test Sleep...

EDIT:
To add, just noticed the comments in this thread, some of which may help in a related issue:

OK, so I removed the census item, disabled the connectivity checker, and scoured the BIOS for any "wake on ___" settings (could not find that). WoL is also off. The PC this time went to sleep, the PSU clicked off, then immediately clicked back on. Technically an improvement? B550I AORUS PRO AX Support | Motherboard - GIGABYTE Global (revision 1.3)
sudo tail -n -500 /var/log/syslogOct 8 08:46:48 Desktop-Toaster /usr/libexec/ - Pastebin.com

This problem was probably caused by strange USB signals. gedit /proc/acpi/wakeup showed me, that wakeup was enabled for USB0 and USB2.

sudo -s
echo USB0 > /proc/acpi/wakeup
echo USB2 > /proc/acpi/wakeup

switched them to disabled (checked by gedit /proc/acpi/wakeup again or refreshing the file-view), and after that, the computer stays in suspend like it should. :slight_smile:

So I used the list devices command from earlier to determine the USB ID followed by the command:
sudo -s
followed by
echo XHC0 > /proc/acpi/wakeup
to disable the USB on sleep. It went to sleep and stayed there.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.