summaryrefslogtreecommitdiff
path: root/src/video_out/libdha/kernelhelper/README
diff options
context:
space:
mode:
Diffstat (limited to 'src/video_out/libdha/kernelhelper/README')
-rw-r--r--src/video_out/libdha/kernelhelper/README24
1 files changed, 14 insertions, 10 deletions
diff --git a/src/video_out/libdha/kernelhelper/README b/src/video_out/libdha/kernelhelper/README
index cb5964cb8..98a7923b3 100644
--- a/src/video_out/libdha/kernelhelper/README
+++ b/src/video_out/libdha/kernelhelper/README
@@ -1,7 +1,7 @@
dhahelper is small driver to provide some kernel function into userspace.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-Main goal why you need to use that it's busmastering.
-(Btw, lacking of possibility to implement convertion of
+The main reason you need to use dhahelper is for busmastering.
+(Btw, lacking of possibility to implement conversion of
virtual addresses into physical in userspace caused
implementing of so-called DRM drivers for Linux from
XFree86 side).
@@ -14,21 +14,25 @@ Installation:
just type in this directory:
make all install
-If you have compiled this driver first-time then
-type also:
-make nodes
+The device node /dev/dhahelper will be created. The initial
+permissions of this node are restrictive. See below for information
+on how to make it available to non-root users.
Porting:
~~~~~~~~
This driver was developed only for Linux.
-So if someone will port that on other unicies
+So if someone will port that on other unices
then any patches are gladly accepted.
WARNING:
~~~~~~~~
-This driver violates some kernel's security rules.
-To keep this driver from anonymous access I suggest
-you create new group for mplayerxp and /dev/dhahelper
-only.
+
+This driver violates some kernel security rules. To keep this driver
+from anonymous access I suggest you create a new group (e.g. dha) for
+/dev/dhahelper and set the permissions to 660 (or ug+rw,o-rw). Then
+do one of the following:
+
+- add trusted users to group dha.
+- make trusted applications SGID to dha.
Good luck!