1a09684c76
* Rebase on 4.11.12 kernel upstream I took the relevant patches from https://git.linaro.org/people/john.stultz/flo.git/log/?h=flo-v4.11 and compiled with upstream kernel.org 4.11.12 kernel. 4.12rc1 and later have not fixed yet problems with freedreno gpu hanging. So we now have an upstream source for the kernel and John Stultz patches separately. Set this to y as it does not seem to have problems in Alpine - CONFIG_HW_RANDOM_MSM=y Enable USB OTG in kernel. I still need to find out how to enable it in Alpine. * Use pkgver instead of hash and other changes * Add dependencies for X11 and osk Added pointercal. Added dependencies so Xfce would work out of the box. Made changes in 90-android-touch-dev.rules as they are needed for proper X11 touchscreen calibration.
14 lines
636 B
Text
14 lines
636 B
Text
# udev rules file
|
|
# All device names can be read from weston's logfile (/tmp/weston.log in postmarketOS)
|
|
|
|
# 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"
|
|
|