8

I believe it's a big question among asus users, cause i've found tons of questions about "why do my backlight don't change with fn keys??".

Well... after to much researching and testing (I'm a linux noob btw :P), I found that the Fn keys change the value of the file /sys/class/backlight/asus_laptop/brightness. But, to change correctly the brightness, the file /sys/class/backlight/intel_backlight/brightness must be changed.

I even created a script to change it through bash, works alright and stuff... i just type ./brightness 50, where 50 means the % of the maximum brightness... but i still miss my Fn keys, for God's sake!!

Then I tried to simply change the symlinks that redirects the folders (asus_laptop and intel_backlight are symlinks to very opposed directions), but not even sudo was capable to change these symlinks...

In resume, I'm asking help to re-enable my Fn keys to work with the backlight brightness.

Thanks!

wjandrea
  • 14,504

4 Answers4

5

Ok, I think I found it. Edit your /etc/default/grub file:

sudo nano /etc/default/grub

Change the following line:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

to say this instead:

GRUB_CMDLINE_LINUX_DEFAULT="acpi_osi=! acpi_backlight=native idle=nomwait quiet splash"

Press CTRL + o and then press ENTER to save the file. Press CTRL + x to exit nano.

Finally, update grub and then reboot:

sudo update-grub

source

mchid
  • 44,904
  • 8
  • 102
  • 162
2

This worked on my Asus rog flow x16 with AMD CPU:

Edit your /etc/default/grub file. Change the following line:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

to this instead:

GRUB_CMDLINE_LINUX_DEFAULT="acpi_backlight=native"

(Note: I also removed the "quiet splash", because I don't need the graphical loading screen)

Finally, update grub and then reboot:

sudo update-grub

The AURA setting on my laptop didn't work, so I used rogauracore to set the color of the keyboard-backlight and then added new keyboard shortcuts to dim and increase brightness: https://github.com/rubo77/rogauracore-scripts/

rubo77
  • 34,024
  • 52
  • 172
  • 299
0

After I failed to activate the brightness button on my Asus laptop running vega8 graphic chip using methods above, I finally had it fix installing the proprietary AMD gpu linux driver 20.45. Apparently, the open source Mesa driver will not with the brightness button. And at this time of the writting, I have to downgrade my ubuntu kernel to 5.4 to work with AMD driver 20.45. Kernel 5.8 in ubuntu 20.04.2 seemed to have crippled many AMD and nVidia driver at this time.

0
sudo nano /etc/default/grub
GRUB_CMDLINE_LINUX_DEFAULT="quiet splash acpi_backlight=native"
sudo update-grub
reboot