Ah, got it. Thanks On Thu, Apr 4, 2019 at 6:49 PM Tranphong Vu <[email protected]> wrote:
> Hi Paul, > You can set permission by configure sepolicy in android. The common step > that i usually use : > Set mode for i2c dev > Set sepolicy for the program that use this sepolicy > > You can debug sepolicy error by dmesg | grep deni > You can learn configure sepolicy at > https://source.android.com/security/selinux/implement > > Vào 08:02, T.6, 5 Th4, 2019 Paul Kalebu <[email protected]> đã viết: > >> I'm writing a user space I2C driver to write to an I2C device, but I'm >> unable to open the device because I don't have permissions. How can I go >> about changing the permissions in AOSP? There doesn't seem to be a >> /etc/udev/rules.d file. >> >> -- >> -- >> unsubscribe: [email protected] >> website: http://groups.google.com/group/android-porting >> >> --- >> You received this message because you are subscribed to the Google Groups >> "android-porting" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> For more options, visit https://groups.google.com/d/optout. >> > -- -- unsubscribe: [email protected] website: http://groups.google.com/group/android-porting --- You received this message because you are subscribed to the Google Groups "android-porting" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
