root@mix:/sys/class/gpio# echo 507 > export
bash: echo: write error: Device or resource busy
I want to use uart2_cts/gpio3_px.03 as a GPIO, but the export command gives me a “busy” error, which means that it is already being used by some other program. How can I find out which program is using it and close it?
From the title I assume you are talking about the Jetson TX2 NX Module, so I will move your post to the correct Forum category.
Are you using the devkit or custom board for Jetson TX2?
What’s your current Jetpack version in use?
Could you help to share the result of the following command on your board?
$sudo cat /sys/kernel/debug/gpio
and also, the following command
$sudo busybox devmem 0x70000b2c