[SOLVED] Mint doesn't resume from sleep mode

Questions about Grub, UEFI,the liveCD and the installer
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
mbuti
Level 1
Level 1
Posts: 46
Joined: Sun Jan 22, 2023 9:27 am

[SOLVED] Mint doesn't resume from sleep mode

Post by mbuti »

Hello,
after turning the laptop into sleep mode, when trying to resume from sleep mode by pressing the power button, nothing happens (not even the power LED blinks). Even by pressing other buttons or pressing many times the power button, nothing happens. Only if I press the power button longer than 5 seconds and then press it again, the system starts again. However, it boots from scratch and doesn't resume from sleep.

I tried upgrading and downgrading many kernels but this doesn't solve the problem. I also updated the BIOS to the latest version available (F08) and this doesn't solve the problem.
I run Linux Mint Cinnamon 20.3 on a HP Envy with AMD processor and graphics. I paste the output of the "inxi -Fxxxrz" command:

Code: Select all

System:
  Kernel: 5.13.0-52-generic x86_64 bits: 64 compiler: N/A 
  Desktop: Cinnamon 5.2.7 wm: muffin 5.2.1 dm: LightDM 1.30.0 
  Distro: Linux Mint 20.3 Una base: Ubuntu 20.04 focal 
Machine:
  Type: Convertible System: HP product: HP ENVY x360 Convertible 15-eu0xxx 
  v: N/A serial: <filter> Chassis: type: 31 serial: <filter> 
  Mobo: HP model: 888A v: 63.52 serial: <filter> UEFI: AMI v: F.08 
  date: 07/14/2022 
Battery:
  ID-1: BAT0 charge: 51.7 Wh condition: 51.7/51.7 Wh (100%) volts: 13.1/11.6 
  model: 333-2C-3A-A BN03051XL type: Li-ion serial: <filter> status: Full 
  cycles: 5 
  Device-1: hid-0018:04F3:2D05.0004-battery model: ELAN2514:00 04F3:2D05 
  serial: N/A charge: N/A status: N/A 
  Device-2: hidpp_battery_0 model: Logitech Wireless Mouse M325 
  serial: <filter> charge: 55% (should be ignored) rechargeable: yes 
  status: Discharging 
CPU:
  Topology: 8-Core model: AMD Ryzen 7 5700U with Radeon Graphics bits: 64 
  type: MT MCP arch: Zen rev: 1 L2 cache: 4096 KiB 
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm 
  bogomips: 57491 
  Speed: 1398 MHz min/max: 1400/4370 MHz boost: enabled Core speeds (MHz): 
  1: 1492 2: 1725 3: 1397 4: 1397 5: 1397 6: 1397 7: 1397 8: 1396 9: 1397 
  10: 1397 11: 1446 12: 1396 13: 1397 14: 1397 15: 1408 16: 1314 
Graphics:
  Device-1: AMD Lucienne vendor: Hewlett-Packard driver: amdgpu v: kernel 
  bus ID: 04:00.0 chip ID: 1002:164c 
  Display: x11 server: X.Org 1.20.13 driver: amdgpu,ati 
  unloaded: fbdev,modesetting,vesa resolution: 1920x1080~60Hz 
  OpenGL: renderer: AMD RENOIR (DRM 3.41.0 5.13.0-52-generic LLVM 12.0.0) 
  v: 4.6 Mesa 21.2.6 direct render: Yes 
Audio:
  Device-1: AMD Renoir Radeon High Definition Audio vendor: Hewlett-Packard 
  driver: snd_hda_intel v: kernel bus ID: 04:00.1 chip ID: 1002:1637 
  Device-2: AMD ACP/ACP3X/ACP6x Audio Coprocessor 
  vendor: Hewlett-Packard Raven/Raven2/FireFlight/Renoir Processor 
  driver: snd_rn_pci_acp3x v: kernel bus ID: 04:00.5 chip ID: 1022:15e2 
  Device-3: AMD Family 17h/19h HD Audio vendor: Hewlett-Packard 
  driver: snd_hda_intel v: kernel bus ID: 04:00.6 chip ID: 1022:15e3 
  Sound Server: ALSA v: k5.13.0-52-generic 
