23 строки
867 B
Diff
23 строки
867 B
Diff
From 9fbe2510fed7f3a4b013328cb3e20fb085ec290c Mon Sep 17 00:00:00 2001
|
|
From: Tomas Hozza <thozza@redhat.com>
|
|
Date: Wed, 1 Oct 2014 14:22:42 +0200
|
|
Subject: [PATCH] Don't use plugdev group, but logind magic
|
|
|
|
Signed-off-by: Tomas Hozza <thozza@redhat.com>
|
|
---
|
|
udev/openobex.rules.in | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/udev/openobex.rules.in b/udev/openobex.rules.in
|
|
index 9c83ed3..da5145f 100644
|
|
--- a/udev/openobex.rules.in
|
|
+++ b/udev/openobex.rules.in
|
|
@@ -1,3 +1,3 @@
|
|
#udev script to make USB CDC devices with OBEX accessible to users
|
|
|
|
-ACTION=="add", SUBSYSTEM=="usb", PROGRAM="@prefix@/sbin/obex-check-device $attr{idVendor} $attr{idProduct}", MODE="660", GROUP="plugdev"
|
|
+ACTION=="add", SUBSYSTEM=="usb", PROGRAM="@prefix@/sbin/obex-check-device $attr{idVendor} $attr{idProduct}", MODE="660", ENV{ID_MEDIA_PLAYER}="1"
|
|
--
|
|
1.9.3
|
|
|