Re: What event is trigged on lid close?
Jan Stary <[email protected]> Thu, 30 Jul 2026 13:02:01 +0200
| Newsgroups | gmane.os.openbsd.misc |
|---|---|
| Message-ID | <[email protected]> |
On Jul 30 13:42:28, [email protected] wrote: > I am trying to figure out what kind of acpi event is triggered on lid > close The answer must lie in the code that handles sysctl machdep.lidaction > and looking to be able to manually trigger it. Well, you can manualy trigger it by manualy closing the lid :-) > When I use X's display management tools like 'xset dpms force off' > while playing audio, it seems to pause as the display turns off. I can't replicate that (and T don't see how it relates to the lid at all). Doing xset dpms force off does not stop any audio-playing application (and I don't see how it would). > what acpi event is trigged on lid close. Thank you! A naive grep of dev/acpi suggests it is the acpi _LID method (not that I know anything about it). Jan