GPIO on Fedora, or how to turn on an LED

GPIO sysfs interface is deprecated, and in the future it will be removed from the kernel. So in Fedora the kernel is compiled without such flag. As a consequence we don’t have the /sys/class/gpio path. We have instead the /dev/gpiochipN character device. This means that the piles of examples you can find on the web are unuseful on Fedora in order to drive, for instance a LED from the command line (echo 22 > /sys/class/gpio/export and stuff like this doesn’t work).

Rsyslog Ssl Error

If you use a central logserver built using rsyslog, and your machines are configured in order to send the logs to this logserver using TCP and SSL, and you get this error (at least on CentOS 7):