• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1firmware_directories /etc/firmware/ /odm/firmware/ /vendor/firmware/ /firmware/image/
2uevent_socket_rcvbuf_size 16M
3
4subsystem graphics
5    devname uevent_devpath
6    dirname /dev/graphics
7
8subsystem drm
9    devname uevent_devpath
10    dirname /dev/dri
11
12subsystem input
13    devname uevent_devpath
14    dirname /dev/input
15
16subsystem sound
17    devname uevent_devpath
18    dirname /dev/snd
19
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
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
34# Make HW RNG readable by group system to let EntropyMixer read it.
35/dev/hw_random            0440   root       system
36/dev/ashmem               0666   root       root
37/dev/binder               0666   root       root
38/dev/hwbinder             0666   root       root
39/dev/vndbinder            0666   root       root
40
41/dev/pmsg0                0222   root       log
42
43# kms driver for drm based gpu
44/dev/dri/*                0666   root       graphics
45
46# these should not be world writable
47/dev/uhid                 0660   uhid       uhid
48/dev/uinput               0660   uhid       uhid
49/dev/rtc0                 0640   system     system
50/dev/tty0                 0660   root       system
51/dev/graphics/*           0660   root       graphics
52/dev/input/*              0660   root       input
53/dev/v4l-touch*           0660   root       input
54/dev/snd/*                0660   system     audio
55/dev/bus/usb/*            0660   root       usb
56/dev/mtp_usb              0660   root       mtp
57/dev/usb_accessory        0660   root       usb
58/dev/tun                  0660   system     vpn
59
60# CDMA radio interface MUX
61/dev/ppp                  0660   radio      vpn
62
63# sysfs properties
64/sys/devices/platform/trusty.*      trusty_version        0440  root   log
65/sys/devices/virtual/input/input*   enable      0660  root   input
66/sys/devices/virtual/input/input*   poll_delay  0660  root   input
67/sys/devices/virtual/usb_composite/*   enable      0664  root   system
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
70