You have been subscribed to a public bug:

Hi
THANKS all who contribute and made Linux,ubuntu... and ALL the GNU software.
I don't know if this is the right way to report this issue. May be the problem 
only affect this computer /BIOS /hardware combination.. I hope it can help 
others with the suspend problems.
I have a cheap and Very good Mini PC ( 
https://es.aliexpress.com/item/32978651823.html?spm=a2g0o.order_list.0.0.18751802svuMvO&gatewayAdapt=glo2esp
 )

In fresh install Suspend fail: freeze the machine. After a while I found
the problem is the r8169 module. I use and edit the scrip in this web to
unload the module before suspend and load it when wake up.

https://blog.christophersmart.com/2016/05/11/running-scripts-before-and-
after-suspend-with-systemd/

#!/bin/sh
if [ "${1}" = "pre" ]; then
  # Do the thing you want before suspend here, e.g.:
  echo "we are suspending at $(date)..." >> /tmp/systemd_suspend_test
  /usr/sbin/modprobe -r -v r8169
elif [ "${1}" = "post" ]; then
  # Do the thing you want after resume here, e.g.:
  echo "...and we are back from $(date)" >> /tmp/systemd_suspend_test
  /usr/sbin/modprobe -v r8169
fi

lspci output attached.
Thanks.

** Affects: linux (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: bot-comment
-- 
BUG  ISSUE suspend FAIL in ubuntu 20.04 and 22.04 whit full encrypt disk -  
Realtek module r8169 - [10ec:8168] (rev 15)  FIXED 
https://bugs.launchpad.net/bugs/1986459
You received this bug notification because you are a member of Kernel Packages, 
which is subscribed to linux in Ubuntu.

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to