I managed to install emdebian and tslib on the mini2440. I have a functional touch screen working, my only problem now is that the backlight of the lcd turns of after a while and I canīt seem to make it turn on again. Is there a way to directly control the backlight, make it turn on when there's activity, or simplity keep it on at all times. Thank you.
Backlight control
Hello, i did not manage to modify this behaviour (e.g. via setterm -blank 0). Does not seem to work. Do you have a permament solution? Temporarily, you can activate the screen, if it is blanked out, with: echo -e "\033[13]" > /dev/tty1 Cheers
Hi Mankin, I used emdebian too.But the mouse pointer(used TSlib) is not ok it display in difference position when i touch,How to config,Help me Pls.
I already have full embedded apps runing on the board, automatic startup and everything. Peter: About the blacksreen turning off, it seems it turns backon when you run a Qt app, and as long one's running it does not turn off again. Weetax: you have a prog that generates the config file if I remember correctly (ts_calibrate), I remember having to create the config file (empty) before runing the ts_calibrate. then put the env variables pointing to where the config is.
Hi weetax, Try to use next exports for proper tslib functionality: export TSLIB_CONSOLEDEVICE=none export TSLIB_TSEVENTTYPE=INPUT export TSLIB_FBDEVICE=/dev/fb0 export TSLIB_TSDEVICE=/dev/input/event1 export TSLIB_CALIBFILE=/etc/pointercal export TSLIB_CONFFILE=/etc/ts.conf export TSLIB_PLUGINDIR=/usr/lib/ts Now calibrate your touchscreen using ts_calibrate. That's it. For QT normal functionality it is a good idea to use next export: export QWS_MOUSE_PROTO=Tslib:/dev/input/event1 You can place all these exports to the /etc/profile file to prevent typing them on every linux boot.