Downgrading JetPack Version for GPIO Support on Jetson Orin NX

Hi Developers,

I’m working with a Jetson Orin NX and using JetPack 6.2. However, I’ve encountered an issue where the configuration file for GPIO pin 40 is missing, as NVIDIA has removed the file system for managing GPIO pins starting with JetPack 6. This information was confirmed by the vendor.

As a result, I’m considering downgrading to JetPack 5 to regain access to GPIO functionality. My questions are:

  1. If I downgrade to JetPack 5, will GPIO functionality be restored?
  2. Are there any alternatives or workarounds that allow me to use GPIO pins with JetPack 6.2?

Would downgrading be the best option, or is there another solution I should consider?

Thank you for your help!

Best regards,

Heyy @KevinFFF, Please Help!!!

Hi kakarot,

Are you using the devkit or custom board for Orin NX?

Do you mean the sysfs to control GPIO? (i.e. /sys/class/gpio/export)
If so, the feature of using sysfs to control GPIO has been removed from JP6.x (K5.15.x), but you can use gpiod instead.
Please refer to Issue with GPIO Loopback Test Failed JP6.1 L4T36.4.0 with Orin Nano SOM 4GB Custom Carrier Board - #18 by KevinFFF for the steps to verify.

hi @KevinFFF
I have custom board for orin nx by seeed studio

yes I ment from sys/class/gpio

Yes, that is deprecated in JP6.x and please refer to Xavier NX - GPIO character device interface - #15 by lhoang to use gpiod instead.
gpioget/gpioset should be available to read/control GPIO.