Hey, just got my order for both of these devices and I'm pleased with them.
In my journey yesterday I've tried the Fast-GPIO with the out-of-the-box firmware and it worked on both the 2 and the 2+.
However, later on I discovered the Console and it suggested I upgrade the firmware, so I did it on both devices. After doing some modifications (installing PHP, Node-RED, etc) I discovered that the Fast-GPIO program doesn't work anymore.
No matter what I do, read/write/pwm.. it just throws a "segmentation fault". Now, first thing I did was some research, and I found out it's a bug with /dev/mem not existing, which I confirmed by doing a "cat /dev/mem" which returned that it doesn't exist.
Of course, a simple fix would be downgrading the firmware, which I did. I actually tried b141 all the way to b152 and the problem persists in ALL of them. How is this possible? It's even acknowledged as an official bug but it wasn't addressed in any of these versions?
I know I could use gpioctrl, but I don't know how to make it return (in the serial terminal -- for PHP) just a LOW/HIGH or 0/1, which Fast-GPIO was able to do..
So my questions are:
- Is there a way to manually fix /dev/mem (installing a package or enabling a kernel module somehow), without recompiling a custom firmware. If yes, how?
- Does your Fast-GPIO work? If yes, what's the full version that you run? (ex. 0.19 bXYZ)