EmbLogic's Blog

Category Archives: Device Drivers

Understand RS232 Connection & Signals

RS-232C, EIA RS-232, or simply RS-232, refers to the same standard defined by the Electronic Industries Association in 1969 for serial communication. RS-232 is a standard for serial communication transmission of data. It formally defines the signals connecting between a … Continue reading

Posted in Serial Port Driver | Leave a comment

Nibble Mode Communication using IEEE Standard 1284-1994(Standard Signalling Method)

Implementation of Nibble Mode communication using Parallel Port Device Driver. 1. Host signals ability to take data by making the Busy pin low. 2. Now peripheral or writer responds by placing First nibble. Writer Writes on Data line, on the … Continue reading

Posted in Parallel Port Driver | Leave a comment

IEEE Std 1284 – 1994 : Standard Signalling Method for a bi-directional parallel peripheral interface for personal computers (Nibble Mode) and associated device driver

This project implements the protocol, for data transfer between a personal computer and a parallel peripheral interface, under NIBBLE MODE. The protocol has been implemented by using polling method for checking the status of the peripheral device and the host. … Continue reading

Posted in Parallel Port Driver | Leave a comment

IEEE Std 1284 – 1994 : Standard Signalling Method for a bi-directional parallel peripheral interface for personal computers ( Byte Mode) and associated device driver

Writing a driver for 74LS244 parallel port and implementing read and write operations under compatability mode. Following are the rcs files : 1. initialization : RCS file: ./initialization.c,v Working file: initialization.c head: 1.4 branch: locks: strict root: 1.4 access list: … Continue reading

Posted in Parallel Port 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

Character Driver VS Block Driver

There are two main types of devices under all systems, character and block devices. Character devices are those for which no buffering is performed, and block devices are those which are accessed through a cache. Block devices must be random … Continue reading

Posted in Device Drivers | 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

Interrupts in Parallel Port

A parallel port can generate interrupts when the voltage level on a certain input pin changes. The parallel port has to be instructed explicitly to generate interrupts and it is also possible to inhibit interrupts (e.g., while serving a previous … Continue reading

Posted in Parallel Port Driver | Leave a comment

what is a Device Driver

What is a Device Driver? Making hardware work is tedious. To write to a hard disk, for example, requires that you write magic numbers in magic places, wait for the hard drive to say that it is ready to receive … Continue reading

Posted in Device Drivers | 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

Linux kernel,device driver and some modules

Posted in Device Drivers | Leave a comment

character driver connection

Posted in Character Driver | Leave a comment