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

run oled programs without sudo rights? #14

Open
shiftleftplusone opened this issue Dec 4, 2016 · 2 comments
Open

run oled programs without sudo rights? #14

shiftleftplusone opened this issue Dec 4, 2016 · 2 comments

Comments

@shiftleftplusone
Copy link

hello,
how is it possible to run oled programs without sudo rights?

@atar-axis
Copy link

the problem is, that this repo is using the bcm2835 lib to talk over I²C. the library is accessing the bcm2835 IC directly via /dev/mem, which needs root rights. a more modern approach is to use the i2c driver instead (sudo apt get install i2c-tools, raspi-config -> Interface -> i2c).

You can then switch to this fork: https://github.com/jonesman/ArduiPi_OLED

@dsyleixa
Copy link

dsyleixa commented May 30, 2021

I tried the linked lib https://github.com/jonesman/ArduiPi_OLED after finally having managed to run this original lib,
but the make compilation of the jonesman fork failed because of sth like my "Pi can't access ARM mode" or whatever (I have a Pi 2 v1.1 run by Stretch). I really had appreciated if I was able to discard that eff*** sudo, too...

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

3 participants