Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hotkeys not working #4

Open
cytrinox opened this issue Feb 4, 2018 · 5 comments
Open

Hotkeys not working #4

cytrinox opened this issue Feb 4, 2018 · 5 comments

Comments

@cytrinox
Copy link

cytrinox commented Feb 4, 2018

Hotkeys are all reported with value 0x80:

# acpi_listen 
 59142400-C6A3-40� 00000080 00000000
 59142400-C6A3-40� 00000080 00000000

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

@lhuang15
Copy link

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

@janbaer
Copy link

janbaer commented Jul 10, 2018

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.

@breznak
Copy link

breznak commented Aug 16, 2018

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!

@aymanbagabas
Copy link

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

@alexte
Copy link

alexte commented Nov 16, 2018

@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

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

No branches or pull requests

7 participants