Sorry,this was the latest version of my Jivelite.sh:
Code:
--------------------
#!/bin/sh
eventno=$( cat /proc/bus/input/devices | awk '/FT5406 memory based
driver/{for(a=0;a>=0;a++){getline;{if(/mouse/==1){ print $NF;exit 0;}}}}')
export HOME=/home/tc
export JIVE_NOCURSOR=1
export JIVE_FRAMERATE=22
export TSLIB_TSDEVICE=/dev/input/$eventno
export SDL_MOUSEDRV=TSLIB
export SDL_MOUSEDEV=$TSLIB_TSDEVICE
if [ ! -z ${SDL_TOUCHSCREEN} ]; then
export JIVE_NOCURSOR=1
fi
# export SDL_VIDEO_FBCON_ROTATION=UD
export HOME=/home/tc
export JIVE_FRAMERATE=22
/usr/sbin/fbset -depth 32
while true; do
sleep 3
/opt/jivelite/bin/jivelite >> /mnt/mmcblk0p2/tce/jivelite.log 2>&1
SDL_VIDEODRIVER=fbcon SDL_FBDEV=/dev/fb1 /opt/jivelite/bin/jivelite &
done
--------------------
Logfile looks like this now:
Code:
--------------------
JiveLite 0.1.0
JiveLite 0.1.0
JiveLite 0.1.0
JiveLite 0.1.0
JiveLite 0.1.0
JiveLite 0.1.0
JiveLite 0.1.0
--------------------
------------------------------------------------------------------------
bvlet's Profile: http://forums.slimdevices.com/member.php?userid=67766
View this thread: http://forums.slimdevices.com/showthread.php?t=108594
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix