EmbLogic's Blog

Category Archives: Device Drivers

Character Driver Function Write & Read Successfully Implemented.

Posted in Character Driver | Tagged | Leave a comment

Character driver

Sir, i have completed read, write operation in character driver, using semaphore,ioctl. Also implementing kernel timer.  

Posted in Character Driver | Leave a comment

PC16550D UART with FIFO

The PC16550D is an improved version of he original 16450 USRT functionally identical to 16450 on powerup (Character Mode). The PC16550D can be put into an alternative mode, (FIFO mode) to relieve the CPU of  excessive software overhead.

Posted in Serial Port Driver | Leave a comment

SCULLPIPE

hello sir, I wanted to ask that how can we use Lables for calling a predefined kernel function from another function. For .eg.. ssize_t scull_write() { write: xyz; } ssize scull_read() { goto write; } this calling of the write … Continue reading

Posted in Character Driver | Leave a comment

vim /usr/src/linux-xyz/include/asm-generics/ioctl.h

#ifndef _IOC_NONE # define _IOC_NONE      0U #endif #ifndef _IOC_WRITE # define _IOC_WRITE     1U #endif #ifndef _IOC_READ # define _IOC_READ      2U #endif please explain these lines of code>>!!  

Posted in Character Driver, Device Drivers | Leave a comment

character driver

proper implementation of cdev_init and cdev_add for 25 nod done.

Posted in Character Driver | Leave a comment

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 | Leave a 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