From 980da93b2bea4e55e9b21599c2b9f594a56675dc Mon Sep 17 00:00:00 2001 From: Giulio Cervera Date: Fri, 2 May 2014 19:13:31 +0200 Subject: shinano: update ueventd config from Sony 17.1.A.2.55 release --- rootdir/ueventd.qcom.rc | 169 ++++++++++++++++++++++++++++++++---------------- 1 file changed, 114 insertions(+), 55 deletions(-) (limited to 'rootdir/ueventd.qcom.rc') diff --git a/rootdir/ueventd.qcom.rc b/rootdir/ueventd.qcom.rc index d765272..1f45a6f 100644 --- a/rootdir/ueventd.qcom.rc +++ b/rootdir/ueventd.qcom.rc @@ -1,41 +1,53 @@ -/dev/gemini0 0660 system camera -/dev/jpeg0 0660 system camera -/dev/jpeg1 0660 system camera -/dev/jpeg2 0660 system camera +# Copyright (c) 2012-2013, The Linux Foundation. All rights reserved. +# Copyright (C) 2013-2014 Sony Mobile Communications AB. +# +# Redistribution and use in source and binary forms, with or without +# modification, are permitted provided that the following conditions are met: +# * Redistributions of source code must retain the above copyright +# notice, this list of conditions and the following disclaimer. +# * Redistributions in binary form must reproduce the above copyright +# notice, this list of conditions and the following disclaimer in the +# documentation and/or other materials provided with the distribution. +# * Neither the name of The Linux Foundation nor +# the names of its contributors may be used to endorse or promote +# products derived from this software without specific prior written +# permission. +# +# THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" +# AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +# IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +# NON-INFRINGEMENT ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR +# CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, +# EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, +# PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; +# OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, +# WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR +# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +# + +# the DIAG device node is not world writable/readable. +/dev/diag 0660 system qcom_diag + /dev/genlock 0666 system system -/dev/hw_random 0660 system system -/dev/ion 0664 system system /dev/kgsl 0666 system system /dev/kgsl-3d0 0666 system system /dev/kgsl-2d0 0666 root root /dev/kgsl-2d1 0666 root root -/dev/mdm 0660 system radio -/dev/media* 0660 system camera -/dev/mercury0 0660 system camera -/dev/mpu 0600 system system -/dev/mpuirq 0600 system system -/dev/msm_camera/* 0660 system camera -/dev/msm_rotator 0660 system system -/dev/msm_vidc_reg 0660 system audio -/dev/msm_vidc_dec 0660 system audio -/dev/msm_vidc_dec_sec 0660 system audio -/dev/msm_vidc_enc 0660 system audio -/dev/msm_vidc_enc_sec 0660 system audio -/dev/msm_vpe_standalone 0660 system camera -/dev/pn544 0600 nfc nfc -/dev/qseecom 0660 system drmrpc -/dev/rfcomm0 0660 bluetooth bluetooth -/dev/rmnet_mux_ctrl 0640 radio radio +/dev/ion 0664 system system /dev/rtc0 0600 system system /dev/smd0 0660 system system -/dev/smd2 0660 bluetooth net_bt_stack -/dev/smd3 0660 bluetooth net_bt_stack /dev/smd4 0660 system system +/dev/smd_cxm_qmi 0640 radio radio /dev/smd5 0660 system system /dev/smd6 0660 system system /dev/smd7 0660 bluetooth bluetooth + +#permissions for CSVT /dev/smd11 0660 radio radio -/dev/smd_cxm_qmi 0640 radio radio + +/dev/radio0 0640 system system +/dev/rfcomm0 0660 bluetooth bluetooth /dev/smdcntl0 0640 radio radio /dev/smdcntl1 0640 radio radio /dev/smdcntl2 0640 radio radio @@ -44,10 +56,6 @@ /dev/smdcntl5 0640 radio radio /dev/smdcntl6 0640 radio radio /dev/smdcntl7 0640 radio radio -/dev/smdcntl8 0640 radio radio -/dev/smdcntl9 0640 radio radio -/dev/smdcntl10 0640 radio radio -/dev/smdcntl11 0640 radio radio /dev/smdcnt_rev0 0640 radio radio /dev/smdcnt_rev1 0640 radio radio /dev/smdcnt_rev2 0640 radio radio @@ -67,6 +75,7 @@ /dev/sdioctl6 0640 radio radio /dev/sdioctl7 0640 radio radio /dev/sdioctl8 0640 radio radio +/dev/rmnet_mux_ctrl 0640 radio radio /dev/hsicctl0 0640 radio radio /dev/hsicctl1 0640 radio radio /dev/hsicctl2 0640 radio radio @@ -84,16 +93,27 @@ /dev/hsicctl14 0640 radio radio /dev/hsicctl15 0640 radio radio /dev/hsicctl16 0640 radio radio -/dev/diag 0660 radio qcom_diag -/dev/v4l-subdev* 0660 system camera /dev/video* 0660 system camera -/dev/ttyHSL1 0660 system system -/dev/radio0 0640 system system -/dev/gss 0660 gps gps -/dev/rfkill 0660 wifi wifi -/sys/devices/virtual/smdpkt/smdcntl* open_timeout 0664 radio radio +/dev/media* 0660 system camera +/dev/v4l-subdev* 0660 system camera +/dev/qseecom 0660 system drmrpc +/dev/gemini0 0660 system camera +/dev/jpeg0 0660 system camera +/dev/jpeg1 0660 system camera +/dev/jpeg2 0660 system camera +/dev/adsprpc-smd 0664 system system +/dev/msm_camera/* 0660 system camera +/dev/gemini/ 0660 system camera +/dev/mercury0 0660 system camera +/dev/msm_vidc_reg 0660 system audio +/dev/msm_vidc_dec 0660 system audio +/dev/msm_vidc_dec_sec 0660 system audio +/dev/msm_vidc_enc 0660 system audio +/dev/msm_rotator 0660 system system +/dev/hw_random 0600 root root +/dev/adsprpc-smd 0664 system system -# permissions for audio +#permissions for audio /dev/msm_qcelp 0660 system audio /dev/msm_evrc 0660 system audio /dev/msm_wma 0660 system audio @@ -117,21 +137,28 @@ /dev/msm_preproc_ctl 0660 system audio /dev/msm_rtac 0660 system audio /dev/msm_voicememo 0660 system audio -/dev/input/event8 0660 input camera - -/sys/devices/virtual/graphics/fb1 edid_modes 0440 system system -/sys/devices/virtual/graphics/fb1 product_description 0640 system system -/sys/devices/virtual/graphics/fb1 vendor_name 0640 system system +/dev/radio0 0640 fm_radio fm_radio +/dev/smd3 0660 bluetooth net_bt_stack +/dev/smd2 0660 bluetooth net_bt_stack +/dev/ttyHSL1 0660 system system +/dev/mdm 0660 system radio +/sys/devices/virtual/smdpkt/smdcntl* open_timeout 0664 radio radio +/dev/sdio_tty_ciq_00 0660 system system +/dev/tty_sdio_00 0660 system system +/dev/ttyGS0 0660 system system +/dev/i2c-5 0660 media media -# wlan -/dev/wcnss_wlan 0660 system system -/dev/wcnss_ctrl 0660 system system +# DVB devices +/dev/dvb/adapter0/demux* 0660 system system +/dev/dvb/adapter0/dvr* 0660 system system +/dev/dvb/adapter0/video* 0660 media media -# -# Change file permission and owner for sensors -# -/dev/adsprpc-smd 0664 system system +# Broadcast devices +/dev/tsc_mux0 0660 media media +/dev/tsc_ci0 0660 media media +# sensors +/sys/devices/i2c-12/12-* pollrate_ms 0664 system system /sys/devices/f9925000.i2c/i2c-0/0-* enable 0660 input system /sys/devices/f9925000.i2c/i2c-0/0-* poll_delay 0660 input system /sys/devices/virtual/optical_sensors/proximity ps_adc 0660 input system @@ -140,19 +167,51 @@ /sys/devices/virtual/optical_sensors/lightsensor ls_poll_delay 0660 input system /sys/devices/virtual/input/input* poll 0660 input system /sys/devices/virtual/input/input* pollrate_ms 0660 input system +/sys/devices/f9967000.i2c/i2c-11/11-002* ad7146_dac_calibrate 0660 system system +/sys/devices/f9967000.i2c/i2c-11/11-002* ad7146_dac_mid_val 0660 system system +/sys/devices/f9967000.i2c/i2c-11/11-002* ad7146_obj_detect 0660 system system +/sys/devices/f9967000.i2c/i2c-11/11-002* ad7146_pad_set 0220 system system +/sys/devices/f9967000.i2c/i2c-11/11-002* ad7146_pad_num 0220 system system +/sys/devices/f9967000.i2c/i2c-11/11-002* ad7146_pad_data 0440 system system +/sys/devices/f9967000.i2c/i2c-11/11-002* ad7146_pad_offset 0660 system system +/sys/devices/f9967000.i2c/i2c-11/11-002* ad7146_sw_updata 0440 system system +/sys/devices/virtual/switch/ad7146 state 0660 system system +/sys/devices/virtual/switch/ad7146_* state 0660 system system # BT /dev/hidraw0 0666 system system /dev/hidraw1 0666 system system /dev/hidraw2 0666 system system -# MHL -/sys/devices/f9967000.i2c/i2c-4/4-0072/mhl/sii8334 mouse_mode 0660 system system -/sys/devices/f9967000.i2c/i2c-4/4-0072/mhl/sii8334 screen_status 0660 system system -/sys/devices/f9967000.i2c/i2c-4/4-0072/mhl/sii8334 mouse_move_distance_dx 0660 system system -/sys/devices/f9967000.i2c/i2c-4/4-0072/mhl/sii8334 mouse_move_distance_dy 0660 system system +# wlan +/dev/wcnss_wlan 0660 system system +/dev/wcnss_ctrl 0660 system system +#nfc permissions +#/dev/nfc-nci 0660 nfc nfc + +# NFC +/sys/devices/f9928000.i2c/i2c-6/6-0028 init_deinit 0200 nfc nfc +/sys/devices/f9928000.i2c/i2c-6/6-0028 set_pwr 0200 nfc nfc +/sys/devices/f9928000.i2c/i2c-6/6-0028 res_ready 0400 nfc nfc +/sys/devices/f9928000.i2c/i2c-6/6-0028 recv_rsp 0600 nfc nfc +/sys/devices/f9928000.i2c/i2c-6/6-0028 send_cmd 0200 nfc nfc + +# NFC-FeliCa +/dev/felica_vdev 0600 felica felica +/dev/felica_vsub 0660 felica nfc +/dev/felica_vsub_cmd 0660 felica nfc # UIO devices /dev/uio0 0660 system system /dev/uio1 0660 system system /dev/uio2 0660 system system + +# IR Remote +/dev/ttyHSL1 0660 system system +/sys/devices/1.ir-remote enable 0220 system system + +# audio NXP speaker amp control device +/dev/tfa98xx 0660 system audio + +# S-Force +/dev/sforce 0660 system audio -- cgit v1.2.3