Same camera view on all four channels
Posted: Mon Nov 23, 2009 6:06 pm
This problem has me tearing my hair out. I decided to upgrade my system from an Ubuntu amd64 8.10 server to Mythbuntu 9.10 AMD. I wanted to merge my mythtv and zoneminder servers into one box. When making an upgrade like this after so long I buy a new hard disk and perform a clean install. The install went fine but something is odd in the camera source setup. This is for zoneminder v1.24. I am using the same hardware as before, a bluecherry PV143 4 channel card. I did add the Haupauge 1600 tv tuner card for mythtv.
I can add the two cameras I had before, 1 for the front door and 1 for the side. I added the front door first and got video just fine (Channel 2). I added the side door next and at first it displayed a ghost image of the front door over the side door image. I tried several tweeks like changing to V4L version 2, moving the port the camera was connected to, with no luck. Now all cameras show the view of the first camera configured in zoneminder.
If I delete all the cameras configured, then add the side door channel first, all other cameras added show the side door view even though they point to a different channel on video0. I've googled every term I can think of to find something but with no luck. Does any body have any ideas?
I tried plugging the old hard drive system back in to see if it was a hardware thing and the hard drive died on bootup. I won't be able to access the old system.
The dmesg output for the bttv info
I can add the two cameras I had before, 1 for the front door and 1 for the side. I added the front door first and got video just fine (Channel 2). I added the side door next and at first it displayed a ghost image of the front door over the side door image. I tried several tweeks like changing to V4L version 2, moving the port the camera was connected to, with no luck. Now all cameras show the view of the first camera configured in zoneminder.
If I delete all the cameras configured, then add the side door channel first, all other cameras added show the side door view even though they point to a different channel on video0. I've googled every term I can think of to find something but with no luck. Does any body have any ideas?
I tried plugging the old hard drive system back in to see if it was a hardware thing and the hard drive died on bootup. I won't be able to access the old system.
The dmesg output for the bttv info
What zmu reports;> dmesg |grep bttv
[ 11.480718] bttv: driver version 0.9.18 loaded
[ 11.480722] bttv: using 8 buffers with 2080k (520 pages) each for capture
[ 11.480825] bttv: Bt8xx card found (0).
[ 11.481094] bttv 0000:05:08.0: PCI INT A -> Link[APC3] -> GSI 18 (level, low) -> IRQ 18
[ 11.481103] bttv0: Bt878 (rev 17) at 0000:05:08.0, irq: 18, latency: 32, mmio: 0xcb000000
[ 11.487951] bttv0: detected: Provideo PV143A [card=105], PCI subsystem ID is aa00:1430
[ 11.487956] bttv0: using: ProVideo PV143 [card=105,autodetected]
[ 11.487959] IRQ 18/bttv0: IRQF_DISABLED is not guaranteed on shared IRQs
[ 11.488004] bttv0: gpio: en=00000000, out=00000000 in=00ffffff [init]
[ 11.492890] bttv0: tuner absent
[ 11.492973] bttv0: registered device video0
[ 11.492997] bttv0: registered device vbi0
[ 11.493014] bttv0: PLL: 28636363 => 35468950 .. ok
[ 143.135005] bttv0: PLL can sleep, using XTAL (28636363).
Much obliged> zmu -d /dev/video0 -q -v -U admin -P <hidden>
Video Device: /dev/video0
General Capabilities
Driver: bttv
Card: BT878 video (ProVideo PV143)
Bus: PCI:0000:05:08.0
Version: 0.9.18
Type: 0x5000015
Supports video capture (X)
Does not support video output
Supports frame buffer overlay
Supports VBI capture
Does not support VBI output
Does not support sliced VBI capture
Does not support sliced VBI output
Does not support video output overlay
Does not have tuner
Does not have audio in and/or out
Does not have radio
Supports read/write i/o (X)
Does not support async i/o
Supports streaming i/o (X)
Standards:
NTSC
NTSC-M
NTSC-M-JP
NTSC-M-KR
PAL
PAL-BG
PAL-H
PAL-I
PAL-DK
PAL-M
PAL-N
PAL-Nc
PAL-60
SECAM
SECAM-B
SECAM-G
SECAM-H
SECAM-DK
SECAM-L
SECAM-Lc
Formats:
8 bpp, gray (GREY)
8 bpp, dithered color (HI24)
15 bpp RGB, le (RGBO)
15 bpp RGB, be (RGBQ)
16 bpp RGB, le (RGBP)
16 bpp RGB, be (RGBR)
24 bpp RGB, le (BGR3)
32 bpp RGB, le (BGR4)
32 bpp RGB, be (RGB4)
4:2:2, packed, YUYV (YUYV)
4:2:2, packed, YUYV (YUYV)
4:2:2, packed, UYVY (UYVY)
4:2:2, planar, Y-Cb-Cr (422P)
4:2:0, planar, Y-Cb-Cr (YU12)
4:2:0, planar, Y-Cr-Cb (YV12)
4:1:1, planar, Y-Cb-Cr (411P)
4:1:0, planar, Y-Cb-Cr (YUV9)
4:1:0, planar, Y-Cr-Cb (YVU9)
Crop Capabilities
Bounds: 838 x 504
Default: 768 x 480
Current: 768 x 480
Inputs: 4
Input 0
Name: Composite0
Type: Camera
Audioset: 00000001
Standards: 0xffbfff
Power on (X)
Signal detected (X)
Colour Signal detected
Horizontal Lock detected
Input 1
Name: Composite1
Type: Camera
Audioset: 00000001
Standards: 0xffbfff
Power on (X)
Signal detected (X)
Colour Signal detected
Horizontal Lock detected
Input 2
Name: Composite2
Type: Camera
Audioset: 00000001
Standards: 0xffbfff
Power on (X)
Signal detected (X)
Colour Signal detected
Horizontal Lock detected
Input 3
Name: Composite3
Type: Camera
Audioset: 00000001
Standards: 0xffbfff
Power on (X)
Signal detected (X)
Colour Signal detected
Horizontal Lock detected