Unable to access GPIO in the latest L4T 35.3.1

Yes, Kevin. It works on L4T 35.1 without any manual steps (providing permissions).

sysfs GPIO way has been deprecated. The recommanded way is using the new GPIO character device API.
https://blog.lxsang.me/post/id/33

One way to use it from command line is gpiod: https://www.acmesystems.it/gpiod

Hi lhoang,

Thanks for the response. Is there any documentation available on this? I might have missed it. Kindly share.

Ramakrishna

You could refer to the following link for the usage of jetson-gpio.
GitHub - NVIDIA/jetson-gpio: A Python library that enables the use of Jetson’s GPIOs

For you original issue, you could also do similar things to add udev rule like the following to make it always set to what you need.
linux - udev doesn't want to run chgrp and chmod - Unix & Linux Stack Exchange
Or just write an auto script to execute it every time it boots up.

Thanks, Kevin.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.