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