Brightness hotkey doesn't work on laptop asus k501ux [Ubuntu 16.04.1]

I have laptop asus k501ux, just installed ubuntu and it seems every key works except brightness controls, in my case it is Fn+F5 (up) and F6(down). any idea why is that happening and how to fix it?


Solution 1:

  1. Go to the terminal and open grub file

sudo gedit /etc/default/grub

  1. Find

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

and change to this

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_backlight=native acpi_osi="

  1. Update grub

sudo update-grub

  1. Restart and it's done

That worked on Asus k501ux laptop