Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Feb 2023 23:36:01 -1000
From:      "parv/FreeBSD" <parv.0zero9+freebsd@gmail.com>
To:        freebsd-current@freebsd.org
Subject:   Re: Could not change brightness anymore with i915kms & acpi_video modules c 202211
Message-ID:  <CABObuOoik3j_fsM=LciqRC8QrjJAs4o-hBYU_ZDE9wx=WJBBVw@mail.gmail.com>
In-Reply-To: <CABObuOoUDHrUF6FyTwEXTrnt3ztkoAR4x5vzjcNp7H-4F4XE7A@mail.gmail.com>
References:  <CABObuOoUDHrUF6FyTwEXTrnt3ztkoAR4x5vzjcNp7H-4F4XE7A@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--000000000000ff875805f3b44e8e
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

I should have requested in OP to CC to me as I have subscribed to
-current@ list without receiving email.

So here is my attempt to craft a reponse from the web page ...


https://lists.freebsd.org/archives/freebsd-current/2023-January/003142.html


> Oleksandr Kryvulia wrote on 20230131-092359 UTC
>
> 31.01.23 09:52, parv/FreeBSD =D0=BF=D0=B8=D1=88=D0=B5:
> >
> > Since around 2022-11, I am unable to change display brightness
> > of the display of a Framework laptop (Intel i5-1135G7, Iris
> > Xe iGPU) with "i915kms" module (from "drm-510-kmod" package/port)
> > & "acpi_video" (FreeBSD) kernel module.
> >
> > Earlier I was able to change brightness via "hw.acpi.video" MIB ...
> >
> > # - Need to have both "i915kms" & "acpi_video" modules already loaded.
> > #
> > # 20221120 - These MIBs do not work anymore as they are missing.
> > hw.acpi.video.lcd0.economy=3D10
> > hw.acpi.video.lcd0.fullpower=3D40
> > hw.acpi.video.lcd0.brightness=3D15
...
> Does backlight(8) works for you?

Thanks for the clue. It does! It does ...

- I get the same number back via "backlight" without any arguments as
  what I gave it earlier. There was no reporting of value being
  subtracted by one;

- with 0, everything was near-black, dark enough for not being able to
  read anything on the console;

- with 100, screen was surely damn bright *oh my eyes*

- unlike Poul-Hennig K's experience ...


https://lists.freebsd.org/archives/freebsd-current/2023-January/003143.html

  ... when running with & without AC (for short periods) I did not see
  any change in "backlight" behaviour. The brightness did not change
  unless I had changed it myself.

Thanks again.


FreeBSD here is ...

  FreeBSD luna 14.0-CURRENT FreeBSD 14.0-CURRENT #6
  main-n260169-34ac629b40e6: Fri Jan 20 07:05:01 HST 2023
  root@luna:/build/world/freebsd/src/amd64.amd64/sys/GENERIC-Light
  amd64


- parv

--

--000000000000ff875805f3b44e8e
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_default" style=3D"font-family:monospac=
e">I should have requested in OP to CC to me as I have subscribed to<br>-cu=
rrent@ list without receiving email.<br><br>So here is my attempt to craft =
a reponse from the web page ...<br><br>=C2=A0 <a href=3D"https://lists.free=
bsd.org/archives/freebsd-current/2023-January/003142.html">https://lists.fr=
eebsd.org/archives/freebsd-current/2023-January/003142.html</a><br><br><br>=
&gt; Oleksandr Kryvulia wrote on 20230131-092359 UTC<br>&gt;<br>&gt; 31.01.=
23 09:52, parv/FreeBSD =D0=BF=D0=B8=D1=88=D0=B5:<br>&gt; &gt;<br>&gt; &gt; =
Since around 2022-11, I am unable to change display brightness<br>&gt; &gt;=
 of the display of a Framework laptop (Intel i5-1135G7, Iris<br>&gt; &gt; X=
e iGPU) with &quot;i915kms&quot; module (from &quot;drm-510-kmod&quot; pack=
age/port)<br>&gt; &gt; &amp; &quot;acpi_video&quot; (FreeBSD) kernel module=
.<br>&gt; &gt;<br>&gt; &gt; Earlier I was able to change brightness via &qu=
ot;hw.acpi.video&quot; MIB ...<br>&gt; &gt;<br>&gt; &gt; # - Need to have b=
oth &quot;i915kms&quot; &amp; &quot;acpi_video&quot; modules already loaded=
.<br>&gt; &gt; #<br>&gt; &gt; # 20221120 - These MIBs do not work anymore a=
s they are missing.<br>&gt; &gt; hw.acpi.video.lcd0.economy=3D10<br>&gt; &g=
t; hw.acpi.video.lcd0.fullpower=3D40<br>&gt; &gt; hw.acpi.video.lcd0.bright=
ness=3D15<br>...<br>&gt; Does backlight(8) works for you?<br><br>Thanks for=
 the clue. It does! It does ...<br><br>- I get the same number back via &qu=
ot;backlight&quot; without any arguments as<br>=C2=A0 what I gave it earlie=
r. There was no reporting of value being<br>=C2=A0 subtracted by one;<br><b=
r>- with 0, everything was near-black, dark enough for not being able to<br=
>=C2=A0 read anything on the console;<br><br>- with 100, screen was surely =
damn bright *oh my eyes*<br><br>- unlike Poul-Hennig K&#39;s experience ...=
<br><br>=C2=A0 =C2=A0 <a href=3D"https://lists.freebsd.org/archives/freebsd=
-current/2023-January/003143.html">https://lists.freebsd.org/archives/freeb=
sd-current/2023-January/003143.html</a><br><br>=C2=A0 ... when running with=
 &amp; without AC (for short periods) I did not see<br>=C2=A0 any change in=
 &quot;backlight&quot; behaviour. The brightness did not change<br>=C2=A0 u=
nless I had changed it myself.<br><br>Thanks again.<br><br><br>FreeBSD here=
 is ...<br><br>=C2=A0 FreeBSD luna 14.0-CURRENT FreeBSD 14.0-CURRENT #6<br>=
=C2=A0 main-n260169-34ac629b40e6: Fri Jan 20 07:05:01 HST 2023<br>=C2=A0 ro=
ot@luna:/build/world/freebsd/src/amd64.amd64/sys/GENERIC-Light<br>=C2=A0 am=
d64<br><br><br>- parv<br><br>-- <br><br></div></div>

--000000000000ff875805f3b44e8e--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CABObuOoik3j_fsM=LciqRC8QrjJAs4o-hBYU_ZDE9wx=WJBBVw>