Huawei MateBook 14 AMD (2020)

From ArchWiki

Tango-edit-clear.pngThis article or section needs language, wiki syntax or style improvements. See Help:Style for reference.Tango-edit-clear.png

Reason: Many style violations. (Discuss in Talk:Huawei MateBook 14 AMD (2020))
Note: This page refers to the Huawei Matebook 14 AMD (2020). Some information might also apply to the MateBook 13 AMD. Be aware that the MateBook D series is substantially different.
Hardware PCI/USB ID Working?
Touchpad Yes
Keyboard Yes
Webcam 13d3:56db Yes
Bluetooth 1358:c123 Yes
Audio 1022:15e3 Yes
Wireless 10ec:c822 Yes
Fingerprint reader 27c6:5110 No
Battery protection Yes

Installation

The Western Digital SN730 NVMe SSD comes pre-configured with a logical sector size of 512 bytes and a physical sector size of 4096 bytes. Switching the logical sector size to the native 4096 byte size might improve performance as indicated by the vendor. This will erase all data on the device! To format the SSD with a different sector size, run

$ nvme format --lbaf=NUMBER /dev/nvmeXnY

with the LBA format according to

$ nvme id-ns -H /dev/nvmeXnY
[...]
LBA Format  0 : Metadata Size: 0   bytes - Data Size:  512 bytes - Relative Performance: 0x2 Good 
LBA Format  1 : Metadata Size: 0   bytes - Data Size: 4096 bytes - Relative Performance: 0x1 Better

Installation of Arch Linux can proceed normally. Refer to the Installation guide for more information. Booting Arch using EFISTUB is supported by the firmware.

Firmware

fwupd detects the touchpad, GPU, UEFI, TPM, DisplayPort Hub and NVMe drive, although Huawei currently does not provide updates through the Linux Vendor firmware Service (LVFS).

Previous devices got their BIOS updates published on the Huawei homepage which could be manually installed[1]. However, currently no updates are available for download even though this device receive the update to BIOS version 1.06 after launch.

Power management

Power and temperature monitoring

Zen 2 (Ryzen 4000) is currently not supported by lm_sensors. zenpower3-dkmsAUR gives the die temperature and package power consumption.

Battery protection

The Huawei WMI driver v3.3 to expose battery protection thresholds was merged into kernel 5.5[2]. There is an issue[3] where the hardware reports incorrect values for the charge thresholds, preventing battery protection from working. The maintainer of the driver has stated this should be fixed in userspace[4].

A temporary fix is to write some sane values to the file:

# echo '40 70' > /sys/devices/platform/huawei-wmi/charge_control_thresholds

This will enable battery protection (in this case, the device will stop charging at 70%). In order for matebook-appletAUR to run without superuser rights, add your user to the huawei-wmi group since the thresholds are still read-only to non-root.

# usermod -a -G huawei-wmi $USER

Alternatively, huawei-wmiAUR will set the group write privileges. This will also take care of the thresholds resetting randomly upon reboot by automatically reinstating the battery charge-thresholds. For more information, see this guide.

Audio

Speakers and internal microphone work out of the box although the internal microphone picks up a significant amount of noise. To correctly detect a headset with microphone, use the alc255-acer,dell-headset-multi for the value of model=, as explained in Advanced Linux Sound Architecture#Correctly detect microphone plugged in a 4-pin 3.5mm (TRRS) jack.

Fingerprint reader

The Goodix fingerprint reader is currently unsupported. There is some work to bring the similar Goodix sensor in the MateBook X Pro working which might provide a starting point for this device as well[5].