[prev in list] [next in list] [prev in thread] [next in thread] 

List:       freebsd-hackers
Subject:    Re: Brightness 100% when connect or disconnect charger
From:       Emmanuel Vadot <manu () bidouilliste ! com>
Date:       2023-11-10 16:17:40
Message-ID: 20231110171740.b45e269881c39eb86128908f () bidouilliste ! com
[Download RAW message or body]

On Fri, 10 Nov 2023 17:11:11 +0100
Bertrand Petit <freebsd-hackers@phoe.frmug.org> wrote:

> On Fri, Nov 10, 2023 at 04:50:57PM +0100, Emmanuel Vadot wrote:
> > 
> >  The theory that I have now is that the value set back when an event
> > happen is the one that was set with the keyboard keys, for me it's 100%
> > as this is how it's set at boot and since my keys don't work it stays
> > that way. Can someone with functional keys for brightness can confirm ?
> 
> 	Your theory is correct, this is exactly what I observe on an
> X230 running 12.4. Brightness level set with intel_backlight is reset to the
> latest keyboard-set level (Fn-F8 & Fn-F9) when the machine is resumed or
> when it gets out of DPMS, whichever comes first..

 Thanks for confirming.
 Also please update to 13 or higher and stop using intel_backlight :)

 Cheers,

> -- 
> %!PS -- Bertrand Petit
> /D{def}def/E{exch}D/G{get}D/I{2 div}D/U{dup}D/L{roll}D/Y{setgray}D/N{newpath}D
> /O{N 0 0 moveto}D/P{pop}D/T{translate}D currentpagedevice/PageSize G U 0 G/w E
> D 1 G /h E D w I h I T 0 Y 1 setlinewidth 0 1 2 { P 120 rotate 2 4 w U mul h U
> mul add sqrt I 50 add {N 50 0 3 2 L 0 360 arc stroke}for}for/s{O true charpath
> pathbbox exch 4 -1 L E sub I 3 1 L sub I} D /l(bp)D 0.94 Y /Helvetica findfont
> 22 scalefont setfont l s P(x)s exch P T O l show showpage
> 


-- 
Emmanuel Vadot <manu@bidouilliste.com> <manu@freebsd.org>

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic