Skip to content

justanirudh/drive-me-crazy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

For convinience, please go into sudo mode ($ sudo -s)  and run the below commands. 

1) Compile driver module : # make

2) Load module : # insmod char_driver.ko NUM_DEVICES=<num_devices>

3) Test driver :		
	1) Compile userapp : # make app
	2) Run userapp : # ./userapp <device_number>			
		where device_number specifies the id number of the device to be tested.   

4) Unload module : # rmmod char_driver.ko

About

A character-special device driver that supports variable number of devices, each having concurrent access. Functions supported: open, close, read, write ,custom lseek and custom ioctl.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors