Использую debian9
Сам тач работает, только необходима калибрация.
Скачала и установил пакет xinput-calibration
После запуска провёл калибрацию, где предлагается вставить следующие строки в конфиги:
user@arm:~/Рабочий стол$ xinput_calibrator
Calibrating standard Xorg driver "DIALOGUE INC PenMount USB"
current calibration values: min_x=0, max_x=65535 and min_y=0, max_y=65535
If these values are estimated wrong, either supply it manually with the --precalib option, or run the 'get_precalib.sh' script to automatically get it (through HAL).
--> Making the calibration permanent <--
copy the snippet below into '/etc/X11/xorg.conf.d/99-calibration.conf' (/usr/share/X11/xorg.conf.d/ in some distro's)
Section "InputClass"
Identifier "calibration"
MatchProduct "DIALOGUE INC PenMount USB"
Option "MinX" "5605"
Option "MaxX" "60346"
Option "MinY" "5980"
Option "MaxY" "59853"
Option "SwapXY" "0" # unless it was already set to 1
Option "InvertX" "0" # unless it was already set
Option "InvertY" "0" # unless it was already set
EndSection
В папке xorg.conf.d отсутствует файл 99-calibration.conf
root@arm:/usr/share/X11/xorg.conf.d# ls
10-amdgpu.conf 40-libinput.conf
10-quirks.conf 70-synaptics.conf
Попробовал создать файл 99-calibration.conf и вставить туда то что сказал xinput-calibrator
Не помогает.
Как были отклонения в позиционировании тачскрина, так и остались.
Как мне быть?
Цитата: andman от 28 декабря 2017, 10:00:52
Как мне быть?
Попробуй так:
Файл /usr/share/X11/xorg.conf.d/50-synaptics.conf копируешь в рабочий каталог:
cp /usr/share/X11/xorg.conf.d/50-synaptics.conf /etc/X11/xorg.conf.d/50-synaptics.conf
В этот файл вносишь свои корректировки и перезагружаешься.
Цитата: ecc83 от 28 декабря 2017, 11:36:07cp /usr/share/X11/xorg.conf.d/50-synaptics.conf /etc/X11/xorg.conf.d/50-synaptics.conf
Дело в том, что у меня нет папки /etc/X11/xorg.conf.d
root@arm:/etc/X11# ls
app-defaults rgb.txt Xreset Xsession xsm
default-display-manager xinit Xreset.d Xsession.d XvMCConfig
fonts xkb Xresources Xsession.options Xwrapper.config
root@arm:/etc/X11#
И файл у меня не 50, а 70-synaptics.conf
root@arm:/usr/share/X11/xorg.conf.d# ls
10-amdgpu.conf 40-libinput.conf 99-calibration.conf
10-quirks.conf 70-synaptics.conf
root@arm:/usr/share/X11/xorg.conf.d#
Цитата: andman от 09 января 2018, 06:37:25Дело в том, что у меня нет папки /etc/X11/xorg.conf.d
По твоему это не поправимо? Команду для создания директории ещё не проходили? ;)
mkdir /etc/X11/xorg.conf.d
root@arm:/home/user# cd /etc/X11/xorg.conf.d/
root@arm:/etc/X11/xorg.conf.d# ls
70-synaptics.conf
root@arm:/etc/X11/xorg.conf.d#
в файл 70-synaptics.conf было добавлено:
Section "InputClass"
Identifier "calibration"
MatchProduct "DIALOGUE INC PenMount USB"
Option "MinX" "5296"
Option "MaxX" "60719"
Option "MinY" "5646"
Option "MaxY" "60145"
Option "SwapXY" "0" # unless it was already set to 1
Option "InvertX" "0" # unless it was already set
Option "InvertY" "0" # unless it was already set
EndSection
Не помогает.