Xiaomi Mi Notebook Pro 15.6

From ArchWiki

Tango-edit-clear.pngThis article or section does not follow the Laptop page guidelines.Tango-edit-clear.png

Reason: Needs PCI/USB IDs, firmware secion and an improved function keys table (Discuss in Talk:Xiaomi Mi Notebook Pro 15.6)
Hardware PCI/USB ID Working?
GPU (Intel) 8086:5917 Yes
GPU (nvidia) 10de:1d12 Yes
Wireless 8086:24fd Yes
Bluetooth 8086:0a2b Yes
Audio 8086:9d71 Yes
Touchpad Yes
Keyboard Yes
Webcam Yes
Function Keys Yes
TPM Yes

Installation

Enter the UEFI menu by pressing F2 during Boot and disable the password and Secure Boot.

  • Security -> set password
  • Security -> Disable Secure Boot
  • reset the password by setting the password again but letting the "New Password" fields blank

Function keys

Key Effect
Esc Enables/disables Fn lock
F1 XF86AudioMute
F2 XF86AudioLowerVolume
F3 XF86AudioRaiseVolume
F4 XF86MonBrightnessDown
F5 XF86MonBrightnessUp
F6 Super_L + P
F7 Invokes user-defined action if "xiaomi_wmi" module is loaded
F8 Super_L + Tab
F9 Enables/disables touchpad
F10 Enables/disables keyboard backlight
F11 Print
F12 Insert

Display

Factory display calibration is poor. Check the panel model:

$ edid-decode < /sys/class/drm/card0-eDP-1/edid | grep Alphanumeric

If it is NV156FHM-N61, try the ICC profiles at [1].

The path to the backlight is non-standard and causes tools like xorg-xbacklight to not work. To fix this issue, you have to setup Intel driver and add Backlight option to respective X-Org configuration file:

/etc/X11/xorg.conf.d/10-backlight.conf
Section "Device" 
        Identifier "Card0" 
        Driver     "intel" 
        Option     "Backlight"  "intel_backlight" 
        BusID      "PCI:0:2:0" 
EndSection

Touchpad troubles

You may face a problem when the kernel sees 2 touchpad devices if you have multiple touchpad devices displayed in libinput list-devices Try to add i8042.noaux kernel param

TPM issues

BIOS used in this model does not allow enabling SHA256 PCR bank, all measurements are done to SHA1 PCR bank only.