EmbLogic's Blog

Char Driver Logfile

RCS file: first_driver.c,v
Working file: first_driver.c
head: 2.23
branch:
locks: strict
access list:
symbolic names:
keyword substitution: kv
total revisions: 33; selected revisions: 33
description:
base prog.
able to register the device through old method.
—————————-
revision 2.23
date: 2013/08/01 11:53:49; author: rahul; state: Exp; lines: +7 -6
done with proc
able to creat pages.
—————————-
revision 2.22
date: 2013/08/01 11:00:22; author: rahul; state: Exp; lines: +78 -35
done with ioctl command
created scull_ioctl function.
able to change the quantum size.
—————————-
revision 2.21
date: 2013/07/26 11:08:11; author: rahul; state: Exp; lines: +108 -11
implemented spin_lock()
implemented completion()
but to implement syncro between writes of two diffrent applications & reads of two diffrent applications, we have to use semaphore between application.
—————————-
revision 2.20
date: 2013/07/22 14:04:17; author: rahul; state: Exp; lines: +26 -26
faced problem with trim function again.
previous ligic was not correct.
used data_size which was declared in struct sculldev.
working fine
—————————-
revision 2.19
date: 2013/07/22 12:22:22; author: rahul; state: Exp; lines: +57 -9
done with semaphores in device driver.
used call sema_init().
—————————-
revision 2.18
date: 2013/07/21 20:05:01; author: rahul; state: Exp; lines: +40 -13
done with multi thread 5 applications
.syncro done with the help of semaphores.
—————————-
revision 2.17
date: 2013/07/20 13:24:29; author: rahul; state: Exp; lines: +173 -104
done with lseek.
first write then lseek then write.
done for within one quantum.
—————————-
revision 2.16
date: 2013/07/19 06:54:18; author: rahul; state: Exp; lines: +4 -3
able to use multi thread application.
—————————-
revision 2.15
date: 2013/07/18 10:09:58; author: rahul; state: Exp; lines: +1 -1
ok for lseek before write.
—————————-
revision 2.14
date: 2013/07/17 10:03:13; author: rahul; state: Exp; lines: +40 -26
done with lseek before write & after write.
complete for seek till 8 bytes only.
now working with multiple quantums.
—————————-
revision 2.13
date: 2013/07/16 12:31:05; author: rahul; state: Exp; lines: +75 -7
inserted function for llseek.
able to seek before write operation.
next step to use lseek after the write operation.
—————————-
revision 2.12
date: 2013/07/14 06:21:44; author: rahul; state: Exp; lines: +57 -19
added informations of the read function.
—————————-
revision 2.11
date: 2013/07/13 11:36:53; author: rahul; state: Exp; lines: +24 -29
done with read & write.
—————————-
revision 2.10
date: 2013/07/13 08:15:40; author: rahul; state: Exp; lines: +132 -29
m happy now…… after 24 hours i am able debug my program….. now ir is able to write & read even for more then 64 bytes…
bug was with memory allocation….
—————————-
revision 2.9
date: 2013/07/11 12:59:35; author: rahul; state: Exp; lines: +30 -20
done with multiple qset entry.
added while loop along with the if ele condition.
—————————-
revision 2.8
date: 2013/07/11 11:15:03; author: rahul; state: Exp; lines: +21 -6
done with multiple quantums.
—————————-
revision 2.7
date: 2013/07/11 08:14:55; author: rahul; state: Exp; lines: +9 -4
able to write from user buffer to quantum. but only for 1 quantum.
now tring for multiple quantums.
—————————-
revision 2.6
date: 2013/07/11 07:54:58; author: rahul; state: Exp; lines: +66 -31
able to create quantum.
—————————-
revision 2.5
date: 2013/07/10 09:34:52; author: rahul; state: Exp; lines: +52 -8
created function for quantum creation.
testing ok.
—————————-
revision 2.4
date: 2013/07/09 11:51:18; author: rahul; state: Exp; lines: +54 -6
created scullqset function.
allocated memory for sculqset using kmalloc.
—————————-
revision 2.3
date: 2013/07/08 11:48:32; author: rahul; state: Exp; lines: +25 -3
mapped scull_read & scull_wrrite function with open call.
—————————-
revision 2.2
date: 2013/07/08 08:33:04; author: rahul; state: Exp; lines: +11 -10
initialises the value of open count in struct scull dev.
—————————-
revision 2.1
date: 2013/07/05 07:23:17; author: rahul; state: Exp; lines: +12 -11
done with looping also.
dev value at unregistration should be major no and 0.
—————————-
revision 2.0
date: 2013/07/04 11:50:08; author: rahul; state: Exp; lines: +4 -4
*** empty log message ***
—————————-
revision 1.9
date: 2013/07/04 11:41:53; author: rahul; state: Exp; lines: +31 -12
done for single device again
—————————-
revision 1.8
date: 2013/07/04 08:24:47; author: rahul; state: Exp; lines: +49 -20
inserted function for scull_trim.
done preservation of private data in struct file.
—————————-
revision 1.7
date: 2013/07/02 13:49:48; author: rahul; state: Exp; lines: +23 -24
done for 10 devices
—————————-
revision 1.6
date: 2013/07/02 13:10:25; author: rahul; state: Exp; lines: +2 -2
*** empty log message ***
—————————-
revision 1.5
date: 2013/07/02 13:09:23; author: rahul; state: Exp; lines: +5 -4
final with single devices.
—————————-
revision 1.4
date: 2013/07/02 12:40:45; author: rahul; state: Exp; lines: +14 -14
done for one number of device.
—————————-
revision 1.3
date: 2013/07/02 08:58:15; author: rahul; state: Exp; lines: +65 -8
done with scull initialisation scull_init().
—————————-
revision 1.2
date: 2013/07/01 11:10:21; author: rahul; state: Exp; lines: +32 -5
inserted for loop for calculating diffrnt minor numbers against one major numbr.
otherwise it is working fine.
—————————-
revision 1.1
date: 2013/07/01 07:24:56; author: rahul; state: Exp;
Initial revision
=============================================================================

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>