Skip to content
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

RockPi support #237

Closed
shawaj opened this issue Nov 20, 2021 · 5 comments
Closed

RockPi support #237

shawaj opened this issue Nov 20, 2021 · 5 comments

Comments

@shawaj
Copy link
Member

shawaj commented Nov 20, 2021

We need to enable RockPi support ASAP.

Requires:
#96
#88

Also we don't seem to have GPIO support for RockPi currently.

Here is an example device:
https://dashboard.balena-cloud.com/devices/963415259c442625fc5f5ac241f48578/summary

Acceptance criteria

@shawaj
Copy link
Member Author

shawaj commented Nov 20, 2021

Related to NebraLtd/hm-config#96

@shawaj
Copy link
Member Author

shawaj commented Nov 20, 2021

def detect_ecc(diagnostics):
# The order of the values in the lists is important!
# It determines which value will be available for which key
commands = [
'i2cdetect -y 1'
]
parameters = ["60 --"]
keys = ["ECC"]
for (command, param, key) in zip(commands, parameters, keys):
try:
diagnostics[key] = config_search_param(command, param)
except Exception as e:
logging.error(e)
needs fixing

@shawaj
Copy link
Member Author

shawaj commented Nov 20, 2021

https://github.com/NebraLtd/hm-pyhelper/blob/d70f3659e4ca67185c6d90e026d3ef5e06145c5c/hm_pyhelper/miner_param.py#L30-L32

this is currently outputting gateway_mfr test --path /dev/i2c-7 but it needs to be gateway_mfr --path /dev/i2c-7 test

@shawaj
Copy link
Member Author

shawaj commented Nov 21, 2021

Need to bump hm-pyhelper NebraLtd/hm-pyhelper#68

@shawaj
Copy link
Member Author

shawaj commented Dec 2, 2021

Closed by NebraLtd/helium-miner-software#286

@shawaj shawaj closed this as completed Dec 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants