Current version of the OpenAuto Pro is 13.1
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Touch calibration
#1
Hello,

I was always calibrating my screen putting a command into ./Desktop/openauto starting script, just a line:
xinput set-prop "Device Name" "Coordinate Transformation Matrix" c0 0 c1 0 c2 c3 0 0 1
before autoapp startup

Unfortunatelly after upgrading from OA12 to OA13 this method is no longer working. Can you advice me about any other method?
Car modification enthusiast, riding on Audi A3 8P 2012
https://www.a3-club.net/forum/showthread...ortback-8P

IT guy with truck driving license  Cool
#2
How do you execute that command on startup? What is the output of the command when you execute it manually? There is no mention about changes in that area in Raspberry PI OS.
#3
This is my /Desktop/openauto file

#!/bin/bash
sudo /sbin/ip link set can0 up type can bitrate 100000
xinput set-prop 'eGalax Inc. USB TouchController' 'Coordinate Transformation Matrix' 1.15 -0.06 -0.02 0 -1.15 1.1 0 0 1
cd $HOME
/usr/bin/stdbuf -o0 /usr/local/bin/autoapp > /home/pi/.openauto/cache/openauto.log

It always calibrated my touchscreen, but after recent update it's not and I can't figure out why
Car modification enthusiast, riding on Audi A3 8P 2012
https://www.a3-club.net/forum/showthread...ortback-8P

IT guy with truck driving license  Cool
#4
What is the output of xinput set-prop 'eGalax Inc. USB TouchController' 'Coordinate Transformation Matrix' 1.15 -0.06 -0.02 0 -1.15 1.1 0 0 1 command when you execute it in terminal?
#5
It works perfectly, without any errors
Car modification enthusiast, riding on Audi A3 8P 2012
https://www.a3-club.net/forum/showthread...ortback-8P

IT guy with truck driving license  Cool
#6
Try to add this command to /etc/xdg/lxsession/LXDE-pi/autostart rather to bash script file.

Or use instructions from this post https://bluewavestudio.io/community/showthread.php?tid=2052&pid=12001#pid12001
#7
Thank you for your support, changes in /home/pi/.xsessionrc worked for me
Car modification enthusiast, riding on Audi A3 8P 2012
https://www.a3-club.net/forum/showthread...ortback-8P

IT guy with truck driving license  Cool


Forum Jump:


Users browsing this thread: 1 Guest(s)