硬件配置
厂商参数
小米笔记本 Air 13.3” (2017) 指纹版
- Intel Core i5-7200u
- Samsung DDR4 2133MHz 8GB
- Samsung PCIe SSD 256GB
- NVIDIA GeForce MX150 2GB
- Intel AC8265
PCI
00:00.0 Host bridge: Intel Corporation Xeon E3-1200 v6/7th Gen Core Processor Host Bridge/DRAM Registers (rev 02)
00:02.0 VGA compatible controller: Intel Corporation HD Graphics 620 (rev 02)
00:14.0 USB controller: Intel Corporation Sunrise Point-LP USB 3.0 xHCI Controller (rev 21)
00:15.0 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #0 (rev 21)
00:15.1 Signal processing controller: Intel Corporation Sunrise Point-LP Serial IO I2C Controller #1 (rev 21)
00:16.0 Communication controller: Intel Corporation Sunrise Point-LP CSME HECI #1 (rev 21)
00:17.0 SATA controller: Intel Corporation Sunrise Point-LP SATA Controller [AHCI mode] (rev 21)
00:1c.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #1 (rev f1)
00:1c.4 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #5 (rev f1)
00:1d.0 PCI bridge: Intel Corporation Sunrise Point-LP PCI Express Root Port #9 (rev f1)
00:1f.0 ISA bridge: Intel Corporation Sunrise Point-LP LPC Controller (rev 21)
00:1f.2 Memory controller: Intel Corporation Sunrise Point-LP PMC (rev 21)
00:1f.3 Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)
00:1f.4 SMBus: Intel Corporation Sunrise Point-LP SMBus (rev 21)
01:00.0 3D controller: NVIDIA Corporation GP108M [GeForce MX150] (rev a1)
02:00.0 Network controller: Intel Corporation Wireless 8265 / 8275 (rev 78)
03:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller SM961/PM961
安装过程
准备
镜像
硬盘空间
这次是从 Windows Filesystem 里 shrink 出来的
UEFI 设置
- 关闭 Secure Boot
- 配置 rEFInd
基础环境
具体参考 Arch Linux Installation Guide
注意事项
- 没有 USB 网卡可以用机器上的 Intel AC8265,安装
wireless_tools
和wpa_supplicant
,具体参考 Wireless Network Configuration - 需要挂载的硬盘是 nvme0n1
- pacstrap 之前先更改镜像源
- 顺便把 git、curl、vim、htop 等基础软件装上
- 建议开启 ssh 服务:
systemctl enable sshd
桌面环境
显卡驱动
直接禁用掉 NVIDIA GeForce MX150,用 Intel HD Graphics 620 渲染,具体参考 Kernel modules#Blacklisting
Intel HD Graphics 620
安装 Intel 显卡驱动 xf86-video-intel
NVIDIA GeForce MX150
编辑 /etc/modprobe.d/nouveau.conf
blacklist nouveau
blacklist nvidia
安装 bbswitch
触控板
安装触控板驱动 xf86-input-libinput
Xorg
具体参考 Xorg
安装 xorg
GNOME
具体参考 GNOME
- 安装
gnome
- enable GDM:
systemctl enable gdm.service
- 安装
networkmanager
- enable NetworkManager:
systemctl enable NetworkManager.service
- enable Bluetooth:
systemctl enable bluetooth.service
配置完毕
重启之后 GNOME 基础桌面环境就起来了
以下组件正常工作:
- 外接显示器、内建显示器
- 键盘
- FN 键
- 触摸板
- 摄像头
- 音频
- Bluetooth
- Wi-Fi
以下组件无法工作:
- 指纹传感器