NI Linux Real-Time Discussions

cancel
Showing results for 
Search instead for 
Did you mean: 

Not the supervisor

I tried

export DISPLAY=:0

there was no response afterward

0 Kudos
Message 21 of 54
(1,488 Views)

export DISPLAY=:0 is not supposed to return anything. It sets an environment variable.

$ env | grep DISPLAY

DISPLAY=:0

0 Kudos
Message 22 of 54
(1,488 Views)

That's normal. No response is expected after export DISPLAY=:0

0 Kudos
Message 23 of 54
(1,488 Views)

Thanks. I got the calibration to run, but I can't finish it. The screen keeps saying misclicked, restarting

0 Kudos
Message 24 of 54
(1,488 Views)

Yeah sometimes it restarts if you don't hit the calibration point/cross right. Keep at it and it will eventually finish. Using a stylus or something more precise than your finger also helps.

0 Kudos
Message 25 of 54
(1,488 Views)

Thanks. I finished the calibration, but that did not fix the problem. Where I click on the mouse screen is not where the cursor is. It looks like x and y coordinates are reversed

UPDATE: I forgot to copy the folder to the location you specified. When I did I guess I missed your warning, because now on reboot I get

Startup application prevented from running at startup. The startup application crashed during previous startup attemps. Unable to open X display.

The file I copied does not look like the snippet you put above.

I replacd the incorrect 99-calibration.conf file with the snippet above so the linux can startup again. Where do I find the correct file?

0 Kudos
Message 26 of 54
(1,488 Views)

I have ran the calibration routine and replaced the file correctly. But that seems to actually make the problem worse. With the 99-calibration.conf snippet above, the x and y axes seem to be swapped, but after the calibration my cursor isn't even on the screen anymore. I tried changing the swap axis to 1 instead of 0 in the snippet above, but that didn't work.

0 Kudos
Message 27 of 54
(1,488 Views)

Hmm, can you post a reply and attach your /var/log/Xorg.0.log file (so we can check to see if xorg is pulling in the calibration information on startup)? You probably want to get a clean log, so I would recommend rebooting the target prior to grabbing the log.

0 Kudos
Message 28 of 54
(1,488 Views)

Here it is

0 Kudos
Message 29 of 54
(1,488 Views)

Two issues that I see: first, it seems like it is not picking up any calibration options from configuration files. Make sure to follow the instructions gratian.crisan pointed to carefully.

Second, I'm not really seeing anything that looks like a touchscreen in the log listing, a wireless combo device ("2.4 GHz 2.4GHz Wireless Device"), likely something like the following, but no touchscreen-type device. Can you paste the results of running lsusb -v (note: you'll need to install the usbutils package if you haven't already)

0 Kudos
Message 30 of 54
(1,488 Views)