Date: Thu, 09 Nov 2023 11:25:40 -0800 From: Cy Schubert <Cy.Schubert@cschubert.com> To: Jason Bacon <bacon4000@gmail.com> Cc: Cy Schubert <Cy.Schubert@cschubert.com>, Emmanuel Vadot <manu@bidouilliste.com>, "Dr. Amr Osman" <dr3mro@gmail.com>, freebsd-hackers@freebsd.org Subject: Re: Brightness 100% when connect or disconnect charger Message-ID: <20231109192540.9EEDE33E@slippy.cwsent.com> In-Reply-To: <745ddec4-e2eb-48a6-a903-33821e80d73a@gmail.com> References: <CAEYFr1DV%2BHpBpUX9gs4CCM887aJnJybJMozPct6X=kFgw8g_ZQ@mail.gmail.com> <20231109091931.983f45f8fad4305569faddcb@bidouilliste.com> <20231109161317.2F063245@slippy.cwsent.com> <745ddec4-e2eb-48a6-a903-33821e80d73a@gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <745ddec4-e2eb-48a6-a903-33821e80d73a@gmail.com>, Jason Bacon writes : > On 11/9/23 10:13, Cy Schubert wrote: > > In message <20231109091931.983f45f8fad4305569faddcb@bidouilliste.com>, > > Emmanuel > > Vadot writes: > >> On Wed, 8 Nov 2023 21:57:21 +0200 > >> "Dr. Amr Osman" <dr3mro@gmail.com> wrote: > >> > >>> Hello, > >>> I have installed freeBSD 14rc4 on Lenovo Thinkpad x270 and xfce desktop a > nd > >>> when I > >>> 1) connect the charger > >>> 2) disconnect the charger > >>> 3) resume from suspend > >>> The LCD brightness is 100% which is really disturbing specially when I am > >>> in dark room > >> > >> I don't have the issue on my Thinkpad X390 with suspend/resume but I > >> do have it with the charger. > >> I'm pretty sure that it's a hardware thing and we can't do anything > >> about it without having some framework for sensors that can handle > >> power supply connection/disconnection and events. > >> > >>> hw.acpi.video.lcd0.economy: 20 > >>> hw.acpi.video.lcd0.fullpower: 30 > >>> I have loaded acpi_video and acpi_ibm > >>> and if I tried to adjust brightness it goes suddenly from 100 to 20 if I > >>> press fn +f5/f6 > >> > >> You shouldn't need to load acpi_video on modern laptop, backlight(9) > >> and backlight(8) is enought (if you have drm loaded). > > > > What I'm about to discuss is not a backlight issue but a unplug the power > > supply and plug it back in issue on my Acer 4752. > > > > When 9a4bc5208fad (acpica: Import ACPICA 20221020) was committed, WOL no > > longer worked on my Acer 4752. > > > > Howerver after I unplugged it from the power supply and plugged it back in, > > only then would it recognize the WOL packet. This was a regression in > > 9a4bc5208fad. (I did create a local patch to revert part of 9a4bc5208fad.) > > > > Probably not a FreeBSD issue per se but acpica contrib issue. > > > > > > Just to be thorough, is the BIOS fully up-to-date? For my semi-related problem. Yes. -- Cheers, Cy Schubert <Cy.Schubert@cschubert.com> FreeBSD UNIX: <cy@FreeBSD.org> Web: https://FreeBSD.org NTP: <cy@nwtime.org> Web: https://nwtime.org e^(i*pi)+1=0
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20231109192540.9EEDE33E>