Open bernimoses opened 4 years ago
What desktop environment are you using? You gotta use a modern DE i.e. GNOME, KDE, etc for the mic mute to work, or you have to handle the keyboard event yourself in your DE of choice.
One other thing i noticed: Pressing Fn outputs
atkbd serio0: Unknown key pressed (translated set 2, code 0xf8 on isa0060/serio0). atkbd serio0: Use 'setkeycodes e078 <keycode>' to make it known.
This has to be part of systems hwdb tables, see 99-Huawei.hwdb, notice KEYBOARD_KEY_f8=fn
. However, this only matches evdev:atkbd:dmi:bvn*:bvr*:svnHUAWEI*:pnMACH-WX9:pvr*
, should be changed to match both MACH-WX9
and MACHC-WAX9
- Function hotkeys work except for keyboard backlight (F3)
Please try https://github.com/aymanbagabas/Huawei-WMI/tree/feat/kbdlight and report back your findings.
Also, please provide the output of sudo dmidecode
As requested here the dmidecode from a Matebook x Pro 2020 with Ubuntu 20.10 installed. Disabled Nvidia completely because battery life still sucks hard... matebook.txt
Sorry i don't have the notebook anymore so can't test or provide any further information. I couldn't handle the fan starting and stopping all the time (i think the fluctuating cpu temperature readings caused this) even on light tasks where i don't have problems with my 2018 model.
Could you please upload an acpidump
? sudo acpidump > acpidump.out
Sure. acpidump.log
@Shadesh @bernimoses From what I understand, the only issue is the keyboard backlight. If so, please hop on to issue https://github.com/aymanbagabas/Huawei-WMI/issues/38, and if you could please try https://github.com/aymanbagabas/Huawei-WMI/tree/feat/kbdlight. Feel free to close this ticket.
I just got the Matebook X Pro 2020 (MACHC-WAX9) and tested the following with the 5.8.2 kernel:
/sys/devices/platform/huawei-wmi/leds/platform::micmute/brightness
(0, 1) but it doesn't change if i press the mute button (F7)/sys/class/power_supply/BAT0/charge_control_{start,end}_threshold
and read through/sys/devices/platform/huawei-wmi/charge_control_thresholds
after setting it in Linux or Windows (not 100% sure if it really works)/sys/devices/platform/huawei-wmi/fn_lock_state
(0, 1)Did i miss something or should i test something else?
One other thing i noticed: Pressing
Fn
outputsin dmesg. Is this related?
Boot dmesg snippet (not sure if some of the bold parts are related):