Bug 201931

Summary: Not working FN keys on ASUS GL503VS
Product: Drivers Reporter: Peter Legen (juicyrevenge)
Component: OtherAssignee: drivers_other
Status: NEW ---    
Severity: high    
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 4.19.7 Subsystem:
Regression: No Bisected commit-id:

Description Peter Legen 2018-12-08 09:38:46 UTC
Hello,

tried to run linux OS on this laptop and found these problems:
- only working fn keys are multimedia + sound
- can't control brightness, keyboard backlight, sleep, touchpad disable

I found out my keyboard id is 0x1866. I looked into the source code of the kernel and saw there is no keyboard with that id. I found that there are 3 types of keyboard USB_DEVICE_ID_ASUSTEK_ROG_KEYBOARD1,2,3. I replaced in file hid_ids.h the id of the USB_DEVICE_ID_ASUSTEK_ROG_KEYBOARD1 to 0x1866, compiled kernel and rebooted. All fn keys are working but keyboard backlight is still not working. Brightness is working if I install nvidia-driver-415, i have only nvidia card in this laptop

acpi_listen reports that fn keys for kbd backlight are working also OSD is present but nothing happens. From journalctl i can see this message: Asus failed to request functions: -75. I think it is because i just changed the id but the function request has different vector for the backlight to get the functions ?

Can you help me solve this ? This is my first bug report, don't know what you need, i will provide anything you need to fix this.

Thanks.