Добрый день.
Есть тачскрины на разных контроллерах: generaltouch, keetouch и mastertouch.
Generaltouch определился (без установки дополнительных драйверов) и откалибровался (
http://www.generaltouch.com/ueditor/net/upload/file/20180919/6367296448194478524016849.pdf ) нормально.
С keetouch и mastertouch проблема - в системе определяются без установки дополнительных драйверов и даже калибруются. Но проблема в том, что тачскрин после этого работает только в небольшой области монитора (приблизительно 320х200, что, подозрительно соответствует минимальному разрешению монитора, указанному при выполнении xrandr).
Натсройка и калибровка одинаково себя вела на Ubuntu 18.04, Ubuntu Mate 18.04, Ubuntu 16.04, Ubuntu 12.04, Ubuntu 8.04 (под эту версию есть официальные драйвера на сайте производителя, установка ничего не дала), Fedora-Workstation-Live-x86_64-29-1.2, Fedora-KDE-Live-x86_64-29-1.2, CentOS-7.
Калибровать пытался по следующим инструкциям:
1)
http://www.touchbaza.ru/_modules/_cfiles/files/linux_calib_manual.pdf (с дальнейшей записью настроек калибровки в файл /usr/share/X11/xorg.conf.d/99-calibration.conf (и сюда тоже/etc/X11/xorg.conf.d/99-calibration.conf)).
2)
https://wiki.archlinux.org/index.php/Calibrating_Touchscreen (и в дополнение для расчета матриц
http://documentup.com/fourdollars/x11-touchscreen-calibrator#full-aspect-mode )
3) вот по этой инструкции (по ней калибровался generaltouch, но с оставшимися двумя не прокатило - при запуске калибровки тачскрин просто не реагирует на нажатия)
http://www.generaltouch.com/ueditor/net/upload/file/20180919/6367296448194478524016849.pdf Далее подробности на Ubuntu Mate 18.04
xrandrScreen 0: minimum 320 x 200, current 1280 x 1024, maximum 8192 x 8192
VGA-1 connected primary 1280x1024+0+0 (normal left inverted right x axis y axis) 338mm x 270mm
1280x1024 60.02*+ 75.02
1152x864 75.00
1024x768 75.03 60.00
832x624 74.55
800x600 75.00 60.32
640x480 75.00 59.94
720x400 70.08
HDMI-1 disconnected (normal left inverted right x axis y axis)
DP-1 disconnected (normal left inverted right x axis y axis)
HDMI-2 disconnected (normal left inverted right x axis y axis)
DP-2 disconnected (normal left inverted right x axis y axis)
xinput --list⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ YSPRINGTECH USB OPTICAL MOUSE id=8 [slave pointer (2)]
⎜ ↳ HID 1aad:0001 id=9 [slave pointer (2)] - тачскрин
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ Power Button id=6 [slave keyboard (3)]
↳ Power Button id=7 [slave keyboard (3)]
↳ AT Translated Set 2 keyboard id=10 [slave keyboard (3)]
xinput list-props "HID 1aad:0001"Device 'HID 1aad:0001':
Device Enabled (141): 1
Coordinate Transformation Matrix (143): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
libinput Natural Scrolling Enabled (276): 0
libinput Natural Scrolling Enabled Default (277): 0
libinput Middle Emulation Enabled (283): 1
libinput Middle Emulation Enabled Default (284): 0
libinput Calibration Matrix (296): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
libinput Calibration Matrix Default (297): 1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000
libinput Left Handed Enabled (290): 0
libinput Left Handed Enabled Default (291): 0
libinput Send Events Modes Available (261): 1, 0
libinput Send Events Mode Enabled (262): 0, 0
libinput Send Events Mode Enabled Default (263): 0, 0
Device Node (264): "/dev/input/event3"
Device Product ID (265): 6829, 1
libinput Drag Lock Buttons (292): <no items>
libinput Horizontal Scroll Enabled (293): 1
xinput_calibratorCalibrating standard Xorg driver "HID 1aad:0001"
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 "HID 1aad:0001"
Option "MinX" "22865"
Option "MaxX" "1532"
Option "MinY" "3637"
Option "MaxY" "21130"
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
cat /proc/bus/input/devices I: Bus=0019 Vendor=0000 Product=0001 Version=0000
N: Name="Power Button"
P: Phys=PNP0C0C/button/input0
S: Sysfs=/devices/LNXSYSTM:00/LNXSYBUS:00/PNP0C0C:00/input/input0
U: Uniq=
H: Handlers=kbd event0
B: PROP=0
B: EV=3
B: KEY=10000000000000 0
I: Bus=0019 Vendor=0000 Product=0001 Version=0000
N: Name="Power Button"
P: Phys=LNXPWRBN/button/input0
S: Sysfs=/devices/LNXSYSTM:00/LNXPWRBN:00/input/input1
U: Uniq=
H: Handlers=kbd event1
B: PROP=0
B: EV=3
B: KEY=10000000000000 0
I: Bus=0011 Vendor=0001 Product=0001 Version=ab41
N: Name="AT Translated Set 2 keyboard"
P: Phys=isa0060/serio0/input0
S: Sysfs=/devices/platform/i8042/serio0/input/input2
U: Uniq=
H: Handlers=sysrq kbd event2 leds
B: PROP=0
B: EV=120013
B: KEY=402000000 3803078f800d001 feffffdfffefffff fffffffffffffffe
B: MSC=10
B: LED=7
I: Bus=0003 Vendor=1aad Product=0001 Version=0111 - тачскрин
N: Name="HID 1aad:0001"
P: Phys=usb-0000:00:1d.0-1.5/input0
S: Sysfs=/devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.5/2-1.5:1.0/0003:1AAD:0001.0001/input/input3
U: Uniq=
H: Handlers=mouse0 event3 js0
B: PROP=0
B: EV=1b
B: KEY=70000 0 0 0 0
B: ABS=10000000003
B: MSC=10
I: Bus=0003 Vendor=10c4 Product=8105 Version=0111
N: Name="YSPRINGTECH USB OPTICAL MOUSE"
P: Phys=usb-0000:00:1a.0-1.4/input0
S: Sysfs=/devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.4/1-1.4:1.0/0003:10C4:8105.0002/input/input4
U: Uniq=
H: Handlers=mouse1 event4
B: PROP=0
B: EV=17
B: KEY=1f0000 0 0 0 0
B: REL=103
B: MSC=10
I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="HDA Intel PCH Rear Mic"
P: Phys=ALSA
S: Sysfs=/devices/pci0000:00/0000:00:1b.0/sound/card0/input5
U: Uniq=
H: Handlers=event5
B: PROP=0
B: EV=21
B: SW=10
I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="HDA Intel PCH Front Mic"
P: Phys=ALSA
S: Sysfs=/devices/pci0000:00/0000:00:1b.0/sound/card0/input6
U: Uniq=
H: Handlers=event6
B: PROP=0
B: EV=21
B: SW=10
I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="HDA Intel PCH Line"
P: Phys=ALSA
S: Sysfs=/devices/pci0000:00/0000:00:1b.0/sound/card0/input7
U: Uniq=
H: Handlers=event7
B: PROP=0
B: EV=21
B: SW=2000
I: Bus=0000 Vendor=0000 Product=0000 Version=0000
N: Name="HDA Intel PCH Line Out"
P: Phys=ALSA
S: Sysfs=/devices/pci0000:00/0000:00:1b.0/sound/card0/input8
U: Uniq=
H: Handlers=event8
B: PROP=0
B: EV=21
B: SW=40
Может кто-то сталкивался или знает как решить проблему?