2018-07-13 22:32:02 +00:00
|
|
|
firmware_directories /etc/firmware/ /odm/firmware/ /vendor/firmware/ /firmware/image/
|
2018-12-06 21:29:30 +00:00
|
|
|
uevent_socket_rcvbuf_size 16M
|
2018-07-13 22:32:02 +00:00
|
|
|
|
2017-04-04 23:30:40 +00:00
|
|
|
subsystem graphics
|
|
|
|
devname uevent_devpath
|
|
|
|
dirname /dev/graphics
|
|
|
|
|
|
|
|
subsystem drm
|
|
|
|
devname uevent_devpath
|
|
|
|
dirname /dev/dri
|
|
|
|
|
|
|
|
subsystem input
|
|
|
|
devname uevent_devpath
|
|
|
|
dirname /dev/input
|
|
|
|
|
|
|
|
subsystem sound
|
|
|
|
devname uevent_devpath
|
|
|
|
dirname /dev/snd
|
2013-11-19 00:21:55 +00:00
|
|
|
|
2015-05-12 00:59:17 +00: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 21:32:50 +00: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 20:31:28 +00:00
|
|
|
# Make HW RNG readable by group system to let EntropyMixer read it.
|
|
|
|
/dev/hw_random 0440 root system
|
2010-04-20 21:32:50 +00:00
|
|
|
/dev/ashmem 0666 root root
|
|
|
|
/dev/binder 0666 root root
|
2016-05-25 07:08:53 +00:00
|
|
|
/dev/hwbinder 0666 root root
|
2017-04-04 00:04:02 +00:00
|
|
|
/dev/vndbinder 0666 root root
|
2010-04-20 21:32:50 +00:00
|
|
|
|
2014-12-15 15:52:19 +00:00
|
|
|
/dev/pmsg0 0222 root log
|
2010-04-20 21:32:50 +00:00
|
|
|
|
2011-09-28 13:30:07 +00:00
|
|
|
# kms driver for drm based gpu
|
|
|
|
/dev/dri/* 0666 root graphics
|
|
|
|
|
2010-04-20 21:32:50 +00:00
|
|
|
# these should not be world writable
|
2017-05-08 22:50:55 +00:00
|
|
|
/dev/uhid 0660 uhid uhid
|
2018-11-27 19:21:21 +00:00
|
|
|
/dev/uinput 0660 uhid uhid
|
2014-03-27 22:35:58 +00:00
|
|
|
/dev/rtc0 0640 system system
|
2010-04-20 21:32:50 +00:00
|
|
|
/dev/tty0 0660 root system
|
|
|
|
/dev/graphics/* 0660 root graphics
|
2017-02-21 16:46:50 +00:00
|
|
|
/dev/input/* 0660 root input
|
2017-12-23 01:06:24 +00:00
|
|
|
/dev/v4l-touch* 0660 root input
|
2010-04-20 21:32:50 +00:00
|
|
|
/dev/snd/* 0660 system audio
|
2018-12-11 04:10:34 +00:00
|
|
|
/dev/bus/usb/* 0660 root usb
|
|
|
|
/dev/mtp_usb 0660 root mtp
|
2011-01-30 04:39:29 +00:00
|
|
|
/dev/usb_accessory 0660 root usb
|
2011-05-12 20:43:34 +00:00
|
|
|
/dev/tun 0660 system vpn
|
2010-04-20 21:32:50 +00:00
|
|
|
|
|
|
|
# CDMA radio interface MUX
|
|
|
|
/dev/ppp 0660 radio vpn
|
2010-10-26 22:38:00 +00:00
|
|
|
|
|
|
|
# sysfs properties
|
2014-10-16 01:02:35 +00:00
|
|
|
/sys/devices/platform/trusty.* trusty_version 0440 root log
|
2010-10-26 22:38:00 +00:00
|
|
|
/sys/devices/virtual/input/input* enable 0660 root input
|
|
|
|
/sys/devices/virtual/input/input* poll_delay 0660 root input
|
2011-02-02 20:23:40 +00:00
|
|
|
/sys/devices/virtual/usb_composite/* enable 0664 root system
|
2014-04-30 02:14:37 +00: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
|