Closed troywweber7 closed 6 years ago
So if I set the group of the file giving the EACCESS error to gpio
, and have myself added to gpio
group, and change the mod with chmod g+w
then obs loads within Node 7.10 just fine. I can do the same process for the USR0
led. But I need to do this to every pin that might be accessed from octalbonescript in Node 7.10. Can anyone point me to documentation on how to achieve this so it is persistent across restarts?
I solved this issue defining the file /etc/udev/rules.d/75-bone_capemgr-noroot.rules
,
based in 80-gpio-noroot.rules
, with content:
# Change group to gpio
SUBSYSTEM=="platform", PROGRAM="/bin/sh -c '/bin/chown -R root:gpio /sys/devices/platform/bone_capemgr'"
# Change user permissions to ensure user and group have read/write permissions
SUBSYSTEM=="platform", PROGRAM="/bin/sh -c '/bin/chmod -R ug+rw /sys/devices/platform/bone_capemgr'"
This library is abandoned. Please check notice in README for further information.
I've freshly installed the official BeagleBone Green Wireless image on my BBGW, so I'm running Debian 8.6.
I've fully updated the software on the board multiple times to make sure I am up to date with
sudo apt-get update && sudo apt-get -y upgrade
.Also, I created a new user
deploy
and have sudo permissions. Asdeploy
I've installed Node 7.10 usingnvm
.In a test folder, I initialized a simple
package.json
andnpm i -S octalbonescript
. It installs fine, so I go into the node interpreter and try to import octalbonescript and havoc ensues: