<div dir="ltr"><div>(Resending email due to a html problem with my email. Sorry for the inconvenience.)</div><div> <br></div><div>Dear Peter Hutterer,</div><br>>>     Driver "evdev" for Ubuntu 16.04, "libinput" for Ubuntu 18.04/20.04<br>><br>> just skip this line and let the default snippets take care of it. Given that<br>> this is a server option anyway, you don't need to assign a driver.<br><br>I removed the "Driver" line and verified that it works well on Ubuntu 16.04, 18.04, and 20.04. Thank you very much for the great tip.<br><br>> run xinput watch-props "whatever device name" to check if it is being reset.<br>> could be that something in your desktop environment is interfering, but<br>> given it works on 20.04 whatever it is is likely fixed since.<br><br>I added<br>    /home/touch/watch-matrix.sh &<br>    /home/touch/set-matrix.sh &<br>to ~/.profile.<br><br>    touch@touchDT:~$ cat watch-matrix.sh<br>    #!/bin/bash<br>    /usr/bin/gnome-terminal -e "/usr/bin/xinput watch-props 10"<br><br>    touch@touchDT:~$ cat set-matrix.sh<br>    #!/bin/bash<br>    sleep 30<br>    /usr/bin/xinput set-prop 10 "Coordinate Transformation Matrix" 0 -0.5 0.5 1 0 0 0 0 1<br><br>The output was<br><br>Device 'Kortek Kortek Touch':<br>    Device Enabled (161):    1<br>    Coordinate Transformation Matrix (163):    0.000000, -0.500000, 0.500000, 1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000<br>    libinput Calibration Matrix (298):    1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000<br>    libinput Calibration Matrix Default (299):    1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000<br>    libinput Send Events Modes Available (281):    1, 0<br>    libinput Send Events Mode Enabled (282):    0, 0<br>    libinput Send Events Mode Enabled Default (283):    0, 0<br>    Device Node (284):    "/dev/input/event3"<br>    Device Product ID (285):    10597, 20515<br>Property 'Coordinate Transformation Matrix' changed.<br>    Coordinate Transformation Matrix (163):    1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000<br>Property 'Coordinate Transformation Matrix' changed.<br>    Coordinate Transformation Matrix (163):    1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000<br>Property 'Coordinate Transformation Matrix' changed.<br>    Coordinate Transformation Matrix (163):    1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000<br>Property 'Coordinate Transformation Matrix' changed.<br>    Coordinate Transformation Matrix (163):    1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000<br>Property 'Coordinate Transformation Matrix' changed.<br>    Coordinate Transformation Matrix (163):    1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000<br>Property 'Coordinate Transformation Matrix' changed.<br>    Coordinate Transformation Matrix (163):    1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000<br>Property 'Coordinate Transformation Matrix' changed.<br>    Coordinate Transformation Matrix (163):    1.000000, 0.000000, 0.000000, 0.000000, 1.000000, 0.000000, 0.000000, 0.000000, 1.000000<br>Property 'Coordinate Transformation Matrix' changed.<br>    Coordinate Transformation Matrix (163):    0.000000, -0.500000, 0.500000, 1.000000, 0.000000, 0.000000, 0.000000, 0.000000, 1.000000<br><br>So I could see that my matrix value is undesirably overwritten 7 times to the identy matrix on Ubuntu 18.04.<br>Now I want to identify what package I should update on Ubuntu 18.04 to solve this problem.<br>It is because my customer won't change the OS version and I need to recommend things to solve it.<br>Would you recommend which are the possible candidate packages to update, please?<br>I'll appreciate any clue and I'm willing to try as much as I can.<br>My current installation is the clean ubuntu-18.04.5-desktop-amd64.iso.<br><br>> GNOME's mutter has an automatic touch screen mapping using heuristics. This<br>> may be the reason it fails on 18.04 if the heuristics get confused.<br><br>Thank you very much for this great information.<br>I'll investigate the source code of GNOME's mutter to find why EETI (eGalaxTouch) works well and the other does not on Ubuntu 20.04 (not 18.04).<br><br>Best regards,<br>Hugh Chang<br><br></div>