![lspci 显示没有名称的设备,但在具有相同内核的其他操作系统版本上确实如此](https://linux22.com/image/1185894/lspci%20%E6%98%BE%E7%A4%BA%E6%B2%A1%E6%9C%89%E5%90%8D%E7%A7%B0%E7%9A%84%E8%AE%BE%E5%A4%87%EF%BC%8C%E4%BD%86%E5%9C%A8%E5%85%B7%E6%9C%89%E7%9B%B8%E5%90%8C%E5%86%85%E6%A0%B8%E7%9A%84%E5%85%B6%E4%BB%96%E6%93%8D%E4%BD%9C%E7%B3%BB%E7%BB%9F%E7%89%88%E6%9C%AC%E4%B8%8A%E7%A1%AE%E5%AE%9E%E5%A6%82%E6%AD%A4.png)
安装内核为 5.13 的 Kubuntu 20.04 后,我发现lspci
无法识别设备。现在看起来是这样的:
$ lspci
0:00.0 Host bridge: Intel Corporation Device 9a14 (rev 01)
00:02.0 VGA compatible controller: Intel Corporation Device 9a49 (rev 01)
00:04.0 Signal processing controller: Intel Corporation Device 9a03 (rev 01)
00:06.0 PCI bridge: Intel Corporation Device 9a09 (rev 01)
00:07.0 PCI bridge: Intel Corporation Device 9a23 (rev 01)
00:07.2 PCI bridge: Intel Corporation Device 9a27 (rev 01)
00:08.0 System peripheral: Intel Corporation Device 9a11 (rev 01)
00:0a.0 Signal processing controller: Intel Corporation Device 9a0d (rev 01)
00:0d.0 USB controller: Intel Corporation Device 9a13 (rev 01)
00:0d.2 USB controller: Intel Corporation Device 9a1b (rev 01)
00:0d.3 USB controller: Intel Corporation Device 9a1d (rev 01)
00:12.0 Serial controller: Intel Corporation Device a0fc (rev 20)
00:14.0 USB controller: Intel Corporation Device a0ed (rev 20)
00:14.2 RAM memory: Intel Corporation Device a0ef (rev 20)
00:14.3 Network controller: Intel Corporation Device a0f0 (rev 20)
00:15.0 Serial bus controller [0c80]: Intel Corporation Device a0e8 (rev 20)
00:15.1 Serial bus controller [0c80]: Intel Corporation Device a0e9 (rev 20)
00:16.0 Communication controller: Intel Corporation Device a0e0 (rev 20)
00:19.0 Serial bus controller [0c80]: Intel Corporation Device a0c5 (rev 20)
00:19.1 Serial bus controller [0c80]: Intel Corporation Device a0c6 (rev 20)
00:1d.0 PCI bridge: Intel Corporation Device a0b3 (rev 20)
00:1f.0 ISA bridge: Intel Corporation Device a082 (rev 20)
00:1f.3 Multimedia audio controller: Intel Corporation Device a0c8 (rev 20)
00:1f.4 SMBus: Intel Corporation Device a0a3 (rev 20)
00:1f.5 Serial bus controller [0c80]: Intel Corporation Device a0a4 (rev 20)
值得注意的是,当我安装并测试内核为 5.13 的 Kubuntu 21.10 时,它们被正确识别。
可能出现什么问题?它会影响操作系统的运行吗?
答案1
没什么问题。21.10 版本有较新的软件包,其中包含人类可读的设备名称。这就是它为新硬件命名的原因。
名称存储在 中/usr/share/misc/pci.ids
。
您可以通过以下方式更新列表
sudo update-pciids
但是 Linux 内核并不依赖它。所以它不会影响操作系统的运行。