Working fine for singal Writer(Machine 1), Singal Reader(Machine 2), open/close file(Machine 3), and server(Machine 4). using sockets for IPC.
Running 100 applications in background writing and reading on Device… working absolutely fine.
Pre-requisites In order to develop Linux device drivers, it is necessary to have an understanding of the following: C programming. Some in-depth knowledge of C programming is needed, like pointer usage, bit manipulating functions, etc. Microprocessor programming. It is necessary … Continue reading
Hi, I was working on my Driver and got this Error for a function. I checked out other blogs on Internet and it was written that it occurs when you are calling a function before declaring it. But I did … Continue reading
In my lkm,when i printed the value of “HZ”. It comes out 1000. But the actual value defined in the header #include<asm/param.h> is 100. why..?
How we can access our sucll_dev structure of specific device by a proc file system or in its function like read proc ()……….??????/
In the ioctl function at driver level…….., the switch(cmd) statement have ‘cmd’ as the argument but we can see cmd is of ‘unsigned int’ type… i want to ask how the switch function perform case matching…. switch(cmd) { case IOSQSET: … Continue reading
sir i have completed llseek,semaphor & read write with multiple quantums……..
Is there any function to reallocate memory at the kernel level in spite of kmalloc……????
If container of function returns scull_dev pointer, then where the major and minor numbers are located into the different structures??????