EmbLogic's Blog

Category Archives: Device Drivers

Prince Singla : E-30.01.30

RCS file: char_driver.c,v Working file: char_driver.c head: 1.6 branch: locks: strict emblogic: 1.6 access list: symbolic names: keyword substitution: kv total revisions: 6; selected revisions: 6 description: register using alloc. successfullu implement sculldev sucessfully implement cdev —————————- revision 1.6 locked … Continue reading →

Posted in Character Driver | Leave a comment

Kushal Chugh : E-30.01.30

RCS file: lkm.c,v Working file: lkm.c head: 1.11 branch: locks: strict emblogic: 1.11 access list: symbolic names: keyword substitution: kv total revisions: 11; selected revisions: 11 description: —————————- revision 1.11 locked by: emblogic; date: 2013/07/11 12:37:36; author: emblogic; state: Exp; … Continue reading →

Posted in Character Driver | Tagged | Leave a comment

Avtar Singh E- 30.01.30

RCS file: new_lkm.c,v Working file: new_lkm.c head: 1.10 branch: locks: strict root: 1.10 access list: symbolic names: keyword substitution: kv total revisions: 11; selected revisions: 11 description: in this i register many no. of devices that we can provide at … Continue reading →

Posted in Character Driver | Tagged | Leave a comment

30.1.30: JATINDER KUNAR

Implemented the driver fror n number of byte reading and n number of byte writing. Now going to sleep as provjot sir said today …. go to bed on time. good night. RCS file: lkm.c,v Working file: lkm.c head: 1.17 … Continue reading →

Posted in Character Driver, Device Drivers | Tagged | Leave a comment

Character Driver

RCS file: chard.c,v Working file: chard.c head: 1.5 branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 5;     selected revisions: 5 description: registered and unregistered devices using alloc_chrdev_region and unregis_chrdev_region. implemented scull_setup function. implemented scull_open routine. started … Continue reading →

Posted in Character Driver | Tagged | Leave a comment

Character Driver Update

Completed registering and unregistering driver. Implemented Open and Release operations to open and close a node by using my own charater driver.

Posted in Character Driver | Leave a comment

E30.1.30 (update)

completed the task of opening a node, with the help of my own registered driver.

Posted in Character Driver, Device Drivers | Tagged | 1 Comment

30.01.30: JATINDER KUMAR

today i made simplest driver hello word . understood lsmod,rmmod,insmod now i am going home

Posted in Device Drivers | Tagged | Leave a comment

30.01.30 : Taruna

Completed today’s work… Made the simplest device driver

Posted in Character Driver | Tagged | Leave a comment

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 | 1 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