Rpi 4 - memLayout returns empty array
See original GitHub issueFirst 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:
- Call si.memLayout()
si.memLayout().then(res => console.log(res));
- run the code
- 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:
- Created 4 years ago
- Comments:11 (6 by maintainers)
Top GitHub Comments
@jeth318 So as voltage was missing, I made a fix for that. Version 4.22.2 just published.
@jeth318 so I just released a new version 4.22.1. Maybe you can give it a try and post results here.