2020-04-20 17:17:28 -04:00
|
|
|
# Copyright (c) 2012-2015, 2017-2019, The Linux Foundation. All rights reserved.
|
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
#
|
|
|
|
|
|
|
|
# Firmware directory Path
|
|
|
|
# Below macro will be read by uevent and path will
|
|
|
|
# be added to search path for firmware loading
|
|
|
|
firmware_directories /vendor/firmware_mnt/image/
|
|
|
|
|
2020-06-23 07:32:47 -04:00
|
|
|
# The DIAG device node is not world writable/readable.
|
2020-04-20 17:17:28 -04:00
|
|
|
/dev/diag 0660 system oem_2901
|
|
|
|
|
|
|
|
/dev/wlan 0660 wifi wifi
|
|
|
|
/dev/kgsl-3d0 0666 system system
|
|
|
|
/dev/ion 0664 system system
|
|
|
|
/dev/rtc0 0660 system system
|
|
|
|
/dev/smd7 0660 bluetooth bluetooth
|
|
|
|
/dev/ipa 0660 radio radio
|
|
|
|
/dev/wwan_ioctl 0660 radio radio
|
|
|
|
/dev/ipaNatTable 0660 radio radio
|
|
|
|
/dev/rmnet_ctrl 0660 usb usb
|
|
|
|
/dev/dpl_ctrl 0660 usb usb
|
|
|
|
/dev/ipa_odl_ctl 0660 radio radio
|
|
|
|
/dev/ipa_adpl 0660 system oem_2905
|
|
|
|
|
2020-03-10 23:52:04 -04:00
|
|
|
# Permissions for UFS RPMB BSG device node
|
|
|
|
/dev/0:0:0:49476 0600 system system
|
|
|
|
|
2020-06-23 07:32:47 -04:00
|
|
|
# Permissions for CSVT
|
2020-04-20 17:17:28 -04:00
|
|
|
/dev/smd11 0660 radio radio
|
|
|
|
|
2020-06-23 07:32:47 -04:00
|
|
|
# Permissions for BT/FM
|
2020-04-20 17:17:28 -04:00
|
|
|
/dev/btpower 0660 bluetooth system
|
|
|
|
|
|
|
|
/dev/smdcntl8 0640 radio radio
|
|
|
|
/dev/at_mdm0 0640 radio radio
|
|
|
|
/dev/video* 0660 system camera
|
|
|
|
/dev/media* 0660 system camera
|
|
|
|
/dev/v4l-subdev* 0660 system camera
|
|
|
|
/dev/qseecom 0660 system drmrpc
|
|
|
|
/dev/qce 0660 system drmrpc
|
|
|
|
/dev/smcinvoke 0660 system drmrpc
|
|
|
|
/dev/adsprpc-smd 0664 system system
|
|
|
|
/dev/adsprpc-smd-secure 0644 system system
|
|
|
|
|
2020-06-23 07:32:47 -04:00
|
|
|
# qg
|
2020-04-20 17:17:28 -04:00
|
|
|
/dev/qg 0660 system system
|
|
|
|
/dev/qg_battery 0660 system system
|
|
|
|
|
|
|
|
# Elliptic
|
|
|
|
/dev/elliptic0 0644 system system
|
|
|
|
/dev/elliptic1 0644 system system
|
|
|
|
|
2020-06-23 07:32:47 -04:00
|
|
|
# QVR
|
2020-04-20 17:17:28 -04:00
|
|
|
/dev/qvr_external_sensor_ioctl 0660 system system
|
|
|
|
/sys/kernel/qvr_external_sensor/fd 0660 system system
|
|
|
|
|
2020-06-23 07:32:47 -04:00
|
|
|
# Permissions for audio
|
2020-04-20 17:17:28 -04:00
|
|
|
/dev/msm_qcelp 0660 system audio
|
|
|
|
/dev/msm_evrc 0660 system audio
|
|
|
|
/dev/msm_wma 0660 system audio
|
|
|
|
/dev/msm_wmapro 0660 system audio
|
|
|
|
/dev/msm_alac 0660 system audio
|
|
|
|
/dev/msm_ape 0660 system audio
|
|
|
|
/dev/msm_amrnb 0660 system audio
|
|
|
|
/dev/msm_amrwb 0660 system audio
|
|
|
|
/dev/msm_amrwbplus 0660 system audio
|
|
|
|
/dev/msm_aac 0660 system audio
|
|
|
|
/dev/msm_multi_aac 0660 system audio
|
|
|
|
/dev/msm_aac_in 0660 system audio
|
|
|
|
/dev/msm_qcelp_in 0660 system audio
|
|
|
|
/dev/msm_evrc_in 0660 system audio
|
|
|
|
/dev/msm_amrnb_in 0660 system audio
|
|
|
|
/dev/msm_amrwb_in 0660 system audio
|
|
|
|
/dev/msm_audio_cal 0660 system audio
|
|
|
|
/dev/msm_hweffects 0660 system audio
|
|
|
|
/dev/msm_rtac 0660 system audio
|
|
|
|
/dev/avtimer 0660 system audio
|
|
|
|
|
2020-06-23 07:32:47 -04:00
|
|
|
# NFC permissions
|
2020-04-20 17:17:28 -04:00
|
|
|
/dev/nq-nci 0660 nfc nfc
|
|
|
|
|
|
|
|
# UIO devices
|
|
|
|
/dev/uio0 0660 system system
|
|
|
|
|
|
|
|
# SSR devices
|
2020-06-23 07:32:47 -04:00
|
|
|
/dev/subsys_* 0640 system system
|
2020-04-20 17:17:28 -04:00
|
|
|
|
|
|
|
# Ultrasound device
|
|
|
|
/dev/usf1 0660 system system
|
|
|
|
|
2021-03-26 11:16:07 -04:00
|
|
|
# mius iio devices
|
|
|
|
/dev/iio:device* 0660 system system
|
|
|
|
/sys/devices/platform/us_prox.0/iio:device* buffer/enable 0600 system system
|
|
|
|
/sys/devices/platform/us_prox.0/iio:device* scan_elements/in_proximity_en 0600 system system
|
|
|
|
/sys/devices/platform/us_prox.0/iio:device* scan_elements/in_timestamp_en 0600 system system
|
|
|
|
|
2020-04-20 17:17:28 -04:00
|
|
|
# Ramdump devices
|
|
|
|
/dev/ramdump* 0640 system system
|
|
|
|
|
2020-06-23 07:32:47 -04:00
|
|
|
# FRP
|
2020-04-20 17:17:28 -04:00
|
|
|
/dev/block/platform/soc/1d84000.ufshc/by-name/frp 0600 system system
|
2020-12-22 16:01:00 -05:00
|
|
|
/dev/block/platform/soc/7c4000.sdhci/by-name/frp 0600 system system
|
2020-04-20 17:17:28 -04:00
|
|
|
|
|
|
|
# Kmsg device
|
2020-06-23 07:32:47 -04:00
|
|
|
/dev/kmsg 0620 root system
|
2020-04-20 17:17:28 -04:00
|
|
|
|
2021-02-14 07:30:20 -05:00
|
|
|
# LED class devices
|
2021-02-14 07:36:49 -05:00
|
|
|
/sys/class/leds/left breath 0640 system system
|
|
|
|
/sys/class/leds/left brightness 0640 system system
|
|
|
|
/sys/class/leds/left delay_off 0640 system system
|
|
|
|
/sys/class/leds/left delay_on 0640 system system
|
|
|
|
/sys/class/leds/left lo_idx 0640 system system
|
|
|
|
/sys/class/leds/left lut_pattern 0640 system system
|
|
|
|
/sys/class/leds/left max_brightness 0640 system system
|
|
|
|
/sys/class/leds/left pause_lo_count 0640 system system
|
|
|
|
/sys/class/leds/left step_ms 0640 system system
|
|
|
|
/sys/class/leds/right breath 0640 system system
|
|
|
|
/sys/class/leds/right brightness 0640 system system
|
|
|
|
/sys/class/leds/right delay_off 0640 system system
|
|
|
|
/sys/class/leds/right delay_on 0640 system system
|
|
|
|
/sys/class/leds/right lo_idx 0640 system system
|
|
|
|
/sys/class/leds/right lut_pattern 0640 system system
|
|
|
|
/sys/class/leds/right max_brightness 0640 system system
|
|
|
|
/sys/class/leds/right pause_lo_count 0640 system system
|
|
|
|
/sys/class/leds/right step_ms 0640 system system
|
|
|
|
/sys/class/leds/white breath 0640 system system
|
|
|
|
/sys/class/leds/white brightness 0640 system system
|
|
|
|
/sys/class/leds/white delay_off 0640 system system
|
|
|
|
/sys/class/leds/white delay_on 0640 system system
|
|
|
|
/sys/class/leds/white lo_idx 0640 system system
|
|
|
|
/sys/class/leds/white lut_pattern 0640 system system
|
|
|
|
/sys/class/leds/white max_brightness 0640 system system
|
|
|
|
/sys/class/leds/white pause_lo_count 0640 system system
|
|
|
|
/sys/class/leds/white step_ms 0640 system system
|
2021-02-14 07:30:20 -05:00
|
|
|
|
2020-04-20 17:17:28 -04:00
|
|
|
# NPU device
|
|
|
|
/dev/msm_npu 0644 system system
|
|
|
|
|
|
|
|
# USB role switch
|
|
|
|
/sys/class/dual_role_usb/* data_role 0660 system system
|
|
|
|
/sys/class/dual_role_usb/* power_role 0660 system system
|
|
|
|
/sys/class/dual_role_usb/* mode 0660 system system
|
|
|
|
|
|
|
|
/sys/devices/virtual/hdcp/msm_hdcp min_level_change 0664 system graphics
|
2021-03-27 07:35:57 -04:00
|
|
|
|
2022-01-31 17:40:10 -05:00
|
|
|
# KGSL
|
|
|
|
/sys/class/kgsl/kgsl-3d0 perfcounter 0660 root shell
|
|
|
|
|
2020-10-08 20:26:19 -04:00
|
|
|
/sys/devices/platform/soc/ae00000.qcom,mdss_mdp power/control 0664 system graphics
|
|
|
|
|
2021-03-27 07:35:57 -04:00
|
|
|
# IR spi node
|
|
|
|
/dev/ir_spi 0660 system system
|
2021-03-06 09:03:24 -05:00
|
|
|
/dev/spidev0.0 0660 system audio
|
|
|
|
/dev/spidev0.1 0660 system system
|
2022-05-02 06:28:36 -04:00
|
|
|
|
|
|
|
# Fingerprint
|
|
|
|
/dev/goodix_fp 0660 system system
|