Page 1 of 1

logitech c 120

Posted: Mon Jan 24, 2011 2:37 pm
by edgar5
hello

I connected logitech c 120 to usb port (dmesg: /dev/video0).
What presets should I use for those cam?
How can I chcek is it recognized by ZM?
I created monito-1 (/dev/video0(0)), device format: PAL, capture palete: jpeg

but when I click on Name: monitor-1 there is no jpeg or streaming
when I click probe I get:
"Unable to probe local cameras, status is '9'"


How to set it ?

in /tmp/zmdc.log:
01/24/11 16:18:48.737205 zmdc[8902].INF [Can't find child with pid of '9092']
01/24/11 16:18:48.738620 zmdc[8902].INF ['zmc -d /dev/video0' starting at 11/01/24 16:18:48, pid = 9092]
01/24/11 16:18:49.394982 zmdc[8902].WAR [Can't find process with command of 'zma -m 3']
01/24/11 16:22:27.018566 zmdc[8902].INF ['zmc -d /dev/video0' stopping at 11/01/24 16:22:27]
01/24/11 16:22:27.683410 zmdc[8902].INF [Can't find child with pid of '9171']
01/24/11 16:22:27.684770 zmdc[8902].INF ['zmc -d /dev/video0' starting at 11/01/24 16:22:27, pid = 9171]
01/24/11 16:22:28.340126 zmdc[8902].WAR [Can't find process with command of 'zma -m 3']

in /tmp/zmwatch.log:

01/24/11 16:29:05.529377 zmwatch[8930].ERR [Can't get shared memory id '7a6d0003', 3: No such file or directory]
01/24/11 16:29:15.531675 zmwatch[8930].ERR [Can't get shared memory id '7a6d0003', 3: No such file or directory]
01/24/11 16:29:25.533886 zmwatch[8930].ERR [Can't get shared memory id '7a6d0003', 3: No such file or directory]
01/24/11 16:29:35.536174 zmwatch[8930].ERR [Can't get shared memory id '7a6d0003', 3: No such file or directory]
01/24/11 16:29:45.538477 zmwatch[8930].ERR [Can't get shared memory id '7a6d0003', 3: No such file or directory]
01/24/11 16:29:55.540810 zmwatch[8930].ERR [Can't get shared memory id '7a6d0003', 3: No such file or directory]

Posted: Mon Jan 24, 2011 8:02 pm
by jdhar
Read up on the shared memory issue by doing a search.. it's everywhere.

As for that specific cam, you need to enable V4L compatibility. AS a quick fix, you can do this:

echo /usr/lib/libv4l/v4l1compat.so >> /etc/ld.so.preload

Posted: Mon Jan 24, 2011 8:47 pm
by edgar5
I`ve compiled v4l in kernel.

What`s is this:
01/24/11 16:29:55.540810 zmwatch[8930].ERR [Can't get shared memory id '7a6d0003', 3: No such file or directory]

I`ve just 1 usb cam, and 128 MB RAM.

Posted: Mon Jan 24, 2011 9:03 pm
by jdhar
V4L compatibility is not the same thing as compiling V4L in the kernel.

Posted: Mon Jan 24, 2011 9:20 pm
by edgar5
But logitech c120 is UVC camera. I started it with for example: fswebcam, webcam. So I think its`s not problem with v4l. It`s problem with shared memory. Should I`ve /dev/shm in my system?I don`t understand what is wrong witch thic log message.

Posted: Tue Jan 25, 2011 2:13 pm
by edgar5
I think it`s popular zoneminder bug. There is many about this bug in google,but stil no solution ;(