Page 1 of 1

1 of 2 camera not working

Posted: Sat Feb 14, 2004 2:06 am
by cowenchinkl
I have installed 2 Logitech Quickcam Express cameras using zoneminder. 1 of them is working fine. But the other
I can only see black blank image for the rest 90% of the viewing screen. When I try tail/var/log/messages in Redhat Linux 7.2, it show this result:

Feb 14 09:55:57 localhost kernel: quickcam: frame lost
Feb 14 09:55:58 localhost last message repeated 8 times
Feb 14 09:55:58 localhost zmc-d0[1399]: ERR [Failed to set camera source 1: Invalid argument]
Feb 14 09:55:58 localhost kernel: quickcam: frame lost
Feb 14 09:55:59 localhost last message repeated 8 times
Feb 14 09:55:59 localhost zmc-d0[1399]: ERR [Failed to set camera source 1: Invalid argument]
Feb 14 09:55:59 localhost kernel: quickcam: frame lost
Feb 14 09:56:00 localhost last message repeated 7 times
Feb 14 09:56:00 localhost zmc-d0[1399]: ERR [Failed to set camera source 1: Invalid argument]
Feb 14 09:56:00 localhost kernel: quickcam: frame lost

Thank you for helping.

Re: 1 of 2 camera not working

Posted: Sat Feb 14, 2004 4:57 am
by pchan
> Feb 14 09:55:57 localhost kernel: quickcam: frame lost
This is a message from the kernel.
It sounds like kernel isn't configured properly.

Can you see both camera's using Xawtv?
If not, try to look for FAQ to setup 2 Quickcams in Linux before trying to configure ZoneMinder.
http://qce-ga.sourceforge.net/

Re: 1 of 2 camera not working

Posted: Sat Feb 14, 2004 5:00 am
by pchan
I suspect this is your answer (From FAQ)

Can I use more than one camera on just one computer?


It is possible to use more than one camera on one computer, but it is necessary to ensure that they
are connected to different USB controllers, not just separate USB ports. This is because most USB
controllers share the available 11Mbps bandwidth across both ports. For example, at a maximum
resolution of 352*288, an uncompressed data stream can give a maximum frame rate of roughly
11*106 / (352*288*8) = 13fps. By plugging in two cameras into the same controller, this is
immediately halved to about 6fps. Hence for performance reasons it is recommended that a camera
is the only device plugged into the USB port.

Re: 1 of 2 camera not working

Posted: Sat Feb 14, 2004 7:03 am
by pchan
> Feb 14 09:55:57 localhost kernel: quickcam: frame lost
This is a message from the kernel.
It sounds like kernel isn't configured properly.

Can you see both camera's using Xawtv?
If not, try to look for FAQ to setup 2 Quickcams in Linux before trying to configure ZoneMinder.
http://qce-ga.sourceforge.net/

Re: 1 of 2 camera not working

Posted: Sat Feb 14, 2004 11:26 am
by zoneminder
I don't know if this is true for the QC driver but with the Ov511 and cpia drviers you can add an option to modules.conf to indicate that there are two or more cameras on the one USB bus. This then divides the available bandwidth up equitably rather than have them fight over it, with one camera usually getting nothing.

Phil,

Re: 1 of 2 camera not working

Posted: Mon Feb 16, 2004 1:17 am
by cowenchinkl
I try to cd /etc/modules.conf. The output is:


alias parport_lowlevel parport_pc
alias eth0 8139too
alias eth1 8139too
alias eth2 8139too
alias sound-slot-0 via82cxxx_audio
post-install sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -L >/dev/null 2>&1 || :
pre-remove sound-slot-0 /bin/aumix-minimal -f /etc/.aumixrc -S >/dev/null 2>&1 || :
alias usb-controller usb-uhci

Because I'm still a new to Linux, I want to ask how can I set up to support 2 cameras.

Thank you very much for so fast and taking time to reply to my question.