Network:
  Device-1: Realtek RTL8852AE 802.11ax PCIe Wireless Network Adapter 
  vendor: Hewlett-Packard driver: rtw89_pci v: kernel port: f000 
  bus ID: 02:00.0 chip ID: 10ec:8852 
  IF: wlp2s0 state: up mac: <filter> 
Drives:
  Local Storage: total: 983.19 GiB used: 64.30 GiB (6.5%) 
  ID-1: /dev/nvme0n1 vendor: Samsung model: MZVLQ1T0HBLB-00BH1 
  size: 953.87 GiB speed: 31.6 Gb/s lanes: 4 serial: <filter> rev: HPS1NFAV 
  scheme: GPT 
  ID-2: /dev/sda type: USB vendor: SanDisk model: Cruzer Switch 
  size: 29.32 GiB serial: <filter> rev: 1.00 scheme: MBR 
Partition:
  ID-1: / size: 141.02 GiB used: 32.10 GiB (22.8%) fs: ext4 
  dev: /dev/nvme0n1p5 
Sensors:
  System Temperatures: cpu: 39.6 C mobo: 29.0 C gpu: amdgpu temp: 37 C 
  Fan Speeds (RPM): N/A 
Repos:
  No active apt repos in: /etc/apt/sources.list 
  Active apt repos in: /etc/apt/sources.list.d/encryption.list 
  1: deb [signed-by=/usr/share/keyrings/unit193.gpg] https://ppa.launchpadcontent.net/unit193/encryption/ubuntu focal main
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list 
  1: deb http://packages.linuxmint.com una main upstream import backport #id:linuxmint_main
  2: deb http://archive.ubuntu.com/ubuntu focal main restricted universe multiverse
  3: deb http://archive.ubuntu.com/ubuntu focal-updates main restricted universe multiverse
  4: deb http://archive.ubuntu.com/ubuntu focal-backports main restricted universe multiverse
  5: deb http://security.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
  6: deb http://archive.canonical.com/ubuntu/ focal partner
  Active apt repos in: /etc/apt/sources.list.d/spotify.list 
  1: deb http://repository.spotify.com stable non-free
  No active apt repos in: /etc/apt/sources.list.d/unit193-encryption-focal.list 
Info:
  Processes: 349 Uptime: 12m Memory: 14.96 GiB used: 2.11 GiB (14.1%) 
  Init: systemd v: 245 runlevel: 5 Compilers: gcc: 9.4.0 alt: 9 Shell: bash 
  v: 5.0.17 running in: gnome-terminal inxi: 3.0.38 

I also pasted some output of the "dmesg" command here: https://termbin.com/00tm, where it can be seen that at bootup the kernel is "locked down" due to UEFI Secure Boot.

For the sake of more background information: I installed Linux Mint Cinnamon on a brand-new laptop. First I tried installing 21.1 but the installation was freezing and there seemed to be video problems. Then I tried 21.0 and I had similar problems. Then I tried 20.3 and the problems disappeared but Wi-Fi was not working. Then I tried 20.3 Edge and still had video problems, then I downgraded the kernel from 15.x to 13.0-52 and I manage to solve both video and Wi-Fi problems. However, unfortunately I have still the sleep problem above.


Many thanks for any help!!
Last edited by LockBot on Sat Jul 22, 2023 10:00 pm, edited 3 times in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
User avatar
kato181
Level 9
Level 9
Posts: 2577
Joined: Fri Mar 24, 2017 12:33 am
Location: Frederickton NSW

Re: Mint doesn't resume from sleep mode

Post by kato181 »

You will find that when hitting the power button on the laptop to wake up will not work on linux machines. That is a windows setting built into it and will only work on windows machines for memory. When you hold down the power button it will turn the laptop off in LM.
mbuti
Level 1
Level 1
Posts: 46
Joined: Sun Jan 22, 2023 9:27 am

