From be65da47e69c427d6326603e7eccd84957cc34d2 Mon Sep 17 00:00:00 2001 From: Ken Schultz Date: Wed, 15 Jul 2009 17:01:47 -0500 Subject: [PATCH] init: Change owner of /dev/uinput to system This will allow the the uinput driver to be used by the system process as well as bluetooth, which is needed for sensors. Signed-off-by: Ken Schultz Signed-off-by: Mike Lockwood --- init/devices.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init/devices.c b/init/devices.c index 4c7b7da8c..720b913c2 100644 --- a/init/devices.c +++ b/init/devices.c @@ -100,7 +100,7 @@ static struct perms_ devperms[] = { { "/dev/android_adb_enable", 0660, AID_ADB, AID_ADB, 0 }, { "/dev/ttyMSM0", 0600, AID_BLUETOOTH, AID_BLUETOOTH, 0 }, { "/dev/ttyHS0", 0600, AID_BLUETOOTH, AID_BLUETOOTH, 0 }, - { "/dev/uinput", 0600, AID_BLUETOOTH, AID_BLUETOOTH, 0 }, + { "/dev/uinput", 0660, AID_SYSTEM, AID_BLUETOOTH, 0 }, { "/dev/alarm", 0664, AID_SYSTEM, AID_RADIO, 0 }, { "/dev/tty0", 0660, AID_ROOT, AID_SYSTEM, 0 }, { "/dev/graphics/", 0660, AID_ROOT, AID_GRAPHICS, 1 },