GPIO warnings on Jetson Xavier NX

Hello there,

I installed the Jetson.GPIO python library on my Jetson NX following the guide [ NVIDIA/jetson-gpio: A Python library that enables the use of Jetson’s GPIOs (github.com) ]with pip. I completed all steps, including the creation of the gpio group and adding the 99-gpio.rules file to the rules.d-directory. Still, when I try to use it, it does not work so well.
First of all, if I import it, it says:

WARNING: Carrier board is not from a Jetson Developer Kit.
WARNNIG: Jetson.GPIO library has not been verified with this carrier board,
WARNING: and in fact is unlikely to work correctly.
Traceback (most recent call last):
  File "laser.py", line 31, in <module>
    main()
  File "laser.py", line 13, in main
    GPIO.setup(GPIO_PIN, GPIO.OUT)
  File "/usr/local/lib/python3.6/dist-packages/Jetson.GPIO-2.1.6-py3.6.egg/Jetson/GPIO/gpio.py", line 360, in setup
  File "/usr/local/lib/python3.6/dist-packages/Jetson.GPIO-2.1.6-py3.6.egg/Jetson/GPIO/gpio.py", line 155, in _do_one_channel
  File "/usr/local/lib/python3.6/dist-packages/Jetson.GPIO-2.1.6-py3.6.egg/Jetson/GPIO/gpio_cdev.py", line 189, in chip_open_by_label
Exception: tegra194-gpio: No such gpio device registered

the Jetpack-4.6.4
I’d be appreciate if you could give me a hand,thank you!

It’s stated very clearly.
Jetson.GPIO only works on DevKits as the 40-pin header may be configured differently on custom boards.

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