Update udev file
authorRalf Jung <post@ralfj.de>
Thu, 13 Sep 2012 17:13:40 +0000 (19:13 +0200)
committerRalf Jung <post@ralfj.de>
Thu, 13 Sep 2012 17:13:40 +0000 (19:13 +0200)
debian/patches/0002-PA-recommends-users-not-to-be-in-the-audio-group-so-.patch [new file with mode: 0644]
debian/patches/series

diff --git a/debian/patches/0002-PA-recommends-users-not-to-be-in-the-audio-group-so-.patch b/debian/patches/0002-PA-recommends-users-not-to-be-in-the-audio-group-so-.patch
new file mode 100644 (file)
index 0000000..53896ab
--- /dev/null
@@ -0,0 +1,25 @@
+From: Ralf Jung <post@ralfj.de>
+Date: Thu, 13 Sep 2012 19:13:25 +0200
+Subject: PA recommends users *not* to be in the audio group, so allow
+ everyone to use these devices
+
+---
+ 98-osscuse.rules |    9 ++++-----
+ 1 file changed, 4 insertions(+), 5 deletions(-)
+
+diff --git a/98-osscuse.rules b/98-osscuse.rules
+index c1430fd..9b40bec 100644
+--- a/98-osscuse.rules
++++ b/98-osscuse.rules
+@@ -1,7 +1,6 @@
+-# Since these devices are not part of 'sound' subsystem the group is forced
+-# to audio by name
++# Allow everyone to use these devices
+ # /dev/cuse can stay  mode 0660 root:root since osspd is run as root
+ # and drops privileges to user level when opened by user
+-KERNEL=="dsp", GROUP="audio"
+-KERNEL=="mixer", GROUP="audio"
+-KERNEL=="adsp", GROUP="audio"
++KERNEL=="dsp", SUBSYSTEM=="cuse", MODE="0666"
++KERNEL=="mixer", SUBSYSTEM=="cuse", MODE="0666"
++KERNEL=="adsp", SUBSYSTEM=="cuse", MODE="0666"
index c9f5083a7dee348f421be9e8119e9947de77cbf4..9d80719243b91a2d1390d3b3677babffe6f81a53 100644 (file)
@@ -1 +1,2 @@
 0001-Fix-compilation-with-Werror-format-security-use-CPPF.patch
 0001-Fix-compilation-with-Werror-format-security-use-CPPF.patch
+0002-PA-recommends-users-not-to-be-in-the-audio-group-so-.patch