Open cytrinox opened 6 years ago
Thank you so much for the tutorial. I don't expect the goodix fingerprint sensor to work anytime soon as well, cuz I didn't get any response from the company on Linux driver issue. But I did think the keyboard would work perfectly like some of dell's laptop running Ubuntu.Will keep looking. THX
I just tried it yesterday with the latest version of Linux Mint which is based on Ubuntu 18.04 but none of the function keys was working in the expected way.
For anyone still watching this issue, can you please follow these and report to upstream kernel? https://wiki.ubuntu.com/Kernel/Debugging/Backlight seems it's kernel driver/ACPI issue.
The text is focused on brightness, but I believe debugging the Fn+ keys for brightness, then other would be easy too.
This issue is still relevant with the 2018 HW refresh version of Matebook X Pro. Thank you!
Hey, I'm working on a kernel module for Huawei MBX and MBXP. Right now, I got the MBXP to work just fine. I need someone with a MBX to test the module. If anyone is interested please let me know. Huawei-WMI
@breznak perhaps I missunderstand your issue. but I had no issues on Mate Book Pro X
I run debian 9.5 on a matebook x pro and the fn keys mute vol+ vol- bright+ bright- are actually recognized correctly in X11, and I use this .xbindkeysrc file to make them work correctly:
"xbacklight -steps 1 -dec 10"
XF86MonBrightnessDown
"xbacklight -steps 1 -inc 10"
XF86MonBrightnessUp
"amixer -q set Speaker Playback Volume toggle"
XF86AudioMute
"amixer -q set Speaker Playback Volume 1db+"
XF86AudioRaiseVolume
"amixer -q set Speaker Playback Volume 1db-"
XF86AudioLowerVolume
Hotkeys are all reported with value 0x80:
Based on a decompiled BMOF, I've found that some GUIDs are matching a Pegatron-ACPI driver on Github by benatto: https://github.com/benatto/pegatron_acpi but this module won't work on my Matebook X (the WMI Init method fails).
I've started a simple ACPI/WMI kernel module from scratch, porting some of the Pegatron driver parts and trying to figure out how the whole stuff works. So far, I was not able to get any hotkey working. But I'm open this issue to keep track of the work and maybe someone who is more familiar with ACPI could have a look. If I get more feedback from benatto, I will continue on the module source.
Github project for the module, including BMOF & DSDT: https://github.com/cytrinox/matebook-hotkeys