Date: Tue, 31 Jan 2023 13:52:56 +0100 From: =?UTF-8?Q?Goran_Meki=c4=87?= <meka@tilda.center> To: freebsd-current@freebsd.org Subject: Re: Could not change brightness anymore with i915kms & acpi_video modules c 202211 Message-ID: <d82225e1-e4cc-481c-8135-3d32d76abd15@tilda.center> 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 1/31/23 13:33, Poul-Henning Kamp wrote: > 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"... > Actually, I think the problem is a bit deeper, as yet-to-come version of DRM 5.14 suffers from the similar problem: https://github.com/freebsd/drm-kmod/pull/226#issuecomment-1400399357. TL;DR: new DRM code sets brightness to 0% while backlight(8) reports 100%. Regards, meka
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d82225e1-e4cc-481c-8135-3d32d76abd15>