Tag Archives: device or resource busy error

User space operation GPIO error echo: write error: device or resource busy error resolution

Error when using echo 17 > /sys/class/gpio/export: -sh: echo: write error: Device or resource busy
-sh: echo: write error: Device or resource busy
Shows that gpio is occupied.

To check the occupancy status.

cat /sys/kernel/debug/gpio
If no such directory is available.
mount -t debugfs debugfs /sys/kernel/debug