Marco Sbrignadello

Marco Sbrignadello Web Application Developer

Asus UX31A & Keyboard backlight after suspend in F18

Keyboard backlight in my Asus UX31A with Fedora 18 always turns off when i suspend my ultrabook. Here there is an easy solution to this problem.

It seems to be an issue of asus_wmi module… it sets to 0 the value stored in /sys/class/leds/asus::kbd_backlight/brightness  every time the laptop is suspended.

A small workaround is to put a script that changes that value inside  /lib/systemd/system-sleep/. Let’s create the script and make it executable:

So, write inside this file:

Et voilà!

  • Jules

    Hi !

    I can’t find the asus_wmi module.
    In which repo can I get it ?

    Thanks !

    • msbrigna

      Hi, since Linux 2.6.39 this module is present and automatically loaded on boot. Try to type in your terminal

      lsmod | grep asus_wmi

      and you find it.

      For example, in my ultrabook i see this:

      asus_wmi 24223 1 asus_nb_wmi
      sparse_keymap 13526 1 asus_wmi
      rfkill 21729 5 cfg80211,bluetooth,asus_wmi
      wmi 18697 1 asus_wmi
      video 18991 2 i915,asus_wmi

      If you don’t see it, maybe there is a problem on loading this module. Try

      dmesg | grep asus

      and if you see an error i suggest you to google it, because this modules has lot of bugs.