Page 1 of 1

Card/Camera not working (878a - "PICO 2000")

Posted: Tue Apr 05, 2011 2:29 pm
by felipefv
I have a camera in my house and would like to monitor it on my computer under Linux (Debian Squeeze 6.0), but I am having problems with Zoneminder.
I have a capture card with chip 878A (properly working), but Zoneminder don't show any image or data from the card.

I installed Zapping (television program for Gnome) and the camera/card works, presented as device /dev/video0.

I followed the steps in the Zoneminder's Wiki, but unsuccessfully.

Could anyone help me?

Thanks!
Felipe

Re: Card/Camera not working (878a - "PICO 2000")

Posted: Wed Apr 06, 2011 12:59 pm
by felipefv
Solved: read/write permissions for Zoneminder.
When you restart your Linux, /dev/video0 is "mounted" by root, and ZM cannot access it.
You have to change the permissions to "www-data", the ZM user.

I'm looking for some help in how to change permissions when booting (auto).

Re: Card/Camera not working (878a - "PICO 2000")

Posted: Thu Apr 07, 2011 9:10 am
by Paranoid
felipefv wrote:Solved: read/write permissions for Zoneminder.
When you restart your Linux, /dev/video0 is "mounted" by root, and ZM cannot access it.
You have to change the permissions to "www-data", the ZM user.

I'm looking for some help in how to change permissions when booting (auto).
You might not need to change the permissions.

If you type the following:

Code: Select all

$ ls -l /dev/video0
crw-rw----+ 1 root video 81, 0 Apr  7 09:42 /dev/video0
then note the group the video device belongs to. (in this case its video). If you then add this group to the www-data user (or whatever user needs to access the video) it should work.