Open Source Automation Development Lab
You are here: Home / Projects / Other / 
2012-02-09 - 12:00

Next OSADL Events:

Embedded World 2012
28.02. - 01.03.

Breaking News:

2011-06-13 12:00

Last call for RTLWS13 abstracts

Even real-time people are late sometimes ...


2011-06-12 12:00

Not yet registered at the Summer School in Linz, Austria?

Do not miss talks by international experts on formal code analysis, Linux real-time and safety.


2011-05-19 12:00

Linux real-time news from San Francisco

Thomas Gleixner at the Embedded Linux Conference 2011



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