How to make the laptop sleep when lid is closed

debguy

Active Member

Reaction score: 11
Messages: 139

hw.acpi.lid_switch_state=S3

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

s5e

Member

Reaction score: 3
Messages: 52

/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.
Maybe I should test TrueOS instead?
 

Sensucht94

Well-Known Member

Reaction score: 402
Messages: 390

/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
 

Geezer

Member

Reaction score: 26
Messages: 81

Tried this on my Lenovo z51-70.

Suspend worked ... never to resume.
 
Top