Multiple Cameras - Single image

Post here to ask any questions about hardware suitability, configuration in ZoneMinder, or experiences. If you just want to know if something works with ZoneMinder or not, please check the Hardware Compatibility sections in the forum, and the Wiki first. Also search this topic as well.
Post Reply
Mark Shahaf
Posts: 5
Joined: Tue Jun 03, 2008 9:51 am

Multiple Cameras - Single image

Post by Mark Shahaf »

System: Suse 10.3 (kernel 2.6.22.5-31)
ZoneMinder: v1.23.3

I have 2 cameras attached to 2 USB ports. One is configured as /dev/video channel 0 and the second as /dev/video channel 1.

When watching the cameras from ZoneMinder I see the video from /dev/video0 on both!

Anybody struggled with such problem?

Thanks

Mark
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

They should actualy be two different video devices. Check your dmesg and you should see one assigned to video0 and the other video1.
Mark Shahaf
Posts: 5
Joined: Tue Jun 03, 2008 9:51 am

Post by Mark Shahaf »

I checked and they are. However the pictures I see are identical and are collected by video0. It seems that somehow video0 and video1 merged.
User avatar
cordel
Posts: 5210
Joined: Fri Mar 05, 2004 4:47 pm
Location: /USA/Washington/Seattle

Post by cordel »

Can you post the webcam section of your dmesg please?
Not likely they merged as it don't work like that. It's more likely one has failed so your are left with one device.
Do you have these on seperate usb controlers?
Mark Shahaf
Posts: 5
Joined: Tue Jun 03, 2008 9:51 am

Single picture -dmesg

Post by Mark Shahaf »

Thanks!

Below is dmesg output:

usb 5-1: new full speed USB device using uhci_hcd and address 2
usb 5-1: new device found, idVendor=093a, idProduct=2468
usb 5-1: new device strings: Mfr=1, Product=2, SerialNumber=0
usb 5-1: Product: CIF Single Chip
usb 5-1: Manufacturer: Pixart Imaging Inc.
usb 5-1: configuration #1 chosen from 1 choice
Linux video capture interface: v2.00
/usr/src/packages/BUILD/gspcav1-20071224/obj/default/gspca_core.c: USB GSPCA camera found. (PAC207)
/usr/src/packages/BUILD/gspcav1-20071224/obj/default/gspca_core.c: [spca5xx_probe:4275] Camera type GBRG
/usr/src/packages/BUILD/gspcav1-20071224/obj/default/gspca_core.c: [spca5xx_getcapability:1249] maxw 352 maxh 288 minw 160 minh 120
usbcore: registered new interface driver gspca
/usr/src/packages/BUILD/gspcav1-20071224/obj/default/gspca_core.c: gspca driver 01.00.20 registered
usbcore: registered new interface driver spca5xx
/usr/src/packages/BUILD/spca5xx-20060501/obj/default/drivers/usb/spca5xx.c: spca5xx driver 00.60.00 registered
usb 1-1: new full speed USB device using uhci_hcd and address 2
usb 1-1: new device found, idVendor=093a, idProduct=2468
usb 1-1: new device strings: Mfr=1, Product=2, SerialNumber=0
usb 1-1: Product: CIF Single Chip
usb 1-1: Manufacturer: Pixart Imaging Inc.
usb 1-1: configuration #1 chosen from 1 choice
/usr/src/packages/BUILD/gspcav1-20071224/obj/default/gspca_core.c: USB GSPCA camera found. (PAC207)
/usr/src/packages/BUILD/gspcav1-20071224/obj/default/gspca_core.c: [spca5xx_probe:4275] Camera type GBRG
/usr/src/packages/BUILD/gspcav1-20071224/obj/default/gspca_core.c: [spca5xx_getcapability:1249] maxw 352 maxh 288 minw 160 minh 120
/usr/src/packages/BUILD/gspcav1-20071224/obj/default/gspca_core.c: [spca5xx_set_light_freq:1932] Sensor currently not support light frequency banding filters.
/usr/src/packages/BUILD/gspcav1-20071224/obj/default/gspca_core.c: [gspca_set_isoc_ep:945] ISO EndPoint found 0x85 AlternateSet 8
/usr/src/packages/BUILD/gspcav1-20071224/obj/default/gspca_core.c: [gspca_set_isoc_ep:945] ISO EndPoint found 0x85 AlternateSet 8
/usr/src/packages/BUILD/gspcav1-20071224/obj/default/gspca_core.c: [spca5xx_do_ioctl:2124] Bridge PAC207BCA

/usr/src/packages/BUILD/gspcav1-20071224/obj/default/gspca_core.c: [spca5xx_do_ioctl:2124] Bridge PAC207BCA
/usr/src/packages/BUILD/gspcav1-20071224/obj/default/gspca_core.c: [spca5xx_do_ioctl:2124] Bridge PAC207BCA
/usr/src/packages/BUILD/gspcav1-20071224/obj/default/gspca_core.c: [spca5xx_do_ioctl:2124] Bridge PAC207BCA

AND many more lines like the last.
Post Reply