Index | Thread | Search

From:
Claudio Jeker <cjeker@diehard.n-r-g.com>
Subject:
Re: acpithinkpad: don't unmask brightness events on version 2 machines
To:
Jonathan Matthew <jonathan@d14n.org>
Cc:
tech@openbsd.org, Lucas Gabriel Vuotto <lucas@sexy.is>
Date:
Thu, 22 May 2025 11:31:49 +0200

Download raw body.

Thread
On Thu, May 22, 2025 at 06:51:22PM +1000, Jonathan Matthew wrote:
> On Thu, May 22, 2025 at 06:06:48AM +0000, Lucas Gabriel Vuotto wrote:
> > On Thu, May 22, 2025 at 04:18:37AM +0000, Lucas Gabriel Vuotto wrote:
> > > Not the same problem, but problems nevertheless. Quoting
> > > https://marc.info/?l=openbsd-misc&m=168377287112603&w=2
> > > 
> > > > Suspend and hibernate works. Lidaction works. Internal mic doesn't work
> > > > but audio recording does work with a headset. Webcam works. vmm works.
> > > > 
> > > > Turning down the screen brightness with the keyboard does turn the whole
> > > > screen black for an instant when getting at low values:
> > > > 
> > > > display.brightness=100.00%
> > > > display.brightness=75.39%
> > > > display.brightness=57.13%
> > > > display.brightness=42.46%
> > > > display.brightness=32.14%
> > > > display.brightness=23.41%
> > > > display.brightness=17.06%
> > > > display.brightness=12.30%
> > > > display.brightness=8.72%
> > > > display.brightness=5.95%
> > > > display.brightness=4.76%
> > > > display.brightness=3.97% # single black screen blink starts here
> > > > display.brightness=2.77%
> > > > display.brightness=1.98%
> > > > display.brightness=0.79%
> > > > display.brightness=0.00%
> > > 
> > > That went away with this patch. As a nice side-effect, my screen doesn't
> > > jump to full brightness the very first time I use any brightness button
> > > and I have more brightness levels:
> > 
> > Actually, now my laptop jumps to full brightness everytime I connect or
> > disconnect the AC.
> 
> Interesting, mine jumps to very low brightness when I connect or disconnect
> the AC.  I'm not sure where those brightness changes come from.

I always thought that the system remembers the previous state and switches
to that when the AC power changes. 

-- 
:wq Claudio