Rules for udev on RTAI: Difference between revisions

From Rsewiki
(New page: 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...)
 
No edit summary
 
(One intermediate revision by the same user not shown)
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 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