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

Bus is not always 1 #5

Open
abkfenris opened this issue Apr 10, 2017 · 1 comment
Open

Bus is not always 1 #5

abkfenris opened this issue Apr 10, 2017 · 1 comment

Comments

@abkfenris
Copy link

When building powercape.c and ina219.c for Beaglebone Black running a Resin.io Debian container, I had to change int i2c_bus = 1; to int i2c_bus = 2; as the devices were on the i2c-2 bus instead of the i2c-1 bus.

I have a patch if you want to make the fixes programatically (git apply fix_powercape.patch).

@AndiceLabs
Copy link
Owner

Whoops, I forgot to put the "bus" option in the powercape utility ala the ina219 util. And then I went and used "-b" for "enter bootloader". Hmmm....

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants