... text ...
For function reference and examples we assume, that we imported systeminformation as follows:
const si = require('systeminformation');
Detected PCI Devices
All functions in this section return a promise or can be called with a callback function (parameter cb in the function reference)
| Function | Result object | Linux | BSD | Mac | Win | Sun | Comments |
|---|---|---|---|---|---|---|---|
| si.pci(cb) | [{...}] | X | X | X | pci information | ||
| slot | X | X | slot name | ||||
| bus | X | X | bus address | ||||
| type | X | X | X | device class, e.g. 'VGA compatible controller' | |||
| vendor | X | X | vendor name | ||||
| vendorId | X | X | X | PCI vendor id | |||
| model | X | X | X | device model / name | |||
| deviceId | X | X | X | PCI device id | |||
| subVendorId | X | X | X | subsystem vendor id | |||
| subDeviceId | X | X | X | subsystem device id | |||
| revision | X | X | X | revision | |||
| driver | X | X | kernel driver / service in use | ||||
Example
[
{
slot: '',
bus: '00:02.0',
type: 'VGA compatible controller',
vendor: 'Intel Corporation',
vendorId: '8086',
model: 'AlderLake-S GT1',
deviceId: '4680',
subVendorId: '1458',
subDeviceId: 'd000',
revision: '0c',
driver: 'i915'
}
]
|
|||||||