RLovelett / dkms-dln2

Dynamic Kernel Module Support for the Diolan DLN-2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dynamic Kernel Module Support (DKMS) for the Diolan DLN-2

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.

Install 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

Automate inserting modules at boot

sudo tee "/etc/modules-load.d/dln2.conf" > /dev/null <<'EOF'
dln2
gpio-dln2
spi-dln2
i2c-dln2
dln2-adc
EOF

Uninstall DKMS

sudo dkms uninstall -m dln2 -v 5.6.8

Backup

About

Dynamic Kernel Module Support for the Diolan DLN-2

License:GNU General Public License v2.0


Languages

Language:C 99.6%Language:Makefile 0.4%