Commit 9a24e1d2 authored by Federico Vaga's avatar Federico Vaga

doc:drv: add information about files permission

Signed-off-by: Federico Vaga's avatarFederico Vaga <federico.vaga@cern.ch>
parent 7018d229
......@@ -95,6 +95,19 @@ device.
- notification IRQ: The Linux IRQ number to use for Mock Turtle cores
notifications.
Permissions
-----------
Mock Turtle does not uses any special group or user on the host system;
all driver's files are owned by ``root:root``. Mock Turtle applications may
want to change this and assign special users, groups and permission. We suggest
to do this using ``udev(7)`` rules. To filter out a special application in
udev rules you should use the sysfs attribute ``application_id``. For example
the following rule matches the Mock Turtle device with application ID
``0xbadc0ffe``::
SUBSYSTEM=="mockturtle", KERNEL=="trtl-[0-9a-zA-Z][0-9a-zA-Z][0-9a-zA-Z][0-9a-zA-Z]", ATTR{application_id}="0xbadc0ffe"
Interfaces
==========
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment