nowhinjing wrote:
>
> >
Code:
--------------------
> > #!/bin/sh
> if [ ! -z ${SDL_TOUCHSCREEN} ]; then
> export JIVE_NOCURSOR=1
> fi
>
> export HOME=/home/tc
> export JIVE_FRAMERATE=22
>
> SDL_VIDEODRIVER=fbcon SDL_FBDEV=/dev/fb1 /opt/jivelite/bin/jivelite &
>
> /usr/sbin/fbset -depth 32
>
> while true; do
> sleep 3
> /opt/jivelite/bin/jivelite > /dev/null 2>&1
> done
--------------------
> >
Hello NWJ,
my script works well on a Raspberry Pi 2 and on a Raspberry Pi A+.
The ping command on top of my script is too check if LMS is available.
The next lines are similar to your script.
The red marked line in your script ist IMO on the wrong place. With this
line you start Jivelite with the SDL driver and later you start jivelite
again with HDMI output. Maybe this ist the reason why you have two /opt
folders.
Pleace try this:
> #!/bin/sh
> if [ ! -z ${SDL_TOUCHSCREEN} ]; then
> export JIVE_NOCURSOR=1
> fi
>
> 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
> > /dev/null 2>&1
> done
------------------------------------------------------------------------
piPlayer's Profile: http://forums.slimdevices.com/member.php?userid=65280
View this thread: http://forums.slimdevices.com/showthread.php?t=107366
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix