How can we rotate a touch screen connected to Jetson Nano by 90 degree with touch rotation as well? Rotating the screen clockwise or counterclockwise in the Display settings only rotates the screen. The touch does not work properly.
We don’t have official solution for this because there is no touch screen verified here.
Which interface does this touch screen use for display and touch?
@ss_aditya
maybe you can have a try of 40-xx.
I am using a Newhaven display ( NHD-7.0-HDMI-N-RSXV-CTU). On Raspberry Pi I can change the orientation of touch by going into the config.txt. However, on Jetson Nano I could not find any config.txt. I can go to the display settings and rotate the screen but that does not rotate the touch coordinates.
This what I see when I look in the 40-xx configuration. Not sure where to change the touch orientation. Any suggestions?
90° → “0 -1 1 1 0 0 0 0 1”
180° → “-1 0 1 0 -1 1 0 0 1”
270° → “0 1 0 -1 0 1 0 0 1”
https://wayland.freedesktop.org/libinput/doc/latest/absolute-axes.html
not sure if what u want or not.
Thanks a bunch for your help. This worked !
@ss_aditya
welcome.
may i ask you did you use spi?
and spi works well?
I have not yet used SPI on the Jetson Nano. The only interfaces on the 40-pin header that I have used on the Nano are a few GPIOs and a couple of PWMs for DC motor driving. They seem to be working fine. I have also successfully tested some USB to serial devices and USB as well as CSI cameras.
Hi. I’m trying to do this as well and this is just what I was looking for.
How did you open the 40-libinput.conf file? I’m new and used to Rasp pi where you’d do a sudo nano, but what’s the command for on the Jetson?
I realized I had to install nano in order to edit the file using
sudo apt install nano
Then I added this into the Section “InputClass” between Indentifier and MatchIsTouchScreen
Option "CalibrationMatrix" "0 1 0 -1 0 1 0 0 1"
Hi,
Any idea on which interface on Nvidia Drive AGX work for touch screen for display and touch usecase?