EmbLogic's Blog

Category Archives: Device Drivers

Parallel Port status to Prabjot Sir

Implemented Compatibility mode. Implemented Byte mode. One problem: System hangs during data transfer. On the removal of wire, system resumes and data is received on the other system.

Posted in Device Drivers, Parallel Port Driver | Leave a comment

Parallel Port Status

Implemented nibble mode for 1 byte. working on Byte mode…

Posted in Device Drivers, Parallel Port Driver | Leave a comment

Parallel Port Device Driver Status(Nibble & Byte mode)

Before writing to the port i m setting the value of Control register by setting the its 5th bit at LOGIC 1. and after performing write operation i am checking the status of control register… I am surprised as the … Continue reading →

Posted in Device Drivers, Parallel Port Driver | Leave a comment

Parallel Port Device Driver Status:- Compatibility Mode

LED’s Are glowing properly with the user pattern…….

Posted in Device Drivers, Parallel Port Driver | Leave a comment

Parallel Port Device Driver |Compatibility Mode

Successfully Implemented the Compatibility mode(IEEE 1284-1994) On LED 8 array.

Posted in Character Driver, Parallel Port Driver | Tagged | Leave a comment

TASKLET Status to Pravjot Sir

i have done tasklet in my device driver and it is working fine in driver…. Now working on workqueues……

Posted in Character Driver, Device Drivers | Leave a comment

Problem in KERNEL TIMER

In read_proc() fxn I am calling the timer fxn and in timer fxn I am using in_interrupt and in_atomic macros both are working fine….But when I call the timer fxn using for loop in read_proc, KERNEL crashes and display the bug … Continue reading →

Posted in Character Driver, Device Drivers | Leave a comment

Serial port start bit and stop bit transmission

As RS-232 protocol says , frame consists of start , data , parity and stop bit , How Transmitter Transmits and Reciever  recieves start , stop and parity bit if 8 bit data is sent from transmitter to reciever , … Continue reading →

Posted in Serial Port Driver | Leave a comment

Doubt with LCR Register

I am unable to understand , how to use stick parity and set break bit of LCR Register ? How parity error bit of LSR of Reciever machine will check the parity of data , sent by Transmitter device ,

Posted in Serial Port Driver | 1 Comment

Character Device Driver Status To Pravjot Sir

I have done following: Write operation for multiple quantums… Read operation for single quantum. Implemented Semaphore in read and write operation Now I am working on spinlocks and completions …………. ###NOTE ——– SPIN LOCKS are heavy weight mechanism/process than what … Continue reading →

Posted in Character Driver | Leave a comment

Touchpad driver

Sir , I want to know which touchpad driver has been there in my laptop , is it a generic driver which has been used for different laptops ?

Posted in Character Driver | 1 Comment

Today’s work Status To Pravjot Sir

I have implemented :-  write_operation for single quantum(working on multiple quantums). Implemented Threads

Posted in Character Driver, Linux Internals and System Programming | Leave a comment

ioctl capability implementations

Wants to add ability to load and remove kernel module from user space in user mode , to check whether application have permissions or not for load and remove kernel modules macro CAP_SYS_MODULE is used (if(!capable(CAP_SYS_MODULE)) , if this is … Continue reading →

Posted in Character Driver | 1 Comment

Character device driver status by Vijay Partap

I have done the following: Optimization of LKM with respect to trimming (used for loop for moving in the qset array) Implemented scull_write mapping. Implemented write function with: a. scull_qset allocation function. b. qset allocation function. c. quantum allocation function. … Continue reading →

Posted in Character Driver | Leave a comment

Character device driver status by Vijay Partap

I have done following things: 1. Open operation 2. Trim function For the time being, character device driver is working properly with trim function. But its proper functionality can be seen after writing in the device.

Posted in Character Driver | Leave a comment