Re: Mint doesn't resume from sleep mode

Post by mbuti »

Hi kato181,
ah ok. And how does one resume from sleep in linux?
However, on an 8-yr old laptop running Mint I could resume from sleep by pressing the power button, do things have changed in recent laptops..?
User avatar
SMG
Level 25
Level 25
Posts: 31948
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Mint doesn't resume from sleep mode

Post by SMG »

mbuti wrote: Sun Jan 22, 2023 11:07 amafter turning the laptop into sleep mode, when trying to resume from sleep mode by pressing the power button, nothing happens (not even the power LED blinks).
Welcome to the forum, mbuti.

Your hardware is quite new and I am more than surprised to hear you think it works better on an older no-longer-supported kernel.

The sleep issue may be a problem with the graphics driver so using a newer kernel would be better. The base LTS kernel in LM21 versions is 5.15, but 5.19, 6.0-oem and 6.1-oem kernels are available. What kernels did you try?
mbuti wrote: Sun Jan 22, 2023 11:07 amI also pasted some output of the "dmesg" command here: https://termbin.com/00tm, where it can be seen that at bootup the kernel is "locked down" due to UEFI Secure Boot.
That is not a problem. Running with Secure Boot enabled on UEFI is pretty much standard these days.
mbuti wrote: Sun Jan 22, 2023 11:07 am I installed Linux Mint Cinnamon on a brand-new laptop. First I tried installing 21.1 but the installation was freezing and there seemed to be video problems.
Have you tried again since you updated the BIOS/UEFI?

Have you checked the BIOS/UEFI to see if there is an option of what should happen when you press the power button?
Image
A woman typing on a laptop with LM20.3 Cinnamon.
mbuti
Level 1
Level 1
Posts: 46
Joined: Sun Jan 22, 2023 9:27 am

Re: Mint doesn't resume from sleep mode

Post by mbuti »

Hi SMG,
thanks for helping!
Regarding which kernel I tried on 20.3: I tried 5.15.0-27 and 5.15.0-28 kernels but they were not working. I didn't try 5.19, 6.0-oem, 6.1-oem.

Regarding trying newer releases after UEFI/BIOS update. No, I haven't tried the newer releases 21.1 and 21 after I had updated the BIOS/UEFI. Now I did it (via reinstall with live CD and not via apt dist-upgrade) and still they don't work and show same problems of before:
  • 21.1: I tried installing two times. At the first installation attempt it froze on the splash screen. At the second attempt, the desktop successfully started and I could pursue the installation procedure up to the "Connect to the network" prompt: it connected to the network, however, the installation procedure got stuck there for > 2mins with the cursor indicating something is going on. This is similar behavior to what I had in my first attempts before updating BIOS/UEFI; at that time I also waited > 20mins, to be sure that it was a bug. Further problem is that, after the installation procedure freezes, I tell the system to shut down but it doesn't and it freezes on the splash screen.
  • 21: it's very slow in getting out of the splash screen, it finally does it but the when I click on "Install Linux" nothing happens. When clicking on "Menu->Quit" in order to shut down, it asks "Shutdown this system now?" but there is no button "Shutdown" or "Reboot". CTRL+ALT+CANC on other terminals triggers some reboot but it gets frozen on the splash and I can only shut down by brutally pressing the power button.
Regarding looking if in the BIOS/UEFI there is some configuration related to what it should happen when I click the power button: I checked and there is none (see attached picture of the BIOS).
Attachments
photo_2023-01-24_09-14-15.jpg
User avatar
SMG
Level 25
Level 25
Posts: 31948
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Mint doesn't resume from sleep mode

Post by SMG »

mbuti wrote: Tue Jan 24, 2023 4:48 amRegarding which kernel I tried on 20.3: I tried 5.15.0-27 and 5.15.0-28 kernels but they were not working. I didn't try 5.19, 6.0-oem, 6.1-oem.
The 5.19, 6.0-oem and 6.1-oem are only available on LM21 versions.

