Re: aplsmc(4): disable backlight when lid is closed

2022-11-25 Thread Mark Kettenis
> Date: Thu, 24 Nov 2022 23:38:23 +0100 > From: Tobias Heider > > On Thu, Nov 24, 2022 at 08:36:48PM +0100, Mark Kettenis wrote: > > > Date: Thu, 24 Nov 2022 19:04:03 +0100 > > > From: Tobias Heider > > > > > > The diff below disables the screen backlight on apple silicon macs when > > > the >

Re: aplsmc(4): disable backlight when lid is closed

2022-11-24 Thread Tobias Heider
On Thu, Nov 24, 2022 at 08:36:48PM +0100, Mark Kettenis wrote: > > Date: Thu, 24 Nov 2022 19:04:03 +0100 > > From: Tobias Heider > > > > The diff below disables the screen backlight on apple silicon macs when the > > lid is closed. > > Can we distinguish lid close events from lid open events? M

Re: aplsmc(4): disable backlight when lid is closed

2022-11-24 Thread Mark Kettenis
> Date: Thu, 24 Nov 2022 19:04:03 +0100 > From: Tobias Heider > > The diff below disables the screen backlight on apple silicon macs when the > lid is closed. Can we distinguish lid close events from lid open events? Might make more sense to base the decision to turn the display off based on th