Page 1 of 1

Logitech c310 webcam on zoneminder 1.28.x-ubuntu 14.04

Posted: Sun Jan 03, 2016 2:23 pm
by atai2016
Hi, everyone, sorry for my bad English because it's not my first language.

I had an older computer installed ubuntu server 14.04.3 LTS with XFCE desktop and zoneminder 1.26.5 days ago. It worked well and captured images from Logitech webcam c310 after add the line [$ENV{LD_PRELOAD} = '/usr/lib/libv4l/v4l1compat.so';] into /usr/bin/zmdc.pl according to the network teaching.

However, I liked the flat skin lacked on ZM 1.26.x, so I re-installed ubuntu server 14.04.3 and zoneminder 1.28.1 from ppa:iconnor/zoneminder as the same procedures even add the above line into /usr/bin/zmdl.pl. Unfortunately, it can't capture the images from c310 this time although I tried many methods.

Therefore, anyone kindly tell me if anything I lost or only a bug of the new version? Sincerely..

Information about my ubuntu kernel: Linux 3.19.0-42-generic #48~14.04.1-Ubuntu SMP Fri Dec 18 10:25:23 UTC 2015 i686 i686 i686 GNU/Linux

Zoneminder setting for Logitech c310: Local; Modect; Video for Linux version 2; NTSC; *YUYV; 24 bit coloue; and 640X480

Image

Image

Image

Image

Image

Image

Thanks very much!!

Re: Logitech c310 webcam on zoneminder 1.28.x-ubuntu 14.04

Posted: Sun Jan 03, 2016 2:44 pm
by atai2016

Re: Logitech c310 webcam on zoneminder 1.28.x-ubuntu 14.04

Posted: Sun Jan 03, 2016 3:48 pm
by bbunge
I have used several Logitech USB cams with few issues. Have never had to modify any Zoneminder files...

Device Path /dev/video0

Device Format PAL B

Start with 640x480 or 320x240 resolution

Re: Logitech c310 webcam on zoneminder 1.28.x-ubuntu 14.04

Posted: Sun Jan 03, 2016 7:49 pm
by knight-of-ni
Permission denied error message means exactly what it says. You don't have permission to access /dev/video0 or some other application has got the device open. Has the web server user account been added to the video group?

Re: Logitech c310 webcam on zoneminder 1.28.x-ubuntu 14.04

Posted: Mon Jan 04, 2016 2:47 am
by atai2016
It works!

I just lost this step:
$ sudo usermod -a -G video www-data

I can see the webcam images again after this.

Thank you all!