What is the possible solution? I don't want this
As suggested by joan, i have carried out the test as below,
GPIO Test:
- test the GPIO with nothing connected:
Test Method: using pigpio library of joan, from the stack exchange answer
a) ./x_pigpiod_if2 :
pigpio version 58
Mode/PUD/read/write tests.
Test 1.1 to happen againTest 9.4 :Pass
b) ./x_pigpio.py
Python module 1.34
Python 2.7.9
Test 1.1 to Test 13.13 Pass
c) ./x_pigs : all ok
d) ./x_pipw : all ok
testing LED using command-line
sudo -i
echo "23" > /sys/class/gpio/export
echo "out" > /sys/class/gpio/gpio23/direction
echo "1" > /sys/class/gpio/gpio23/value
echo "0" > /sys/class/gpio/gpio23/value
echo "23" > /sys/class/gpio/unexport
result: Sucess
3)test the LED using python program:
using RPi.GPIO package and simple python program
Test result: Failed!!!
I have also tried to install npm rpi-gpio as an alternative for the current library npm gpio it failed, my stack exchange question
Now it is clear the hardware is ok, What could be the reason which stops my program/package accessing GPIO?