surface 有几款设备用了Marvell Avastar 88W8897无线网卡,这个网卡并不常见。
以下答案来自Gemini,亲测有效。请自行评估风险。
在 Debian 12 (Bookworm) 中,Marvell Avastar 88W8897 芯片(常见于 Surface Pro 3/4/Book 等设备)的内核驱动模块 mwifiex_pcie 已经包含在标准内核中,但你必须手动安装闭源固件(Firmware)才能让它工作。
由于 Debian 12 改变了软件源策略,你必须确保启用了 non-free-firmware 仓库。
1. 修改软件源列表
打开终端,编辑源列表文件:
Bash
sudo nano /etc/apt/sources.list
确保你的每一行源后面都包含了 non-free-firmware。例如,标准的 Debian 12 源应该看起来像这样(重点是最后那部分):
Plaintext
deb http://deb.debian.org/debian/ bookworm main contrib non-free non-free-firmware
deb-src http://deb.debian.org/debian/ bookworm main contrib non-free non-free-firmware
deb http://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware
deb-src http://security.debian.org/debian-security bookworm-security main contrib non-free non-free-firmware
deb http://deb.debian.org/debian/ bookworm-updates main contrib non-free non-free-firmware
deb-src http://deb.debian.org/debian/ bookworm-updates main contrib non-free non-free-firmware
修改完成后,按 Ctrl+O 保存,Ctrl+X 退出。
2. 安装固件包
更新源并安装 firmware-libertas 包,这个包包含了 88W8897 的固件:
Bash
sudo apt update
sudo apt install firmware-libertas
注:为了确保蓝牙也能正常工作,建议同时安装 firmware-misc-nonfree(如果尚未安装)。
3. 重启并验证
安装完成后,重启电脑:
Bash
sudo reboot