Huawei WMI Hotkeys Driver
This Linux driver enables the extra keys on Huawei laptops. So far, it has been tested on these models:
- Matebook X
- Matebook X Pro
- Make sure you have your kernel headers. In Fedora it would be:
# dnf install kernel-headers
Should be similar in other distributions.
- Clone and install the module.
$ git clone https://github.com/aymanbagabas/Huawei-WMI $ cd Huawei-WMI $ make $ sudo make install
One of the keys,
micmute, wouldn't work after inserting the module and that is due to an issue with X.Org. The solution would be to remap it to using
udev hwdb tables.
/etc/udev/hwdb.d/ then update the hwdb tables:
sudo udevadm --debug hwdb --update; sudo udevadm trigger
- Merge driver into upstream
Getting device LEDs to workSee
- Support more devices
- ACPI driver?
Fork, modify, and create a pull request.
- Thanks to Daniel Vogelbacher @cytrinox for testing the module on the MBX.