mirror of
https://git.yoctoproject.org/poky
synced 2026-05-01 06:32:11 +02:00
Fixes [YOCTO 4164](2/3) Add all /dev/input/* devices to the input group with g+rw. This is needed for rootless X without adding a security hole by making the device o+rw. (From OE-Core rev: 66c9b46f987f3e4f1f9b7b11d1ae157897454f07) Signed-off-by: Darren Hart <dvhart@linux.intel.com> Cc: Saul Wold <sgw@linux.intel.com> Cc: Radu Moisan <radu.moisan@intel.com> Cc: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
24 lines
843 B
Plaintext
24 lines
843 B
Plaintext
# There are a number of modifiers that are allowed to be used in some
|
|
# of the different fields. They provide the following subsitutions:
|
|
#
|
|
# %n the "kernel number" of the device.
|
|
# For example, 'sda3' has a "kernel number" of '3'
|
|
# %e the smallest number for that name which does not matches an existing node
|
|
# %k the kernel name for the device
|
|
# %M the kernel major number for the device
|
|
# %m the kernel minor number for the device
|
|
# %b the bus id for the device
|
|
# %c the string returned by the PROGRAM
|
|
# %s{filename} the content of a sysfs attribute
|
|
# %% the '%' char itself
|
|
#
|
|
|
|
# The first rtc device is symlinked to /dev/rtc
|
|
KERNEL=="rtc0", SYMLINK+="rtc"
|
|
|
|
#The first framebuffer is symlinked to /dev/fb
|
|
KERNEL=="fb0", SYMLINK+="fb"
|
|
|
|
# Make all input devices read-write to the input group
|
|
SUBSYSTEM=="input", GROUP="input", MODE="660"
|