keyboard backlight not working on Asus GM501

Bug #1802652 reported by koen
28
This bug affects 6 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Medium
Unassigned

Bug Description

The keyboard lights and most of the F keys aren't working.
Kernel = 4.15.0-20-generic
System linux mint 19

ls -hal /sys/class/leds/
total 0
drwxr-xr-x 2 root root 0 Nov 10 15:47 .
drwxr-xr-x 72 root root 0 Nov 10 15:43 ..
lrwxrwxrwx 1 root root 0 Nov 10 15:43 asus::lightbar -> ../../devices/platform/asus-nb-wmi/leds/asus::lightbar
lrwxrwxrwx 1 root root 0 Nov 10 15:47 asus-wireless::airplane -> ../../devices/LNXSYSTM:00/LNXSYBUS:00/ATK4002:00/leds/asus-wireless::airplane
lrwxrwxrwx 1 root root 0 Nov 10 15:47 input4::capslock -> ../../devices/platform/i8042/serio0/input/input4/input4::capslock
lrwxrwxrwx 1 root root 0 Nov 10 15:47 input4::numlock -> ../../devices/platform/i8042/serio0/input/input4/input4::numlock
lrwxrwxrwx 1 root root 0 Nov 10 15:47 input4::scrolllock -> ../../devices/platform/i8042/serio0/input/input4/input4::scrolllock
lrwxrwxrwx 1 root root 0 Nov 10 15:47 input7::capslock -> ../../devices/pci0000:00/0000:00:14.0/usb1/1-10/1-10:1.0/0003:0B05:1866.0001/input/input7/input7::capslock
lrwxrwxrwx 1 root root 0 Nov 10 15:47 input7::compose -> ../../devices/pci0000:00/0000:00:14.0/usb1/1-10/1-10:1.0/0003:0B05:1866.0001/input/input7/input7::compose
lrwxrwxrwx 1 root root 0 Nov 10 15:47 input7::kana -> ../../devices/pci0000:00/0000:00:14.0/usb1/1-10/1-10:1.0/0003:0B05:1866.0001/input/input7/input7::kana
lrwxrwxrwx 1 root root 0 Nov 10 15:47 input7::numlock -> ../../devices/pci0000:00/0000:00:14.0/usb1/1-10/1-10:1.0/0003:0B05:1866.0001/input/input7/input7::numlock
lrwxrwxrwx 1 root root 0 Nov 10 15:47 input7::scrolllock -> ../../devices/pci0000:00/0000:00:14.0/usb1/1-10/1-10:1.0/0003:0B05:1866.0001/input/input7/input7::scrolllock
lrwxrwxrwx 1 root root 0 Nov 10 15:47 input8::capslock -> ../../devices/pci0000:00/0000:00:14.0/usb1/1-10/1-10:1.1/0003:0B05:1866.0002/input/input8/input8::capslock
lrwxrwxrwx 1 root root 0 Nov 10 15:47 input8::compose -> ../../devices/pci0000:00/0000:00:14.0/usb1/1-10/1-10:1.1/0003:0B05:1866.0002/input/input8/input8::compose
lrwxrwxrwx 1 root root 0 Nov 10 15:47 input8::kana -> ../../devices/pci0000:00/0000:00:14.0/usb1/1-10/1-10:1.1/0003:0B05:1866.0002/input/input8/input8::kana
lrwxrwxrwx 1 root root 0 Nov 10 15:47 input8::numlock -> ../../devices/pci0000:00/0000:00:14.0/usb1/1-10/1-10:1.1/0003:0B05:1866.0002/input/input8/input8::numlock
lrwxrwxrwx 1 root root 0 Nov 10 15:47 input8::scrolllock -> ../../devices/pci0000:00/0000:00:14.0/usb1/1-10/1-10:1.1/0003:0B05:1866.0002/input/input8/input8::scrolllock
lrwxrwxrwx 1 root root 0 Nov 10 15:47 phy0-led -> ../../devices/pci0000:00/0000:00:14.3/leds/phy0-led

Tags: cscc
Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1802652

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
koen (kmaris)
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Cristian Aravena Romero (caravena) wrote :

See Bug #1796550.
--
Cristian Aravena Romero (caravena)

