Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 31 Jan 2023 13:55:26 +0100
From:      Emmanuel Vadot <manu@bidouilliste.com>
To:        "Poul-Henning Kamp" <phk@phk.freebsd.dk>
Cc:        Oleksandr Kryvulia <shuriku@shurik.kiev.ua>, freebsd-current@freebsd.org
Subject:   Re: Could not change brightness anymore with i915kms & acpi_video modules c 202211
Message-ID:  <20230131135526.a3e96ee0ac8479521a99514b@bidouilliste.com>
In-Reply-To: <202301311233.30VCX2qX079924@critter.freebsd.dk>
References:  <CABObuOoUDHrUF6FyTwEXTrnt3ztkoAR4x5vzjcNp7H-4F4XE7A@mail.gmail.com> <6a997703-6f13-716d-d38d-1a2b910d52ec@shurik.kiev.ua> <202301311233.30VCX2qX079924@critter.freebsd.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 31 Jan 2023 12:33:02 +0000
"Poul-Henning Kamp" <phk@phk.freebsd.dk> wrote:

> --------
> Oleksandr Kryvulia writes:
> 
> > Does backlight(8) works for you?
> 
> Speaking of backlight(8):  On my T14s, I see the following:
> 
> If I set the light with backlight(8) to something, say 30%, and then
> change the power-situation, for instance by unplugging the charger,
> the backlight goes up to 100%.
> 
> If I then try to set it back to 30% with backlight(8), nothing happens.
> 
> If I use any other value, for instance 31%, backlight(8) does the job.
> 
> I guess somewhere some code says "It's always 30%, just return" ?
> 
> This might be a bit confusing if you have the intensity encoded in
> some script, which then "sometimes does not work"...

 Smells like
https://cgit.freebsd.org/src/commit/sys/dev/backlight/backlight.c?id=e26ef41f79902991c772b59927c721aa7fa5fc64
 It's not in 13.1 but will be in 13.2

> 
> -- 
> Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
> phk@FreeBSD.ORG         | TCP/IP since RFC 956
> FreeBSD committer       | BSD since 4.3-tahoe    
> Never attribute to malice what can adequately be explained by incompetence.
> 


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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20230131135526.a3e96ee0ac8479521a99514b>