Rules for udev on RTAI

From Rsewiki
(Difference between revisions)
Jump to: navigation, search
 
Line 12: Line 12:
 
  KERNEL=="comedi[0-9]", MODE="0666"
 
  KERNEL=="comedi[0-9]", MODE="0666"
 
  KERNEL=="comedi1[0-5]", MODE="0666"
 
  KERNEL=="comedi1[0-5]", MODE="0666"
  KERNEL=="comedi0_sub[0-1]", MODE="0666"
+
  KERNEL=="comedi*_sub[0-9]", MODE="0666"
  
 
The following files should be added to the path
 
The following files should be added to the path
 
  /etc/udev/rules.d
 
  /etc/udev/rules.d

Latest revision as of 11:31, 5 April 2011

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
Personal tools
Namespaces

Variants
Actions
Navigation
Toolbox