How to access the GPIO


I’m not getting work as GPIO. I’m trying to run the example code “gpio_test” and always returns the error:
“Open: / dev/gpio/84: No such device or address”

I’ve checked that the module is loaded into the kernel. And the nodes “/ dev/gpio/84” and “/ dev/gpio/85” are created.

Can anyone help?

PS: I have a ConnectCore 9P 9215 Digi JumpStart Kit EL 4.2.


I thought the module was automatically loaded into the kernel after boot.

I ran the following lines:

#/lib/modules/ # ls
gpio.ko minimal.ko

#/lib/modules/ # insmod gpio.ko

#/lib/modules/ # lsmod
Module Size Used by Not tainted
gpio 3820 0