Skip to content

user-space communicates with kernel-space using a character device driver.

Notifications You must be signed in to change notification settings

jsramesh1990/Character-Device-Driver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

Simple Character Device Driver

This project shows how Linux user-space communicates with kernel-space using a character device driver.

Project Structure

Project Structure

project

Build

make

Load Driver sudo insmod src/mychardev.ko dmesg | tail

Create Device Node sudo mknod /dev/mychardev c 0 sudo chmod 666 /dev/mychardev

Get major number from dmesg

Run User Program ./user_app

Unload Driver sudo rmmod mychardev

About

user-space communicates with kernel-space using a character device driver.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published