1subsystem adf 2 devname uevent_devname 3 4# ueventd can only set permissions on device nodes and their associated 5# sysfs attributes, not on arbitrary paths. 6# 7# format for /dev rules: devname mode uid gid 8# format for /sys rules: nodename attr mode uid gid 9# shortcut: "mtd@NN" expands to "/dev/mtd/mtdNN" 10 11/dev/null 0666 root root 12/dev/zero 0666 root root 13/dev/full 0666 root root 14/dev/ptmx 0666 root root 15/dev/tty 0666 root root 16/dev/random 0666 root root 17/dev/urandom 0666 root root 18# Make HW RNG readable by group system to let EntropyMixer read it. 19/dev/hw_random 0440 root system 20/dev/ashmem 0666 root root 21/dev/binder 0666 root root 22 23# Anyone can read the logs, but if they're not in the "logs" 24# group, then they'll only see log entries for their UID. 25/dev/log/* 0666 root log 26/dev/pmsg0 0222 root log 27 28# the msm hw3d client device node is world writable/readable. 29/dev/msm_hw3dc 0666 root root 30 31# gpu driver for adreno200 is globally accessible 32/dev/kgsl 0666 root root 33 34# kms driver for drm based gpu 35/dev/dri/* 0666 root graphics 36 37# these should not be world writable 38/dev/diag 0660 radio radio 39/dev/diag_arm9 0660 radio radio 40/dev/android_adb 0660 adb adb 41/dev/android_adb_enable 0660 adb adb 42/dev/ttyMSM0 0600 bluetooth bluetooth 43/dev/uhid 0660 system net_bt_stack 44/dev/uinput 0660 system net_bt_stack 45/dev/alarm 0664 system radio 46/dev/rtc0 0640 system system 47/dev/tty0 0660 root system 48/dev/graphics/* 0660 root graphics 49/dev/msm_hw3dm 0660 system graphics 50/dev/input/* 0660 root input 51/dev/eac 0660 root audio 52/dev/cam 0660 root camera 53/dev/pmem 0660 system graphics 54/dev/pmem_adsp* 0660 system audio 55/dev/pmem_camera* 0660 system camera 56/dev/oncrpc/* 0660 root system 57/dev/adsp/* 0660 system audio 58/dev/snd/* 0660 system audio 59/dev/mt9t013 0660 system system 60/dev/msm_camera/* 0660 system system 61/dev/akm8976_daemon 0640 compass system 62/dev/akm8976_aot 0640 compass system 63/dev/akm8973_daemon 0640 compass system 64/dev/akm8973_aot 0640 compass system 65/dev/bma150 0640 compass system 66/dev/cm3602 0640 compass system 67/dev/akm8976_pffd 0640 compass system 68/dev/lightsensor 0640 system system 69/dev/msm_pcm_out* 0660 system audio 70/dev/msm_pcm_in* 0660 system audio 71/dev/msm_pcm_ctl* 0660 system audio 72/dev/msm_snd* 0660 system audio 73/dev/msm_mp3* 0660 system audio 74/dev/audience_a1026* 0660 system audio 75/dev/tpa2018d1* 0660 system audio 76/dev/msm_audpre 0660 system audio 77/dev/msm_audio_ctl 0660 system audio 78/dev/htc-acoustic 0660 system audio 79/dev/vdec 0660 system audio 80/dev/q6venc 0660 system audio 81/dev/snd/dsp 0660 system audio 82/dev/snd/dsp1 0660 system audio 83/dev/snd/mixer 0660 system audio 84/dev/smd0 0640 radio radio 85/dev/qmi 0640 radio radio 86/dev/qmi0 0640 radio radio 87/dev/qmi1 0640 radio radio 88/dev/qmi2 0640 radio radio 89/dev/bus/usb/* 0660 root usb 90/dev/mtp_usb 0660 root mtp 91/dev/usb_accessory 0660 root usb 92/dev/tun 0660 system vpn 93 94# CDMA radio interface MUX 95/dev/ts0710mux* 0640 radio radio 96/dev/ppp 0660 radio vpn 97 98# sysfs properties 99/sys/devices/platform/trusty.* trusty_version 0440 root log 100/sys/devices/virtual/input/input* enable 0660 root input 101/sys/devices/virtual/input/input* poll_delay 0660 root input 102/sys/devices/virtual/usb_composite/* enable 0664 root system 103/sys/devices/system/cpu/cpu* cpufreq/scaling_max_freq 0664 system system 104/sys/devices/system/cpu/cpu* cpufreq/scaling_min_freq 0664 system system 105 106# DVB API device nodes 107/dev/dvb* 0660 root system 108