Work in progress
- Install development environment
sudo apt-get install build-essential linux-headers-`uname -r`
or
sudo apt-get install raspberrypi-kernel{,-headers}
- Make (from folder with sources)
make
- Insert the module:
sudo insmod ptime_control.ko
Check the module leaded:
lsmod | grep "dir ptime_control"
- View kernel log for
printk
:
sudo dmesg
- Remove module:
sudo rmmod ptime_control