diff options
| author | Mister Oyster <oysterized@gmail.com> | 2017-12-26 15:32:46 +0100 |
|---|---|---|
| committer | Mister Oyster <oysterized@gmail.com> | 2017-12-26 15:38:12 +0100 |
| commit | 0b4af783d4a8bee662a0c19e4fe2920a6503a98d (patch) | |
| tree | d6bf39cac2041457e422dcabe8771fb2691e87bd /rootdir/ueventd.mt6735.rc | |
| parent | 46537bbd9ccf2e757fc91a7f34c0cefcc16d2308 (diff) | |
rootdir: huge cleanup based on @dinolek's m2 device tree
Diffstat (limited to 'rootdir/ueventd.mt6735.rc')
| -rw-r--r-- | rootdir/ueventd.mt6735.rc | 51 |
1 files changed, 4 insertions, 47 deletions
diff --git a/rootdir/ueventd.mt6735.rc b/rootdir/ueventd.mt6735.rc index 312a403..87e9afc 100644 --- a/rootdir/ueventd.mt6735.rc +++ b/rootdir/ueventd.mt6735.rc @@ -29,7 +29,7 @@ subsystem adf /dev/block/platform/mtk-msdc.0/11230000.MSDC0/by-name/frp 0660 root system # OTP -/dev/otp 0660 system system +/dev/otp 0660 system system # Connectivity /dev/stpwmt 0660 system system @@ -45,7 +45,7 @@ subsystem adf # WIFI /dev/wmtWifi 0660 system system -# MTK BTIF driver +# BTIF driver /dev/btif 0600 system system # add the read write right of ttyUSB* @@ -59,18 +59,12 @@ subsystem adf # Anyone can read the logs, but if they're not in the "logs" # group, then they'll only see log entries for their UID. /dev/xLog 0600 root root -/dev/log/* 0666 root log -/dev/log/ksystem 0600 root log -# kms driver for drm based gpu -/dev/dri/* 0666 root graphics - -# these should not be world writable +# These should not be world writable /dev/diag 0660 radio radio /dev/diag_arm9 0660 radio radio /dev/android_adb 0660 adb adb /dev/android_adb_enable 0660 adb adb -/dev/ttyMSM0 0600 bluetooth bluetooth /dev/uhid 0660 system net_bt_stack /dev/uinput 0660 system net_bt_stack /dev/alarm 0664 system radio @@ -80,34 +74,19 @@ subsystem adf /dev/input/* 0660 root input /dev/eac 0660 root audio /dev/cam 0660 root camera -/dev/pmem 0660 system graphics -/dev/pmem_adsp* 0660 system audio -/dev/pmem_camera* 0660 system camera /dev/oncrpc/* 0660 root system /dev/adsp/* 0660 system audio /dev/snd/* 0660 system audio -/dev/mt9t013 0660 system system /dev/lightsensor 0640 system system -/dev/msm_pcm_out* 0660 system audio -/dev/msm_pcm_in* 0660 system audio -/dev/msm_pcm_ctl* 0660 system audio -/dev/msm_snd* 0660 system audio /dev/msm_mp3* 0660 system audio /dev/audience_a1026* 0660 system audio /dev/tpa2018d1* 0660 system audio -/dev/msm_audpre 0660 system audio -/dev/msm_audio_ctl 0660 system audio -/dev/htc-acoustic 0660 system audio /dev/vdec 0660 system audio /dev/q6venc 0660 system audio /dev/snd/dsp 0660 system audio /dev/snd/dsp1 0660 system audio /dev/snd/mixer 0660 system audio /dev/smd0 0640 radio radio -/dev/qmi 0640 radio radio -/dev/qmi0 0640 radio radio -/dev/qmi1 0640 radio radio -/dev/qmi2 0640 radio radio /dev/bus/usb/* 0660 root usb /dev/mtp_usb 0660 root mtp /dev/usb_accessory 0660 root usb @@ -118,42 +97,20 @@ subsystem adf /sys/kernel/ccci modem_info 0644 radio radio /sys/kernel/ccci md1_postfix 0644 radio radio /sys/kernel/ccci md2_postfix 0644 radio radio -/dev/ccci_pcm_rx 0660 audio audio -/dev/ccci_pcm_tx 0660 audio audio /dev/ccci_aud 0660 audio audio -/dev/ccci2_aud 0660 audio audio -/dev/eemcs_aud 0660 audio audio - -# SGX device node -/dev/pvrsrvkm 0666 root root -/dev/pvr_sync 0666 root root # GPIO /dev/mtgpio 0600 radio root -# FOR VIA MODEM -/dev/ttySDIO* 0660 radio sdcard_rw -/dev/ttyRB* 0660 radio radio - # Mali node -/dev/mali 0666 system graphics +/dev/mali* 0666 system graphics # Change ION driver permission /dev/ion 0666 system graphics # touch /dev/touch 0660 root system -/dev/hotknot 0660 root system - -# hang_detect -/dev/RT_Monitor 0600 system system -/dev/kick_powerkey 0600 system system - -# MTK In-House TEE -/dev/ttyACM0 0660 radio radio - # for lsm6ds3 - #common sensors files /sys/devices/iio:device* buffer/enable 0666 system system /sys/devices/iio:device* buffer/length 0666 system system |
