However, it only works with "evdev" xorg driver and cannot work with "libinput" xorg dirver.
To check which xorg driver is using for your touch screen device, we can execute the following command:
grep -e "Using input driver" /var/log/Xorg.0.log
If you find that "libinput" is using for your touch screen device, you have to create a configuration file to fix it:
cat > /usr/share/X11/xorg.conf.d/90-FixTouchDriver.conf << "EOF"
Section "InputClass"
Identifier "You touch screen device Id
MatchIsTouchscreen "on"
MatchDevicePath "/dev/input/event*"
Driver "evdev"
EndSection
EOF
Then, xinput_calibrator should be able to get the correct values from the xorg driver.
沒有留言:
發佈留言