ec65cb9968
Placing such files in /tmp/ is an unnecessary attack vector, as @pavelmachek showed. All udev rules, which mentioned /tmp/weston.log do not contain any path anymore. Logs can be read with: logread -f /var/log/messages | grep weston See also: <https://wiki.alpinelinux.org/wiki/Syslog>
14 lines
602 B
Text
14 lines
602 B
Text
# udev rules file
|
|
# All device names can be read from weston's logfile
|
|
|
|
# Touchscreen
|
|
# default ENV{LIBINPUT_CALIBRATION_MATRIX}="1 0 0 0 1 0"
|
|
# Left - 90 degree clockwise ENV{LIBINPUT_CALIBRATION_MATRIX}="0 -1 1 1 0 0"
|
|
# 180 degree clockwise ENV{LIBINPUT_CALIBRATION_MATRIX}="-1 0 1 0 -1 1"
|
|
# Right - 270 degree clockwise ENV{LIBINPUT_CALIBRATION_MATRIX}="0 1 0 -1 0 1"
|
|
# reflect along y axis ENV{LIBINPUT_CALIBRATION_MATRIX}="-1 0 1 1 0 0"
|
|
|
|
SUBSYSTEM=="input", ATTRS{name}=="Elan Touchscreen", \
|
|
ENV{ID_INPUT}="1", ENV{ID_INPUT_TOUCHSCREEN}="1", \
|
|
ENV{LIBINPUT_CALIBRATION_MATRIX}="1 0 0 0 1 0"
|
|
|