EmbLogic's Blog

Author Archives: samta.jhingan

Project 8: Block Driver Status

Successfully implemented block driver with ioctl and request function. On initialisation the block driver is running the request function four times and all the requests that are coming are to read the data.

Posted in Uncategorized | Leave a comment

Status Project 7 Serial Port

Implemented multiple byte transfer using serial port successfully.

Posted in Uncategorized | Leave a comment

Project 6 Parallel POrt

Implemented byte mode

Posted in Uncategorized | 2 Comments

Project 6 : Parallel Port

Implemented nibble mode and compatibility mode.

Posted in Uncategorized | Leave a comment

Project 5 Status Character Driver

Implemented #Blocking IO with readwrite semaphore #Blocking IO with /proc to read bytes written after each 8 byte is written in scull

Posted in Uncategorized | Leave a comment

Project 5 Character Driver Status:

–Implemented: #read and write operations using lseek. #ioctl #/proc #sema_init –left with #completions and spinlocks #read and move operation

Posted in Uncategorized | Leave a comment

Project 5: Character Driver

Implemented #function to allocate memory to quantums. #function to allocate memory to array of qsets. #write function

Posted in Uncategorized | Leave a comment

Project 5: Character Driver Open and Release function

Implemented: #Open and release functions #container_of() #accessed open and release functions using  app.c file

Posted in Uncategorized | Leave a comment

Project 5 : Character Driver

Implemented for 20 nods #cdev_init function #cdev_add function #initialised the value of sculldev  for 20 nods

Posted in Uncategorized | Leave a comment

Project 5: Character Driver

Implemented using rcs #register_chrdev() #unregister_chrdev() #alloc_chrdev_region() #unregister_chrdev_region() #module_param #MAJOR and MINOR macros

Posted in Uncategorized | Leave a comment

Project 11: Linux Shell Scripting

Implemented # Linux shell scripting questions.

Posted in Uncategorized | 1 Comment

Project4:Client Server using Sockets(AF_UNIX)

Implemented #Client Server using AF_UNIX on my PC and ran 370 simultaneous threads  

Posted in Uncategorized | Leave a comment

Project 4: Client Server Program Using Threads, Mutex,Semaphore,Msg Queue

Implemented #The client server program using thread, mutex,semaphore and msg queue. In the program created thread for each request from the client and at client side created 1 thread for sendg and receiving different requests.. Program ran for 381 clients … Continue reading →

Posted in Uncategorized | Leave a comment

Project 3:IPC Server Client using shared memory and semaphores

Implemented #Server client using semaphores and shared memory Issues faced: At the time of reading at the server side couldnt find a way for the server to know whether new data has been entered or not so used a flag … Continue reading →

Posted in Uncategorized | 2 Comments

Project 3 IPC: Server Client using Message Queues

Implemented #Server Client using message queues and ran for 650 clients using 2 queues for receiving and sendg… Issues Faced: *The queues werent getting created… Have to be a superuser to create queues… Found system call perror(“”); very useful to … Continue reading →

Posted in Uncategorized | Leave a comment