Simple Device Driver for Raycasting Column Decoder

make

# To display Kernel debugging messages on the console
echo 8 > /proc/sys/kernel/printk

# Alternately,
dmesg | tail -7

insmod column_decoder.ko
lsmod
./hello

rmmod column_decoder

Once the module is loaded, look for information about it with

lsmod
cat /proc/iomem
ls /sys/module/vga_led
ls /sys/devices/soc.0
ls /sys/class/misc/vga_led
ls /sys/bus/drivers