That's it! These udev rules are the key. I was able to get this working on the original bone-debian-9.12-console image I was using.
This is what I did after installing a fresh image, updating, and adding the sources for libpruio $ sudo apt install libpruio libpruio-dev python-pruio libpruio-lkm $ sudo usermod -a -G pruio debian edit /boot/uEnv.txt with the following changes (as for the first change, just comment out whichever uboot_overlay_pru parameter exists originally): #uboot_overlay_pru=/lib/firmware/AM335X-PRU-RPROC-4-14-TI-00A0.dtbo uboot_overlay_pru=/lib/firmware/AM335X-PRU-UIO-00A0.dtbo #enable_uboot_cape_universal=1 Finally, just make sure you have both udev rules pointed out in the last post. On my system, 84-gpio-nonroot.rules was missing. On Thursday, August 13, 2020 at 1:55:23 PM UTC-5 TJF wrote: > On my system I found the files > > # /etc/udev/rules.d/84-gpio-noroot.rules >> # >> # Corrects sys GPIO permissions on the BB so non-root users in the gpio >> group can manipulate bits >> # >> # Change group to gpio >> KERNEL=="44e10800.pinmux", PROGRAM="/bin/sh -c '/bin/chown -R root:gpio >> /sys/kernel/debug/pinctrl/44e10800.pinmux'" >> # Change user permissions to ensure user and group have read/write >> permissions >> KERNEL=="44e10800.pinmux", PROGRAM="/bin/sh -c '/bin/chmod ugo+x >> /sys/kernel/debug; /bin/chmod -R ug+rw >> /sys/kernel/debug/pinctrl/44e10800.pinmux'" >> > > and > > # /etc/udev/rules.d/85-gpio-noroot.rules >> # >> # Corrects sys GPIO permissions on the BB so non-root users in the gpio >> group can manipulate bits >> # >> >> SUBSYSTEM=="gpio", GROUP="gpio", MODE="0660" >> > > adapting the permissions. I wonder why they're not present in all systems. > (Are they from the -bone flavour?) > > Regards > -- For more options, visit http://beagleboard.org/discuss --- You received this message because you are subscribed to the Google Groups "BeagleBoard" group. To unsubscribe from this group and stop receiving emails from it, send an email to beagleboard+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/beagleboard/75f0f41f-d527-4be4-8b83-1fb253cc72e5n%40googlegroups.com.