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.
driver is registered when i tried it in single file… but when i split the file in start.o and stop.o then it gives error ” -1 file exist “
Implemented Drivers (Initialization & Registration), Implemented Posix Threads.
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
char *a,*b; int c,n,i; printf(“enter the word to be find: “); a=malloc(10*sizeof(char)); b=malloc(100*sizeof(char)); printf(“Address of b %d”,b); fgets(a,10,stdin); puts(a); i=0; printf(“len of the str:%d \n”,strlen(a)); //for(i=0;*(a+i)!=”;i++) while(*(a+i)!=”) { printf(“length= %d\n”,i); printf(“length======== %c\n”,*(a+i)); i++; }
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
We have Successfully Interfaced stepper motor with parallel port and tested following modes of operation: 1. Half step sequence Clockwise and Anti-clockwise. 2.Full step sequence Clockwise and Anti-clockwise. 3.Eight step sequence Clockwise and Anti-clockwise and successfully controlled the speed of motor … 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
People new to Linux often hear that it has excellent support for all kinds of cards and that the device drivers are stable and fast. Sometimes, though, setting up devices under Linux is often not all plug-and-play. Everything is a … Continue reading