-
-
Notifications
You must be signed in to change notification settings - Fork 315
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
si.system() does not return raspberry
on Raspberry Pi 4
#881
Comments
@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. |
Having the same issue with a Raspberry Pi 5 with bookworm. It can't detect that it's a pi. const { raspberry } = await systeminfo.system();
console.log(raspberry); // returns undefined $ cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
# ... $ cat /proc/cpuinfo
# ...
CPU part : 0xd0b
CPU revision : 1
Revision : c04170
Serial : fd2263ad97a4f1e2
Model : Raspberry Pi 5 Model B Rev 1.0 |
Same issue here, additionnally, not sending anything too with Rpi5 pi@raspberrypi-5:~ $ cat /proc/cpuinfo
processor : 0
BogoMIPS : 108.00
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asimddp
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x4
CPU part : 0xd0b
CPU revision : 1
processor : 1
BogoMIPS : 108.00
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asimddp
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x4
CPU part : 0xd0b
CPU revision : 1
processor : 2
BogoMIPS : 108.00
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asimddp
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x4
CPU part : 0xd0b
CPU revision : 1
processor : 3
BogoMIPS : 108.00
Features : fp asimd evtstrm aes pmull sha1 sha2 crc32 atomics fphp asimdhp cpuid asimdrdm lrcpc dcpop asimddp
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x4
CPU part : 0xd0b
CPU revision : 1
Revision : d04170
Serial : 9c69a2344e20a994
Model : Raspberry Pi 5 Model B Rev 1.0 pi@raspberrypi-5:~ $ cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/" pi@raspberrypi:/opt/squirrelserversmanager $ cat /proc/cpuinfo
processor : 0
BogoMIPS : 38.40
Features : fp asimd evtstrm crc32 cpuid
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd03
CPU revision : 4
processor : 1
BogoMIPS : 38.40
Features : fp asimd evtstrm crc32 cpuid
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd03
CPU revision : 4
processor : 2
BogoMIPS : 38.40
Features : fp asimd evtstrm crc32 cpuid
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd03
CPU revision : 4
processor : 3
BogoMIPS : 38.40
Features : fp asimd evtstrm crc32 cpuid
CPU implementer : 0x41
CPU architecture: 8
CPU variant : 0x0
CPU part : 0xd03
CPU revision : 4
Revision : a020d3
Serial : 0000000090f37455
Model : Raspberry Pi 3 Model B Plus Rev 1.3 pi@raspberrypi:/opt/squirrelserversmanager $ cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/" |
Toll, mal wieder auf ein totes Package gesetzt. :-( |
It's Open Source, you are free to fix this in your own fork 🤷 And please read the CODE_OF_CONDUCT before you comment again. |
Naja, bei 122 offenen Issues kann man schon mal die Tatsachen beim Namen nennen. |
Thanks for this great library! I have the following issue: si.system() does not return
raspberry
on Raspberry Pi 4Steps to reproduce the behavior
si.system()
node test.js
Expected behavior
Environment
Additional context
When I run
cat /proc/cpuinfo
, I get this:The text was updated successfully, but these errors were encountered: