Skip to content

Instantly share code, notes, and snippets.

@maty974
Last active December 7, 2018 22:29
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save maty974/a72eece781917e133514b3d322c08005 to your computer and use it in GitHub Desktop.
Save maty974/a72eece781917e133514b3d322c08005 to your computer and use it in GitHub Desktop.
Centos 7 on ASUS GL703VM - Tips & Workaround

ASUS GL703VM tips & Workaround

Keyboard

Not working:

  • Fn+F12 : airplane mode
  • Fn+F11 : sleep mode
  • Fn + F7-8 : lcd backlight brightness
  • Fn+F5 : fan turbo mode?

Working:

  • the rest seems to work fine
ls /sys/class/leds
total 0
drwxr-xr-x  2 root root 0 Mar 10 14:17 .
drwxr-xr-x 64 root root 0 Mar 10 14:16 ..
lrwxrwxrwx  1 root root 0 Mar 10 14:16 asus-wireless::airplane -> ../../devices/LNXSYSTM:00/LNXSYBUS:00/ATK4002:00/leds/asus-wireless::airplane
lrwxrwxrwx  1 root root 0 Mar 10 14:16 input10::capslock -> ../../devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.0/0003:0B05:1869.0003/input/input10/input10::capslock
lrwxrwxrwx  1 root root 0 Mar 10 14:16 input10::compose -> ../../devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.0/0003:0B05:1869.0003/input/input10/input10::compose
lrwxrwxrwx  1 root root 0 Mar 10 14:16 input10::kana -> ../../devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.0/0003:0B05:1869.0003/input/input10/input10::kana
lrwxrwxrwx  1 root root 0 Mar 10 14:16 input10::numlock -> ../../devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.0/0003:0B05:1869.0003/input/input10/input10::numlock
lrwxrwxrwx  1 root root 0 Mar 10 14:16 input10::scrolllock -> ../../devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.0/0003:0B05:1869.0003/input/input10/input10::scrolllock
lrwxrwxrwx  1 root root 0 Mar 10 14:16 input4::capslock -> ../../devices/platform/i8042/serio0/input/input4/input4::capslock
lrwxrwxrwx  1 root root 0 Mar 10 14:16 input4::numlock -> ../../devices/platform/i8042/serio0/input/input4/input4::numlock
lrwxrwxrwx  1 root root 0 Mar 10 14:16 input4::scrolllock -> ../../devices/platform/i8042/serio0/input/input4/input4::scrolllock
lrwxrwxrwx  1 root root 0 Mar 10 14:16 phy0-led -> ../../devices/pci0000:00/0000:00:1c.6/0000:04:00.0/leds/phy0-led

Airplane mode led indicator

To fix airplane mode led bug after suspend ? https://github.com/sammko/airplaned/blob/master/airplaned.c

LCD backlight

Not working:

  • Keyboard shortcut Fn + F7-8 currently not working
  • echo 50 > /sys/class/backlight/acpi_video0/brightness not working
  • xfce4-power-manager brightness slider control not working

Working:

ll /sys/class/backlight/acpi_video0/
total 0
drwxr-xr-x 3 root root    0 Mar 10 14:19 .
drwxr-xr-x 3 root root    0 Mar 10 14:16 ..
-r--r--r-- 1 root root 4096 Mar 10 14:19 actual_brightness
-rw-r--r-- 1 root root 4096 Mar 10 14:19 bl_power
-rw-r--r-- 1 root root 4096 Mar 10 14:16 brightness
lrwxrwxrwx 1 root root    0 Mar 10 14:19 device -> ../../../0000:01:00.0
-r--r--r-- 1 root root 4096 Mar 10 14:16 max_brightness
drwxr-xr-x 2 root root    0 Mar 10 14:19 power
lrwxrwxrwx 1 root root    0 Mar 10 14:16 subsystem -> ../../../../../../class/backlight
-r--r--r-- 1 root root 4096 Mar 10 14:16 type
-rw-r--r-- 1 root root 4096 Mar 10 14:16 uevent

Keyboard backlight

Not working:

  • Fn + Up/Down shortcut

Working:

  • nothing...

brightness and color must be set on Windows once with the AURA Lighting Control application

Kernel option

For fixing keyboard backlight or lcd are not working none of this options fix the problems:

acpi_backlight=video
acpi_backlight=vendor
acpi_backlight=native
@brothermechanic
Copy link

same for me
exept screen backlight works with other hotkey.
and i have big bug - when screen torn to sleep it don't tun on agane)

@amadabalam
Copy link

@brothermechanic make sure you have Nvidia graphics installed:
https://www.youtube.com/watch?v=PeWTSprpq1M

@amadabalam
Copy link

@brothermechanic
What about TouchPad? is it working? (me not)

@brothermechanic
Copy link

TouchPad dont work. FNs dont work.
Nvidia-drivers 410 installed.
Kernel - 4.18
Disrto - gentoo

@animator013
Copy link

I have Asus GL503VS. I had similar problems with function keys. Here is what i've done.

  • installed ubuntu 18.04.1

  • downloaded kernel source from kernel.org, I decided to downlad latest stable (at time of writing https://cdn.kernel.org/pub/linux/kernel/v4.x/linux-4.19.7.tar.gz)

  • unpack that tar xvzf linux-4.19.7.tar.gz

  • open cd drivers/hid

  • edit vim hid-ids.h

  • line #define USB_DEVICE_ID_ASUSTEK_ROG_KEYBOARD1 to #define USB_DEVICE_ID_ASUSTEK_ROG_KEYBOARD1 0x1866 where 0x1866 is the id of my keyboard, so maybe it is similar with these models

  • compile kernel (there is somewhere good tutorial how to do that)

  • install kernel with modules

  • reboot to new kernel

  • try function keys - they should be working

  • now to make screen brightness work you need install nvidia-driver-415 (or maybe any driver higher then 396)

  • it will work out of the box but if not add this line to grub GRUB_CMDLINE_LINUX_DEFAULT="quiet splash nvidia.NVreg_EnableBacklightHandler=1"

  • now screen brightness should work

  • keyboard backlight can't be controlled, really can't figure this out because I don't know how it is initialized in windows

Hope this helps. Touchpad was working out of the box so don't really know how to help there.

In gnome i get random freeze, am trying to figure that out too.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment