Standard Parallel Port Control Using the Custom Device Driver liftmon_snowcon

The Project Trailblazer engineers could barely contain their enthusiasm. They had an interface circuit that connected I/O modules to the parallel port. They had written code using inb and outb to control their interface board. They had created, compiled, and tested a proc module. Now they needed to take a really big step: Combine all these accomplishments and develop the custom lift monitoring and snow-making control device driver, liftmon_snowcon.

The engineers created the following requirements for liftmon_snowcon:

  • LS1: The driver should load at startup. This is easily accomplished by adding a line to an /etc/init.d/rcS or using the kernel module load file /etc/modules ...

Get Embedded Linux®: Hardware, Software, and Interfacing now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.