Huawei MateBook 14 AMD (2020)

From ArchWiki
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.
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 following devices although Huawei currently does not provide updates through the Linux Vendor firmware Service (LVFS).

KLVL-WXX9
│
├─ELAN260A:00 04F3:3163:
│     Device ID:          [...]
│     Summary:            Touchpad
│     Current version:    0x0003
│     Bootloader Version: 0x0001
│     Vendor:             HIDRAW:0x04F3
│     GUIDs:              [...] ← HIDRAW\VEN_04F3&DEV_3163&REV_00
│                         [...] ← HIDRAW\VEN_04F3&DEV_3163
│                         [...] ← HIDRAW\VEN_04F3&DEV_3163&MOD_007A
│                         [...] ← ELANTP\ICTYPE_10
│                         [...] ← ELANTP\ICTYPE_10&MOD_007A
│     Device Flags:       • Internal device
│                         • Updatable
│   
├─Ryzen 7 4800H with Radeon Graphics:
│     Device ID:          [...]
│     Vendor:             AMD
│     GUIDs:              [...] ← cpu
│                         [...] ← CPUID\PRO_0&FAM_17
│                         [...] ← CPUID\PRO_0&FAM_17&MOD_60
│                         [...] ← CPUID\PRO_0&FAM_17&MOD_60&STP_1
│     Device Flags:       • Internal device
│   
├─System Firmware:
│     Device ID:          [...]
│     Summary:            UEFI ESRT device
│     Current version:    65542
│     Minimum Version:    65536
│     Vendor:             HUAWEI (DMI:HUAWEI)
│     Update State:       Success
│     GUIDs:              [...]
│                         [...] ← main-system-firmware
│                         [...] ← UEFI\RES_{[...]}
│     Device Flags:       • Internal device
│                         • Updatable
│                         • System requires external power source
│                         • Needs a reboot after installation
│                         • Cryptographic hash verification is available
│                         • Device is usable for the duration of the update
│   
├─TPM:
│ │   Device ID:          [...]
│ │   Summary:            TPM 2.0 Device
│ │   Current version:    3.42.0.5
│ │   Vendor:             AMD (TPM:AMD)
│ │   GUIDs:              [...] ← system-tpm
│ │                       [...] ← TPM\VEN_AMD&DEV_0001
│ │                       [...] ← TPM\VEN_AMD&MOD_AMD
│ │                       [...] ← TPM\VEN_AMD&DEV_0001&VER_2.0
│ │                       [...] ← TPM\VEN_AMD&MOD_AMD&VER_2.0
│ │   Device Flags:       • Internal device
│ │ 
│ └─Event Log:
│       Device ID:        [...]
│       GUID:             [...] ← system-tpm-eventlog
│       Device Flags:     • Internal device
│     
├─VMM3200:
│     Device ID:          [...]
│     Summary:            Multi-stream transport device
│     Current version:    0.00.00
│     Vendor:             Synaptics (DRM_DP_AUX_DEV:0x06CB)
│     Update Error:       cannot update as CustomerID is unset
│     GUIDs:              [...] ← MST-0
│                         [...] ← MST-leaf
│                         [...] ← MST-leaf-vmm3200-0
│                         [...] ← MST-leaf-0
│   
└─WDC PC SN730 SDBPNTY-512G-1027:
      Device ID:          [...]
      Summary:            NVM Express solid state drive
      Current version:    11120000
      Vendor:             Sandisk Corp (NVME:0x15B7)
      Serial Number:      [...]
      GUIDs:              [...] ← NVME\VEN_15B7&DEV_5006&SUBSYS_15B75006&REV_00
                          [...] ← NVME\VEN_15B7&DEV_5006&SUBSYS_15B75006
                          [...] ← NVME\VEN_15B7&DEV_5006&REV_00
                          [...] ← NVME\VEN_15B7&DEV_5006
                          [...] ← WDC PC SN730 SDBPNTY-512G-1027
      Device Flags:       • Internal device
                          • Updatable
                          • System requires external power source
                          • Needs a reboot after installation
                          • Device is usable for the duration of the update

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. zenpower-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:

# tee /sys/devices/platform/huawei-wmi/charge_control_thresholds <<< '40 70'

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 plugged into the 4-pin 3.5mm (TRRS) jack, put the following line in /etc/modprobe.d/alsa-base.conf and reboot.

options snd-hda-intel model=alc255-acer,dell-headset-multi

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].