2018-07-14 00:32:02 +02:00
|
|
|
firmware_directories /etc/firmware/ /odm/firmware/ /vendor/firmware/ /firmware/image/
|
2018-12-06 22:29:30 +01:00
|
|
|
uevent_socket_rcvbuf_size 16M
|
2018-07-14 00:32:02 +02:00
|
|
|
|
2017-04-05 01:30:40 +02: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 01:21:55 +01:00
|
|
|
|
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
|
2016-05-25 09:08:53 +02:00
|
|
|
/dev/hwbinder 0666 root root
|
2017-04-04 02:04:02 +02:00
|
|
|
/dev/vndbinder 0666 root root
|
2010-04-20 23:32:50 +02:00
|
|
|
|
2014-12-15 16:52:19 +01:00
|
|
|
/dev/pmsg0 0222 root log
|
2010-04-20 23:32:50 +02:00
|
|
|
|
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
|
2017-05-09 00:50:55 +02:00
|
|
|
/dev/uhid 0660 uhid uhid
|
2018-11-27 20:21:21 +01:00
|
|
|
/dev/uinput 0660 uhid uhid
|
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
|
2017-02-21 17:46:50 +01:00
|
|
|
/dev/input/* 0660 root input
|
2017-12-23 02:06:24 +01:00
|
|
|
/dev/v4l-touch* 0660 root input
|
2010-04-20 23:32:50 +02:00
|
|
|
/dev/snd/* 0660 system audio
|
2018-12-11 05:10:34 +01:00
|
|
|
/dev/bus/usb/* 0660 root usb
|
|
|
|
/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/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
|