Revision history for this message
koen (kmaris) wrote :

Ubuntu 18.10 does not work on this laptop, at least not the live version. It blocks on the GPU.
In linux mint it works smooth, apart from the keyboard backlight.

Revision history for this message
koen (kmaris) wrote :

Fedora 29, same thing. Doesn't start in graphic mode. The only version that seems to work is Linux Mint 19 at the moment.
I've added an output of inxi:

System: Host: GM501GM Kernel: 4.15.0-20-generic x86_64 bits: 64 Desktop: Cinnamon 3.8.9
           Distro: Linux Mint 19 Tara
Machine: Device: laptop System: ASUSTeK product: Zephyrus M GM501GM v: 1.0 serial: N/A
           Mobo: ASUSTeK model: GM501GM v: 1.0 serial: N/A
           UEFI: American Megatrends v: GM501GM.306 date: 07/31/2018
Battery BAT0: charge: 54.4 Wh 100.1% condition: 54.4/55.0 Wh (99%)
CPU: 6 core Intel Core i7-8750H (-MT-MCP-) cache: 9216 KB
           clock speeds: max: 4100 MHz 1: 1558 MHz 2: 2000 MHz 3: 1933 MHz 4: 2003 MHz 5: 1683 MHz 6: 1383 MHz
           7: 2001 MHz 8: 2000 MHz 9: 1955 MHz 10: 1340 MHz 11: 2000 MHz 12: 1249 MHz
Graphics: Card-1: Intel Device 3e9b
           Card-2: NVIDIA GP106M [GeForce GTX 1060 Mobile]
           Display Server: x11 (X.Org 1.19.6 ) drivers: modesetting,nvidia (unloaded: fbdev,vesa,nouveau)
           Resolution: 1920x1080@144.03hz
           OpenGL: renderer: GeForce GTX 1060/PCIe/SSE2 version: 4.6.0 NVIDIA 390.87
Audio: Card Intel Device a348 driver: snd_hda_intel Sound: ALSA v: k4.15.0-20-generic
Network: Card: Intel Device a370 driver: iwlwifi
           IF: wlo1 state: up speed: N/A duplex: N/A mac: <filter>
Drives: HDD Total Size: 756.2GB (27.2% used)
           ID-1: /dev/nvme0n1 model: SAMSUNG_MZVPW256HEGL size: 256.1GB
           ID-2: /dev/sda model: Samsung_SSD_860 size: 500.1GB
Partition: ID-1: / size: 210G used: 8.1G (5%) fs: ext4 dev: /dev/nvme0n1p2
           ID-2: swap-1 size: 25.52GB used: 0.00GB (0%) fs: swap dev: /dev/nvme0n1p3
RAID: No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors: System Temperatures: cpu: 41.0C mobo: N/A gpu: 41C
           Fan Speeds (in rpm): cpu: N/A
Info: Processes: 304 Uptime: 0 min Memory: 754.7/15890.6MB Client: Shell (bash) inxi: 2.3.56

Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Did this issue start happening after an update/upgrade? Was there a prior kernel version where you were not having this particular problem?

Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v4.20 kernel[0].

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".

Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v4.20-rc2

