Page 1 of 1

Revolution Pi Connect + CAN interface with Balena

Posted: 19 Jan 2022, 20:17
by adolfogc
Hi,

I'm trying to use the CAN interface module with the Revolution Pi Connect with Balena.

Can you please direct me to where I can find the source code for the revpi-config utility?

Related GitHub issue: https://github.com/balena-os/balena-ras ... issues/761

Re: Revolution Pi Connect + CAN interface with Balena

Posted: 20 Jan 2022, 07:57
by nicolaiB
Hi adolfogc,

The tool is a shell script and can be found in our image and package repository.

Nicolai

Re: Revolution Pi Connect + CAN interface with Balena

Posted: 20 Jan 2022, 23:56
by adolfogc
Hi Nicolai,

Thank you for the response. Which of the repositories: https://github.com/orgs/RevolutionPi/re ... s?type=all ?

Using GitHub's search functionality yield only a reference to the script: https://github.com/search?q=org%3ARevol ... &type=code

Re: Revolution Pi Connect + CAN interface with Balena

Posted: 25 Jan 2022, 00:24
by adolfogc
Hi, can you point me to where I can donwnload this file?

Re: Revolution Pi Connect + CAN interface with Balena

Posted: 25 Jan 2022, 09:43
by nicolaiB
Hi,

you can inspect the steps (on a device running our image) as following: cat /usr/bin/revpi-config (basically you need to enable the revpi-con-can overlay)

You can also download the package revpi-webstatus which contains the revpi-config utility here: http://packages.revolutionpi.de/pool/main/r/revpi-webstatus/revpi-webstatus_2.0.2-1_all.deb'

Nicolai

Re: Revolution Pi Connect + CAN interface with Balena

Posted: 25 Jan 2022, 19:06
by adolfogc
Thank you. Based on that script, it seems that the CAN overlay needs to be added to the Balena image.