Keyboard Backlight Brightness Support for ROG G15 2021 GA503QM

Hello,

I have a new Asus Zephyrus G15 2021 with the model number GA503QM, on which I installed asusctl v3.4.0. My main problem (not the only one, unfortunately 😢 ), is controlling the keyboard backlight, but it appears that asusctl does not support it on the GA503QM. It gives the following error: Keyboard control: Missing functionality: No brightness control, you may require a v5.11 series kernel or newer, despite me using the v5.11 kernel!

asusctl -k off
Error: MethodError("org.freedesktop.DBus.Error.UnknownObject", Some("Unknown object \'/org/asuslinux/Led\'"), Msg { type: Error, sender: ":1.185", reply-serial: 8, body: Signature: [
	s (115),
] })

I have Ubuntu 21.04 Beta with the 5.11.0-16-generic kernel.

asusctl -v
  asusctl v3.4.0
 rog-dbus v3.2.0
rog-types v3.2.0
   daemon v3.4.1

asusctl -s gives the following result:

asusctl -s
Supported laptop functions:
{
  "anime_ctrl": false,
  "charge_ctrl": {
    "charge_level_set": true
  },
  "fan_cpu_ctrl": {
    "stock_fan_modes": true,
    "min_max_freq": false,
    "fan_curve_set": false
  },
  "keyboard_led": {
    "brightness_set": false,
    "stock_led_modes": null,
    "multizone_led_mode": false,
    "per_key_led_mode": false
  },
  "rog_bios_ctrl": {
    "post_sound_toggle": true,
    "dedicated_gfx_toggle": false
  }
}

Launching the asusd with systemctl gives the following log

