EmbLogic's Blog

Category Archives: Device Drivers

Char dri…………..

If container of function returns scull_dev pointer, then where  the major and minor numbers are located into the different structures??????

Posted in Character Driver | Leave a comment

Status : Char Device Driver

Completed: open, close, read (single quantum, multiple quantum),write(single quantum, multiple quantum),semaphore(syn tech). Working: Completion, IOCTL,LSEEK

Posted in Character Driver | Leave a comment

Printk error

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 →

Posted in Character Driver | Leave a comment

char driver……..?

Could any body try ,to satisfied me ,by telling me the truth of the container of function?

Posted in Character Driver | 1 Comment

char deriver……………….??

why kernel can not dereference user space buffer ??????

Posted in Character Driver | 1 Comment

char driver

at time of the writing in multiple quantum there is killed in kernel page and err reported is sleeping function called from invalid context at arch/x86/mm/fault.c what dose it mean? and kernel crash after 5 min.

Posted in Character Driver | Comments Off

insmod error

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 →

Posted in Character Driver | 2 Comments

status of character driver

i have successfull implemented scull write with one quantum and now i am working on scull write with multiple quantum.

Posted in Character Driver | Leave a comment

char device driver status

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.

Posted in Character Driver | Leave a comment

status related to character driver

i have done initialization,registration,open,release,trim.

Posted in Character Driver | Leave a comment

status of character driver

i have successfully implemented scull trimming .

Posted in Character Driver | Leave a comment

char driver

scull_triming and maping of scull_write has been done

Posted in Character Driver | Comments Off

Trim function………………..

please write appropriate comment……………… //this function only remove last node of the scull_dev  because it has not any  reverencing  function for deleting previous nodes till the fist node. //sir has taken one previous pointer but it also deletes  only one … Continue reading →

Posted in Character Driver | 1 Comment

status on character driver

i have completed registration, initialization, open, release, and working on trim.

Posted in Character Driver | Leave a comment

timing operations c driver

Is tick rate = HZ????  

Posted in Character Driver | 2 Comments