Rules for udev on RTAI

From Rsewiki
Revision as of 14:54, 12 June 2009 by Sh (talk | contribs)

In order to allow normal users to get permission to use Comedi devices and RTAI fifos the following rules can be used

RTAI rules (Filename: 99-rtai.rules):

# RTAI:rtai_shm
KERNEL=="rtai_shm", MODE="0666"

# RTAI:rtai_fifos
KERNEL=="rtf[0-9]*", MODE="0666"

Comedi rules (Filename: 99-comedi.rules):

# Comedi devices
KERNEL=="comedi[0-9]", MODE="0666"
KERNEL=="comedi1[0-5]", MODE="0666"
KERNEL=="comedi0_sub[0-1]", MODE="0666"

The following files should be added to the path

/etc/udev/rules.d