It seems that some distrobutions, i.e., Fedora, are not providing the Diolan DLN-2 kernel modules via the package manager. This repo aims to work around that problem by providing those kernel modules via DKMS.
sudo cp -R . /usr/src/dln2-5.6.8
sudo dkms install -m dln2 -v 5.6.8
sudo modprobe dln2 gpio-dln2 spi-dln2 i2c-dln2 dln2-adc
sudo tee "/etc/modules-load.d/dln2.conf" > /dev/null <<'EOF'
dln2
gpio-dln2
spi-dln2
i2c-dln2
dln2-adc
EOF
sudo dkms uninstall -m dln2 -v 5.6.8