Hi I have a touchscreen connected over USB to my i.MX6 quad.
The touch controller is detected by my Linux:
[ 2.299132] hid-multitouch 0003:0EEF:C002.0001: input,hiddev96: USB HID v1.11 Mouse [eGalax Inc. eGalaxTouch P80H32 4009 v0059_M00 k03_215] on usb-ci_hdrc.0-1/input0
And the touch works, but I have to rotate it by 180°.
Is there a possibility to rotate it over the devicetree?
There is a touchscreen-inverted-x property in the common touchscreen description but I don't know how to use it in the DT.
no not really. I wanted to rotate the touch with the device tree but I didn't find a way to do that.
Finally I used the tool ts_calibrate which comes with libts. After calibrating the touch was rotated.
You can test it with ts_test which comes also with libts.
But if I started my QT application and the touch wasn't rotated as I expected. So I use the following QT environment variable to rotate the touch in QT:
for better understanding of these properties one can look at
"DT helper functions for touchscreen devices "
thanks for reply. I always read the DT Documetation about touchscreen but I don't know how to implement this in my DT. When I use a I2C touchscreen I put the touchscreen properties into the I2C node. But I don't know where to place the properties when I have a USB touchscreen.