I have my wheezy image on my Raspberry. And I'm setting it up to be a media player for videos and pictures.
I'm using omxplayer(videos) and fbi(pictures). Basic idea was to try to display images/videos after booting. So I've made a script and put it in crontab.
The problem with this was that I couldn't clear the screen (in my case tty1/fb0) if I did crontab solution
I'm using all/some of the following to clear screen:
Code: Select all
sudo -u root setterm -cursor off
sudo -u root clear > /dev/tty1
sudo -u root dd if=/dev/zero of=/dev/fb0 > /dev/null
Now the problem is I'm getting error when playing video:
Code: Select all
map: tty1 => fb0What I would like to know is, how can I avoid this error. And if I can't avoid it, how I can at least not write this error to terminal.
I've used standard command
Code: Select all
> /dev/nullI'm also thinking maybe installed omxplayer is at fault so maybe I'll have to compile it from source but I want to avoid it because it takes really long to do that I hear.
Any suggestions would be welcome.