FAQ_MA35D1 Initialize Tslib Touch Function

Post Reply
ytliu6
Posts: 79
Joined: 08 Nov 2022, 10:28

06 Apr 2023, 10:45

When creating a MA35D1 image with Buildroot, it's possible that the touch function will not work properly. To resolve this issue, you can add an initialization script to run after the device boots up.

Code: Select all

#!/bin/sh
 
export QT_QPA_FB_TSLIB="1"
export QT_QPA_FONTDIR="/usr/share/fonts/truetype"
export QT_QPA_PLATFORM="linuxfb"
export SHELL="/bin/sh"
export SHLVL="1"
export TERM="xterm"
export TSLIB_CONSOLEDEVICE="none"
export TSLIB_TSDEVICE="/dev/input/event0"


Post Reply
  • Information
  • Who is online

    Users browsing this forum: No registered users and 6 guests