All of lore.kernel.org
 help / color / mirror / Atom feed
From: Szymon Janc <szymon.janc@gmail.com>
To: Andrzej Kaczmarek <andrzej.kaczmarek@tieto.com>
Cc: linux-bluetooth@vger.kernel.org
Subject: Re: [PATCH] android: Adjust uinput permissions
Date: Thu, 13 Mar 2014 21:39:15 +0100	[thread overview]
Message-ID: <1832213.AdQL97zugQ@athlon> (raw)
In-Reply-To: <1394705115-20738-1-git-send-email-andrzej.kaczmarek@tieto.com>

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

      reply	other threads:[~2014-03-13 20:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-03-13 10:05 [PATCH] android: Adjust uinput permissions Andrzej Kaczmarek
2014-03-13 20:39 ` Szymon Janc [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1832213.AdQL97zugQ@athlon \
    --to=szymon.janc@gmail.com \
    --cc=andrzej.kaczmarek@tieto.com \
    --cc=linux-bluetooth@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.