Sleep on a Lenovo Ideapad Slim 3i?

Hi all,

I am struggling to get sleep working with my laptop. sysctl tells me "hw.acpi.supported_sleep_state: S4 S5". If I type "acpiconf -s 4", it appears that the laptop is going to sleep very quickly. However, the only way to "wake" it is to press the power button, and doing that causes it to boot from scratch instead of resuming from sleep.

Are there any settings I can try to try to correct this behaviour?

Thanks in advance!
 
S4 means suspend to disk. There are certain requirements before that works, you need a special partition for example.

Why S3 is not listed cannot be said from here without more information.
 
It seems S4 requires machine BIOS/UEFI S4BIOS support:

acpi(4)
Rich (BB code):
    hw.acpi.supported_sleep_state
             ...
             S4      Suspend to disk.  All devices are powered off, and the
                     system stops running.  When resuming, the system starts
                     as if from a cold power on.  Not yet supported by FreeBSD
                     unless S4BIOS is available.

 
Thanks both of you for your replies. I would really like to just be able to sleep the machine in S3. What information do you need to be able to tell if my FreeBSD supports this on my motherboard?
 
I would really like to just be able to sleep the machine in S3. What information do you need to be able to tell if my FreeBSD supports this on my motherboard?
Look at the output of sysctl hw.acpi.supported_sleep_state.

Take note, some machines need drm-kmod graphics driver to be loaded. On my laptop, a AMD ThinkPad, without the graphics/drm-61-kmod amdgpu driver loaded the machine doesn't resume from S3 (suspend to RAM)
 
Maybe you need to check several DRM versions. My Thinkpad only resumes with drm-515, nothing else.
 
To resume you would first have to get into S3, but that's not supported. I have the same problem on an E14. How do I get S3 supported?
 
Apologies for my late reply, and thanks for all the suggestions. I will try a different version drm-kmod, and see what happens. If not, I will cross my fingers for a future release!
 
Back
Top