On Fri, Feb 19, 2016 at 10:46:30PM -0700, Theo de Raadt wrote:
> > I'm using VAIO Z. Hibernation works, but my vaio also wakes back
> > immediately. I have a diff to avoid this wakeup. Unhibernation works
> > fine.
> >
> > The diff seems very bad. :)
> >
> > Index: sys/dev/acpi/acpi.c
> > ===================================================================
> > RCS file: /disk/cvs/openbsd/src/sys/dev/acpi/acpi.c,v
> > retrieving revision 1.303
> > diff -u -p -r1.303 acpi.c
> > --- sys/dev/acpi/acpi.c 14 Jan 2016 21:37:18 -0000 1.303
> > +++ sys/dev/acpi/acpi.c 21 Jan 2016 08:25:59 -0000
> > @@ -2048,6 +2048,7 @@ acpi_enable_wakegpes(struct acpi_softc *
> > {
> > struct acpi_wakeq *wentry;
> >
> > +return;
> > SIMPLEQ_FOREACH(wentry, &sc->sc_wakedevs, q_next) {
> > dnprintf(10, "%.4s(S%d) gpe %.2x\n", wentry->q_node->name,
> > wentry->q_state,
>
> That is a very interesting diff. Mike will probably remember this.
> Was it Berlin? I think sebastia's Viao had a quirk where a wakeup gpe
> was doing something wrong.
>
sebastia@'s problem was on a Fujitsu Siemens laptop where the GPE fired
continually, causing 100% cpu load and 15 minute boots. Probably unrelated.
At least this is what I recall from the Berlin mini hackathon.
> That will assuredly break most thinkpads :)
>
>