On Jun 19, 2008, at 7:38 PM, Jared D. McNeill wrote:
Module Name: src
Committed By: jmcneill
Date: Fri Jun 20 02:38:00 UTC 2008
Modified Files:
src/etc/powerd/scripts: lid_switch
Log Message:
Don't try to standby on a lid_switch pressed event, this has a few
problems:
1. ACPI S1 doesn't work properly for many people on NetBSD
2. It prevents someone from using their laptop with an external display
This is not a great solution for (2).
What (2) really calls out for is a conditional policy based on the
presence of an external display:
1- If external display is present, do not S1 on a lid_switch-pressed event.
2- If external display is -not- present, -do- S1 on a lid_switch-pressed
event.