- Open a terminal (CTRL + ALT + T)
make clean all
./install.sh
gcc poll_test.c -o poll_test
./poll_test
-
Open another terminal
-
echoanything to/proc/cdev_waitExample:
echo "Hello there!" > /proc/cdev_wait -
Use
./remove.shto remove module and the device file.