Thank you it works!

I tried to manually edit the patch and it works. Other states
machdep.lidsuspend = 0 and = 1 machdep.lidsuspend
I have not tested

Please merge this patch.
It's a cool button.
Very useful for my other laptop with a dead battery




On Thursday, 16 February 2017 13:31:01 CET, Theo Buehler wrote:
It is possible to change the default settings when you close the lid
on my notebook from suspended(zzz) to hibernate(ZZZ)?

Not that I'm aware of. There was a patch by natano a while ago that
seems to do what you want. I don't know why this patch was never merged
(that is: I don't know whether it was simply forgotten or whether there
was a technical reason not to do that).

It will probably no longer apply 100% cleanly since the files in
question have been modified, but it shouldn't be too hard to adapt it.

https://marc.info/?l=openbsd-tech&m=144476146129275&w=2

Reply via email to