It is possible to do an in-place upgrade from LM20.3 to LM21. Some people have been doing that to work around LM21 installation issues. You will want to make sure to take a Timeshift snapshot (or some other system back) before upgrading.

I do not have any idea why your installation might be freezing. You did not supply a complete inxi so we would not know if there might be an issue related to the networking or other hardware.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
mbuti
Level 1
Level 1
Posts: 46
Joined: Sun Jan 22, 2023 9:27 am

Re: Mint doesn't resume from sleep mode

Post by mbuti »

SMG wrote: Tue Jan 24, 2023 4:10 pm It is possible to do an in-place upgrade from LM20.3 to LM21. Some people have been doing that to work around LM21 installation issues. You will want to make sure to take a Timeshift snapshot (or some other system back) before upgrading.
I tried the in-place upgrade from LM20.3 to LM21 by using the "mintupgrade" tool; the distro gets upgraded succesfully but unfortunately the same problems as those of the install via LiveCD persist. Luckily I could restore to LM20.3...it's incredible how good this Timeshift program works!!
SMG wrote: Tue Jan 24, 2023 4:10 pm

I do not have any idea why your installation might be freezing. You did not supply a complete inxi so we would not know if there might be an issue related to the networking or other hardware.
Ah, sorry; here the complete "inxi -Fxxxrz":

Code: Select all

System:
  Kernel: 5.13.0-52-generic x86_64 bits: 64 compiler: N/A 
  Desktop: Cinnamon 5.2.7 wm: muffin 5.2.1 dm: LightDM 1.30.0 
  Distro: Linux Mint 20.3 Una base: Ubuntu 20.04 focal 
Machine:
  Type: Convertible System: HP product: HP ENVY x360 Convertible 15-eu0xxx 
  v: N/A serial: <filter> Chassis: type: 31 serial: <filter> 
  Mobo: HP model: 888A v: 63.52 serial: <filter> UEFI: AMI v: F.08 
  date: 07/14/2022 
Battery:
  ID-1: BAT0 charge: 51.7 Wh condition: 51.7/51.7 Wh (100%) volts: 13.1/11.6 
  model: 333-2C-3A-A BN03051XL type: Li-ion serial: <filter> status: Full 
  cycles: 5 
  Device-1: hid-0018:04F3:2D05.0004-battery model: ELAN2514:00 04F3:2D05 
  serial: N/A charge: N/A status: N/A 
  Device-2: hidpp_battery_0 model: Logitech Wireless Mouse M325 
  serial: <filter> charge: 55% (should be ignored) rechargeable: yes 
  status: Discharging 
CPU:
  Topology: 8-Core model: AMD Ryzen 7 5700U with Radeon Graphics bits: 64 
  type: MT MCP arch: Zen rev: 1 L2 cache: 4096 KiB 
  flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm 
  bogomips: 57491 
  Speed: 1398 MHz min/max: 1400/4370 MHz boost: enabled Core speeds (MHz): 
  1: 1492 2: 1725 3: 1397 4: 1397 5: 1397 6: 1397 7: 1397 8: 1396 9: 1397 
  10: 1397 11: 1446 12: 1396 13: 1397 14: 1397 15: 1408 16: 1314 
Graphics:
  Device-1: AMD Lucienne vendor: Hewlett-Packard driver: amdgpu v: kernel 
  bus ID: 04:00.0 chip ID: 1002:164c 
  Display: x11 server: X.Org 1.20.13 driver: amdgpu,ati 
  unloaded: fbdev,modesetting,vesa resolution: 1920x1080~60Hz 
  OpenGL: renderer: AMD RENOIR (DRM 3.41.0 5.13.0-52-generic LLVM 12.0.0) 
  v: 4.6 Mesa 21.2.6 direct render: Yes 
