Skip to content

erkanay/fake-driver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 

Repository files navigation

Fake Device Driver

This is a minimalistic kernel module which written for learning purposes using C language. It conducts relation between non-exist device driver and user space.

Build Route

First of all clone the repository

git clone https://github.com/erkanay/fake-driver.git
cd fake-driver

Then compile it with

make

Finally create a character device file in /dev.

mknod /dev/fakedevice c 900 1

Check it out with

dmesg

TODO

  • Write a simple user application for it

About

A minimalistic kernel module

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published