Home/Support/Support Forum/How to access the GPIO
Welcome to Digi Forum, where you can ask questions and receive answers from other members of the community.

How to access the GPIO

0 votes
Hello,

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.
asked May 19, 2010 in Linux by eosrisko New to the Community (4 points)
recategorized Nov 26, 2013 by tuxembb

Please log in or register to answer this question.

1 Answer

0 votes
Solved!

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

I ran the following lines:

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

#/lib/modules/2.6.26.6/extra # insmod gpio.ko

#/lib/modules/2.6.26.6/extra # lsmod
Module Size Used by Not tainted
gpio 3820 0
answered May 20, 2010 by eosrisko New to the Community (4 points)
...