I followed the routine listed at the following link to calibrate my Toradex resistive touch display.
And it worked, mostly.
Some calls to ts_calibrate (from a bash shell) will return the proper crosshair screen shown and discussed at:

[](https://scan.coverity.com/projects/tslib)
[](https://www.bestpractices.dev/projects/752)
# C library for filtering touchscreen events
tslib consists of the library _libts_ and tools that help you _calibrate_ and
_use it_ in your environment.
## contact
If you have problems, questions, ideas, or suggestions, please contact us by
writing an email to [tslib@lists.infradead.org](mailto:tslib@lists.infradead.org),
which is [our mailing list](http://lists.infradead.org/mailman/listinfo/tslib).
## website
Visit the [tslib website](http://tslib.org) for an overview of the project.
## table of contents
* [setup and configure tslib](#setup-and-configure-tslib)
* [filter modules](#filter-modules)
This file has been truncated. show original
Other times it will yield a blank screen with no crosshairs. However, when the screen is blank it does seem to be doing something because it updates the calibration file after the standard 5 touches to the screen (one in each corner and one in the middle).
Any thoughts on what is happening?
Please provide Boot2Qt image version number.
I am using Boot2Qt 5.15.0 Toradex Apalis iMX6.
If Qt appcontroller is running it will interfere with ts_calibrate .
Do a
root@b2qt-apalis-imx6:~# appcontroller --stop
before ts_calibrate
That didn’t seem to help. I still sometimes get a blank screen after stopping the appcontroller.
However, as before, the process seems to be running to some degree. I see the following updates at the bash shell if I blindly press the four corners and the center of the screen. (UL, UR, LR, LL, C)
root@b2qt-apalis-imx6:/usr/bin# ts_calibrate
xres = 800, yres = 480
Took 7 samples…
Top left : X = 289 Y = 3525
Took 8 samples…
Top right : X = 3806 Y = 3528
Took 8 samples…
Bot right : X = 3762 Y = 692
Took 6 samples…
Bot left : X = 321 Y = 485
Took 4 samples…
Center : X = 2189 Y = 2010
-16.201782 0.200911 -0.000179
496.649170 0.003792 -0.129156
Calibration constants: -1061800 13166 -11 32548400 248 -8464 65536
Hi @rkPolarDev
Can you show the ouptut of “ps auxf”?
ps auxf
Also try to stop qtlauncher entirely:
systemctl stop qtlauncher
systemctl disable qtlauncher
reboot
If you are done with calibration you can enable it again:
systemctl enable qtlauncher
reboot
Regards,
Stefan
ps auxf yields:
root@b2qt-apalis-imx6:/usr/bin# ps auxf
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 2 0.0 0.0 0 0 ? S 10:35 0:00 [kthreadd]
root 3 0.0 0.0 0 0 ? I 10:35 0:00 \_ [kworker/0:0]
root 5 0.0 0.0 0 0 ? I 10:35 0:00 \_ [kworker/u8:0]
root 6 0.0 0.0 0 0 ? I< 10:35 0:00 \_ [mm_percpu_wq]
root 7 0.0 0.0 0 0 ? S 10:35 0:00 \_ [ksoftirqd/0]
root 8 0.0 0.0 0 0 ? I 10:35 0:00 \_ [rcu_sched]
root 9 0.0 0.0 0 0 ? I 10:35 0:00 \_ [rcu_bh]
root 10 0.0 0.0 0 0 ? S 10:35 0:00 \_ [migration/0]
root 11 0.0 0.0 0 0 ? S 10:35 0:00 \_ [cpuhp/0]
root 12 0.0 0.0 0 0 ? S 10:35 0:00 \_ [cpuhp/1]
root 13 0.0 0.0 0 0 ? S 10:35 0:00 \_ [migration/1]
root 14 0.0 0.0 0 0 ? S 10:35 0:00 \_ [ksoftirqd/1]
root 17 0.0 0.0 0 0 ? S 10:35 0:00 \_ [cpuhp/2]
root 18 0.0 0.0 0 0 ? S 10:35 0:00 \_ [migration/2]
root 19 0.0 0.0 0 0 ? S 10:35 0:00 \_ [ksoftirqd/2]
root 22 0.0 0.0 0 0 ? S 10:35 0:00 \_ [cpuhp/3]
root 23 0.0 0.0 0 0 ? S 10:35 0:00 \_ [migration/3]
root 24 0.0 0.0 0 0 ? S 10:35 0:00 \_ [ksoftirqd/3]
root 26 0.0 0.0 0 0 ? I< 10:35 0:00 \_ [kworker/3:0H]
root 27 0.0 0.0 0 0 ? S 10:35 0:00 \_ [kdevtmpfs]
root 28 0.0 0.0 0 0 ? I< 10:35 0:00 \_ [netns]
root 29 0.0 0.0 0 0 ? I 10:35 0:00 \_ [kworker/1:1]
root 30 0.0 0.0 0 0 ? I 10:35 0:00 \_ [kworker/0:1]
root 31 0.0 0.0 0 0 ? I 10:35 0:00 \_ [kworker/2:1]
root 32 0.0 0.0 0 0 ? I 10:35 0:00 \_ [kworker/3:1]
root 33 0.0 0.0 0 0 ? S 10:35 0:00 \_ [oom_reaper]
root 34 0.0 0.0 0 0 ? I< 10:35 0:00 \_ [writeback]
root 35 0.0 0.0 0 0 ? S 10:35 0:00 \_ [kcompactd0]
root 36 0.0 0.0 0 0 ? I< 10:35 0:00 \_ [crypto]
root 37 0.0 0.0 0 0 ? I< 10:35 0:00 \_ [kblockd]
root 38 0.0 0.0 0 0 ? I< 10:35 0:00 \_ [ata_sff]
root 39 0.0 0.0 0 0 ? S 10:35 0:00 \_ [irq/197-stmpe]
root 40 0.0 0.0 0 0 ? S 10:35 0:00 \_ [ipu1_task]
root 41 0.0 0.0 0 0 ? S 10:35 0:00 \_ [ipu1_task]
root 42 0.0 0.0 0 0 ? S 10:35 0:00 \_ [ipu2_task]
root 43 0.0 0.0 0 0 ? S 10:35 0:00 \_ [ipu2_task]
root 44 0.0 0.0 0 0 ? I< 10:35 0:00 \_ [watchdogd]
root 45 0.0 0.0 0 0 ? S 10:35 0:00 \_ [cfinteractive]
root 46 0.0 0.0 0 0 ? I< 10:35 0:00 \_ [rpciod]
root 47 0.0 0.0 0 0 ? I< 10:35 0:00 \_ [xprtiod]
root 48 0.0 0.0 0 0 ? S 10:35 0:00 \_ [kswapd0]
root 49 0.0 0.0 0 0 ? I< 10:35 0:00 \_ [nfsiod]
root 50 0.0 0.0 0 0 ? I< 10:35 0:00 \_ [cifsiod]
root 51 0.0 0.0 0 0 ? I< 10:35 0:00 \_ [cifsoplockd]
root 101 0.0 0.0 0 0 ? S 10:35 0:00 \_ [scsi_eh_0]
root 102 0.0 0.0 0 0 ? I< 10:35 0:00 \_ [scsi_tmf_0]
root 106 0.0 0.0 0 0 ? I< 10:35 0:00 \_ [ci_otg]
root 107 0.0 0.0 0 0 ? I< 10:35 0:00 \_ [ci_power_lost]
root 108 0.0 0.0 0 0 ? I< 10:35 0:00 \_ [ci_power_lost]
root 109 0.0 0.0 0 0 ? S 10:35 0:00 \_ [irq/71-mmc0]
root 110 0.0 0.0 0 0 ? S 10:35 0:00 \_ [irq/207-2190000]
root 111 0.0 0.0 0 0 ? S 10:35 0:00 \_ [irq/72-mmc2]
root 112 0.0 0.0 0 0 ? I 10:35 0:00 \_ [kworker/2:2]
root 113 0.0 0.0 0 0 ? I< 10:35 0:00 \_ [vpu_wq]
root 114 0.0 0.0 0 0 ? I 10:35 0:00 \_ [kworker/1:2]
root 115 0.0 0.0 0 0 ? I< 10:35 0:00 \_ [kworker/1:1H]
root 116 0.0 0.0 0 0 ? I< 10:35 0:00 \_ [kworker/0:1H]
root 171 0.0 0.0 0 0 ? I< 10:35 0:00 \_ [ipv6_addrconf]
root 172 0.0 0.0 0 0 ? S 10:35 0:00 \_ [irq/56-imx_ther]
root 174 0.0 0.0 0 0 ? I< 10:35 0:00 \_ [kworker/1:2H]
root 175 0.0 0.0 0 0 ? I< 10:35 0:00 \_ [kworker/0:2H]
root 176 0.0 0.0 0 0 ? S 10:35 0:00 \_ [jbd2/mmcblk2p2-]
root 177 0.0 0.0 0 0 ? I< 10:35 0:00 \_ [ext4-rsv-conver]
root 184 0.0 0.0 0 0 ? I< 10:35 0:00 \_ [kworker/2:1H]
root 190 0.0 0.0 0 0 ? I< 10:35 0:00 \_ [kworker/3:2H]
root 191 0.0 0.0 0 0 ? I< 10:35 0:00 \_ [kworker/2:2H]
root 212 0.0 0.0 0 0 ? I< 10:35 0:00 \_ [galcore workque]
root 233 0.0 0.0 0 0 ? S 10:35 0:00 \_ [Vivante Kernel ]
root 234 0.0 0.0 0 0 ? S 10:35 0:00 \_ [galcore deamon ]
root 235 0.0 0.0 0 0 ? S 10:35 0:00 \_ [galcore deamon ]
root 236 0.0 0.0 0 0 ? S 10:35 0:00 \_ [galcore deamon ]
root 238 0.0 0.0 0 0 ? I 10:35 0:00 \_ [kworker/3:2]
root 243 0.0 0.0 0 0 ? S 10:35 0:00 \_ [spi0]
root 244 0.0 0.0 0 0 ? S 10:35 0:00 \_ [spi1]
root 289 0.0 0.0 0 0 ? S 10:35 0:00 \_ [irq/121-2188000]
root 388 0.0 0.0 0 0 ? I 10:40 0:00 \_ [kworker/u8:2]
root 392 0.0 0.0 0 0 ? I 10:47 0:00 \_ [kworker/0:2]
root 401 0.0 0.0 0 0 ? I< 10:49 0:00 \_ [kworker/3:1H]
root 404 0.0 0.0 0 0 ? I 10:49 0:00 \_ [kworker/u8:1]
root 1 0.4 0.4 25396 5024 ? Ss 10:35 0:04 /sbin/init ro,noatime
root 196 0.0 0.0 1624 388 ? Ss 10:35 0:00 /usr/sbin/rngd -f -r /dev/hwrng
root 198 0.0 0.4 13532 4624 ? Ss 10:35 0:00 /lib/systemd/systemd-journald
root 215 0.0 0.2 11484 2192 ? Ss 10:35 0:00 /lib/systemd/systemd-udevd
systemd+ 229 0.0 0.1 14740 1476 ? Ssl 10:35 0:00 /lib/systemd/systemd-timesyncd
root 264 0.0 0.0 2240 432 ? Ss 10:35 0:00 /sbin/klogd -n
root 265 0.0 0.0 2240 436 ? Ss 10:35 0:00 /sbin/syslogd -n
message+ 266 0.0 0.2 3364 2104 ? Ss 10:35 0:00 /usr/bin/dbus-daemon --system --address=systemd: --nofork --nopidfile --systemd-activation --syslo
root 275 0.0 0.3 8704 4084 ? Ss 10:35 0:00 /usr/sbin/connmand -n
root 277 0.0 0.1 5200 1292 ? Ss 10:35 0:00 /lib/systemd/systemd-logind
root 288 0.0 0.3 8392 3552 ? Ss 10:35 0:00 /usr/sbin/wpa_supplicant -u
root 294 0.0 0.1 3544 1100 tty1 Ss+ 10:35 0:00 /sbin/agetty -o -p -- \u --noclear tty1 linux
root 295 0.0 0.1 1496 1100 ttymxc0 Ss+ 10:35 0:00 /sbin/agetty -8 -L ttymxc0 115200 xterm
root 298 0.0 0.4 6336 4444 ? Ss 10:35 0:00 /lib/systemd/systemd --user
root 299 0.0 0.1 8148 1288 ? S 10:35 0:00 \_ (sd-pam)
root 322 0.0 0.7 68756 7760 ? Sl 10:35 0:00 /usr/bin/qdbd --usb-ethernet-function-name rndis.usb0
systemd+ 341 0.0 0.2 5688 2676 ? Ss 10:35 0:00 /lib/systemd/systemd-networkd
root 365 0.0 0.1 2040 1476 ? Ss 10:36 0:00 /usr/sbin/dropbear -i -r /etc/dropbear/dropbear_rsa_host_key -B
root 366 0.0 0.6 41104 6180 ? S 10:36 0:00 \_ /usr/bin/appcontroller /opt/serial-Muxv4/bin/serial-Muxv4
root 369 2.3 4.1 290888 42952 ? Sl 10:36 0:18 \_ /opt/serial-Muxv4/bin/serial-Muxv4
root 381 0.0 0.1 2040 1484 ? Ss 10:36 0:00 /usr/sbin/dropbear -i -r /etc/dropbear/dropbear_rsa_host_key -B
root 382 0.0 0.2 2620 2104 pts/0 Ss 10:36 0:00 \_ -sh
root 405 0.0 0.1 2472 1356 pts/0 R+ 10:49 0:00 \_ ps auxf
root 395 0.4 0.1 2040 1416 ? Ss 10:48 0:00 /usr/sbin/dropbear -i -r /etc/dropbear/dropbear_rsa_host_key -B
root 396 0.0 0.2 2620 2108 pts/1 Ss+ 10:48 0:00 \_ -sh
Also, I did try stopping qtlauncher and rebooting. The unit kicked me out after I entered “reboot”. After it reboot, I ssh’d back into the unit, entered ts_calibrate, got the crosshairs the first time, but blank screen the second two times after that.
The Boot2QT image provided by QT company. Did you try to search for similar problem on their sites/docs?
https://wiki.qt.io/
https://doc.qt.io/qt-5/gettingstarted.html
@alex.tx - I have looked a bit (searched “ts_calibrate”) but have yet to find anything specific to my problem. Given how common this occurs, I am surprised no one else has stumbled across it.
Tried twice to attach my “ps auxf” print but the site removes my response and states the comment needs to be reviewed by a moderator.
Until then, are there specific details in the printout you are looking for that I could examine?
You can download file to our share server and provide a link here.