We have upgraded the community system as part of the upgrade a password reset is required for all users before login in.

Permanently set i2C device group and permissions for non-root user



  • I have a Python app that reads an i2c current sensor but I don't want to run it as root. I can set the group and permissions from the root account and then my non-root user can read and write the device.

    However, the device's group and permissions revert to root and 600 upon
    reboot. I trie defining a rule for UDEV but either it doesn't work or (more likely) I don't have the proper syntax.

    Any suggestions?


Log in to reply
 

Looks like your connection to Community was lost, please wait while we try to reconnect.