I bought a new laptop and installed Ubuntu but I'm unable to change the brightness through settings and the keyboard. I also tried installing brightness controller but it has no effect either. I installed xbacklight
and followed the solution given here xbacklight: No outputs have backlight property - No /sys/class/backlight folder.
When I type sudo find /sys/ -type f -iname '*brightness*'
my output is:
/sys/devices/platform/i8042/serio0/input/input4/input4::capslock/brightness
/sys/devices/platform/i8042/serio0/input/input4/input4::capslock/max_brightness
/sys/devices/platform/i8042/serio0/input/input4/input4::scrolllock/brightness
/sys/devices/platform/i8042/serio0/input/input4/input4::scrolllock/max_brightness
/sys/devices/platform/i8042/serio0/input/input4/input4::numlock/brightness
/sys/devices/platform/i8042/serio0/input/input4/input4::numlock/max_brightness
/sys/devices/virtual/leds/hp::hddprotect/brightness
/sys/devices/virtual/leds/hp::hddprotect/max_brightness
/sys/module/video/parameters/hw_changes_brightness
/sys/module/video/parameters/brightness_switch_enabled
I'm using an AMD Ryzen 3 processor.