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?
Bluetooth 8087:0a2b Yes
Webcam 05c8:03b7 Yes
Wifi 8086:24fd Yes
GPU (Intel) 8086:5917 Yes
GPU (nvidia) 10de:1d12 Yes
Touchpad Yes
Keyboard Yes
TPM Yes
Fingerprint reader 04f3:0c1a Yes
SD-card reader 0bda:0129 Yes
Audio 8086:9d71 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.