Audio:
  Device-1: AMD Renoir Radeon High Definition Audio vendor: Hewlett-Packard 
  driver: snd_hda_intel v: kernel bus ID: 04:00.1 chip ID: 1002:1637 
  Device-2: AMD ACP/ACP3X/ACP6x Audio Coprocessor 
  vendor: Hewlett-Packard Raven/Raven2/FireFlight/Renoir Processor 
  driver: snd_rn_pci_acp3x v: kernel bus ID: 04:00.5 chip ID: 1022:15e2 
  Device-3: AMD Family 17h/19h HD Audio vendor: Hewlett-Packard 
  driver: snd_hda_intel v: kernel bus ID: 04:00.6 chip ID: 1022:15e3 
  Sound Server: ALSA v: k5.13.0-52-generic 
Network:
  Device-1: Realtek RTL8852AE 802.11ax PCIe Wireless Network Adapter 
  vendor: Hewlett-Packard driver: rtw89_pci v: kernel port: f000 
  bus ID: 02:00.0 chip ID: 10ec:8852 
  IF: wlp2s0 state: up mac: <filter> 
Drives:
  Local Storage: total: 983.19 GiB used: 64.30 GiB (6.5%) 
  ID-1: /dev/nvme0n1 vendor: Samsung model: MZVLQ1T0HBLB-00BH1 
  size: 953.87 GiB speed: 31.6 Gb/s lanes: 4 serial: <filter> rev: HPS1NFAV 
  scheme: GPT 
  ID-2: /dev/sda type: USB vendor: SanDisk model: Cruzer Switch 
  size: 29.32 GiB serial: <filter> rev: 1.00 scheme: MBR 
Partition:
  ID-1: / size: 141.02 GiB used: 32.10 GiB (22.8%) fs: ext4 
  dev: /dev/nvme0n1p5 
Sensors:
  System Temperatures: cpu: 39.6 C mobo: 29.0 C gpu: amdgpu temp: 37 C 
  Fan Speeds (RPM): N/A 
Repos:
  No active apt repos in: /etc/apt/sources.list 
  Active apt repos in: /etc/apt/sources.list.d/encryption.list 
  1: deb [signed-by=/usr/share/keyrings/unit193.gpg] https://ppa.launchpadcontent.net/unit193/encryption/ubuntu focal main
  Active apt repos in: /etc/apt/sources.list.d/official-package-repositories.list 
  1: deb http://packages.linuxmint.com una main upstream import backport #id:linuxmint_main
  2: deb http://archive.ubuntu.com/ubuntu focal main restricted universe multiverse
  3: deb http://archive.ubuntu.com/ubuntu focal-updates main restricted universe multiverse
  4: deb http://archive.ubuntu.com/ubuntu focal-backports main restricted universe multiverse
  5: deb http://security.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse
  6: deb http://archive.canonical.com/ubuntu/ focal partner
  Active apt repos in: /etc/apt/sources.list.d/spotify.list 
  1: deb http://repository.spotify.com stable non-free
  No active apt repos in: /etc/apt/sources.list.d/unit193-encryption-focal.list 
Info:
  Processes: 349 Uptime: 12m Memory: 14.96 GiB used: 2.11 GiB (14.1%) 
  Init: systemd v: 245 runlevel: 5 Compilers: gcc: 9.4.0 alt: 9 Shell: bash 
  v: 5.0.17 running in: gnome-terminal inxi: 3.0.38
  
Any idea? If it is of help, I could attach the installation logs, which were generated when I tried the LiveCD install..
User avatar
SMG
Level 25
Level 25
Posts: 31948
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Mint doesn't resume from sleep mode

Post by SMG »

mbuti wrote: Wed Jan 25, 2023 5:20 pmI tried the in-place upgrade from LM20.3 to LM21 by using the "mintupgrade" tool; the distro gets upgraded succesfully but unfortunately the same problems as those of the install via LiveCD persist. Luckily I could restore to LM20.3...it's incredible how good this Timeshift program works!!
The reason for upgrading to LM21 was to try the newer kernels I mentioned. What kernel series newer than 5.15 did you try while you had LM21 installed?

