Following is the code prepared by me.Only interrupt is left working on it.It is done for a loop back process.Any mistake … leave the comments #include”header.h” static int my_proc (char * buf, char ** start,off_t off, int count) { int … Continue reading
I have completed the 3 modes of parallel device driver i.e compatibility mode, byte mode and nibble mode. Working on the ECP and EPP mode. Successfully implemented man page creation and development. Working on customizing them as per the needs. … Continue reading
Completed: open, close, read (single quantum, multiple quantum),write(single quantum, multiple quantum),semaphore(syn tech),LSEEK. Working: Completion, IOCTL. earlier ioctl (struct inode * inode, struct file * filp, unsigned int cmd, unsigned long arg) In 2.6.x the ioctl is divided in to 2 … Continue reading
Completed: open, close, read (single quantum, multiple quantum),write(single quantum, multiple quantum),semaphore(syn tech). Working: Completion, IOCTL,LSEEK
I have used printk statement in char device driver code. “make” have no warning or error on doing insmod no error is given . but on dmesg the printk statement are not showing. i have checked in /var/log/message but printk … Continue reading
while MAKE there is no error. when i try to insmod : following error is produced : insmod : error inserting ‘./modules/lkm.ko’ : -1 operation not permitted But the amazing thing is that my driver is registered in /proc/devices(major number … Continue reading
I was able to write a single qset successfully, now on to multiple qset…hope to finish that by Wednesday. Great help from Vaibhav …thanks bro.
Char device driver ->done compression -> left with last part of comparing and uncompressed data SCULL -> done for the scull size of 16 and limited data flow
Well, upto date with the char device driver module