meta-iot2050 icon indicating copy to clipboard operation
meta-iot2050 copied to clipboard

Fix MRAA non-root access

Open bniedermayr opened this issue 10 months ago • 0 comments

This MR fixes some issues related the MRAA API access, as non-root user. The following things have been changed/fixed:

  1. Add gpio chardev support for MRAA (switch from sysfs to chardev)
  2. Add udev rules that adjust permissions and assign required groups to all interfaces
  3. The PWM pins require a more special handling and need to be pre-allocated during boot. This avoids timing problems when exporting those pins the first time via MRAA (see issue #29).
  4. Create an example (non-root) user that has been assigned to all required groups.
  5. Fix MRAA pinmux handling for pin 20

bniedermayr avatar Apr 18 '24 07:04 bniedermayr