Brightness control problem after suspend/sleep

I’ve got :arrow_double_down: machine:

inxi -MCGz
Machine:   Type: Laptop System: LENOVO product: 82A2 v: Yoga Slim 7 14ARE05 serial: <filter> 
           Mobo: LENOVO model: LNVNB161216 v: SDK0J40709 WIN serial: <filter> UEFI: LENOVO v: DMCN38WW date: 01/18/2020 
CPU:       Info: 8-Core model: AMD Ryzen 7 4800U with Radeon Graphics bits: 64 type: MT MCP cache: L2: 4 MiB 
           Speed: 1397 MHz min/max: 1400/1800 MHz Core speeds (MHz): 1: 1397 2: 1397 3: 1397 4: 1397 5: 1397 6: 1397 7: 1397 
           8: 2283 9: 1381 10: 1397 11: 1293 12: 1397 13: 1397 14: 1364 15: 1397 16: 1397 
Graphics:  Device-1: Advanced Micro Devices [AMD/ATI] Renoir driver: amdgpu v: kernel 
           Device-2: Chicony Integrated Camera type: USB driver: uvcvideo 
           Display: wayland server: X.org 1.20.11 driver: loaded: amdgpu,ati unloaded: fbdev,modesetting,vesa 
           

and the two services in charge of screen and keyboard backlight seem to be:

systemd-backlight@backlight:amdgpu_bl0.service 
systemd-backlight@leds:platform::kbd_backlight.service
$ systemctl status systemd-backlight@backlight:amdgpu_bl0.service

● systemd-backlight@backlight:amdgpu_bl0.service - Load/Save Screen Backlight Brightness of backlight:amdgpu_bl0
Loaded: loaded (/usr/lib/systemd/system/systemd-backlight@.service; static)
Active: active (exited) since Thu 2021-06-10 08:48:03 CEST; 6h ago
Docs: man:systemd-backlight@.service(8)
Process: 972 ExecStart=/usr/lib/systemd/systemd-backlight load backlight:amdgpu_bl0 (code=exited, status=0/SUCCESS)
Main PID: 972 (code=exited, status=0/SUCCESS)
CPU: 7ms

$ systemctl status systemd-backlight@leds:platform::kbd_backlight.service

● systemd-backlight@leds:platform::kbd_backlight.service - Load/Save Screen Backlight Brightness of leds:platform::kbd_backlight
Loaded: loaded (/usr/lib/systemd/system/systemd-backlight@.service; static)
Active: active (exited) since Thu 2021-06-10 08:48:02 CEST; 5h 57min ago
Docs: man:systemd-backlight@.service(8)
Process: 728 ExecStart=/usr/lib/systemd/systemd-backlight load leds:platform::kbd_backlight (code=exited, status=0/SUCCESS)
Main PID: 728 (code=exited, status=0/SUCCESS)
CPU: 6ms

I have disabled

systemd-backlight@backlight:acpi_video0.service

and things seem to be running fine.
Perhaps something you might want to investigate further.

2 Likes