Changed in linux (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Incomplete
Revision history for this message
koen (kmaris) wrote :

It is a fresh install never tried an older version.
I have tried the new kernel, same issue.
The asus-nb-wmi module is loaded but seems not to support this keyboard.

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Pander (pander) wrote :
Revision history for this message
Pander (pander) wrote :
Revision history for this message
David (duckduckd3uc3) wrote :
Revision history for this message
koen (kmaris) wrote :
Download full text (3.5 KiB)

Tried it, no change

drwxr-xr-x 74 root root 0 Jan 31 19:00 ..
lrwxrwxrwx 1 root root 0 Jan 31 19:00 asus::lightbar -> ../../devices/platform/asus-nb-wmi/leds/asus::lightbar
lrwxrwxrwx 1 root root 0 Jan 31 19:03 asus-wireless::airplane -> ../../devices/LNXSYSTM:00/LNXSYBUS:00/ATK4002:00/leds/asus-wireless::airplane
lrwxrwxrwx 1 root root 0 Jan 31 19:03 input4::capslock -> ../../devices/platform/i8042/serio0/input/input4/input4::capslock
lrwxrwxrwx 1 root root 0 Jan 31 19:03 input4::numlock -> ../../devices/platform/i8042/serio0/input/input4/input4::numlock
lrwxrwxrwx 1 root root 0 Jan 31 19:03 input4::scrolllock -> ../../devices/platform/i8042/serio0/input/input4/input4::scrolllock
lrwxrwxrwx 1 root root 0 Jan 31 19:03 input7::capslock -> ../../devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.0/0003:1050:0407.0001/input/input7/input7::capslock
lrwxrwxrwx 1 root root 0 Jan 31 19:03 input7::compose -> ../../devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.0/0003:1050:0407.0001/input/input7/input7::compose
lrwxrwxrwx 1 root root 0 Jan 31 19:03 input7::kana -> ../../devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.0/0003:1050:0407.0001/input/input7/input7::kana
lrwxrwxrwx 1 root root 0 Jan 31 19:03 input7::numlock -> ../../devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.0/0003:1050:0407.0001/input/input7/input7::numlock
lrwxrwxrwx 1 root root 0 Jan 31 19:03 input7::scrolllock -> ../../devices/pci0000:00/0000:00:14.0/usb1/1-4/1-4:1.0/0003:1050:0407.0001/input/input7/input7::scrolllock
lrwxrwxrwx 1 root root 0 Jan 31 19:03 input8::capslock -> ../../devices/pci0000:00/0000:00:14.0/usb1/1-10/1-10:1.0/0003:0B05:1866.0003/input/input8/input8::capslock
lrwxrwxrwx 1 root root 0 Jan 31 19:03 input8::compose -> ../../devices/pci0000:00/0000:00:14.0/usb1/1-10/1-10:1.0/0003:0B05:1866.0003/input/input8/input8::compose
lrwxrwxrwx 1 root root 0 Jan 31 19:03 input8::kana -> ../../devices/pci0000:00/0000:00:14.0/usb1/1-10/1-10:1.0/0003:0B05:1866.0003/input/input8/input8::kana
lrwxrwxrwx 1 root root 0 Jan 31 19:03 input8::numlock -> ../../devices/pci0000:00/0000:00:14.0/usb1/1-10/1-10:1.0/0003:0B05:1866.0003/input/input8/input8::numlock
lrwxrwxrwx 1 root root 0 Jan 31 19:03 input8::scrolllock -> ../../devices/pci0000:00/0000:00:14.0/usb1/1-10/1-10:1.0/0003:0B05:1866.0003/input/input8/input8::scrolllock
lrwxrwxrwx 1 root root 0 Jan 31 19:03 input9::capslock -> ../../devices/pci0000:00/0000:00:14.0/usb1/1-10/1-10:1.1/0003:0B05:1866.0004/input/input9/input9::capslock
lrwxrwxrwx 1 root root 0 Jan 31 19:03 input9::compose -> ../../devices/pci0000:00/0000:00:14.0/usb1/1-10/1-10:1.1/0003:0B05:1866.0004/input/input9/input9::compose
lrwxrwxrwx 1 root root 0 Jan 31 19:03 input9::kana -> ../../devices/pci0000:00/0000:00:14.0/usb1/1-10/1-10:1.1/0003:0B05:1866.0004/input/input9/input9::kana
lrwxrwxrwx 1 root root 0 Jan 31 19:03 input9::numlock -> ../../devices/pci0000:00/0000:00:14.0/usb1/1-10/1-10:1.1/0003:0B05:1866.0004/input/input9/input9::numlock
lrwxrwxrwx 1 root root 0 Jan 31 19:03 input9::scrolllock -> ../../devices/pci0000:00/0000:00:14.0/usb1/1-10/1-10:1.1/0003:0B05:1866.0004/input/input9/input9::scrolllock
lrwxrwxrwx 1 root root 0 Jan 31 19:03 phy0-led ...

Read more...

Revision history for this message
David (duckduckd3uc3) wrote :

Different. I'm on an ASUS ROG GL502VM

Revision history for this message
Thomas Gregory (sick-minded) wrote :
Download full text (3.4 KiB)

Hi, same problem here, keyboard backlight and some Fn don't work:
- F5 (fan overboost, that's ok if it doesn't work)
- F6 (don't know what it is)
- F7 (screen brightness down)
- F8 (screen brightness up)
- F10 (disable touchpad)
- F11 (screen sleep)
- F12 (airplane mode)
- keyboard arrow up (brightness keyboard light up)
- keyboard arrow down (brightness keyboard light down)

And also some shortcut buttons above F1-F4:
- disable mic button
- rog button (it's ok if it doesn't work, but if works we can change it to something?)

Here is my system:
# dmesg | grep -i asus | head -1
[ 0.000000] DMI: ASUSTeK COMPUTER INC. Zephyrus M GM501GS/GM501GS, BIOS GM501GS.310 04/22/2019

# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 18.04.2 LTS
Release: 18.04
Codename: bionic

# uname -r
4.18.0-21-generic

# ls -l /sys/class/leds
total 0
lrwxrwxrwx 1 root root 0 Jun 17 13:21 asus::lightbar -> ../../devices/platform/asus-nb-wmi/leds/asus::lightbar
lrwxrwxrwx 1 root root 0 Jun 17 13:21 asus-wireless::airplane -> ../../devices/LNXSYSTM:00/LNXSYBUS:00/ATK4002:00/leds/asus-wireless::airplane
lrwxrwxrwx 1 root root 0 Jun 17 13:21 input13::capslock -> ../../devices/pci0000:00/0000:00:14.0/usb1/1-10/1-10:1.0/0003:0B05:1866.0003/input/input13/input13::capslock
lrwxrwxrwx 1 root root 0 Jun 17 13:21 input13::compose -> ../../devices/pci0000:00/0000:00:14.0/usb1/1-10/1-10:1.0/0003:0B05:1866.0003/input/input13/input13::compose
lrwxrwxrwx 1 root root 0 Jun 17 13:21 input13::kana -> ../../devices/pci0000:00/0000:00:14.0/usb1/1-10/1-10:1.0/0003:0B05:1866.0003/input/input13/input13::kana
lrwxrwxrwx 1 root root 0 Jun 17 13:21 input13::numlock -> ../../devices/pci0000:00/0000:00:14.0/usb1/1-10/1-10:1.0/0003:0B05:1866.0003/input/input13/input13::numlock
lrwxrwxrwx 1 root root 0 Jun 17 13:21 input13::scrolllock -> ../../devices/pci0000:00/0000:00:14.0/usb1/1-10/1-10:1.0/0003:0B05:1866.0003/input/input13/input13::scrolllock
lrwxrwxrwx 1 root root 0 Jun 17 13:21 input14::capslock -> ../../devices/pci0000:00/0000:00:14.0/usb1/1-10/1-10:1.1/0003:0B05:1866.0004/input/input14/input14::capslock
lrwxrwxrwx 1 root root 0 Jun 17 13:21 input14::compose -> ../../devices/pci0000:00/0000:00:14.0/usb1/1-10/1-10:1.1/0003:0B05:1866.0004/input/input14/input14::compose
lrwxrwxrwx 1 root root 0 Jun 17 13:21 input14::kana -> ../../devices/pci0000:00/0000:00:14.0/usb1/1-10/1-10:1.1/0003:0B05:1866.0004/input/input14/input14::kana
lrwxrwxrwx 1 root root 0 Jun 17 13:21 input14::numlock -> ../../devices/pci0000:00/0000:00:14.0/usb1/1-10/1-10:1.1/0003:0B05:1866.0004/input/input14/input14::numlock
lrwxrwxrwx 1 root root 0 Jun 17 13:21 input14::scrolllock -> ../../devices/pci0000:00/0000:00:14.0/usb1/1-10/1-10:1.1/0003:0B05:1866.0004/input/input14/input14::scrolllock
lrwxrwxrwx 1 root root 0 Jun 17 13:21 input4::capslock -> ../../devices/platform/i8042/serio0/input/input4/input4::capslock
lrwxrwxrwx 1 root root 0 Jun 17 13:21 input4::numlock -> ../../devices/platform/i8042/serio0/input/input4/input4::numlock
lrwxrwxrwx 1 root root 0 Jun 17 13:21 input4::scrolllock -> ../../devices/platform/i8042/serio0/input/input4/input4::scrolllock
lrwxrwxrwx...

Read more...

Jason Kranz (jmkranz)
no longer affects: linux
Brad Figg (brad-figg)
tags: added: cscc
Revision history for this message
Luke Jones (lukedjones) wrote :
Download full text (3.9 KiB)

Confirming for newer model:

DMI: ASUSTeK COMPUTER INC. Zephyrus S GX502GW_GX502GW/GX502GW, BIOS GX502GW.306 09/25/2019

Same key issue as this:
- F5 (fan overboost, that's ok if it doesn't work)
- F6 (don't know what it is)
- F7 (screen brightness down)
- F8 (screen brightness up)
- F10 (disable touchpad)
- F11 (screen sleep)
- F12 (airplane mode)
- keyboard arrow up (brightness keyboard light up)
- keyboard arrow down (brightness keyboard light down)

And also some shortcut buttons above F1-F4:
- disable mic button
- rog button (it's ok if it doesn't work, but if works we can change it to something?)

# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Pop!_OS 19.10
Release: 19.10
Codename: eoan

# uname -r
5.3.0-7625-generic

# ls -l /sys/class/leds
lrwxrwxrwx 0 root 23 Dec 15:41 asus-wireless::airplane -> ../../devices/LNXSYSTM:00/LNXSYBUS:00/ATK4002:00/leds/asus-wireless::airplane
lrwxrwxrwx 0 root 23 Dec 15:41 asus::lightbar -> ../../devices/platform/asus-nb-wmi/leds/asus::lightbar
lrwxrwxrwx 0 root 23 Dec 15:41 input4::capslock -> ../../devices/platform/i8042/serio0/input/input4/input4::capslock
lrwxrwxrwx 0 root 23 Dec 15:41 input4::numlock -> ../../devices/platform/i8042/serio0/input/input4/input4::numlock
lrwxrwxrwx 0 root 23 Dec 15:41 input4::scrolllock -> ../../devices/platform/i8042/serio0/input/input4/input4::scrolllock
lrwxrwxrwx 0 root 23 Dec 15:41 input38::capslock -> ../../devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.2/0003:046D:C52B.0007/0003:046D:406F.0008/input/input38/input38::capslock
lrwxrwxrwx 0 root 23 Dec 15:41 input38::compose -> ../../devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.2/0003:046D:C52B.0007/0003:046D:406F.0008/input/input38/input38::compose
lrwxrwxrwx 0 root 23 Dec 15:41 input38::kana -> ../../devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.2/0003:046D:C52B.0007/0003:046D:406F.0008/input/input38/input38::kana
lrwxrwxrwx 0 root 23 Dec 15:41 input38::numlock -> ../../devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.2/0003:046D:C52B.0007/0003:046D:406F.0008/input/input38/input38::numlock
lrwxrwxrwx 0 root 23 Dec 15:41 input38::scrolllock -> ../../devices/pci0000:00/0000:00:14.0/usb1/1-5/1-5:1.2/0003:046D:C52B.0007/0003:046D:406F.0008/input/input38/input38::scrolllock
lrwxrwxrwx 0 root 23 Dec 15:41 input43::capslock -> ../../devices/pci0000:00/0000:00:14.0/usb1/1-10/1-10:1.1/0003:0B05:1866.000A/input/input43/input43::capslock
lrwxrwxrwx 0 root 23 Dec 15:41 input43::compose -> ../../devices/pci0000:00/0000:00:14.0/usb1/1-10/1-10:1.1/0003:0B05:1866.000A/input/input43/input43::compose
lrwxrwxrwx 0 root 23 Dec 15:41 input43::kana -> ../../devices/pci0000:00/0000:00:14.0/usb1/1-10/1-10:1.1/0003:0B05:1866.000A/input/input43/input43::kana
lrwxrwxrwx 0 root 23 Dec 15:41 input43::numlock -> ../../devices/pci0000:00/0000:00:14.0/usb1/1-10/1-10:1.1/0003:0B05:1866.000A/input/input43/input43::numlock
lrwxrwxrwx 0 root 23 Dec 15:41 input43::scrolllock -> ../../devices/pci0000:00/0000:00:14.0/usb1/1-10/1-10:1.1/0003:0B05:1866.000A/input/input43/input43::scrolllock
lrwxrwxrwx 0 root 23 Dec 15:41 input63::capslock -> ../../devices/pci0000:00/0000:00:14.0/usb1/1-10/1-10:1.0/0003:0B05:1866.001E/...

Read more...

Revision history for this message
Luke Jones (lukedjones) wrote :

dmesg:
[ 14.503395] asus_wmi: ASUS WMI generic driver loaded
[ 14.505116] asus_wmi: Initialization: 0x1
[ 14.505180] asus_wmi: BIOS WMI version: 9.0
[ 14.505219] asus_wmi: SFUN value: 0x21
[ 14.505221] asus-nb-wmi asus-nb-wmi: Detected ATK, not ASUSWMI, use DSTS
[ 14.505223] asus-nb-wmi asus-nb-wmi: Detected ATK, enable event queue
[ 14.507229] input: Asus WMI hotkeys as /devices/platform/asus-nb-wmi/input/input29
[ 14.662354] asus_wmi: Number of fans: 0

Revision history for this message
Luke Jones (lukedjones) wrote :

Another update. Keys do emit events, but appear to be incorrect?

[luke@pop-os]$ sudo evtest /dev/input/by-path/pci-0000:00:14.0-usb-0:10:1.2-event
Input driver version is 1.0.1
Input device ID: bus 0x3 vendor 0xb05 product 0x1866 version 0x110
Input device name: "ASUSTeK Computer Inc. N-KEY Device"
Supported events:
  Event type 0 (EV_SYN)
  Event type 3 (EV_ABS)
    Event code 40 (ABS_MISC)
      Value 0
      Min 0
      Max 255
Properties:
Testing ... (interrupt to exit)
Event: time 1580932258.063560, type 3 (EV_ABS), code 40 (ABS_MISC), value 1
Event: time 1580932258.063560, -------------- SYN_REPORT ------------
Event: time 1580932258.176554, type 3 (EV_ABS), code 40 (ABS_MISC), value 0
Event: time 1580932258.176554, -------------- SYN_REPORT ------------
Event: time 1580932260.157639, type 3 (EV_ABS), code 40 (ABS_MISC), value 1
Event: time 1580932260.157639, -------------- SYN_REPORT ------------
Event: time 1580932260.252553, type 3 (EV_ABS), code 40 (ABS_MISC), value 0
Event: time 1580932260.252553, -------------- SYN_REPORT ------------
Event: time 1580932260.860591, type 3 (EV_ABS), code 40 (ABS_MISC), value 1
Event: time 1580932260.860591, -------------- SYN_REPORT ------------
Event: time 1580932261.937573, type 3 (EV_ABS), code 40 (ABS_MISC), value 0

No other input path emits events from these keys.

Revision history for this message
Luke Jones (lukedjones) wrote :

Wireshark capture data from each button individually in Windows.

Revision history for this message
Luke Jones (lukedjones) wrote :

Wireshark capture data from each button individually in Windows.

Revision history for this message
Luke Jones (lukedjones) wrote :

Apologies, the last attachment is Linux capture data (as per filename)

Revision history for this message
Luke Jones (lukedjones) wrote :
Download full text (6.9 KiB)

The key thing I've noticed here is that if I grab the device via libusb and capture data, then it's on interface 0x83, and the bytes are a little different to the keys that do work (like vol+).

For example Vol-Down gives:
[2, 234, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
And vol-up:
[2, 233, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]

All volume control, and media control keys work fine, and have the first byte as 0x02

while the ROG key gives:
[90, 56, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]

Fan:
[90, 174, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]

Backlight-off:
[90, 53, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]

Backlight-down:
[90, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]

Backlight-up:
[90, 32, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]

Touchpad-toggle:
[90, 107, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]

Sleep:
[90, 108, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]

Airplane-toggle:
[90, 136, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]

Keyboard backlight up:
[90, 196, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]

Keyboard backlight down:
[90, 197, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]

Aura-prev:
[90, 178, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]

Aura-next:
[90, 179, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]

Bus 001 Device 003: ID 0b05:1866 ASUSTek Computer, Inc. N-KEY Device
Couldn't open device, some information will be missing
Device Descriptor:
  bLength 18
  bDescriptorType 1
  bcdUSB 2.00
  bDeviceClass 0
  bDeviceSubClass 0
  bDeviceProtocol 0
  bMaxPacketSize0 64
  idVendor 0x0b05 ASUSTek Computer, Inc.
  idProduct 0x1866
  bcdDevice 0.02
  iManufacturer 1
  iProduct 2
  iSerial 0
  bNumConfigurations 1
  Configuration Descriptor:
    bLength 9
    bDescriptorType 2
    wTotalLength 0x005b
    bNumInterfaces 3
    bConfigurationValue 1
    iConfiguration 0
    bmAttributes 0xe0
      Self Powered
      Remote Wakeup
    MaxPower 100mA
    Interface Descriptor:
      bLength 9
      bDescriptorType 4
      bInterfaceNumber 0
      bAlternateSetting 0
      bNumEndpoints 1
      bInterfaceClass 3 Human Interface Device
      bInterfaceSubClass 1 Boot Interface Subclass
      bInterfaceProtocol 1 Keyboard
      iInterface 3
        HID Device Descriptor:
      ...

Read more...

Revision history for this message
Luke Jones (lukedjones) wrote :
Download full text (5.6 KiB)

I'm trying to break this down further:

This block is the set of keys which I've included the byte output for in a reply further back, repeated for clarity. This block is currently not interpreted by the kernel as anything I guess due to the vendor specific page:

0x06, 0x31, 0xFF, // Usage Page (Vendor Defined 0xFF31)
0x09, 0x76, // Usage (0x76)
0xA1, 0x01, // Collection (Application)
0x85, 0x5A, // Report ID (90)
0x19, 0x00, // Usage Minimum (0x00)
0x2A, 0xFF, 0x00, // Usage Maximum (0xFF)
0x15, 0x00, // Logical Minimum (0)
0x26, 0xFF, 0x00, // Logical Maximum (255)
0x75, 0x08, // Report Size (8)
0x95, 0x05, // Report Count (5)
0x81, 0x00, // Input (Data,Array,Abs,No Wrap,Linear,Preferred State,No Null Position)
0x19, 0x00, // Usage Minimum (0x00)
0x2A, 0xFF, 0x00, // Usage Maximum (0xFF)
0x15, 0x00, // Logical Minimum (0)
0x26, 0xFF, 0x00, // Logical Maximum (255)
0x75, 0x08, // Report Size (8)
0x95, 0x3F, // Report Count (63)
0xB1, 0x00, // Feature (Data,Array,Abs,No Wrap,Linear,Preferred State,No Null Position,Non-volatile)
0xC0, // End Collection

while the ROG key gives:
[90, 56, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]

Fan:
[90, 174, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]

Backlight-off:
[90, 53, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]

Backlight-down:
[90, 16, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]

Backlight-up:
[90, 32, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]

Touchpad-toggle:
[90, 107, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]

Sleep:
[90, 108, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]

Airplane-toggle:
[90, 136, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]

Keyboard backlight up:
[90, 196, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]

Keyboard backlight down:
[90, 197, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]

Aura-prev:
[90, 178, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]

Aura-next:
[90, 179, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]

This block is functioning fine as a consumer device:

0x05, 0x0C, // Usage Page (Consumer)
0x09, 0x01, // Usage (Consumer Control)
0xA1, 0x01, // Collection (Application)
0x85, 0x02, // Report ID (2)
0x19, 0x00, // Usage Minimum (Unassigned)
0x2A, 0x3C, 0x02, // Usage Maximum (AC Format)
0x15, 0x00, // Logical Minimum (0)
0x26, 0x3C, 0x02, // Logical Maximum (572)
0x75, 0x10, // Report Size (16)
0x95, 0x02, // Report Count (2)
0x81, 0x00, // Input (Data,Array,Abs,No Wrap,Linear,Preferred State,No Null Position)
0xC0, // End Collection

This block has I/O. 0x5D, // Report ID (93) is the LED backlight for the keyboard. The Backlight controller I think writes back the input data.

0x06, 0x31, 0xFF, // Usage Page (Vendor Defi...

Read more...

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.