Important: Please read the Qt Code of Conduct -

TSLIB and Serial Port Touch Screen

  • Hi All,
    Just want to know whether this is possible or not?

    1. I have a serial port touch screen which is present at /dev/ttyS1
    2. I have cross compiled tslib. Transferred tools like ts_test and ts_calibrate to the actual embedded device.
    3. After running them, i do not get any output.
    4. Environment variables are shown below:
      export QT_QPA_PLATFORM=linuxfb
      export QT_PLUGIN_PATH=/home/Sid/plugins/generic
      export QT_QPA_GENERIC_PLUGINS=tslib
      export QT_QPA_FONTDIR=/home/Sid/fonts
      export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/Sid
      export TSLIB_FBDEVICE=/dev/fb0
      export TSLIB_TSDEVICE=/dev/ttyS1
      export TSLIB_PLUGINDIR=/home/Sid/tslib_plugins
      export TSLIB_CONFFILE=/home/Sid/ts.conf


    Am i missing something? Please let me know if tslib works for serial port devices or not?


Log in to reply