#use the parallel port in the compatibility mode which is work in the forward direction and in this i use the read operation which is seems to be the reverse operation but its not the reverse operation because we reterive … Continue reading
#acquire the parallel port by my device driver… RCS file: header.h,v Working file: header.h head: 1.1 branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 1; selected revisions: 1 description: include all the header file need for … Continue reading
#sucessfully implement the /proc in device driver…. RCS file: application.c,v Working file: application.c head: 1.34 branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 34; selected revisions: 34 description: this is the application program in the user … Continue reading
#apply the ioctl in the kernel layer and get quantum and set quantum is work fine….and after changing the quantum size we are able to write according to that but we are not able to read when we are changing … Continue reading
API, an abbreviation of application program interface, is a set of routines, protocols, and tools for building software applications. The API specifies how software components should interact and are used when programming graphical user interface (GUI) components. A good API … Continue reading
#for the another synchroniztion technique…..COMPLETION….here in the end of the devwrite i make a call for the completion and in the devread in the starting i call wait_for_completion() and in the end i call complete()….it work fine for me….. RCS … Continue reading
#applying the semaphore….here i run the 4 application(open, write and read) from the single node…..and its working fine…. RCS file: application.c,v Working file: application.c head: 1.17 branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 17; selected … Continue reading
#problem persist in this as i required some synchronize technique because when i run multiple application onto the single node then data is to be in mingle form……do required semphore in this….. RCS file: application3.c,v Working file: application3.c head: 1.1 … Continue reading
#implementing the lseek(SEEK_SET) operation in the kernel layer then read the written bytes from the application layer, without closing the fd RCS file: application.c,v Working file: application.c head: 1.16 branch: locks: strict access list: symbolic names: keyword substitution: kv total … Continue reading
#implementing the lseek opereration in the kernel layer then read the writen bytes from the application layer, without closing the fd RCS file: application.c,v Working file: application.c head: 1.7 branch: locks: strict access list: symbolic names: keyword substitution: kv total … Continue reading
#implementing the read from the kernel layer into the application layer after performing the write operation… RCS file: application.c,v Working file: application.c head: 1.7 branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 7; selected revisions: 7 … Continue reading
#here i am able to write in the multiple qsets of the scull and by this i am able to write in the kernel layer…. RCS file: application.c,v Working file: application.c head: 1.7 branch: locks: strict access list: symbolic names: … Continue reading
#here i write in the 1 quantum of the scull and by this i am able to write in the kernel layer…. RCS file: application.c,v Working file: application.c head: 1.7 branch: locks: strict access list: symbolic names: keyword substitution: kv … Continue reading
#register using the alloc_chrdev_region and unregister using the unregister_chrdev_region and then define the struct Sculldev and allocate the memory for it and then pointing the address of kmalloc with this struct type pointer.. RCS file: cleanup.c,v Working file: cleanup.c head: … Continue reading
#insert the device driver and get register in the kernel i.e get the major number with a register_chrdev which is in fs.h and get unregister using the unregister_chrdev…..:) RCS file: init.c,v Working file: init.c head: 1.17 branch: locks: strict … Continue reading