Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/muntashirakon/dpcimanager
Simple OS X app for viewing PCI hardware info
https://github.com/muntashirakon/dpcimanager
dpcimanager dspci lspci pci pci-id
Last synced: about 1 month ago
JSON representation
Simple OS X app for viewing PCI hardware info
- Host: GitHub
- URL: https://github.com/muntashirakon/dpcimanager
- Owner: MuntashirAkon
- Created: 2018-08-18T10:41:06.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-06-14T06:53:00.000Z (over 5 years ago)
- Last Synced: 2024-10-29T18:38:43.941Z (about 2 months ago)
- Topics: dpcimanager, dspci, lspci, pci, pci-id
- Language: Objective-C
- Size: 889 KB
- Stars: 133
- Watchers: 12
- Forks: 22
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# DPCIManager
Simple OS X app for viewing PCI hardware infoThe [original source code](https://sourceforge.net/projects/dpcimanager) was from @phpdev32
### Binaries
You can find the [latest binary](https://github.com/MuntashirAkon/DPCIManager/releases/latest)
in the [release](https://github.com/MuntashirAkon/DPCIManager/releases) section.Old binaries can be found here: https://sourceforge.net/projects/dpcimanager/files
**NOTE:** The old binary files contain `DirectHW.kext` which might lead your antivirus program to believe that this application contains a virus. Please white-list this app in your antivirus program.
### Usage (for `dspci`)
If you're running version `1.6`, see usage [here](https://github.com/MuntashirAkon/DPCIManager/blob/e302cd9ce6f62d90d5da627cccc14cb088696444/README.md#usage-for-dspci).As of version `1.7`, you can see usage by running:
```sh
dspci --help
```#### JSON Schema for default JSON output
For `1.6`, see [old schema](https://github.com/MuntashirAkon/DPCIManager/blob/e302cd9ce6f62d90d5da627cccc14cb088696444/README.md#json-schema).An output contains an array of objects which have the following attributes.
For understanding JSON schema easily, I've used . (dot) for objects and [] (square brackets) for arrays:* `BDF`: (String) Bus number, Device number, Function number (Format `B:D.F`)
* `Class`: (Object) Device's class
- `Class.ClassName`: (String) Device's class name
- `Class.SubclassName`: (String) Device's subclass name
- `Class.ID`: (Hex String) Device's class code
* `Info`: (Object) Device info
- `Info.Name`: (String) Device's name
- `Info.Vendor`: (String) Device's vendor
* `ID`: (Object) Device's full ID
- `ID.VendorID`: (Hex String) Device's vendor ID
- `ID.DeviceID`: (Hex String) Device's ID
* `SubsysID`: (Object) Device's subsystem ID
- `SubsysID.VendorID`: (Hex String) Subsystem's vendor ID
- `SubsysID.DeviceID`: (Hex String) Subsystem's ID
* `Rev`: (Hex String) Revision#### Example Output
```json
[
{
"Info" : {
"Name" : "Wireless 3165",
"Vendor" : "Intel Corporation"
},
"ID" : {
"VendorID" : "8086",
"DeviceID" : "3165"
},
"SubsysID" : {
"VendorID" : "8086",
"DeviceID" : "4410"
},
"Rev" : "79",
"BDF" : "01:00.0",
"Class" : {
"ID" : "0280",
"ClassName" : "Network controller",
"SubclassName" : "Network controller"
}
},
{
"Info" : {
"Name" : "RTL810xE PCI Express Fast Ethernet controller",
"Vendor" : "Realtek Semiconductor Co., Ltd."
},
"ID" : {
"VendorID" : "10ec",
"DeviceID" : "8136"
},
"SubsysID" : {
"VendorID" : "1028",
"DeviceID" : "0767"
},
"Rev" : "07",
"BDF" : "02:00.0",
"Class" : {
"ID" : "0200",
"ClassName" : "Network controller",
"SubclassName" : "Ethernet controller"
}
}
]
```### License
- GPLv2