Tuesday, March 30, 2021

[fedora-arm] Re: Nvidia Jetson Nano GPIO?

On Tue, Mar 30, 2021 at 12:31 PM Richard Shaw <hobbes1069@gmail.com> wrote:
>
> I have a Jetso Nano running Fedora 33 following this guide:

Which guide, could you provide a link?

> I want to use it to play with home automation and I have node-red installed and have hacked together a node based on the Rpi GPIO node for the Jetson.
>
> I have copied the udev rules into /etc/udev/rules.d but I don't see the devices, there is no /sys/class/gpio. I changed the udev loglevel to info and see:

<snip> please only include relevant logs.

We don't support the gpio sysfs means of accessing GPIO, it's been
deprecated since around the 4.8 kernel.

> Any tips? Or am I stuck running Nvidia's linux for it to work?

The replacement mechanism is the GPIO character interface where the
GPIO is available via /dev/gpiochip* or through the libgpiod userspace
utils and python3 bindings in the python3-libgpiod package. I've not
looked but I would guess there's support for this interface on NodeRED
as it's been around for some time.

Peter
_______________________________________________
arm mailing list -- arm@lists.fedoraproject.org
To unsubscribe send an email to arm-leave@lists.fedoraproject.org
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/arm@lists.fedoraproject.org
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure

No comments:

Post a Comment