参考:计算机硬件的相关信息
lspci - list all PCI devices:列出机器中的PCI设备(声卡、显卡、Modem、网卡、USB、主板集成设备也能列出来)
lspci 是读取hwdata数据库,hwdata由软件包hwdata提供
00:00.0 Host bridge: 英特尔 Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub (rev 03)
00:01.0 PCI bridge: 英特尔 Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express PCI Express Root Port (rev 03)
00:1b.0 Audio device: 英特尔 Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)
//声卡
00:1c.0 PCI bridge: 英特尔 Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)
00:1c.1 PCI bridge: 英特尔 Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)
00:1c.2 PCI bridge: 英特尔 Corporation 82801G (ICH7 Family) PCI Express Port 3 (rev 02)
00:1d.0 USB Controller: 英特尔 Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: 英特尔 Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: 英特尔 Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 02)
00:1d.3 USB Controller: 英特尔 Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 02)
00:1d.7 USB Controller: 英特尔 Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)
//USB接口
00:1e.0 PCI bridge: 英特尔 Corporation 82801 Mobile PCI Bridge (rev e2)
00:1f.0 ISA bridge: 英特尔 Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)
00:1f.1 IDE interface: 英特尔 Corporation 82801G (ICH7 Family) IDE Controller (rev 02)
00:1f.2 IDE interface: 英特尔 Corporation 82801GBM/GHM (ICH7 Family) SATA IDE Controller (rev 02)
00:1f.3 SMBus: 英特尔 Corporation 82801G (ICH7 Family) SMBus Controller (rev 02)
//SMBus
01:00.0 VGA compatible controller: ATI Technologies Inc Radeon HD 2400 XT
//显卡
02:00.0 Ethernet controller: Broadcom Corporation NetLink BCM5787M Gigabit Ethernet PCI Express (rev 02)
//网卡,非电脑集成的
03:00.0 Network controller: Broadcom Corporation BCM4311 802.11b/g WLAN (rev 01)
//无线网卡
0a:06.0 FireWire (IEEE 1394): O2 Micro, Inc. Firewire (IEEE 1394) (rev 02)
//1394接口信息
0a:06.2 SD Host controller: O2 Micro, Inc. Integrated MMC/SD Controller (rev 02)
0a:06.3 Mass storage controller: O2 Micro, Inc. Integrated MS/xD Controller (rev 01)
lspci 两个常用的参数: -b、-v(查看更详细的内容,如:irq中断情况)
linux对硬件的识别是以芯片组的厂商为依据的,而非硬件品牌,lspci后,可根据设备信息解决相关问题.
|