doesn't do it for us. Shows the 'moon' LED on older Thinkpads when
sleeping.
Tested on T43p, W500, T510 by me and on X61s by deraadt@.
ok deraadt@
-/* $OpenBSD: acpi.c,v 1.190 2010/07/27 05:17:36 jordan Exp $ */
+/* $OpenBSD: acpi.c,v 1.191 2010/07/27 16:20:17 mlarkin Exp $ */
/*
* Copyright (c) 2005 Thorsten Lockert <tholo@sigmasoft.com>
* Copyright (c) 2005 Jordan Hargrave <jordan@openbsd.org>
goto fail;
}
+ /* Reset the indicator lights to "sleeping" */
+ if (sc->sc_sst) {
+ env.v_integer = ACPI_SST_SLEEPING;
+ aml_evalnode(sc, sc->sc_sst, 1, &env, NULL);
+ }
+ env.v_integer = state;
+
sc->sc_state = state;
/* _GTS(state) */
if (sc->sc_gts)