f524934
Posts: 2
Joined: Sun Jul 28, 2013 1:48 pm

device name

Sun Jul 28, 2013 1:54 pm

Hi Forum,,

I'm trying to use 'motion' and need to adjust the conf file to change it from the default of /dev/video0 to what the raspberry pi camera uses. The trouble is, I don't know what to use instead. I can't see any reference to the camera in dmesg or syslog (at least not by searching for the string 'camera'). I am able to use the camera with raspistill so I know it works, I just don't know how it is represented under /dev

Can anyone enlighten me please?

Many thanks,
Tony

jamesh
Raspberry Pi Engineer & Forum Moderator
Raspberry Pi Engineer & Forum Moderator
Posts: 26716
Joined: Sat Jul 30, 2011 7:41 pm

Re: device name

Sun Jul 28, 2013 1:55 pm

Principal Software Engineer at Raspberry Pi (Trading) Ltd.
Contrary to popular belief, humorous signatures are allowed.
I've been saying "Mucho" to my Spanish friend a lot more lately. It means a lot to him.

f524934
Posts: 2
Joined: Sun Jul 28, 2013 1:48 pm

Re: device name

Sun Jul 28, 2013 2:19 pm

Many thanks, the answer seems to be that I need a special built version of motion and the link you gave has the magic
instructions.

Thanks again,
Tony

Code: Select all

sudo apt-get install -y libjpeg62 libjpeg62-dev libavformat53 libavformat-dev libavcodec53 libavcodec-dev libavutil51 libavutil-dev libc6-dev zlib1g-dev libmysqlclient18 libmysqlclient-dev libpq5 libpq-dev

$ wget https://www.dropbox.com/s/xdfcxm5hu71s97d/motion-mmal.tar.gz

$ tar -zxvf motion-mmal.tar.gz

$ ./motion -n -c motion-mmalcam.conf


avengery
Posts: 2
Joined: Fri Jan 17, 2014 8:31 pm

Re: device name

Sat Jan 18, 2014 1:18 pm

thanks for both of you but i still need more details
and what about the configuration the special build of motion :)

Return to “Camera board”