From: Ralf Jung Date: Thu, 13 Sep 2012 17:13:40 +0000 (+0200) Subject: Update udev file X-Git-Tag: debian/1.3.2-1~16 X-Git-Url: https://git.ralfj.de/osspd.git/commitdiff_plain/66217b106f8df5ae0604d68814bb9f3f40a20d8d?hp=b5e2a87d735cddc708199c75f9222b0c0eaa0289 Update udev file --- 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 index 0000000..53896ab --- /dev/null +++ b/debian/patches/0002-PA-recommends-users-not-to-be-in-the-audio-group-so-.patch @@ -0,0 +1,25 @@ +From: Ralf Jung +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" diff --git a/debian/patches/series b/debian/patches/series index c9f5083..9d80719 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1 +1,2 @@ 0001-Fix-compilation-with-Werror-format-security-use-CPPF.patch +0002-PA-recommends-users-not-to-be-in-the-audio-group-so-.patch