graphics() improved vendor, model parsing (linux), memLayout() DDR5 detection (windows)
This commit is contained in:
parent
1e3535fc85
commit
a131e11cda
@ -83,7 +83,7 @@ For major (breaking) changes - **version 4, 3 and 2** - see end of page.
|
||||
|
||||
| Version | Date | Comment |
|
||||
| ------- | ---------- | --------------------------------------------------------------------------------------------------- |
|
||||
| 5.20.1 | 2023-08-28 | `graphics()` improved vendor, model parsing (linux) `memLayout()` DDR5 detection (windows) |
|
||||
| 5.21.0 | 2023-08-28 | `graphics()` added subvendor (linux) `memLayout()` DDR5 detection (windows) |
|
||||
| 5.20.0 | 2023-08-25 | `mem()` added writenack and dirty (linux) |
|
||||
| 5.19.1 | 2023-08-23 | `wifiNetworks()` improved SSID parsing (macOS) |
|
||||
| 5.19.0 | 2023-08-22 | `currentLoad()` added steal and guest time (linux) |
|
||||
|
||||
@ -328,7 +328,8 @@ Full function reference with examples can be found at [https://systeminformation
|
||||
| --------------- | ------------------------- | ----- | --- | --- | --- | --- | ------------------------------------------- |
|
||||
| si.graphics(cb) | {...} | X | | X | X | | arrays of graphics controllers and displays |
|
||||
| | controllers[] | X | | X | X | | graphics controllers array |
|
||||
| | ...[0].vendor | X | | X | X | | e.g. ATI |
|
||||
| | ...[0].vendor | X | | X | X | | e.g. NVIDIA |
|
||||
| | ...[0].subvendor | X | | | | | e.g. Gigabyte |
|
||||
| | ...[0].vendorId | | | X | | | vendor ID |
|
||||
| | ...[0].model | X | | X | X | | graphics controller model |
|
||||
| | ...[0].deviceId | | | X | | | device ID |
|
||||
|
||||
@ -95,7 +95,17 @@
|
||||
<td>X</td>
|
||||
<td>X</td>
|
||||
<td></td>
|
||||
<td>e.g. ATI</td>
|
||||
<td>Chip manufacturer e.g. NVIDIA</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>...[0].subvendor</td>
|
||||
<td>X</td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td></td>
|
||||
<td>Subvendor e.g. Gigabyte</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
@ -649,4 +659,4 @@ si.graphics().then(data => console.log(data));</code></pre class="example">
|
||||
</script>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
</html>
|
||||
|
||||
@ -58,9 +58,9 @@
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th scope="row">5.20.1</th>
|
||||
<th scope="row">5.21.0</th>
|
||||
<td>2023-08-28</td>
|
||||
<td><span class="code">graphics()</span> improved parsing (linux) <span class="code">mamLayout()</span> DDR5 detection (windows)</td>
|
||||
<td><span class="code">graphics()</span> added subvendor (linux) <span class="code">mamLayout()</span> DDR5 detection (windows)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">5.20.0</th>
|
||||
|
||||
@ -170,7 +170,7 @@
|
||||
<img class="logo" src="assets/logo.png" alt="logo">
|
||||
<div class="title">systeminformation</div>
|
||||
<div class="subtitle"><span id="typed"></span> </div>
|
||||
<div class="version">New Version: <span id="version">5.20.1</span></div>
|
||||
<div class="version">New Version: <span id="version">5.21.0</span></div>
|
||||
<button class="btn btn-light" onclick="location.href='https://github.com/sebhildebrandt/systeminformation'">View on Github <i class=" fab fa-github"></i></button>
|
||||
</div>
|
||||
<div class="down">
|
||||
@ -212,7 +212,7 @@
|
||||
<div class="title">Downloads last month</div>
|
||||
</div>
|
||||
<div class="col-xl-4 col-lg-4 col-md-4 col-12">
|
||||
<div class="numbers">642</div>
|
||||
<div class="numbers">645</div>
|
||||
<div class="title">Dependents</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -204,6 +204,7 @@ function graphics(callback) {
|
||||
let controllers = [];
|
||||
let currentController = {
|
||||
vendor: '',
|
||||
subvendor: '',
|
||||
model: '',
|
||||
bus: '',
|
||||
busAddress: '',
|
||||
@ -292,9 +293,9 @@ function graphics(callback) {
|
||||
}
|
||||
}
|
||||
if (currentController.model && subsystem.indexOf(currentController.model) !== -1) {
|
||||
const vendor2 = subsystem.split(currentController.model)[0].trim();
|
||||
if (vendor2) {
|
||||
currentController.vendor += ', ' + vendor2;
|
||||
const subvendor = subsystem.split(currentController.model)[0].trim();
|
||||
if (subvendor) {
|
||||
currentController.subvendor = subvendor;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
1
lib/index.d.ts
vendored
1
lib/index.d.ts
vendored
@ -306,6 +306,7 @@ export namespace Systeminformation {
|
||||
|
||||
interface GraphicsControllerData {
|
||||
vendor: string;
|
||||
subvendor?: string;
|
||||
vendorId?: string;
|
||||
model: string;
|
||||
deviceId?: string;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user