Re: Could not change brightness anymore with i915kms & acpi_video modules c 202211

From: parv/FreeBSD <parv.0zero9+freebsd_at_gmail.com>
Date: Thu, 02 Feb 2023 09:36:01 UTC
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

--