question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Rpi 4 - memLayout returns empty array

See original GitHub issue

First things first: AWSOME lib.

Describe the bug When calling si.memLayout() on my Raspberry Pi 4, I get an empty array as the return value. On macOs it works as expected, returning info about the installed memory banks. According to the docs, this feature should be available on Linux systems. That’s why I submit this report.

To Reproduce Steps to reproduce the behavior:

  1. Call si.memLayout()
  2. si.memLayout().then(res => console.log(res));
  3. run the code
  4. See output/error ‘…’

Current Output []

Expected behavior Should see information about installed memory modules: e.g response: [ { "size":"***", "bank":"BANK 0", "type":"LPDDR3", "clockSpeed":2133, "formFactor":"", "manufacturer":"Micron Technology Inc.", "partNum":"***", "serialNum":"-", "voltageConfigured":-1, "voltageMin":-1, "voltageMax":-1 }, { "size":8589934592, "bank":"BANK 1", "type":"LPDDR3", "clockSpeed":2133, "formFactor":"", "manufacturer":"Micron Technology Inc.", "partNum":"***", "serialNum":"-", "voltageConfigured":-1, "voltageMin":-1, "voltageMax":-1 } ]

Environment (please complete the following information):

  • OS: Rasbian Buster Kernel: 4.19.97-v7l+ Release 10

  • Hardware: BCM2835 - Pi 4 Model B c03111 - Rev. 1.1

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:11 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
sebhildebrandtcommented, Feb 20, 2020

@jeth318 So as voltage was missing, I made a fix for that. Version 4.22.2 just published.

1reaction
sebhildebrandtcommented, Feb 17, 2020

@jeth318 so I just released a new version 4.22.1. Maybe you can give it a try and post results here.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Creating Empty Array - Python
How do I create an empty array and then fill it if I do not know the dimensions ... ValueError: array dimensions must...
Read more >
node.js - Function returns empty array, despite printing data
log(csvrow)", it'll print the arrays (rows) of data, so I'm assuming that csvData. push(csvRow) should normally push them all into the csvData  ......
Read more >
systeminformation/CHANGELOG.md at master
Version Date Comment 5.16.3 2022‑12‑08 users() fix when multiple explorer.exe (windows) 5.16.1 2022‑12‑04 code cleanup, moved from lgtm to GitHub Code Scan 5.16.0 2022‑12‑01 fsSize() added...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found