Tom Cherry | 7421fa1 | 2018-07-13 15:32:02 -0700 | [diff] [blame] | 1 | firmware_directories /etc/firmware/ /odm/firmware/ /vendor/firmware/ /firmware/image/ |
Tom Cherry | e291010 | 2018-12-06 13:29:30 -0800 | [diff] [blame] | 2 | uevent_socket_rcvbuf_size 16M |
Tom Cherry | 7421fa1 | 2018-07-13 15:32:02 -0700 | [diff] [blame] | 3 | |
Tom Cherry | 780a71e | 2017-04-04 16:30:40 -0700 | [diff] [blame] | 4 | subsystem graphics |
| 5 | devname uevent_devpath |
| 6 | dirname /dev/graphics |
| 7 | |
| 8 | subsystem drm |
| 9 | devname uevent_devpath |
| 10 | dirname /dev/dri |
| 11 | |
Tom Cherry | 780a71e | 2017-04-04 16:30:40 -0700 | [diff] [blame] | 12 | subsystem input |
| 13 | devname uevent_devpath |
| 14 | dirname /dev/input |
| 15 | |
Tom Cherry | 780a71e | 2017-04-04 16:30:40 -0700 | [diff] [blame] | 16 | subsystem sound |
| 17 | devname uevent_devpath |
| 18 | dirname /dev/snd |
Greg Hackmann | 95b348c | 2013-11-18 16:21:55 -0800 | [diff] [blame] | 19 | |
Kevin Cernekee | 1f0dd22 | 2015-05-11 17:59:17 -0700 | [diff] [blame] | 20 | # ueventd can only set permissions on device nodes and their associated |
| 21 | # sysfs attributes, not on arbitrary paths. |
| 22 | # |
| 23 | # format for /dev rules: devname mode uid gid |
| 24 | # format for /sys rules: nodename attr mode uid gid |
| 25 | # shortcut: "mtd@NN" expands to "/dev/mtd/mtdNN" |
| 26 | |
Colin Cross | 44b65d0 | 2010-04-20 14:32:50 -0700 | [diff] [blame] | 27 | /dev/null 0666 root root |
| 28 | /dev/zero 0666 root root |
| 29 | /dev/full 0666 root root |
| 30 | /dev/ptmx 0666 root root |
| 31 | /dev/tty 0666 root root |
| 32 | /dev/random 0666 root root |
| 33 | /dev/urandom 0666 root root |
Alex Klyubin | b2478a7 | 2013-10-03 13:31:28 -0700 | [diff] [blame] | 34 | # Make HW RNG readable by group system to let EntropyMixer read it. |
| 35 | /dev/hw_random 0440 root system |
Colin Cross | 44b65d0 | 2010-04-20 14:32:50 -0700 | [diff] [blame] | 36 | /dev/ashmem 0666 root root |
| 37 | /dev/binder 0666 root root |
Martijn Coenen | f5110ea | 2016-05-25 09:08:53 +0200 | [diff] [blame] | 38 | /dev/hwbinder 0666 root root |
Martijn Coenen | 62c5b47 | 2017-04-03 17:04:02 -0700 | [diff] [blame] | 39 | /dev/vndbinder 0666 root root |
Colin Cross | 44b65d0 | 2010-04-20 14:32:50 -0700 | [diff] [blame] | 40 | |
Mark Salyzyn | 4b0313e | 2014-12-15 07:52:19 -0800 | [diff] [blame] | 41 | /dev/pmsg0 0222 root log |
Colin Cross | 44b65d0 | 2010-04-20 14:32:50 -0700 | [diff] [blame] | 42 | |
Lukasz Anaczkowski | e6f8d45 | 2011-09-28 15:30:07 +0200 | [diff] [blame] | 43 | # kms driver for drm based gpu |
| 44 | /dev/dri/* 0666 root graphics |
| 45 | |
Colin Cross | 44b65d0 | 2010-04-20 14:32:50 -0700 | [diff] [blame] | 46 | # these should not be world writable |
Siarhei Vishniakou | 0729dd1 | 2017-05-08 15:50:55 -0700 | [diff] [blame] | 47 | /dev/uhid 0660 uhid uhid |
Siarhei Vishniakou | e615b2a | 2018-11-27 11:21:21 -0800 | [diff] [blame] | 48 | /dev/uinput 0660 uhid uhid |
Greg Hackmann | b34fed3 | 2014-03-27 15:35:58 -0700 | [diff] [blame] | 49 | /dev/rtc0 0640 system system |
Colin Cross | 44b65d0 | 2010-04-20 14:32:50 -0700 | [diff] [blame] | 50 | /dev/tty0 0660 root system |
| 51 | /dev/graphics/* 0660 root graphics |
Michael Wright | 14667c1 | 2017-02-21 16:46:50 +0000 | [diff] [blame] | 52 | /dev/input/* 0660 root input |
Siarhei Vishniakou | 38d4352 | 2017-12-22 17:06:24 -0800 | [diff] [blame] | 53 | /dev/v4l-touch* 0660 root input |
Colin Cross | 44b65d0 | 2010-04-20 14:32:50 -0700 | [diff] [blame] | 54 | /dev/snd/* 0660 system audio |
Andy Hung | 3fddf92 | 2018-12-11 04:10:34 +0000 | [diff] [blame] | 55 | /dev/bus/usb/* 0660 root usb |
| 56 | /dev/mtp_usb 0660 root mtp |
Mike Lockwood | 45e96d0 | 2011-01-29 23:39:29 -0500 | [diff] [blame] | 57 | /dev/usb_accessory 0660 root usb |
Chia-chi Yeh | 69f43c9 | 2011-05-12 13:43:34 -0700 | [diff] [blame] | 58 | /dev/tun 0660 system vpn |
Colin Cross | 44b65d0 | 2010-04-20 14:32:50 -0700 | [diff] [blame] | 59 | |
| 60 | # CDMA radio interface MUX |
Colin Cross | 44b65d0 | 2010-04-20 14:32:50 -0700 | [diff] [blame] | 61 | /dev/ppp 0660 radio vpn |
Brian Swetland | 146481b | 2010-10-26 15:38:00 -0700 | [diff] [blame] | 62 | |
| 63 | # sysfs properties |
Arve Hjønnevåg | 7770252 | 2014-10-15 18:02:35 -0700 | [diff] [blame] | 64 | /sys/devices/platform/trusty.* trusty_version 0440 root log |
Brian Swetland | 146481b | 2010-10-26 15:38:00 -0700 | [diff] [blame] | 65 | /sys/devices/virtual/input/input* enable 0660 root input |
| 66 | /sys/devices/virtual/input/input* poll_delay 0660 root input |
Mike Lockwood | ddc4cfd | 2011-02-02 15:23:40 -0500 | [diff] [blame] | 67 | /sys/devices/virtual/usb_composite/* enable 0664 root system |
Ruchi Kandoi | 75b287b | 2014-04-29 19:14:37 -0700 | [diff] [blame] | 68 | /sys/devices/system/cpu/cpu* cpufreq/scaling_max_freq 0664 system system |
| 69 | /sys/devices/system/cpu/cpu* cpufreq/scaling_min_freq 0664 system system |