Op woensdag 25 mei 2016 10:16:14 schreef Freek de Kruijf:
I tried to use "echo '23' > /sys/class/gpio/export" as root on a Raspberry Pi 1B, but I get an error message. Tried other values as 23 also, but I continue to get the error message.
Any hints?
I found the answer in https://www.kernel.org/doc/Documentation/gpio/sysfs.txt The documentation of the Rasberry Pi does not mention anything about the device /sys/class/gpio/gpiochipX, apparently in other systems X is 0, however openSUSE shows /sys/class/gpio/gpiochip298. base and ngpio show respectively 298 and 54. So I should use channel 298+23, which after use does not give an error message and shows that /sys/class/gpio321 has been created. -- fr.gr. member openSUSE Freek de Kruijf -- To unsubscribe, e-mail: opensuse-arm+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-arm+owner@opensuse.org