lxc-android/lib/udev/rules.d/65-android.rules
2023-06-12 12:41:52 +01:00

26 lines
979 B
Text

# logging devices
ACTION=="add", KERNEL=="log_*", MODE="0666"
ACTION=="add", KERNEL=="log_main", SYMLINK+="alog/main"
ACTION=="add", KERNEL=="log_system", SYMLINK+="alog/system"
ACTION=="add", KERNEL=="log_radio", SYMLINK+="alog/radio"
ACTION=="add", KERNEL=="log_events", SYMLINK+="alog/events"
# system devices
#in device specific rules file ACTION=="add", KERNEL=="binder", MODE="0666"
# graphics devices
SUBSYSTEM=="graphics", KERNEL=="*", SYMLINK+="graphics/%k"
# input devices
ACTION=="add", KERNEL=="event[0-9]*", GROUP="aid_input", MODE="0660"
# misc devices
ACTION=="add", KERNEL=="alarm", OWNER="aid_system", GROUP="users", MODE="0660"
ACTION=="add", KERNEL=="uhid", OWNER="aid_system", GROUP="aid_system", MODE="0660"
ACTION=="add", KERNEL=="mtp_usb", OWNER="root", GROUP="plugdev", MODE="0660"
# memory
ACTION=="add", KERNEL=="ashmem", OWNER="aid_system", GROUP="aid_system", MODE="0666"
# rfkill
ACTION=="add", KERNEL=="rfkill", GROUP="aid_input", MODE="0660"