fre*_*die 13 hardware linux pci
我怎样才能找出主板支持哪个 PCI 版本(2.0、2.3) - 即使对于没有连接任何卡的插槽也是如此。
lspci -vvv 似乎不显示没有卡的 PCI 插槽的信息。
eww*_*ite 16
你可以试试dmidecode
。我不再有很多带有标准 PCI 插槽的服务器,但输出如下所示。提供了未填充端口的信息:
Handle 0x0901, DMI type 9, 13 bytes
System Slot Information
Designation: PCI Slot 1
Type: 64-bit PCI-X
Current Usage: Available
Length: Long
ID: 1
Characteristics:
3.3 V is provided
Handle 0x0902, DMI type 9, 13 bytes
System Slot Information
Designation: PCI Slot 2
Type: 64-bit PCI-X
Current Usage: In Use
Length: Long
ID: 2
Characteristics:
3.3 V is provided
Handle 0x0903, DMI type 9, 13 bytes
System Slot Information
Designation: PCI-E Slot 3
Type: x4 PCI Express
Current Usage: Available
Length: Other
ID: 3
Characteristics:
3.3 V is provided
Handle 0x0904, DMI type 9, 13 bytes
System Slot Information
Designation: PCI-E Slot 4
Type: x4 PCI Express
Current Usage: In Use
Length: Other
ID: 4
Characteristics:
3.3 V is provided
Run Code Online (Sandbox Code Playgroud)
实际上lspci
能够向您显示有关您的 PCI 总线的信息,您可以使用这些信息来确定支持的版本。但它需要额外的步骤。
运行lspci
并查找包含类似PCI bridge:
. 在这些行中查找供应商名称后的数字。该数字很可能是您的 PCI 桥接芯片组的描述符,您可以使用您选择的搜索引擎查找并添加关键字“数据表”以查找 - 例如 - 来自制造商的列出其功能的 pdf。这包括支持的 pci 版本。
一个例子:
当我跑
% lspci | grep "PCI bridge"
Run Code Online (Sandbox Code Playgroud)
在我的机器上,这给了我两行:
00:01.0 PCI bridge: Intel Corporation 82855PM Processor to AGP Controller (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev 81)
Run Code Online (Sandbox Code Playgroud)
第二个看起来像我们的芯片,因为描述不包含 AGP ;-)
现在我搜索 vendorname:82801
和之后的数字datasheet
。这给了我从英特尔网站下载的 .pdf 文件。在该 PDF 中,我搜索specification
并找到了Supports PCI Rev 2.2 Specification
Tadaa,这是依赖于该总线控制器的所有端口的支持版本
dmidecode
当您需要有关电压或其他非标准功能(如 SMBus 支持)等信息时,它非常有用。