This command fails: gpio export 4 out. The following error message is dropped : Unable to open GPIO direction interface for pin4: “No such file or directory”. However this command works fine: gpio –g mode 4 out.
Current configuration
RasPI Model B2 running under Raspian GNU/Linux 7, updated
wiringPI version : 2.31 or 2.32 same problem
I have reported the issue to Gordon, his answer is the following
I just have no clue on how to fix this. Has anybody faced this problem and found the solution?So that pin is used for other purposes too - as a clock pin and the pin that 1-wire support works over.
I'm suspecting its something to do with the 1-wire support that's getting in the way, so you might need to see if that's enabled in the device tree or modules or whatever (I don't really know much about how its implemented, sorry)
Thank you