With how new your hardware is, when running LM21 I recommend trying the 6.1-oem kernel. You can install the latest 6.1-oem kernel with

Code: Select all

sudo apt-get install linux-oem-22.04c
and reboot.

I noticed you have a repo related to encryption installed. What do you have encrypted on your system?
Image
A woman typing on a laptop with LM20.3 Cinnamon.
mbuti
Level 1
Level 1
Posts: 46
Joined: Sun Jan 22, 2023 9:27 am

Re: Mint doesn't resume from sleep mode

Post by mbuti »

SMG wrote: Wed Jan 25, 2023 6:38 pm What kernel series newer than 5.15 did you try while you had LM21 installed?
None
SMG wrote: Wed Jan 25, 2023 6:38 pm With how new your hardware is, when running LM21 I recommend trying the 6.1-oem kernel. You can install the latest 6.1-oem kernel with

Code: Select all

sudo apt-get install linux-oem-22.04c
and reboot.
Done. I reinstalled LM21 and tried to run the above command but it the shell froze. Thinking that maybe it's the GUI causing all these freezing problems, I tried booting LM21 without GUI by modifying the grub options and I succeded reaching the textual login prompt; however, it freezes when inserting the username, thus I cannot even run that command in textual mode :/
Considering that LM21.1 had a little bit less freezing problems, maybe the command above would work on LM21.1; however, I don't know how to upgrade to LM21.1, because as far as I understood it is not possible to upgrade from LM20.3 to LM21.1 without passing from LM21.
SMG wrote: Wed Jan 25, 2023 6:38 pm I noticed you have a repo related to encryption installed. What do you have encrypted on your system?
When I installed LM20.3 I think I selected the /home as encrypted. After installation I created two partitions for data storage and encrypted them.

Any ideas? Argh this time I am getting a hard time with the installation :/
User avatar
kato181
Level 9
Level 9
Posts: 2577
Joined: Fri Mar 24, 2017 12:33 am
Location: Frederickton NSW

Re: Mint doesn't resume from sleep mode

Post by kato181 »

Is there a reason why you are encrypting your /home and your data storage partitions?
If you have important data, then do what most user here suggest, keep them on an external usb drive.
You can upgrade from LM21 directly to LM21.1. It's highly recommended that you do a fresh install of LM21.1 as updating from previous installs could bring the problems with it.
I have never encrypted any partitions or drives for the simple reason if you start getting hardware errors with drives you may lose data. Installing software may also cause a problem, like corruption, failure to boot will probably stop you from getting to that data. So much can go wrong with encryption, other times it will work flawlessly. I'm not saying don't do what you want to do but doing over encrypting may cause problems. Other member swear by it, whilst other with far more experience say don.t. In the end that decision is upto you.
User avatar
SMG
Level 25
Level 25
Posts: 31948
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Mint doesn't resume from sleep mode

Post by SMG »

mbuti wrote: Thu Jan 26, 2023 5:46 pmDone. I reinstalled LM21 and tried to run the above command but it the shell froze. Thinking that maybe it's the GUI causing all these freezing problems, I tried booting LM21 without GUI by modifying the grub options and I succeded reaching the textual login prompt; however, it freezes when inserting the username, thus I cannot even run that command in textual mode :/
I saw that topic where you asked about that and I still don't understand what you were attempting to do.

If there is an issue, the first thing to do would be to try booting in recovery mode (analogous to booting in compatibility mode with the install usb). That disables the graphics driver.
mbuti wrote: Thu Jan 26, 2023 5:46 pmConsidering that LM21.1 had a little bit less freezing problems, maybe the command above would work on LM21.1; however, I don't know how to upgrade to LM21.1, because as far as I understood it is not possible to upgrade from LM20.3 to LM21.1 without passing from LM21.
How do you know LM21.1 has less freezing problems? The only different between it and LM21 is LM21.1 has a slightly newer 5.15 kernel. I am not aware of any other significant differences.
SMG wrote: Wed Jan 25, 2023 6:38 pmArgh this time I am getting a hard time with the installation
Did you try installing in Compatibility Mode? If that works, then when you reboot the installed version you should boot into Recovery Mode and then install the newer kernel. If you need more details about doing those steps, let us know.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
mbuti
Level 1
Level 1
Posts: 46
Joined: Sun Jan 22, 2023 9:27 am

