* [PATCH] android: Adjust uinput permissions
@ 2014-03-13 10:05 Andrzej Kaczmarek
2014-03-13 20:39 ` Szymon Janc
0 siblings, 1 reply; 2+ messages in thread
From: Andrzej Kaczmarek @ 2014-03-13 10:05 UTC (permalink / raw)
To: linux-bluetooth; +Cc: Andrzej Kaczmarek
We need to make sure /dev/uinput accessible for BlueZ in order for
AVRCP to work properly. On some devices (e.g. Nexus 7 a.k.a. flo)
permissions are set by default to 'system net_bt_stack' as thus we
need to change group to 'bluetooth'.
---
android/init.bluetooth.rc | 1 +
1 file changed, 1 insertion(+)
diff --git a/android/init.bluetooth.rc b/android/init.bluetooth.rc
index 8be869a..af62121 100644
--- a/android/init.bluetooth.rc
+++ b/android/init.bluetooth.rc
@@ -2,6 +2,7 @@
on boot
chown bluetooth bluetooth /data/misc/bluetooth
chown bluetooth bluetooth /dev/uhid
+ chown system bluetooth /dev/uinput
# services
on property:bluetooth.start=daemon
--
1.9.0
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH] android: Adjust uinput permissions
2014-03-13 10:05 [PATCH] android: Adjust uinput permissions Andrzej Kaczmarek
@ 2014-03-13 20:39 ` Szymon Janc
0 siblings, 0 replies; 2+ messages in thread
From: Szymon Janc @ 2014-03-13 20:39 UTC (permalink / raw)
To: Andrzej Kaczmarek; +Cc: linux-bluetooth
Hi Andrzej,
On Thursday 13 March 2014 11:05:15 Andrzej Kaczmarek wrote:
> We need to make sure /dev/uinput accessible for BlueZ in order for
> AVRCP to work properly. On some devices (e.g. Nexus 7 a.k.a. flo)
> permissions are set by default to 'system net_bt_stack' as thus we
> need to change group to 'bluetooth'.
> ---
> android/init.bluetooth.rc | 1 +
> 1 file changed, 1 insertion(+)
>
> diff --git a/android/init.bluetooth.rc b/android/init.bluetooth.rc
> index 8be869a..af62121 100644
> --- a/android/init.bluetooth.rc
> +++ b/android/init.bluetooth.rc
> @@ -2,6 +2,7 @@
> on boot
> chown bluetooth bluetooth /data/misc/bluetooth
> chown bluetooth bluetooth /dev/uhid
> + chown system bluetooth /dev/uinput
>
> # services
> on property:bluetooth.start=daemon
Pushed, thanks.
--
Szymon K. Janc
szymon.janc@gmail.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2014-03-13 20:39 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-03-13 10:05 [PATCH] android: Adjust uinput permissions Andrzej Kaczmarek
2014-03-13 20:39 ` Szymon Janc
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.