EmbLogic's Blog

Category Archives: Character Driver

Character Device Driver : RCS [init, open, write, read, seek ,clean]

RCS FOR INITILIZATION RCS file: ./initialization.c,v Working file: ./initialization.c head: 1.8 branch: locks: strict root: 1.8 access list: symbolic names: keyword substitution: kv total revisions: 8;    selected revisions: 8 description: initialization function registering char driver. —————————- revision 1.8    locked by: … Continue reading

Posted in Character Driver | Leave a comment

Character Driver ( Registration, Open, Write, Cleanup) along with proc

Character driver completed and successfully tested with registration, open, write and cleanup modules and debugged using proc file system. The logfiles are as under : RCS file: initialization.c,v 3 Working file: initialization.c 4 head: 1.5 5 branch: 6 locks: strict … Continue reading

Posted in Character Driver | Leave a comment

rcs of driver initialization…….

head    1.19; 2 access; 3 symbols; 4 locks 5         root:1.19; strict; 6 comment @ * @; 7 8 9 1.19 10 date    2014.10.05.10.38.59;    author root;    state Exp; 11 branches; 12 next    1.18; 13 14 1.18 15 date    2014.10.05.10.38.24;    author root;    … Continue reading

Posted in Character Driver | Leave a comment

about /proc

The Linux kernel has two primary functions: to control access to physical devices on the computer and to schedule when and how processes interact with these devices. The /proc/ directory — also called the proc file system — contains a … Continue reading

Posted in Character Driver, Device Drivers | Leave a comment

synchronization techniques

The various synchronization techniques at kernel level are- Semaphore Completions Spinlock in semaphore we use system calls- up and down before entering into critical section the integer semaphore value is decremented by using down and it is incremented using call … Continue reading

Posted in Character Driver | Leave a comment

How to find chipset mounted on your motherboard?????

You can find the chipset mounted on your motherboard . using coomand ==lspci on the terminal will give ou list of all chipset for audio card , usb ,serial, parallel ,vga …….etc

Posted in Character Driver, Parallel Port Driver, Serial Port Driver | Leave a comment

Implementation of Register and Unregister in kernel

……………………………HEADER……………………………….. head    1.1; access; symbols; locks; strict; comment    @ * @; 1.1 date    2014.06.25.11.52.30;    author root;    state Exp; branches; next    ; desc @The test of register and unregister on kernels @ ……………………….DEFAULT………………………….. head    1.2; access; symbols; locks; strict; comment    @ … Continue reading

Posted in Character Driver | Leave a comment

character driver connection

Posted in Character Driver | Leave a comment

Character Device Driver

?The kernel offers several subroutines or functions in user space, which allow the end user application programmer to interact with the hardware. Usually, in UNIX or Linux systems, this dialogue is performed through functions or subroutines in order to read and write files. … Continue reading

Posted in Character Driver | Leave a comment

simple print at kernel

head    1.1; access; symbols; locks root:1.1; strict; comment    @ * @; 1.1 date    2014.06.21.09.20.59;    author root;    state Exp; branches; next    ; desc @print on kernel. @ 1.1 log @Initial revision @

Posted in Character Driver | Leave a comment

head 1.1; access; symbols; locks emblogic:1.1; strict; comment @ * @; 1.1 date 2014.06.21.06.46.49; author emblogic; state Exp; branches; next ; desc @create a module.. using module_init and module_exit system calls.. then insert and delete the module from the list … Continue reading

Posted in Character Driver | Leave a comment

Character driver – initialization and cleanup

RCS file: ./header.h,v Working file: ./header.h head: 1.1 branch: locks: strict access list: symbolic names: keyword substitution: kv total revisions: 1; selected revisions: 1 description: include the header files for module_exit() and for module_init() also include the license —————————- revision … Continue reading

Posted in Character Driver | Leave a comment

Kernel Timers

Timers are used to schedule execution of a function (a timer handler) at a particular time in the future. They thus work differently from task queues and in that you can specify when in the future your function will be … Continue reading

Posted in Character Driver | Leave a comment

implemented ioctl :change quantum and qset using operation

RCS file: ./ioctl.c,v Working file: ./ioctl.c head: 1.23 branch: locks: strict root: 1.23 access list: symbolic names: keyword substitution: kv total revisions: 23; selected revisions: 23 description: this is our ioctl.c file for driver operations —————————- revision 1.23 locked by: … Continue reading

Posted in Character Driver | Leave a comment

implemented :completion synchronization technique

RCS file: ./write.c,v 3 Working file: ./write.c 4 head: 1.163 5 branch: 6 locks: strict 7 root: 1.163 8 access list: 9 symbolic names: 10 keyword substitution: kv 11 total revisions: 163; selected revisions: 163 12 description: 13 this is … Continue reading

Posted in Character Driver, Device Drivers | Leave a comment