Rules for udev on RTAI

From Rsewiki
Revision as of 11:31, 5 April 2011 by Sh (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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=="comedi*_sub[0-9]", MODE="0666"

The following files should be added to the path

/etc/udev/rules.d