Skip to content

ugurilter/polling_kmo

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HOW-TO

  1. Open a terminal (CTRL + ALT + T)
make clean all
./install.sh
gcc poll_test.c -o poll_test
./poll_test
  1. Open another terminal

  2. echo anything to /proc/cdev_wait

    Example: echo "Hello there!" > /proc/cdev_wait

  3. Use ./remove.sh to remove module and the device file.

About

an example of creating and polling a character device kernel module

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published