Re: Mint doesn't resume from sleep mode

Post by mbuti »

kato181 wrote: Thu Jan 26, 2023 8:02 pm Is there a reason why you are encrypting your /home and your data storage partitions?
If you have important data, then do what most user here suggest, keep them on an external usb drive.
You can upgrade from LM21 directly to LM21.1. It's highly recommended that you do a fresh install of LM21.1 as updating from previous installs could bring the problems with it.
I have never encrypted any partitions or drives for the simple reason if you start getting hardware errors with drives you may lose data. Installing software may also cause a problem, like corruption, failure to boot will probably stop you from getting to that data. So much can go wrong with encryption, other times it will work flawlessly. I'm not saying don't do what you want to do but doing over encrypting may cause problems. Other member swear by it, whilst other with far more experience say don.t. In the end that decision is upto you.
I tried the approach of storing on an external usb stick before, and after some weeks the usb stick's file system got corrupted and I lost the data. :/ The usb stick was brand new. From there I thought that writing an encrypted filesystem via usb maybe be more prone to I/O errors than writing on a local drive, and this would increase the chance of corrupting data. But I am not an expert so I am not sure.
User avatar
kato181
Level 9
Level 9
Posts: 2577
Joined: Fri Mar 24, 2017 12:33 am
Location: Frederickton NSW

Re: Mint doesn't resume from sleep mode

Post by kato181 »

I was referring to a external drive not a usb stick, but I can understand you misinterpreted my meaning. Data corruption can occur on any type of storage device, hdd's can fail, filesystems can get corrupted, and encryption on any of those devices would be dangerous that you may or may not be able to retrieve it.
My important files such as photos, videos I have burned to dvd's, have saved them on numerous drives, others say it's overkill, whereas others agree, no device is safe from failing, but if you do numerous copies, then the chances of losing said data is minimal.
mbuti
Level 1
Level 1
Posts: 46
Joined: Sun Jan 22, 2023 9:27 am

Re: Mint doesn't resume from sleep mode

Post by mbuti »

great! I managed to boot in a root shell using "Recovery mode" of the installed LM21. Then, by trying manually establishing a connection using the command "nmcli" I realized something was wrong with the network interface, (e.g. commands related to network interfaces such us nmcli, iwconfig, ifconfig were causing the system to freeze). Then I tried connecting with a wifi USB dongle instead of the laptop's own network interface and it worked.
Then I run

Code: Select all

sudo apt-get install linux-oem-22.04c
as you suggested and rebooted. Now everything works: graphics, network, ..and sleep mode! 8) :D :D

Many thanks SMG for the help!!
rogerw05465
Level 1
Level 1
Posts: 2
Joined: Tue Dec 15, 2020 9:04 pm

Re: [SOLVED] Mint doesn't resume from sleep mode

Post by rogerw05465 »

I would hedge on that "Solved" declaration. I have the same sleeplessness issue. The upgraded kernel linux-oem-22.04c did not solve the problem for me. I will submit my system info shortly.
User avatar
SMG
Level 25
Level 25
Posts: 31948
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: [SOLVED] Mint doesn't resume from sleep mode

Post by SMG »

rogerw05465 wrote: Tue Apr 11, 2023 3:22 pm I would hedge on that "Solved" declaration. I have the same sleeplessness issue. The upgraded kernel linux-oem-22.04c did not solve the problem for me. I will submit my system info shortly.
If the original poster is no longer having problems, then their issue is solved.

There are many root causes for hardware to not resume from sleep so you should not be attempting to add your issue to someone else's topic. Please create a new topic for your issue.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
Locked

Return to “Installation & Boot”