2013-11-19 01:21:55 +01:00
|
|
|
subsystem adf
|
|
|
|
devname uevent_devname
|
|
|
|
|
2015-05-12 02:59:17 +02:00
|
|
|
# ueventd can only set permissions on device nodes and their associated
|
|
|
|
# sysfs attributes, not on arbitrary paths.
|
|
|
|
#
|
|
|
|
# format for /dev rules: devname mode uid gid
|
|
|
|
# format for /sys rules: nodename attr mode uid gid
|
|
|
|
# shortcut: "mtd@NN" expands to "/dev/mtd/mtdNN"
|
|
|
|
|
2010-04-20 23:32:50 +02:00
|
|
|
/dev/null 0666 root root
|
|
|
|
/dev/zero 0666 root root
|
|
|
|
/dev/full 0666 root root
|
|
|
|
/dev/ptmx 0666 root root
|
|
|
|
/dev/tty 0666 root root
|
|
|
|
/dev/random 0666 root root
|
|
|
|
/dev/urandom 0666 root root
|
2013-10-03 22:31:28 +02:00
|
|
|
# Make HW RNG readable by group system to let EntropyMixer read it.
|
|
|
|
/dev/hw_random 0440 root system
|
2010-04-20 23:32:50 +02:00
|
|
|
/dev/ashmem 0666 root root
|
|
|
|
/dev/binder 0666 root root
|
|
|
|
|
2012-03-29 17:58:47 +02:00
|
|
|
# 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/log/* 0666 root log
|
2014-12-15 16:52:19 +01:00
|
|
|
/dev/pmsg0 0222 root log
|
2010-04-20 23:32:50 +02:00
|
|
|
|
|
|
|
# the msm hw3d client device node is world writable/readable.
|
|
|
|
/dev/msm_hw3dc 0666 root root
|
|
|
|
|
|
|
|
# gpu driver for adreno200 is globally accessible
|
|
|
|
/dev/kgsl 0666 root root
|
|
|
|
|
2011-09-28 15:30:07 +02:00
|
|
|
# kms driver for drm based gpu
|
|
|
|
/dev/dri/* 0666 root graphics
|
|
|
|
|
2010-04-20 23:32:50 +02:00
|
|
|
# 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
|
2016-09-20 20:52:14 +02:00
|
|
|
/dev/uhid 0660 system bluetooth
|
|
|
|
/dev/uinput 0660 system bluetooth
|
2010-04-20 23:32:50 +02:00
|
|
|
/dev/alarm 0664 system radio
|
2014-03-27 23:35:58 +01:00
|
|
|
/dev/rtc0 0640 system system
|
2010-04-20 23:32:50 +02:00
|
|
|
/dev/tty0 0660 root system
|
|
|
|
/dev/graphics/* 0660 root graphics
|
|
|
|
/dev/msm_hw3dm 0660 system graphics
|
|
|
|
/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/msm_camera/* 0660 system system
|
|
|
|
/dev/akm8976_daemon 0640 compass system
|
|
|
|
/dev/akm8976_aot 0640 compass system
|
|
|
|
/dev/akm8973_daemon 0640 compass system
|
|
|
|
/dev/akm8973_aot 0640 compass system
|
|
|
|
/dev/bma150 0640 compass system
|
|
|
|
/dev/cm3602 0640 compass system
|
|
|
|
/dev/akm8976_pffd 0640 compass 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
|
2010-05-06 19:30:09 +02:00
|
|
|
/dev/bus/usb/* 0660 root usb
|
2011-01-10 14:22:30 +01:00
|
|
|
/dev/mtp_usb 0660 root mtp
|
2011-01-30 05:39:29 +01:00
|
|
|
/dev/usb_accessory 0660 root usb
|
2011-05-12 22:43:34 +02:00
|
|
|
/dev/tun 0660 system vpn
|
2010-04-20 23:32:50 +02:00
|
|
|
|
|
|
|
# CDMA radio interface MUX
|
|
|
|
/dev/ts0710mux* 0640 radio radio
|
|
|
|
/dev/ppp 0660 radio vpn
|
2010-10-27 00:38:00 +02:00
|
|
|
|
|
|
|
# sysfs properties
|
2014-10-16 03:02:35 +02:00
|
|
|
/sys/devices/platform/trusty.* trusty_version 0440 root log
|
2010-10-27 00:38:00 +02:00
|
|
|
/sys/devices/virtual/input/input* enable 0660 root input
|
|
|
|
/sys/devices/virtual/input/input* poll_delay 0660 root input
|
2011-02-02 21:23:40 +01:00
|
|
|
/sys/devices/virtual/usb_composite/* enable 0664 root system
|
2014-04-30 04:14:37 +02:00
|
|
|
/sys/devices/system/cpu/cpu* cpufreq/scaling_max_freq 0664 system system
|
|
|
|
/sys/devices/system/cpu/cpu* cpufreq/scaling_min_freq 0664 system system
|
2015-04-08 08:36:11 +02:00
|
|
|
|
|
|
|
# DVB API device nodes
|
|
|
|
/dev/dvb* 0660 root system
|