On 2023-02-26 15:32, Marco Calistri wrote:
Il 17/02/23 22:31, Marco Calistri ha scritto:
Hello,
I've been able to set a specific brightness intensity at evry boot, by using an /etc/init.d/after.local script, but anytime my system awakes from suspended mode, the brightness resets to a very high intensity.
from dmesg I see:
[ 3.128757] i915 0000:00:02.0: [drm] Skipping intel_backlight registration [ 33.797331] ideapad_acpi VPC2004:00: Keyboard backlight control not available [28383.336476] video LNXVIDEO:00: Restoring backlight state
How could I resolve this? Which file is used by Tumbleweed for an after suspend brightness adjustment?
Thanks and regards,
Hello,
It follows how I have resolved my issue.
First of all, add the last parameter to /etc/default grub (in bold):
GRUB_CMDLINE_LINUX_DEFAULT="resume=/dev/disk/by-uuid/4ff65e75-c664-43d8-ab25-25d85336f6b8 mitigations=auto quiet *acpi_backlight=native*"
Then create the following file: */etc/X11/xorg.conf.d/20-intel.conf* with this content:
*Section "Device"** ** Identifier "Intel Graphics"** ** Driver "intel"** ** Option "Backlight" "intel_backlight"** **EndSection*
Finally, modify the startup script to adjust the initial brightness level:
*echo -n 700 > /sys/class/backlight/intel_backlight/brightness**
*Now my system starts with the right brightness level (the one I choose) and resume from suspend also by keeping the same brightness intensity.
Problem solved! *** *Best regards,
Wonderful! I think this does deserve a bugzilla. -- Cheers / Saludos, Carlos E. R. (from 15.4 x86_64 at Telcontar)