Unable to get permissions for Jetson GPIO

I got it to work with these commands.

sudo usermod -aG gpio $USER
sudo chown root.gpio /dev/gpiochip1
sudo chmod 660 /dev/gpiochip1

Apparently the gpio group only had permission for /dev/gpiochip0 and not /dev/gpiochip1.

I got these commands from here : Permission issue · Issue #20 · NVIDIA/jetson-gpio · GitHub

1 Like