Inverted brightness button

I use the last Ubuntu version (18.10) on my laptop (Compaq 15-s020nf) and the brightness button are inverted. I got the same behavior when I control the backlight with the command line:

echo 1000 > /sys/class/backlight/intel_backlight/brightness  # I got a bright screen
echo 6000 > /sys/class/backlight/intel_backlight/brightness  # I got a dark screen

Do you have any advice to resolve that ?


Solution 1:

Here's how I solved it on my HP 15 notebook.

Edit /etc/default/grub file.

Add i915.invert_brightness=1 to the "GRUB_CMDLINE_LINUX_DEFAULT" (as I did in the following screenshot).

screenshot

Run sudo update-grub2 (or sudo update-grub) and reboot.