Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
65 commits
Select commit Hold shift + click to select a range
85b4679
Logo: fix Manjaro Linux
CarterLi May 14, 2024
8c7edf4
Bios (Linux): detect boot manager & secure boot
CarterLi May 15, 2024
06a8f12
Bios (Windows): detect secure boot state & boot manager
CarterLi May 15, 2024
7c03fc1
Bios: move bootmgr detection to a new module
CarterLi May 15, 2024
445dd94
Bootmgr: add new module
CarterLi May 15, 2024
49080c5
Bootmgr (FreeBSD): add support
CarterLi May 16, 2024
b2ea5d8
Bootmgr: reuse shared code
CarterLi May 16, 2024
72138db
Bootmgr (macOS): add support
CarterLi May 16, 2024
462c3b0
Bios / Bootmgr: update descriptions
CarterLi May 16, 2024
b6a703b
Logo (builtin): Add SpoinkOS Logo [FIXED!] (#925)
May 16, 2024
60fa794
Logo (Builtin): fix build
CarterLi May 16, 2024
bc76220
Doc: update JSON schema [ci skip]
CarterLi May 16, 2024
b3886c6
Doc: update FAQ section [ci skip]
CarterLi May 16, 2024
5ea2b2e
Doc: update FAQ [ci skip]
CarterLi May 16, 2024
def7585
Doc: update FAQ [ci skip]
CarterLi May 16, 2024
b4a6606
Doc: update FAQ [ci skip]
CarterLi May 16, 2024
06b2ff9
Add Loc-OS Linux support (#926)
Anonyzard May 17, 2024
965ab1a
Packages: don't break existing config
CarterLi May 17, 2024
289d03c
Kernel (Windows): detect old release code name for Windows 10
CarterLi May 17, 2024
02e5232
TerminalShell: ignore clifm
CarterLi May 17, 2024
1421627
CPU (Linux): detect core count for different core types
CarterLi May 17, 2024
ab2268a
CPU (macOS): detect core count for different core types
CarterLi May 17, 2024
62bf3ec
Util (Windows): add `nt.h` and use it
CarterLi May 17, 2024
0b94ff5
CPU (Windows): detect core count of different core types
CarterLi May 17, 2024
eda9496
GPU (Windows): try removing limitation
CarterLi May 17, 2024
1118c57
Logo (Builtin): Added "Furreto Linux" support (#927)
furretpaws May 17, 2024
90a242a
CPU (BSD): detect max / min frequency; detect core count of different…
CarterLi May 18, 2024
92abf3e
TerminalShell (Linux): ignore valgrind
CarterLi May 17, 2024
fd16e69
CPU (macOS): fix core count detection
CarterLi May 17, 2024
b79c47c
CPU (BSD): fix max freq detection
CarterLi May 17, 2024
5078c8d
Revert "GPU (Windows): try removing limitation"
CarterLi May 18, 2024
e9a44f7
Bootmgr (Android): fix compiling
CarterLi May 18, 2024
c763896
Logo (builtin): Fix TorizonCore logo colors (#934)
microhobby May 18, 2024
c04c040
Wifi (FreeBSD): fix bssid & status detection
CarterLi May 18, 2024
4ffa0ff
Disk (FreeBSD): ensure createTime is inited
CarterLi May 18, 2024
ed02845
OS (Linux): better code name detection
CarterLi May 18, 2024
15766f5
Disk (BSD): dont set createTime if stat fails to detect it
CarterLi May 18, 2024
45446c1
Bootmgr (FreeBSD): silence compiler warnings
CarterLi May 18, 2024
9263905
CPU (FreeBSD): fix core count detection
CarterLi May 18, 2024
f9e0efb
Smbios: improve SMBIOS data reading code
CarterLi May 18, 2024
7946e69
CPU: print core count for different core types
CarterLi May 18, 2024
d88e2ee
CPU (macOS): fix compiling
CarterLi May 18, 2024
14969b3
CPU (Windows): fix silly mistake
CarterLi May 18, 2024
758ddae
macOS: Add support for old MacOS version (#936)
niu541412 May 19, 2024
4f1cb77
OS (Linux): fix `BUILD_ID` not parsed
CarterLi May 19, 2024
1d95f9b
CMakeLists: unbreak build with GCC on macOS (#941)
barracuda156 May 19, 2024
27aa5c0
opencl.c: unbreak build on macOS with no OpenCL support (#940)
barracuda156 May 19, 2024
09ffd32
GPU (Linux): improve Intel GPU detection code
CarterLi May 19, 2024
e9b535d
GPU (Linux): improve perf
CarterLi May 19, 2024
3571d92
CPU (Linux): take `--cpu-freq-ndigits` into account in `--cpu-format`
CarterLi May 19, 2024
1b4fc38
GPU (Linux): detect drm driver version
CarterLi May 19, 2024
81485ba
CPU: better compatibility for Intel CPUs
CarterLi May 19, 2024
aba2112
Doc: update README [ci skip]
CarterLi May 19, 2024
1619f0a
GPU (Linux): fix memory leaks
CarterLi May 20, 2024
c2eaea3
Logo (Builtin): fix KDE neon
CarterLi May 20, 2024
10ca776
GPU (Linux): detect GPU core count and freq for asahi linux
CarterLi May 20, 2024
a8b734c
GPU: change option `--gpu-force-vulkan` to `--gpu-detection-method`
CarterLi May 20, 2024
264b679
CPU (Linux): detect bios limited frequency and print it by default
CarterLi May 20, 2024
bb10e1c
Doc: update help message of `--gpu-detection-method`
CarterLi May 20, 2024
d9f1db1
Completions (Fish): disable enum value suggestion
CarterLi May 20, 2024
714b88c
Packages (Linux): try fixing nix-user detection
CarterLi May 20, 2024
7af9cab
CI: try fixing Win32 build
CarterLi May 20, 2024
188b6ab
Release: v2.13.0
CarterLi May 20, 2024
302716f
GPU: silence compiler warnings
CarterLi May 20, 2024
8b43e33
GPU (Linux): silence compiler warnings
CarterLi May 20, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 2 additions & 5 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ assignees: ''

---

Be sure to read [FAQ](https://github.com/fastfetch-cli/fastfetch?tab=readme-ov-file#faq) before submitting a new issue.

<!-- We will try hard to solve the issue. However since platforms and hardwares vary greatly, it can be hard to find the root cause is. Providing following information may help us greatly. Thanks in advance -->

# General description of bug:
Expand Down Expand Up @@ -74,10 +76,5 @@ Use `time fastfetch --stat` to show time usage for each module.

## If fastfetch behaves incorrectly on shell starting

<!-- NOTE for zsh / p10k users:
There are known incompatibility between fastfetch and p10k instant prompt.
The p10k doc clearly states that you should NOT print anything to stdout after p10k-instant-prompt is initialized.
You should either put `fastfetch` before initialization of p10k-instant-prompt (recommended), remove it or use `fastfetch --pipe false` -->

* The bug is reproduceable with fresh / clean shell configuration (i.e. `fastfetch` is the single line of `.zshrc` or `~/.config/fish/config.fish`):
* Does `sleep 1` before running `fastfetch` work?
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -484,7 +484,7 @@ jobs:
with:
msystem: CLANG32
update: true
install: git mingw-w64-clang-i686-7zip mingw-w64-clang-i686-cmake mingw-w64-clang-i686-clang mingw-w64-clang-i686-vulkan-loader mingw-w64-clang-i686-vulkan-headers mingw-w64-clang-i686-opencl-icd
install: git p7zip mingw-w64-clang-i686-cmake mingw-w64-clang-i686-clang mingw-w64-clang-i686-vulkan-loader mingw-w64-clang-i686-vulkan-headers mingw-w64-clang-i686-opencl-icd

- name: print msys version
run: uname -a
Expand Down
37 changes: 37 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,39 @@
# 2.13.0

Changes:
* Option `--gpu-force-vulkan <?bool>` has been changed to `--gpu-detection-method <enum>`
* Use `--gpu-detection-method vulkan` to get the old behavior
* See `fastfetch -h gpu-detection-method` for detail
* In Linux, BIOS limited CPU frequency is printed by default to match the behavior of neofetch (CPU, Linux, #947)

Features:
* Add new module `Bootmgr` which prints information of stage 2 bootloader (grub, system-boot, etc)
* Requires root permission to work on Windows and FreeBSD
* Requires booting in UEFI mode
* Add package manager lpkg and lpkg-build support (Packages, Linux)
* Improve macOS 10.13 compatibility (macOS)
* Detect core count for performance / efficiency cores (CPU)
* Test it with `fastfetch -s cpu --cpu-format '{9}'`
* Support min / max frequency and physical core count detection in FreeBSD, if kernel supports it (CPU, FreeBSD)
* Detect DRM driver version if DRM detection method is used (GPU, Linux)

Bugfixes:
* Don't detect `clifm` and `valgrind` as a terminal (Terminal, Linux)
* Improve stability (PhysicalMemory, FreeBSD)
* Fix bssid & status detection (Wifi, FreeBSD)
* Ensure createTime is correctly initialized (Disk, FreeBSD / macOS)
* Fix `--cpu-freq-ndigits` not working if `--cpu-format` is used
* Fix `nix-user` package count detection (Packages, Linux)
* Fix some memory leaks

Logos:
* Fix Manjaro logo not displayed
* Add SpoinkOS
* Add Loc-OS
* Add Furreto Linux
* Fix TorizonCore logo colors
* Fix KDE neon logo not displayed

# 2.12.0

Changes:
Expand All @@ -20,6 +56,7 @@ Features:
* Add option `--localip-show-all-ips` to show all IPs assigned to the same interface (LocalIP)
* Default to `false`
* Improve compatibility with `(*term)` (#909, Terminal, macOS)
* Support GPU core count and frequency detection for Asahi Linux (GPU, Linux)

Bugfixes:
* Rename option `--temperature-unit` to `--temp-unit` as documented in help messages
Expand Down
11 changes: 9 additions & 2 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
cmake_minimum_required(VERSION 3.12.0) # target_link_libraries with OBJECT libs & project homepage url

project(fastfetch
VERSION 2.12.0
VERSION 2.13.0
LANGUAGES C
DESCRIPTION "Fast neofetch-like system information tool"
HOMEPAGE_URL "https://github.com/fastfetch-cli/fastfetch"
Expand Down Expand Up @@ -115,7 +115,7 @@ endif()

if(WIN32)
set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} -Wl,--tsaware -Wl,--build-id -Wl,--subsystem,console:6.1,--major-os-version,6,--minor-os-version,1")
elseif(APPLE)
elseif(APPLE AND CMAKE_C_COMPILER_ID MATCHES "Clang")
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fobjc-arc")
endif()

Expand Down Expand Up @@ -284,6 +284,7 @@ set(LIBFASTFETCH_SRC
src/common/properties.c
src/common/settings.c
src/common/temps.c
src/detection/bootmgr/bootmgr.c
src/detection/chassis/chassis.c
src/detection/cpu/cpu.c
src/detection/cpuusage/cpuusage.c
Expand Down Expand Up @@ -314,6 +315,7 @@ set(LIBFASTFETCH_SRC
src/modules/bios/bios.c
src/modules/bluetooth/bluetooth.c
src/modules/board/board.c
src/modules/bootmgr/bootmgr.c
src/modules/brightness/brightness.c
src/modules/break/break.c
src/modules/camera/camera.c
Expand Down Expand Up @@ -394,6 +396,7 @@ if(LINUX)
src/detection/battery/battery_linux.c
src/detection/bios/bios_linux.c
src/detection/board/board_linux.c
src/detection/bootmgr/bootmgr_linux.c
src/detection/brightness/brightness_linux.c
src/detection/chassis/chassis_linux.c
src/detection/cpu/cpu_linux.c
Expand Down Expand Up @@ -462,6 +465,7 @@ elseif(ANDROID)
src/detection/bios/bios_android.c
src/detection/bluetooth/bluetooth_nosupport.c
src/detection/board/board_android.c
src/detection/bootmgr/bootmgr_nosupport.c
src/detection/brightness/brightness_nosupport.c
src/detection/chassis/chassis_nosupport.c
src/detection/cpu/cpu_linux.c
Expand Down Expand Up @@ -520,6 +524,7 @@ elseif(BSD)
src/detection/bios/bios_bsd.c
src/detection/bluetooth/bluetooth_linux.c
src/detection/board/board_bsd.c
src/detection/bootmgr/bootmgr_bsd.c
src/detection/brightness/brightness_bsd.c
src/detection/chassis/chassis_bsd.c
src/detection/cpu/cpu_bsd.c
Expand Down Expand Up @@ -588,6 +593,7 @@ elseif(APPLE)
src/detection/bios/bios_apple.c
src/detection/bluetooth/bluetooth_apple.m
src/detection/board/board_apple.c
src/detection/bootmgr/bootmgr_apple.c
src/detection/brightness/brightness_apple.c
src/detection/chassis/chassis_nosupport.c
src/detection/cpu/cpu_apple.c
Expand Down Expand Up @@ -647,6 +653,7 @@ elseif(WIN32)
src/detection/bios/bios_windows.c
src/detection/bluetooth/bluetooth_windows.c
src/detection/board/board_windows.c
src/detection/bootmgr/bootmgr_windows.c
src/detection/brightness/brightness_windows.cpp
src/detection/chassis/chassis_windows.c
src/detection/cpu/cpu_windows.c
Expand Down
87 changes: 83 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -101,11 +101,90 @@ Logos can be heavily customized too; see the [logo documentation](https://github

## FAQ

Q: Why do you need a very performant version of neofetch?
> I like putting neofetch in my ~/.bashrc to have a system overview whenever I use the terminal, but the slow speed annoyed me, so I created this. Also neofetch didn't output everything correctly (e.g Font is displayed as "[Plasma], Noto Sans, 10 [GTK2/3]") and writing my own tool gave me the possibility to fine tune it to run perfectly on at least my configuration.
### Q: Neofetch is good enough. Why do I need fastfetch?

Q: It does not display [*] correctly for me, what can I do?
> This is most likely because your system is not implemented (yet). At the moment I am focusing more on making the core app better, than adding more configurations. Feel free to open a pull request if you want to add support for your configuration
1. Fastfetch is actively maintained.
2. Fastfetch is faster. As the name suggests.
3. Fastfetch is more feature-rich. By default fastfetch only has a few modules enabled. Use `fastfetch -c all` to find what you want.
4. Fastfetch is more configurable. You can find more information in the Wiki: <https://github.com/fastfetch-cli/fastfetch/wiki/Configuration>
5. Fastfetch is more polished. For example, neofetch prints `555MiB` in `Memory` module and `23G` in `Disk` module (notibily the difference of `MiB` and `G`), while fastfetch prints `555.00 MiB` and `22.97 GiB` respectively.
6. Fastfetch is more accurate. For example, [neofetch never actually supports Wayland protocol](https://github.com/dylanaraps/neofetch/pull/2395).

### Q: Fastfetch shows my local IP address. It leaks my privacy!

A local IP (10.x.x.x, 172.x.x.x, 192.168.x.x) has nothing to do with privacy. It only makes sense if you are on the same network, for example, if you connect to the same Wi-Fi network.

Actually the `Local IP` module is the most useful module for me personally. I (@CarterLi) have several VMs installed to test fastfetch and often need to SSH into them. I have fastfetch running on shell startup and I never need to type `ip addr` manually.

If you really don't like it, you can disable the `Local IP` module in `config.jsonc`.

### Q: Where is the config file? I can't find it.

`Fastfetch` don't generate config file automatically. You can use `fastfetch --gen-config` to generate one. The config file will be saved in `~/.config/fastfetch/config.jsonc` by default. See [Wiki for detail](https://github.com/fastfetch-cli/fastfetch/wiki/Configuration).

### Q: The configuration is so complex. Where is the documentation?

Fastfetch uses JSON (with comments) for configuration. I suggest you use an IDE with JSON schema support (like VSCode) to edit it.

Alternatively, you can refer to the presets in [`presets` directory](https://github.com/fastfetch-cli/fastfetch/tree/dev/presets).

### Q: I WANT THE DOCUMENTATION!

[Here is the documentation](https://github.com/fastfetch-cli/fastfetch/wiki/Json-Schema). It is generated from [JSON schema](https://github.com/fastfetch-cli/fastfetch/blob/dev/doc/json_schema.json) but you won't like it.

### Q: How can I customize the module output?

Fastfetch uses `format` to generate output. For example to make `GPU` module show GPU name only and ignore other information, you can use

```jsonc
{
"modules": [
{
"type": "gpu",
"format": "{2}" // See `fastfetch -h gpu-format` for detail
}
]
}
```

which is equivalent to `fastfetch -s gpu --gpu-format '{2}'`

See `fastfetch -h format` for basic usage. For module specific formattion, see `fastfetch -h <module>-format`

### Q: I have my own ascii-art / image file. How can I show it with fastfetch?

Try `fastfetch -l /path/to/logo`. See [logo documentation](https://github.com/fastfetch-cli/fastfetch/wiki/Logo-options) for detail.

### Q: Fastfetch runs in white and black on shell startup. Why?

This issue usually happens when using fastfetch with `p10k`. There are known incompatibility between fastfetch and p10k instant prompt.
The p10k doc clearly states that you should NOT print anything to stdout after `p10k-instant-prompt` is initialized. You should either put `fastfetch` before initialization of `p10k-instant-prompt` (recommended)

You can always use `fastfetch --pipe false` to force fastfetch running in colorful mode.

### Q: I want feature A / B / C. Will fastfetch support it?

Fastfetch is a system information tool. We only accept hardware or system level software feature requests. For most personal uses, I recommend using `Command` module to detect it yourself, which can be used to grab output from a custom shell script:

```jsonc
// This module shows the default editor
{
"modules": [
{
"type": "command",
"text": "$EDITOR --version | head -1",
"key": "Editor"
}
]
}
```

Otherwise, open a feature request in [GitHub Issues](https://github.com/fastfetch-cli/fastfetch/issues).

### Q: I have questions. Where can I get help?

* For usage questions, please start a discussion in [GitHub Discussions](https://github.com/fastfetch-cli/fastfetch/discussions).
* For possible bugs, please open an issue in [GitHub Issues](https://github.com/fastfetch-cli/fastfetch/issues). Be sure to fill the bug-report template carefully for developers to investigate.

## Star History

Expand Down
2 changes: 1 addition & 1 deletion completions/bash
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ __fastfetch_completion()
"--disk-show-subvolumes"
"--gpu-hide-integrated"
"--gpu-hide-discrete"
"--gpu-force-vulkan"
"--gpu-force-method"
"--disk-show-unknown"
"--bluetooth-show-disconnected"
)
Expand Down
3 changes: 1 addition & 2 deletions completions/fish
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,7 @@ string match -r -a -g "^###> ?(.*)" < (status -f) | string collect | python3 | s
###> elif type == 'config':
###> print(f'{command_prefix} -x -a "(__fastfetch_complete_config)"')
###> elif type == 'enum':
###> temp: str = ' '.join(map(lambda x: f"{x[0]}\\t{x[1]}", flag["arg"]["enum"].items()))
###> print(f'{command_prefix} -x -a "{temp}"')
###> print(f'{command_prefix} -x -a "{' '.join(flag["arg"]["enum"])}"')
###> elif type == 'logo':
###> print(f'{command_prefix} -x -a "(__fastfetch_complete_logo)"')
###> elif type == 'structure':
Expand Down
26 changes: 21 additions & 5 deletions doc/json_schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -680,6 +680,7 @@
"bios",
"bluetooth",
"board",
"bootmgr",
"break",
"brightness",
"camera",
Expand Down Expand Up @@ -713,6 +714,7 @@
"os",
"packages",
"physicaldisk",
"physicalmemory",
"player",
"poweradapter",
"processes",
Expand Down Expand Up @@ -771,12 +773,16 @@
"anyOf": [
{
"const": "bios",
"description": "Print BIOS name, version, release date, etc"
"description": "Print information of 1st-stage bootloader (name, version, release date, etc)"
},
{
"const": "board",
"description": "Print mather board name and other info"
},
{
"const": "bootmgr",
"description": "Print information of 2nd-stage bootloader (name, firmware, etc)"
},
{
"const": "camera",
"description": "Print available cameras"
Expand Down Expand Up @@ -829,6 +835,10 @@
"const": "os",
"description": "Print operating system name and version"
},
{
"const": "physicalmemory",
"description": "Print system physical memory devices"
},
{
"const": "player",
"description": "Print music player name"
Expand Down Expand Up @@ -1445,10 +1455,16 @@
"type": "boolean",
"default": false
},
"forceVulkan": {
"description": "Force using vulkan to detect GPUs, which support video memory usage detection with `--allow-slow-operations`",
"type": "boolean",
"default": false
"detectionMethod": {
"description": "Force using a specified method to detect GPUs",
"type": "string",
"enum": [
"auto",
"pci",
"vulkan",
"opengl"
],
"default": "auto"
},
"hideType": {
"description": "Specify the type of GPUs should not be printed",
Expand Down
1 change: 1 addition & 0 deletions src/common/modules.c
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ static FFModuleBaseInfo* B[] = {
(void*) &instance.config.modules.bios,
(void*) &instance.config.modules.bluetooth,
(void*) &instance.config.modules.board,
(void*) &instance.config.modules.bootmgr,
(void*) &instance.config.modules.break_,
(void*) &instance.config.modules.brightness,
NULL,
Expand Down
17 changes: 11 additions & 6 deletions src/data/help.json
Original file line number Diff line number Diff line change
Expand Up @@ -1197,13 +1197,18 @@
}
},
{
"long": "gpu-force-vulkan",
"desc": "Force using vulkan to detect GPUs",
"remark": "Vulkan supports video memory usage detection",
"long": "gpu-detection-method",
"desc": "Force using a specified method to detect GPUs",
"remark": "Methods are used in this order: DRM (Linux only) -> PCI (Linux, FreeBSD and other platform specific methods) -> Vulkan -> OpenGL",
"arg": {
"type": "bool",
"optional": true,
"default": false
"type": "enum",
"enum": {
"auto": "Use DRM if available, which is most feature-rich. Requires proper DRM driver installed",
"pci": "Search PCI devices, which do not requires any driver installed",
"vulkan": "Use Vulkan API. Slow and requires vulkan driver installed",
"opengl": "Use OpenGL API. Slow and only detects one GPU"
},
"default": "auto"
}
},
{
Expand Down
11 changes: 1 addition & 10 deletions src/detection/battery/battery_windows.c
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
#include "battery.h"

#include "common/io/io.h"
#include "util/windows/nt.h"
#include "util/windows/unicode.h"
#include "util/mallocHelper.h"
#include "util/smbiosHelper.h"
Expand All @@ -12,16 +13,6 @@
#include <devguid.h>
#include <winternl.h>

NTSYSCALLAPI
NTSTATUS
NTAPI
NtPowerInformation(
IN POWER_INFORMATION_LEVEL InformationLevel,
IN PVOID InputBuffer OPTIONAL,
IN ULONG InputBufferLength,
OUT PVOID OutputBuffer OPTIONAL,
IN ULONG OutputBufferLength);

static inline void wrapSetupDiDestroyDeviceInfoList(HDEVINFO* hdev)
{
if(*hdev)
Expand Down
2 changes: 1 addition & 1 deletion src/detection/bios/bios_linux.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

#include <stdlib.h>

const char* ffDetectBios(FFBiosResult* bios)
const char *ffDetectBios(FFBiosResult *bios)
{
ffGetSmbiosValue("/sys/devices/virtual/dmi/id/bios_date", "/sys/class/dmi/id/bios_date", &bios->date);
ffGetSmbiosValue("/sys/devices/virtual/dmi/id/bios_release", "/sys/class/dmi/id/bios_release", &bios->release);
Expand Down
Loading