Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. TSLIB and Serial Port Touch Screen
Forum Updated to NodeBB v4.3 + New Features

TSLIB and Serial Port Touch Screen

Scheduled Pinned Locked Moved Mobile and Embedded
1 Posts 1 Posters 1.0k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    Sidii
    wrote on last edited by
    #1

    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?

    Thanks.

    1 Reply Last reply
    0

    • Login

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Get Qt Extensions
    • Unsolved