EmbLogic's Blog

Category Archives: Character Driver

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

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

Character device driver status by Vijay Partap

I have done 1. open and release function 2. node creation

Posted in Character Driver | Leave a comment

Character Device Driver status by Vijay Partap

I have done following things in initialization function: alloc_chrdev_region and  register_chrdev_region kmalloc and memset cdev_init and cdev_add I have done following things in cleanup function: unregister_chrdev_region

Posted in Character Driver | Leave a comment

Character device driver status by Vijay Partap

I have done module_param successfully.

Posted in Character Driver | Leave a comment

character device driver status

Done assignment No. 1 Done assignment No. 2 In assignment No. 3, unable to use module_param Done assignment No. 4 Also I have done rcs with various commands. Please guide me regarding module_param.

Posted in Character Driver | Leave a comment

problem in character driver —errors and warnings

these are the errors and warnings quoted by the kernel [root@averma nd1]# make make -C /lib/modules/2.6.38.8/build M=/home/amit/averma/drivers/nd1 modules make[1]: Entering directory `/usr/src/linux-2.6.38.8′ CC [M] /home/amit/averma/drivers/nd1/lk.o /home/amit/averma/drivers/nd1/lk.c: In function ‘scull_open’: /home/amit/averma/drivers/nd1/lk.c:26:68: warning: initialization makes pointer from integer without a cast [enabled … Continue reading

Posted in Character Driver | Leave a comment

Project Status.

Working fine for singal Writer(Machine 1), Singal Reader(Machine 2), open/close file(Machine 3), and server(Machine 4). using sockets for IPC.

Posted in Character Driver, Uncategorized | Leave a comment