Am 04.09.2018 um 06:29 schrieb Volker Kuhlmann:
The example from http://wiringpi.com/examples/blink/
gcc -Wall -o blink blink.c -lwiringPi -lcrypt -pthread -lm -lrt
# ./blink wiringPiSetup: mmap (GPIO) failed: Operation not permitted (yes this is as root)
I can't repeat often enough: Forget wiringPi! Its author doesn't understand Open Source and openly refused patches to make things work on openSUSE. Also it's under LGPLv3 and thus incompatible with any GPLv2-only projects.
Back to my original question: Has anyone managed to flick a GPIO pin with openSUSE on an RPi yet?
Sure, I have. It's as simple as echo, no libraries needed. The "official" Linux GPIO library to supersede the legacy sysfs interface is libgpiod. mraa might work as convenience wrapper, but never tried it myself. Regards, Andreas -- SUSE Linux GmbH, Maxfeldstr. 5, 90409 Nürnberg, Germany GF: Felix Imendörffer, Jane Smithard, Graham Norton HRB 21284 (AG Nürnberg) -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org