Click here to start

Table of contents

Ttile

Before moving on

Linux drivers for the serial port

Linux drivers for the parallel port

Devices connected to parallel ports

Suggested reading

Why are we making new drivers?

The lp_sensor device

The approach

The circuit diagram

The LM35 temperature sensor

The ADC804 converter

The circuit layout

The Data port

The Status port

The Control port

An I/O driver for the lp_sensor device

Main I/O driver characteristics

Steps to be performed (1)

Steps to be performed (2)

Handling the interrupt

Use of foo_dev

Author: D. P. Bovet, M. Cesati, V. Garofalo

E-mail: lkh@bravo.ce.uniroma2.it

Homepage: http://bravo.ce.uniroma2.it/kernelhacking2003/

Further information:
GNU Free Documentation License