-- Journal begins at Tue 2021-04-20 13:26:12 CEST, ends at Wed 2021-04-21 23:16:56 CEST. --
avril 21 23:15:43 g15 systemd[1]: Starting ASUS Notebook Control...
avril 21 23:15:43 g15 asusd[8763]: INFO:    daemon v3.4.1
avril 21 23:15:43 g15 asusd[8763]: INFO:  rog-dbus v3.2.0
avril 21 23:15:43 g15 asusd[8763]: INFO: rog-types v3.2.0
avril 21 23:15:43 g15 asusd[8763]: INFO: Using generic LED control for keyboard brightness only
avril 21 23:15:43 g15 asusd[8763]: INFO: Product name: ROG Zephyrus G15 GA503QM_GA503QM
avril 21 23:15:43 g15 asusd[8763]: INFO: Product family: ROG Zephyrus G15
avril 21 23:15:43 g15 asusd[8763]: INFO: Board name: GA503QM
avril 21 23:15:43 g15 asusd[8763]: {
avril 21 23:15:43 g15 asusd[8763]:   "anime_ctrl": false,
avril 21 23:15:43 g15 asusd[8763]:   "charge_ctrl": {
avril 21 23:15:43 g15 asusd[8763]:     "charge_level_set": true
avril 21 23:15:43 g15 asusd[8763]:   },
avril 21 23:15:43 g15 asusd[8763]:   "fan_cpu_ctrl": {
avril 21 23:15:43 g15 asusd[8763]:     "stock_fan_modes": true,
avril 21 23:15:43 g15 asusd[8763]:     "min_max_freq": false,
avril 21 23:15:43 g15 asusd[8763]:     "fan_curve_set": false
avril 21 23:15:43 g15 asusd[8763]:   },
avril 21 23:15:43 g15 asusd[8763]:   "keyboard_led": {
avril 21 23:15:43 g15 asusd[8763]:     "brightness_set": false,
avril 21 23:15:43 g15 asusd[8763]:     "stock_led_modes": null,
avril 21 23:15:43 g15 asusd[8763]:     "multizone_led_mode": false,
avril 21 23:15:43 g15 asusd[8763]:     "per_key_led_mode": false
avril 21 23:15:43 g15 asusd[8763]:   },
avril 21 23:15:43 g15 asusd[8763]:   "rog_bios_ctrl": {
avril 21 23:15:43 g15 asusd[8763]:     "post_sound_toggle": true,
avril 21 23:15:43 g15 asusd[8763]:     "dedicated_gfx_toggle": false
avril 21 23:15:43 g15 asusd[8763]:   }
avril 21 23:15:43 g15 asusd[8763]: }
avril 21 23:15:43 g15 asusd[8763]: INFO: ROG Switchable Graphics (bios) not detected: Missing functionality: /sys/firmware/efi/efivars/AsusSwitchGraphicMode-607005d5-3f75-4b2e-98f0-85ba66797a3e
avril 21 23:15:43 g15 systemd[1]: Started ASUS Notebook Control.
avril 21 23:15:43 g15 asusd[8763]: INFO: Set /sys/firmware/efi/efivars/AsusPostLogoSound-607005d5-3f75-4b2e-98f0-85ba66797a3e writeable: status: exit code: 0
avril 21 23:15:43 g15 asusd[8763]: INFO: Battery charge limit: 100
avril 21 23:15:43 g15 asusd[8763]: ERROR: AniMe control: No such device (it may have been disconnected)
avril 21 23:15:43 g15 asusd[8763]: INFO: GFX: Rescanning PCI bus
avril 21 23:15:44 g15 asusd[8763]: INFO: GFX: 0000:01:00.0: NVIDIA graphics
avril 21 23:15:44 g15 asusd[8763]: INFO: GFX: 0000:01:00.0: Function for 0000:01:00.0
avril 21 23:15:44 g15 asusd[8763]: INFO: GFX: 0000:01:00.1: Function for 0000:01:00.0
avril 21 23:15:44 g15 asusd[8763]: INFO: GFX: 0000:06:00.0: AMD graphics
avril 21 23:15:44 g15 asusd[8763]: INFO: GFX: 0000:06:00.6: Function for 0000:06:00.0
avril 21 23:15:44 g15 asusd[8763]: INFO: GFX: 0000:06:00.4: Function for 0000:06:00.0
avril 21 23:15:44 g15 asusd[8763]: INFO: GFX: 0000:06:00.2: Function for 0000:06:00.0
avril 21 23:15:44 g15 asusd[8763]: INFO: GFX: 0000:06:00.0: Function for 0000:06:00.0
avril 21 23:15:44 g15 asusd[8763]: INFO: GFX: 0000:06:00.5: Function for 0000:06:00.0
avril 21 23:15:44 g15 asusd[8763]: INFO: GFX: 0000:06:00.3: Function for 0000:06:00.0
avril 21 23:15:44 g15 asusd[8763]: INFO: GFX: 0000:06:00.1: Function for 0000:06:00.0
avril 21 23:15:44 g15 asusd[8763]: INFO: GFX: Writing /etc/X11/xorg.conf.d/90-nvidia-primary.conf
avril 21 23:15:44 g15 asusd[8763]: INFO: GFX: Writing /etc/modprobe.d/asusd.conf
avril 21 23:15:44 g15 asusd[8763]: INFO: GFX: Disabling nvidia-fallback.service
avril 21 23:15:44 g15 asusd[8771]: Failed to disable unit: Unit file nvidia-fallback.service does not exist.
avril 21 23:15:44 g15 asusd[8763]: WARN: systemctl: exit code: 1 (ignore warning if service does not exist!)
avril 21 23:15:44 g15 asusd[8763]: INFO: GFX: Reloaded gfx mode: Hybrid
avril 21 23:15:44 g15 asusd[8763]: INFO: Device has thermal throttle control
avril 21 23:15:44 g15 asusd[8763]: INFO: Setting pstate
avril 21 23:15:44 g15 asusd[8763]: INFO: Setting pstate for AMD CPU
avril 21 23:15:44 g15 asusd[8763]: INFO: AMD CPU Turbo: 1
avril 21 23:15:44 g15 asusd[8763]: INFO: Using generic LED control for keyboard brightness only
avril 21 23:15:44 g15 asusd[8763]: WARN: led_node: Missing functionality: ASUS LED device node not found
avril 21 23:15:44 g15 asusd[8763]: WARN: led_node: Missing functionality: ASUS LED device node not found
avril 21 23:15:44 g15 asusd[8763]: WARN: led_node: Missing functionality: ASUS LED device node not found
avril 21 23:15:44 g15 asusd[8763]: INFO: Using device at: "/dev/hidraw4" for LED control
avril 21 23:15:44 g15 asusd[8763]: ERROR: Keyboard control: Missing functionality: No brightness control, you may require a v5.11 series kernel or newer

It will be much appreciated if this issue can be worked on, or given enough guidance, I can try to fix it myself and contribute to the project.

Thanks :)