sometimes don't suspend because the sleep transition takes too long
(symptoms like failing to sleep but the backlight stays on).
ok deraadt@
-/* $OpenBSD: acpi.c,v 1.195 2010/07/27 23:33:21 deraadt Exp $ */
+/* $OpenBSD: acpi.c,v 1.196 2010/07/28 07:32:16 mlarkin Exp $ */
/*
* Copyright (c) 2005 Thorsten Lockert <tholo@sigmasoft.com>
* Copyright (c) 2005 Jordan Hargrave <jordan@openbsd.org>
if ((rega & ACPI_PM1_WAK_STS) ||
(regb & ACPI_PM1_WAK_STS))
break;
- DELAY(10);
+ DELAY(1000);
}
return (-1);