summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcodeworkx <codeworkx@cyanogenmod.org>2012-12-16 16:03:29 +0100
committercodeworkx <codeworkx@cyanogenmod.org>2012-12-16 16:03:29 +0100
commitddb15e658e8b1dbee21a3b60d0cb6e4f198ed2d0 (patch)
treea4fd479147621fe8c7d312f97f5e46db86db9fff
parentec26d7183e8cc325c28c57ca4147324894a56b4e (diff)
downloaddevice_samsung_smdk4412-common-ddb15e658e8b1dbee21a3b60d0cb6e4f198ed2d0.zip
device_samsung_smdk4412-common-ddb15e658e8b1dbee21a3b60d0cb6e4f198ed2d0.tar.gz
device_samsung_smdk4412-common-ddb15e658e8b1dbee21a3b60d0cb6e4f198ed2d0.tar.bz2
smdk4412: common uevent conf, fix perms on exynos-mem
Change-Id: Ic7188ba15e54a4fc4b5e4a890ca956aa6c2f5018
-rw-r--r--common.mk4
-rw-r--r--ueventd.smdk4x12.rc101
2 files changed, 104 insertions, 1 deletions
diff --git a/common.mk b/common.mk
index d85f121..50c4aca 100644
--- a/common.mk
+++ b/common.mk
@@ -29,7 +29,9 @@ $(call inherit-product, device/common/gps/gps_us_supl.mk)
PRODUCT_COPY_FILES := \
$(COMMON_PATH)/init.smdk4x12.usb.rc:root/init.smdk4x12.usb.rc \
$(COMMON_PATH)/lpm.rc:root/lpm.rc \
- $(COMMON_PATH)/init.trace.rc:root/init.trace.rc
+ $(COMMON_PATH)/init.trace.rc:root/init.trace.rc \
+ $(COMMON_PATH)/ueventd.smdk4x12.rc:root/ueventd.smdk4x12.rc \
+ $(COMMON_PATH)/ueventd.smdk4x12.rc:recovery/root/ueventd.smdk4x12.rc
# Audio
PRODUCT_COPY_FILES += \
diff --git a/ueventd.smdk4x12.rc b/ueventd.smdk4x12.rc
new file mode 100644
index 0000000..c8d4670
--- /dev/null
+++ b/ueventd.smdk4x12.rc
@@ -0,0 +1,101 @@
+/dev/mali 0666 system system
+/dev/ump 0666 system graphics
+/dev/ion 0666 system system
+/dev/exynos-mem 0660 system graphics
+
+/dev/media0 0660 system system
+/dev/media1 0660 system camera
+/dev/media2 0660 system camera
+/dev/v4l-subdev0 0660 system system
+/dev/v4l-subdev1 0660 system system
+/dev/v4l-subdev3 0660 system system
+/dev/v4l-subdev4 0660 system system
+/dev/v4l-subdev5 0660 system system
+/dev/v4l-subdev6 0660 system system
+/dev/v4l-subdev7 0660 system system
+/dev/v4l-subdev8 0660 system system
+/dev/v4l-subdev9 0660 system system
+/dev/v4l-subdev10 0660 system system
+/dev/v4l-subdev11 0660 system system
+/dev/v4l-subdev12 0660 system system
+/dev/v4l-subdev13 0660 system system
+/dev/v4l-subdev14 0660 system system
+/dev/v4l-subdev15 0660 system system
+/dev/v4l-subdev16 0660 system system
+/dev/v4l-subdev17 0660 system system
+
+/dev/video0 0666 system system
+/dev/video1 0666 system camera
+/dev/video2 0666 system system
+/dev/video3 0666 system system
+/dev/video4 0666 system system
+/dev/video11 0666 system system
+/dev/video12 0666 system system
+/dev/video16 0666 system system
+/dev/video20 0666 system system
+/dev/video6 0660 media graphics
+/dev/video7 0660 media graphics
+
+/dev/video11 0666 system graphics
+/dev/video12 0660 system camera
+
+/dev/video16 0660 system system
+/dev/video17 0660 system system
+/dev/video18 0660 system system
+/dev/video19 0660 system system
+
+# Rotator
+/dev/video21 0660 system system
+
+/dev/video23 0660 system system
+/dev/video24 0660 system system
+/dev/video25 0660 system camera
+/dev/video26 0666 media m2m
+/dev/video29 0666 media m2m
+/dev/video32 0660 media m2m
+
+/dev/video33 0660 system system
+/dev/video34 0660 system system
+
+/dev/video40 0660 system camera
+/dev/video41 0660 system camera
+/dev/video42 0660 system camera
+/dev/video43 0660 system camera
+
+/dev/i2c-2 0660 system system
+/dev/i2c-5 0660 system system
+/dev/i2c-6 0660 system system
+/dev/CEC 0660 system system
+/dev/HPD 0660 system system
+/dev/fimg2d 0666 system graphics
+/dev/fmradio 0660 system audio
+
+#ALP Audio
+/dev/srp 0660 system audio
+
+/dev/s3c-mfc 0666 system graphics
+/dev/s5p-mfc 0666 system graphics
+
+/dev/ttyUSB0 0666 system system
+/dev/ttyUSB1 0666 system system
+/dev/ttyUSB2 0666 system system
+/dev/hsic* 0660 system radio
+/dev/usb/lp* 0660 system usb
+/dev/block/mmcblk0p4 0660 system radio
+/dev/block/mmcblk0p7 0660 system radio
+
+/dev/ttySAC* 0660 root system
+/dev/umts* 0660 system radio
+/dev/lte* 0660 system radio
+/dev/cdma* 0660 system radio
+/dev/link_pm 0660 system radio
+
+# sensor sysfs properties
+/sys/devices/virtual/input/input* acc_poll_delay 0660 system radio
+/sys/devices/virtual/input/input* gyro_poll_delay 0660 system radio
+/sys/devices/virtual/input/input* pressure_poll_delay 0660 system radio
+/sys/devices/virtual/input/input* light_poll_delay 0660 system radio
+/sys/devices/virtual/input/input* prox_poll_delay 0660 system radio
+
+# sensorhub
+/dev/ssp_sensorhub 0660 system input