ralphy wrote: 
> You need to add -E to sudo if you want the environment variables
> available to the command you're trying to run. -b is run in background.
> 
> See how we run it in do_rebootstuff.sh
> 
> sudo -E -b /opt/jivelite/bin/jivelite.sh
Yes, when I do
> export TSLIB_TSDEVICE=/dev/input/event0
> export SDL_MOUSEDRV=TSLIB
> export SDL_MOUSEDEV=$TSLIB_TSDEVICE
> sudo -E /opt/jivelite/bin/jivelite 
everything works fine. Thank you Ralphy for that hint. I learned
something new again.
So I don't understand why the calibration isn't working with the
standard do_rebootstuff.sh and jivelite.sh and
found the solution in 'this thread'
(http://forums.slimdevices.com/showthread.php?107366-picoreplayer-3-11-waveshare-3-5-TFT-jivelite-Raspberry-Pi-2B&p=905003&viewfull=1#post905003).
I made the changes like streampunk wrote there and after backup and
reboot my touchscreen is working fine. :D


------------------------------------------------------------------------
piPlayer's Profile: http://forums.slimdevices.com/member.php?userid=65280
View this thread: http://forums.slimdevices.com/showthread.php?t=103330

_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix

Reply via email to