# Huawei MateBook 14 AMD (2020)

From ArchWiki
Jump to navigation Jump to search
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.

## 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`[1]. There is an issue[2] where for unknown reasons the driver returns `0 0` at `/sys/devices/platform/huawei-wmi/charge_control_thresholds`, preventing battery protection from working. In this case, non-zero values have to be written to both thresholds.

    echo 40 70 | sudo tee /sys/devices/platform/huawei-wmi/charge_control_thresholds

Afterwards, both the CLI and the system tray applet matebook-appletAUR work without modification.

## 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[3].

## 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:            Elan Touchpad
    │     Current version:    0x0003
    │     Bootloader Version: 0x0001
    │     Vendor:             HIDRAW:0x04F3
    │     GUIDs:              [...]
    │     Device Flags:       • Internal device
    │                         • Updatable
    │
    ├─AMD Ryzen 7 4800H with Radeon Graphics         :
    │     Device ID:          [...]
    │     Vendor:             AMD
    │     GUIDs:              [...]
    │     Device Flags:       • Internal device
    │
    ├─System Firmware:
    │     Device ID:          [...]
    │     Current version:    65542
    │     Minimum Version:    65536
    │     Vendor:             HUAWEI (DMI:HUAWEI)
    │     GUIDs:              [...]
    │     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:              [...]
    │ │   Device Flags:       • Internal device
    │ │
    │ └─Event Log:
    │       Device ID:        [...]
    │       GUID:             [...]
    │       Device Flags:     • Internal device
    │
    └─WDC PC SN730 SDBPNTY-512G-1027:
          Device ID:          [...]
          Summary:            NVM Express Solid State Drive
          Current version:    11120000
          Vendor:             Sandisk Corp (NVME:0x15B7)
          GUIDs:              [...]
          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[4]. However, currently no updates are available for download even though this device receive the update to BIOS version `1.06` after launch.

Category:

- Huawei