How to set high pin-22 of nvidia jetson agx orin

I want to set Pin-22 high of nvidia jetson agx orin. But unable. Can you please help me out?

Which Jetpack release version is that?

when I used that apt-cache show nvidia-jetpack…
it shows two versions :
Version : 6.2+b77
Version : 6.1+b123

Release I am using R36 and revision : 4.3

Hi, is there any solution?

Is the pin working as GPIO or SFIO?

it is GPIO…

This post would help.

I got this…

Your syntax is wrong.

That I have corrected and I got the output correctly.

root@rootportsom1-desktop:/home/rootportsom1# gpiofind “PAC.01”
gpiochip0 139
root@rootportsom1-desktop:/home/rootportsom1# gpioset --mode=wait gpiochip0 139=1
gpioset: error setting the GPIO line values: Device or resource busy
root@rootportsom1-desktop:/home/rootportsom1#

Once look into this, I am trying to gpiochip0 139 to high but unable. How can I do this.


in dts file also I have pull down the pull up.

Hi is there any solution? It’s Important…

Hi, is there any update?

If you saw “Device or resource busy” error when you try to access a GPIO, it means this pin is already occupied by another driver. Figure out which driver is using that first and disable it. /sys/kernel/debug/gpio might help answer that.

Otherwise you won’t be able to use that pin.


This one it is…

Yes, PAC01 is already occupied that camera-control-outpu thing so you cannot control by yourself.

So, can I change in dts file and disable it?

Yes, you could.