1

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.

2 Answers2

0

The two last lines (/sys/video) seems more relevqnt than the rest. Have you seen the answer on That post? using xrandr to find your target screen then xrandr --output eDP1 --brightness .4 to set the brightness. is that working for you?

Zoyolin
  • 61
  • That solution is software controlled brightness for external monitors. The question is about hardware brightness for laptop display. – WinEunuuchs2Unix Dec 23 '20 at 12:01
0

You can install the 5.8 kernel that supports brightness control for new AMD GPUs by running

sudo apt install linux-generic-hwe-20.04-edge

reboot after it is installed. The brightness should work.

Pilot6
  • 90,100
  • 91
  • 213
  • 324