pmaports/device/device-motorola-titan/90-android-touch-dev.rules
Oliver Smith ec65cb9968 Weston: log to syslog instead of /tmp/weston.log (#762)
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>
2017-10-17 20:38:47 +00:00

8 lines
313 B
Text

# udev rules file
# All device names can be read from weston's logfile
# Touchscreen (use 'weston-calibrator' to calibrate)
SUBSYSTEM=="input", ATTRS{name}=="synaptics_dsx_i2c", \
ENV{ID_INPUT}="1", ENV{ID_INPUT_TOUCHSCREEN}="1" \
ENV{WL_CALIBRATION}="1.058484 -0.016513 -7.906464 0.020550 0.998119 -34.100464"