GPIO response issue, Jetson orion nano developers kit

jetpack 6.0, gpiod 1.6.3
We’re unable to get response on GPIO pin using this command-

gpioset “chip_name” “pin”=0

but the pin o/p remain 1.

Hi nikitagupta1725,

Which GPIO would you like to control?
Have you configured the pinmux before use?

Please also apply the following patch to check if it could help.
40hdr - SPI1 gpio padctl register bit[10] effect by gpiod tools in JP6 - #20 by KevinFFF

GPIO_09 (Pin 7 in 40-pin header)
I don’t know how to configure pinmux.

and please tell me how/where to apply this patch

also should we continue with “jetpack 6.0“ or switch to other?

please help me! @KevinFFF

Hi nikitagupta1725,

The patch is required for all Jeptack 6.x releases.
Please refer to the following documentation to sync kernel source and build kernel image.
Kernel Customization — NVIDIA Jetson Linux Developer Guide 1 documentation

image
For GPIO09(PIN7 of 40-pins header), please try using the following commands to control it.

# gpioset --mode=wait `gpiofind "PAC.06"`=1
# gpioset --mode=wait `gpiofind "PAC.06"`=0