INTRODUCTION: Device driver is basically a module(piece of code) used to make possible the communication between hardware and application like VLC media player,firefox,USB devices etc.So device driver is used to drive the hardware according to the application.Different type of applications … Continue reading
Character-driven drivers are device drivers that operate on characters (bytes) as the basic unit of input and output. They are accessed in a sequential, non-random manner. I started writing my first character driver by writing the simplest module – … Continue reading
RCS file: new_lkm.c,v Working file: new_lkm.c head: 1.19 branch: locks: strict root: 1.19 access list: symbolic names: keyword substitution: kv total revisions: 20; selected revisions: 20 description: in this i register many no. of devices that we can provide at … Continue reading
MULTI THREAD(open,write,read,close) amit.c RCS file: amit.c,v Working file: amit.c head: 1.13 branch: locks: strict amitdalal: 1.13 access list: symbolic names: keyword substitution: kv total revisions: 13; selected revisions: 13 description: added function of copy from user printk the no of … Continue reading
RCS file: new_lkm.c,v Working file: new_lkm.c head: 1.18 branch: locks: strict root: 1.18 access list: symbolic names: keyword substitution: kv total revisions: 19; selected revisions: 19 description: in this i register many no. of devices that we can provide at … Continue reading
RCS file: chard.c,v Working file: chard.c head: 1.10 branch: locks: strict emblogic: 1.10 access list: symbolic names: keyword substitution: kv total revisions: 10; selected revisions: 10 description: registered and unregistered devices using alloc_chrdev_region and unregis_chrdev_region. implemented scull_setup function. implemented scull_open … Continue reading
RCS file: lkm.c,v Working file: lkm.c head: 1.18 branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 18; selected revisions: 18 description: Created the base module. Used alloc_chrdev_region and register_chrdev_region to register the driver and unregistered it … Continue reading
RCS file: chard.c,v Working file: chard.c head: 1.6 branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 6; selected revisions: 6 description: registered and unregistered devices using alloc_chrdev_region and unregis_chrdev_region. implemented scull_setup function. implemented scull_open routine. started … Continue reading
RCS file: new_lkm.c,v Working file: new_lkm.c head: 1.16 branch: locks: strict root: 1.16 access list: symbolic names: keyword substitution: kv total revisions: 17; selected revisions: 17 description: in this i register many no. of devices that we can provide at … Continue reading
CS file: ./ch_d.c,v Working file: ./ch_d.c head: 1.15 branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 15; selected revisions: 15 description: Basic Driver Arch. with cdev initionlized —————————- revision 1.15 date: 2013/07/16 23:23:14; author: vikram; state: … Continue reading
RCS file: hello.c,v Working file: hello.c head: 1.17 branch: access list: symbolic names: keyword substitution: kv total revisions: 17; selected revisions: 17 description: Base module. —————————- revision 1.17 date: 2013/07/12 07:02:51; author: user1; state: Exp; lines: +35 -6 Modified read() … Continue reading
RCS file: chard.c,v Working file: chard.c head: 1.6 branch: locks: strict emblogic: 1.6 access list: symbolic names: keyword substitution: kv total revisions: 6; selected revisions: 6 description: registered and unregistered devices using alloc_chrdev_region and unregis_chrdev_region. implemented scull_setup function. implemented scull_open … Continue reading
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
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
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