Open Source Automation Development Lab
You are here: Home / Projects / Other / 
2014-07-24 - 10:24

Next OSADL Events:

Breaking News:

2014-04-09 12:00

First LCA certificate issued

Major automation provider passed OSADL License Compliance Audit


2014-01-20 12:00

Good news from OIN

The Linux Defense Department



OSADL Projects

OSADL Project: Userspace Driver

Project Goal

Provide a generic framework for handling devices in userspace. The device driver is split into a small kernel part, which contains the device setup and the primary interrupt handling, and a user space part, which handles the device functionality.

UIO was originally part of the OSADL project "Universal Fieldbus and Industrial I/O Framework" and represents one of its kernel interfaces.

This HOWTO is part of the Linux kernel documentation.

Code

Since kernel version 2.6.23 (commit), UIO kernel component is part of the mainline Linux Kernel. This LWN article gives some more details on it.

The mainline Linux kernel contains a number of UIO user-space drivers that can be used as a template when writing such drivers, e.g.

uio_cif.c

UIO Hilscher CIF card driver

uio_sercos3.c

UIO driver for the Automata Sercos III PCI card

Library

The most recent version of the UIO library libUIO can be obtained from OSADL member Linutronix via git:

git clone git://git.linutronix.de/projects/libUIO