How to make the laptop sleep when lid is closed

debguy

Active Member

Thanks: 11
Messages: 119

#26
hw.acpi.lid_switch_state=S3

works for Dell Lattitude D510 (note: running xfce with agp intel driver)
 

Sensucht94

Well-Known Member

Thanks: 341
Messages: 353

#28
/etc/sysctl.conf:
Code:
hw.acpi.lid_switch_state=s3
hw.acpi.reset_video=1
did not help..

HP Envy 13-d004no FreeBSD 12 fails to raise up from suspend.
Is S3 listed among the supported suspend states?
Look in the output of:
sysctl hw.acpi.video.lid.levels

If S1 is listed, try it first. Also, don't enable hw.acpi.reset_video unless you already tried without: it might be the cause of a failed attempt. Give also a try to the the sleep button:
Code:
hw.acpi.sleep_button_state=S*
Maybe I should test TrueOS instead?
Unfortunately, unless you found the developed on their own an acpi driver for HP laptops, chances are very high it wouldn't work either
 
Top