Create an inode at master 301
sudo mknod -m 777 /dev/simple_char_device c 301 0
View the inode successfully created:
ls -la /dev | grep simple_char_device
To install the driver, In this repo folder run:
make
sudo insmod simple_char_driver.ko
View that the device installed:
cat /proc/devices | grep simple_driver
To test simply run the tester
./simple_char_test
To remove the driver
sudo rmmod simple_char_driver