Cannot exit omxplayer autorun rc.local - Raspberry Pi Forums
greets all!
have edited rc.local in order 3 things upon startup:
if advise how fix this, great! thought of potential solution asking sakis3g connect opening omxplayer , looping video within executable. run executable rc.local. i'm not sure how this. see below have appended rc.local
in advance
edit: forgot include put in rc.local
have edited rc.local in order 3 things upon startup:
- connect using sakis3g (usb 3g dongle)
- looping video omxplayer @ same time as
- run forever looping executable (which have written in c) in background
- if sakis3g fails connect, try again.
- the terminal not respond commands while playing video (i can't stop video , stuck in infinite loop, forces me power down pi , edit rc.local on computer)
if advise how fix this, great! thought of potential solution asking sakis3g connect opening omxplayer , looping video within executable. run executable rc.local. i'm not sure how this. see below have appended rc.local
code: select all
sudo /usr/bin/modem3g/sakis3g connect sleep 3 omxplayer --loop /home/pi/video.mp4 sudo /home/pi/desktop/executable exit 0
edit: forgot include put in rc.local
couple of thingsyungroobz wrote:code: select all
sudo /usr/bin/modem3g/sakis3g connect sleep 3 omxplayer --loop /home/pi/video.mp4 sudo /home/pi/desktop/executable exit 0
- your rc.local script never finishes. when omxplayer loops ever, executable never gets run
- you don't need use sudo in rc.local run root
- the rc.local script not attached terminal
code: select all
/usr/bin/modem3g/sakis3g connect sleep 3 omxplayer --loop /home/pi/video.mp4 & /home/pi/desktop/executable & exit 0
raspberrypi
Comments
Post a Comment