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>

index | next in thread | previous in thread | raw e-mail

[-- Attachment #1 --]
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 пише:
> >
> > 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=10
> > hw.acpi.video.lcd0.fullpower=40
> > hw.acpi.video.lcd0.brightness=15
...
> 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

--

[-- Attachment #2 --]
<div dir="ltr"><div class="gmail_default" style="font-family:monospace">I should have requested in OP to CC to me as I have subscribed to<br>-current@ list without receiving email.<br><br>So here is my attempt to craft a reponse from the web page ...<br><br>  <a href="https://lists.freebsd.org/archives/freebsd-current/2023-January/003142.html">https://lists.freebsd.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 пише:<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; Xe iGPU) with &quot;i915kms&quot; module (from &quot;drm-510-kmod&quot; package/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 &quot;hw.acpi.video&quot; MIB ...<br>&gt; &gt;<br>&gt; &gt; # - Need to have both &quot;i915kms&quot; &amp; &quot;acpi_video&quot; modules already loaded.<br>&gt; &gt; #<br>&gt; &gt; # 20221120 - These MIBs do not work anymore as they are missing.<br>&gt; &gt; hw.acpi.video.lcd0.economy=10<br>&gt; &gt; hw.acpi.video.lcd0.fullpower=40<br>&gt; &gt; hw.acpi.video.lcd0.brightness=15<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 &quot;backlight&quot; without any arguments as<br>  what I gave it earlier. There was no reporting of value being<br>  subtracted by one;<br><br>- with 0, everything was near-black, dark enough for not being able to<br>  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>    <a href="https://lists.freebsd.org/archives/freebsd-current/2023-January/003143.html">https://lists.freebsd.org/archives/freebsd-current/2023-January/003143.html</a><br><br>  ... when running with &amp; without AC (for short periods) I did not see<br>  any change in &quot;backlight&quot; behaviour. The brightness did not change<br>  unless I had changed it myself.<br><br>Thanks again.<br><br><br>FreeBSD here is ...<br><br>  FreeBSD luna 14.0-CURRENT FreeBSD 14.0-CURRENT #6<br>  main-n260169-34ac629b40e6: Fri Jan 20 07:05:01 HST 2023<br>  root@luna:/build/world/freebsd/src/amd64.amd64/sys/GENERIC-Light<br>  amd64<br><br><br>- parv<br><br>-- <br><br></div></div>
help

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