@ralphy
Thank-you, that works as long as you create an executable *jivelite.sh*
in */mnt/mmcblk0p2/tce/*
Code:
--------------------
#!/bin/sh
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
SDL_VIDEODRIVER=fbcon SDL_FBDEV=/dev/fb1 /opt/jivelite/bin/jivelite &
done
--------------------
and change the end of */home/tc/www/cgi-bin/do_rebootstuff.sh* to read
Code:
--------------------
if [ "$JIVELITE" = "yes" ]; then
echo -n "${BLUE}Starting Jivelite... ${NORMAL}"
# 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;}}}}')
# if [ x"" != x"$eventno" ];then
# export JIVE_NOCURSOR=1
export TSLIB_TSDEVICE=/dev/input/event0
export SDL_MOUSEDRV=TSLIB
export SDL_MOUSEDEV=$TSLIB_TSDEVICE
# fi
export HOME=/home/tc
if [ -x /opt/jivelite/bin/jivelite.sh ]; then
echo "${GREEN}Done.${NORMAL}"
sudo -E -b /mnt/mmcblk0p2/tce/jivelite.sh > /dev/null 2>&1
# sudo -E -b /opt/jivelite/bin/jivelite.sh >/dev/null 2>&1
else
echo "${RED}There is a problem with the Jivelite installation. Please remove
and reinstall jivelite.${NORMAL}"
fi
fi
--------------------
Thank-you greatly for this, it will save me many hours of updating as
the versions go along.
NWJ
------------------------------------------------------------------------
nowhinjing's Profile: http://forums.slimdevices.com/member.php?userid=64754
View this thread: http://forums.slimdevices.com/showthread.php?t=107366
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix