Jiyong Park | 4d22895 | 2021-10-18 18:28:57 +0900 | [diff] [blame^] | 1 | import /vendor/etc/ueventd.rc |
| 2 | import /odm/etc/ueventd.rc |
| 3 | |
| 4 | firmware_directories /etc/firmware/ /odm/firmware/ /vendor/firmware/ /firmware/image/ |
| 5 | uevent_socket_rcvbuf_size 16M |
| 6 | |
| 7 | subsystem graphics |
| 8 | devname uevent_devpath |
| 9 | dirname /dev/graphics |
| 10 | |
| 11 | subsystem drm |
| 12 | devname uevent_devpath |
| 13 | dirname /dev/dri |
| 14 | |
| 15 | subsystem input |
| 16 | devname uevent_devpath |
| 17 | dirname /dev/input |
| 18 | |
| 19 | subsystem sound |
| 20 | devname uevent_devpath |
| 21 | dirname /dev/snd |
| 22 | |
| 23 | subsystem dma_heap |
| 24 | devname uevent_devpath |
| 25 | dirname /dev/dma_heap |
| 26 | # ueventd can only set permissions on device nodes and their associated |
| 27 | # sysfs attributes, not on arbitrary paths. |
| 28 | # |
| 29 | # format for /dev rules: devname mode uid gid |
| 30 | # format for /sys rules: nodename attr mode uid gid |
| 31 | # shortcut: "mtd@NN" expands to "/dev/mtd/mtdNN" |
| 32 | |
| 33 | /dev/null 0666 root root |
| 34 | /dev/zero 0666 root root |
| 35 | /dev/full 0666 root root |
| 36 | /dev/ptmx 0666 root root |
| 37 | /dev/tty 0666 root root |
| 38 | /dev/random 0666 root root |
| 39 | /dev/urandom 0666 root root |
| 40 | /dev/ashmem* 0666 root root |
| 41 | /dev/binder 0666 root root |
| 42 | /dev/hwbinder 0666 root root |
| 43 | /dev/vndbinder 0666 root root |
| 44 | |
| 45 | /dev/pmsg0 0222 root log |
| 46 | /dev/dma_heap/system 0444 system system |
| 47 | /dev/dma_heap/system-uncached 0444 system system |
| 48 | /dev/dma_heap/system-secure 0444 system system |
| 49 | |
| 50 | # kms driver for drm based gpu |
| 51 | /dev/dri/* 0666 root graphics |
| 52 | |
| 53 | # these should not be world writable |
| 54 | /dev/uhid 0660 uhid uhid |
| 55 | /dev/uinput 0660 uhid uhid |
| 56 | /dev/rtc0 0640 system system |
| 57 | /dev/tty0 0660 root system |
| 58 | /dev/graphics/* 0660 root graphics |
| 59 | /dev/input/* 0660 root input |
| 60 | /dev/v4l-touch* 0660 root input |
| 61 | /dev/snd/* 0660 system audio |
| 62 | /dev/bus/usb/* 0660 root usb |
| 63 | /dev/mtp_usb 0660 root mtp |
| 64 | /dev/usb_accessory 0660 root usb |
| 65 | /dev/tun 0660 system vpn |
| 66 | |
| 67 | # CDMA radio interface MUX |
| 68 | /dev/ppp 0660 radio vpn |
| 69 | |
| 70 | # Virtualization is managed by VirtualizationService. |
| 71 | /dev/kvm 0600 virtualizationservice root |
| 72 | /dev/vhost-vsock 0600 virtualizationservice root |
| 73 | |
| 74 | # sysfs properties |
| 75 | /sys/devices/platform/trusty.* trusty_version 0440 root log |
| 76 | /sys/devices/virtual/input/input* enable 0660 root input |
| 77 | /sys/devices/virtual/input/input* poll_delay 0660 root input |
| 78 | /sys/devices/virtual/usb_composite/* enable 0664 root system |
| 79 | /sys/devices/system/cpu/cpu* cpufreq/scaling_max_freq 0664 system system |
| 80 | /sys/devices/system/cpu/cpu* cpufreq/scaling_min_freq 0664 system system |
| 81 | /sys/devices/virtual/misc/uhid/*/leds/* brightness 0664 system system |
| 82 | /sys/devices/virtual/misc/uhid/*/leds/* multi_intensity 0664 system system |