Linux kernel based on Linaro and QCOM work with patches, mainly dtb, in order to boot on Honor Magicbook Art 14 laptop. This is the also based on the Ubuntu resolute mainline kernel.
Supported features:
- Keyboard
- Touchpad - needs quirks for libinput
- Touchscreen
- PCIe ports (pcie4)
- Wifi (WCN7850) - needs firmware extracted from Windows
- BT (WCN7850) - needs firmware extracted from Windows(mainline firmware doesn't work properly)
- USB type-c, type-a, Magnetic webcam connector
- ADSP and CDSP - needs firmware extracted from Windows
- UFS storage - power management generates some kernel warnings but nothing fatal
- Audio - needs firmware extracted from Windows and topology files, all speakers work
- Display - module probes fine, but causes the screen to become gray, use simpledrm instead, needs firmware extracted from Windows
- OLED Panel - the panel needs DSC disable to work, msm drm driver doesn't yet support it
- DSC Mode - based on patches from https://github.com/xzn/linux_msm.git, mostly works
- Display with Alt DP - works, tested with multiple Type C adapters
- GPU - working fine when external monitor connected, needs firmware extracted from Windows
- HDMI port on the right side, working with dispcc enabled, same as AltDP
- Sleep - seems to work, even with the EC, see sleep notes
- Hibernate - Doesn't work, seems some drivers are not handling this correctly
- Iris Video codec - needs firmware extracted from linux, works
- EL2 boot - the kernel boots with slbounce provided the el2 dtb is loaded, unstable
The EC driver enables all the special keys, modern sleep and extra sensors:
- Some extra thermal sensors
- Fans RPM reading
- Battery nominal voltage
Qualcomm describes the MSM sleep states here: https://docs.qualcomm.com/doc/80-80022-30/topic/qcs6490-soc-power-saving-state.html
Right now the sleep states are as follows:
cat /sys/kernel/debug/qcom_stats/{cxsd,aosd,apss,ddr} [⏱ 2s]
Count: 0
Last Entered At: 0
Last Exited At: 0
Accumulated Duration: 0
Count: 0
Last Entered At: 0
Last Exited At: 0
Accumulated Duration: 0
Count: 1
Last Entered At: 21719807724
Last Exited At: 21887257142
Accumulated Duration: 167449418
Count: 0
Last Entered At: 0
Last Exited At: 0
Accumulated Duration: 0