I have a raspberry pi camera board and the UV4L driver installed, for use with the popular software Motion; and am having problems with making it work following a boot.
I can get motion to work following a boot, by entering the following into the terminal:
1)
Code: Select all
sudo /etc/init.d/motion stop
Code: Select all
LD_PRELOAD=/usr/lib/uv4l/uv4lext/armv6l/libuv4lext.so motion -c /etc/motion/motion.conf
If I do not perform 1&2, motion runs, but its a gray screen with message "unable to open video device".
I've tried tried to run a shell script at boot that "LD_PRELOAD=/usr/lib/uv4l/uv4lext/armv6l/libuv4lext.so motion -c /etc/motion/motion.conf", which worked for a few mins, then back to grey screen again.
How can I make Motion boot using this driver, automatically?
The driver usage is on this webpage, example 2, Motion http://www.linux-projects.org/modules/s ... e&artid=16
Thanks in advance,
Reggie.