As many before me, I also connected a 3.5 inch display to my Raspberrypi
in order to get jivelite working with picoreplayer. Despite the VERY
good tutorials at
docs.picoreplayer.org/projects/waveshare-tft-pcp-jivelite/
and
pughx2.com/picore61.html[/url]

It took me days to get it working. Following the tutorials all went
smoot, calibration and test the touchscreen was all ok. Last thing to do
was making the small script jivelite.sh in /mnt/mmcblk0p2/tce$ and set
jivelite autostart. But nothing happened. After severe trouble shooting
it appeared that simply copy the script from the screen from the
tutorial and paste it in the script jivelite.sh gave me the headache. In
the endless loop at the end of the script some invisible characters
where copied too and caused the script to fail.
Faulty part:
while true; do
/opt/jivelite/bin/jivelite
sleep 3
done

Corrected by deleting the indent with the hidden characters which are
visible when deleting with vi as editor!

while true; do
/opt/jivelite/bin/jivelite
sleep 3
done

Starting the faulty script by hand will show:   (copying the text from
the sreen makes the charact vissible as well)
./jivelite.sh: line 12: Â Â Â Â /opt/jivelite/bin/jivelite: not found
./jivelite.sh: line 13: Â Â Â Â sleep: not found
./jivelite.sh: line 12: Â Â Â Â /opt/jivelite/bin/jivelite: not found
./jivelite.sh: line 13: Â Â Â Â sleep: not found

Starting the corrected script should start jivelite and show:
JiveLite 8.0.0-r208 
sh: /home/tc/lcd-brightness.sh: not found
sh: /home/tc/lcd-brightness.sh: not found

I hope this was helpful for someone with similar problem and this could
be reproduced by the writers of the tutotrials and that they take care
of removing the hidden characters in the text!!

My display is a cheap clone brandname KUMAN


------------------------------------------------------------------------
mcblack's Profile: http://forums.slimdevices.com/member.php?userid=73199
View this thread: http://forums.slimdevices.com/showthread.php?t=107366

_______________________________________________
unix mailing list
unix@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to