systeminformation: si.system() does not return `raspberry` on Raspberry Pi 4
Thanks for this great library! I have the following issue: si.system() does not return raspberry on Raspberry Pi 4
Steps to reproduce the behavior
- used function:
si.system() - code snippet
const si = require("systeminformation"); async function logSystemInformation () { try { const staticData = await si.system(); console.info(staticData); } catch (e) { console.error(e); } } logSystemInformation() - start app / code:
node test.js - See output/error
{ manufacturer: '', model: '', version: 'd03114', serial: '10000000XXXXXXXX', uuid: '', sku: '-', virtual: false }
Expected behavior
{
manufacturer: '',
model: '',
version: 'd03114',
serial: '10000000XXXXXXXX',
uuid: '',
raspberry: 'Raspberry Pi 4 Model B Rev 1.4',
sku: '-',
virtual: false
}
Environment
$ npx systeminformation info
┌─────────────────────────────────────────────────────────────────────────────────────────┐
│ SYSTEMINFORMATION Version: 5.21.22 │
└─────────────────────────────────────────────────────────────────────────────────────────┘
Operating System:
──────────────────────────────────────────────────────────────────────────────────────────
Platform : linux
Distro : Debian GNU/Linux
Release : 12
Codename : bookworm
Kernel : 6.1.0-rpi7-rpi-v8
Arch : arm64
Hostname : raspberrypi
Codepage : UTF-8
Build :
System:
──────────────────────────────────────────────────────────────────────────────────────────
Manufacturer :
Model :
Version : d03114
Virtual :
CPU:
──────────────────────────────────────────────────────────────────────────────────────────
Manufacturer : Sony UK
Brand : BCM2711
Family : Cortex-A72
Model : 3
Stepping : r0p3
Speed : 1.8
Cores : 4
PhysicalCores : 4
PerformanceCores : 4
EfficiencyCores :
Processors : 1
Socket : SOC
Additional context
When I run cat /proc/cpuinfo, I get this:
processor : 0
BogoMIPS : 108.00
Features : fp asimd evtstrm crc32 cpuid
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd08
CPU revision : 3
processor : 1
BogoMIPS : 108.00
Features : fp asimd evtstrm crc32 cpuid
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd08
CPU revision : 3
processor : 2
BogoMIPS : 108.00
Features : fp asimd evtstrm crc32 cpuid
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd08
CPU revision : 3
processor : 3
BogoMIPS : 108.00
Features : fp asimd evtstrm crc32 cpuid
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd08
CPU revision : 3
Revision : d03114
Serial : 10000000XXXXXXXX
Model : Raspberry Pi 4 Model B Rev 1.4
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 15 (5 by maintainers)
@KristjanESPERANTO thank you! I will have a look at it. As I am currently not in my office, I can check it in apron 1 week the earliest. I am pretty sure to find the reason and to provide a fix. Once again, thank you for your report and all provided information.
Same issue here, additionnally, not sending anything too with Rpi5
@sebhildebrandt It works 🚀 Thank you very much for this great library and your work! 😃
Having the same issue with a Raspberry Pi 5 with bookworm. It can’t detect that it’s a pi.