Qt Forum

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    • Unsolved

    TSLIB and Serial Port Touch Screen

    Mobile and Embedded
    1
    1
    961
    Loading More Posts
    • 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
      Sidii last edited by

      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 Reply Quote 0
      • First post
        Last post