EmbLogic's Blog

Category Archives: Device Drivers

character driver

driver register and unregister with kernel perform using register_chrdev function and alloc_chrdev_region and unregister with unregister_chrdev_region . one issue faced: Instead of whole program execute successfully there is no output  and after reboot it gives correct output.

Posted in Character Driver | Leave a comment

ISSUE IN PROJECT 5(CHAR DRIVER)

Sir, I have implemeted the project of using multi thread in a single process then in multi process process for char driver by using sleep in the app.c for synchronization between multi thread for read,write,open,close in single process. Is it … Continue reading →

Posted in Character Driver | 1 Comment

Project 05: Character Device Driver

Makefile for a basic kernel module

obj-m += hello-1.o

all:
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) modules

clean:
make -C /lib/modules/$(shell uname -r)/build M=$(PWD) clean Continue reading →

Posted in Character Driver | Tagged , , , , , | 14 Comments

Re: /proc filesystem

Sir, I have implemented /proc file system  successfully.

Posted in Character Driver, Project 11: A Character Device Drivers Based Project | Leave a comment

PROJECT 11-QUERY

in case of append in character driver where we have to allocate new memory with continuation to the old memory (in lseek or write function)  

Posted in Character Driver, Device Drivers | Leave a comment

PROJECT 11

sir please publish the project 11 thread ..its still in draft stage.. updates…. saurabh :facing problem with lseek in write  working on menu table of read, write and optimization of lseek. sumit massey : done optimisation on lseek , read … Continue reading →

Posted in Device Drivers, Project 11: A Character Device Drivers Based Project | Leave a comment

What is Board setup file..?

Hi, Going to write an I2C Driver, need to know the relationship between the core driver of bus and board setup file. I am using OMAP2 based ARM board. Just want to know about basic relationship. Thanks Manoj Arora

Posted in Device Drivers | Leave a comment

E2- USB Core DRIVER Problems and Solution

Dear all Team member E2 Please join this thread for your all grievances and issues for up-mentioned topics Regards and thanks Dharmendra Nath Shandilya

Posted in USB Driver | 2 Comments

E2- USB DRIVER Problems and Solution

Dear all Team member E2 Please join this thread for your all grievances and issues for up-mentioned topics Regards and thanks Dharmendra Nath Shandilya

Posted in USB Driver | 4 Comments

block driver crashes on add_disk

here is the code #include”header.h” dev_t dev;     void bulk_request(struct request_queue *q) { struct request *req; req = blk_fetch_request(q); while (req != NULL) { if (req == NULL || (req->cmd_type != REQ_TYPE_FS)) { printk (KERN_NOTICE “Skip non-CMD request\n”); __blk_end_request_all(req, … Continue reading →

Posted in Block Driver | Leave a comment

E5: Status of character driver

All E5 batch’s students are advised to update their current work status or progress in regard of character driver. Please all reply on same thread.  

Posted in Device Drivers | 3 Comments

Embedded Linux

Embedded Linux refers to a complete system, or in the context of an embedded Linux vendor, to a distribution targeted at embedded devices. Although the term “embedded” is often also used in kernel discussions, there is no special form of … Continue reading →

Posted in Embedded Linux, USB Driver | 1 Comment

It’s about connecting an h/w to Linux Based Machine..

Sir, Is rules.d in udev is the only way for a Linux Kernel to know about the connectivity of the External H/w Device or something else is also there as an alternate to it..??

Posted in Device Drivers | Leave a comment

Serial Port Status To Pravjot Sir

Implemented Serial Port DD for single byte with usage of 7 pins. Implemented Serial Port DD with FIFO for multiple bytes with the usage of 7 pins ….. Reading Interrupts……….

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

Parallel Port Status to Prabjot Sir

Implemented Compatibility Mode. Implemented Nibble mode for single and multiple bytes. Implemented Byte mode for single byte. Working on Byte mode for multiple bytes.

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