my Monitor (Function) is orange and my /dev/video0 (Source) is red and i do not understand why. please help.
Ubuntu 10.04, ZoneMinder v1.24.2
PV-183-8, Panasonic WV-CP474
i checked with xawtv that my camera works
when i do a zmc --device /dev/video0 it stays up. i increased shared memory to twice as much as in the wiki.:~$ xawtv
This is xawtv-3.95.dfsg.1, running on Linux/x86_64 (2.6.32-22-generic)
xinerama 0: 1680x1050+0+0
WARNING: No DGA direct video mode for this display.
WARNING: couldn't find framebuffer base address, try manual
configuration ("v4l-conf -a <addr>")
v4l2: WARNING: framebuffer base address mismatch
v4l2: me=(nil) v4l=(nil)
Warning: Cannot convert string "-*-ledfixed-medium-r-*--39-*-*-*-c-*-*-*" to type FontStruct
searched all logfiles but did not find a real error message. any ideas what i could do?$ ipcs -m
------ Shared Memory Segments --------
key shmid owner perms bytes nattch status
0x00000000 196608 me 600 393216 2 dest
0x00000000 229377 me 600 393216 2 dest
0x00000000 262146 me 600 393216 2 dest
0x00000000 294915 me 600 393216 2 dest
0x00000000 327684 me 600 393216 2 dest
0x00000000 360453 me 600 393216 2 dest
0x00000000 393222 me 600 393216 2 dest
0x00000000 425991 me 600 393216 2 dest
0x00000000 458760 me 600 393216 2 dest
0x00000000 491529 me 600 393216 2 dest
0x00000000 524298 me 600 393216 2 dest
0x00000000 557067 me 600 393216 2 dest
0x00000000 589836 me 600 393216 2 dest
0x00000000 622605 me 600 393216 2 dest
0x00000000 655374 me 600 393216 2 dest
0x00000000 688143 me 600 393216 2 dest
0x00000000 720912 me 600 393216 2 dest
0x00000000 753681 me 600 393216 2 dest
0x00000000 786450 me 600 393216 2 dest
0x00000000 819219 me 600 5497640 2 dest
0xcbc384f8 851988 me 600 64528 2
0x00000000 884757 me 600 217136 2 dest
0x00000000 917526 me 600 2805000 2 dest
0x00000000 1015831 me 600 340340 2 dest
0x00000000 983064 me 600 4 2 dest
0x00000000 1081369 me 600 4 2 dest
0x00000000 1146906 me 600 384000 2 dest
0x00000000 1179675 me 600 376320 2 dest
0x00000000 1212444 me 600 822800 2 dest
0x00000000 1245213 me 600 393216 2 dest
0x00000000 1277982 me 600 384000 2 dest
0x00000000 1310751 me 600 300000 2 dest
0x00000000 1343520 me 600 262080 2 dest
0x00000000 1376289 me 600 393216 2 dest
0x7a6d0001 1671202 me 700 3073524 0
:~$ lspci
00:00.0 Host bridge: Intel Corporation 82G33/G31/P35/P31 Express DRAM Controller (rev 02)
00:01.0 PCI bridge: Intel Corporation 82G33/G31/P35/P31 Express PCI Express Root Port (rev 02)
00:1a.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #4 (rev 02)
00:1a.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #5 (rev 02)
00:1a.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #6 (rev 02)
00:1a.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #2 (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 1 (rev 02)
00:1c.3 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 4 (rev 02)
00:1c.4 PCI bridge: Intel Corporation 82801I (ICH9 Family) PCI Express Port 5 (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801I (ICH9 Family) USB UHCI Controller #3 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801I (ICH9 Family) USB2 EHCI Controller #1 (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev 92)
00:1f.0 ISA bridge: Intel Corporation 82801IB (ICH9) LPC Interface Controller (rev 02)
00:1f.2 IDE interface: Intel Corporation 82801IB (ICH9) 2 port SATA IDE Controller (rev 02)
00:1f.3 SMBus: Intel Corporation 82801I (ICH9 Family) SMBus Controller (rev 02)
00:1f.5 IDE interface: Intel Corporation 82801I (ICH9 Family) 2 port SATA IDE Controller (rev 02)
01:00.0 VGA compatible controller: ATI Technologies Inc RV570 [Radeon X1950 Pro] (rev 9a)
01:00.1 Display controller: ATI Technologies Inc RV570 [Radeon X1950 Pro] (secondary) (rev 9a)
03:00.0 SATA controller: JMicron Technologies, Inc. JMicron 20360/20363 AHCI Controller (rev 02)
03:00.1 IDE interface: JMicron Technologies, Inc. JMicron 20360/20363 AHCI Controller (rev 02)
05:00.0 Ethernet controller: D-Link System Inc DGE-528T Gigabit Ethernet Adapter (rev 10)
05:01.0 Multimedia audio controller: Creative Labs SB Audigy LS
05:02.0 PCI bridge: Hint Corp HiNT HB4 PCI-PCI Bridge (PCI6150) (rev 04)
06:04.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
06:04.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
06:05.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
06:05.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
06:06.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
06:06.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
06:07.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
06:07.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
06:08.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
06:08.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
06:09.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
06:09.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
06:0a.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
06:0a.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
06:0b.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
06:0b.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
:~$ dmesg |grep bttv
[ 25.019098] bttv: driver version 0.9.18 loaded
[ 25.019101] bttv: using 8 buffers with 2080k (520 pages) each for capture
[ 25.019144] bttv: Bt8xx card found (0).
[ 25.019160] bttv 0000:06:04.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
[ 25.019171] bttv0: Bt878 (rev 17) at 0000:06:04.0, irq: 18, latency: 32, mmio: 0xe8100000
[ 25.023095] bttv0: detected: Provideo PV183-1 [card=159], PCI subsystem ID is 1830:1540
[ 25.023098] bttv0: using: ProVideo PV183 [card=159,autodetected]
[ 25.023100] IRQ 18/bttv0: IRQF_DISABLED is not guaranteed on shared IRQs
[ 25.023135] bttv0: gpio: en=00000000, out=00000000 in=00ffffff [init]
[ 25.023230] bttv0: tuner absent
[ 25.023317] bttv0: registered device video0
[ 25.023382] bttv0: registered device vbi0
[ 25.023408] bttv0: PLL: 28636363 => 35468950 .
[ 25.061475] bttv: Bt8xx card found (1).
[ 25.061491] bttv 0000:06:05.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[ 25.061502] bttv1: Bt878 (rev 17) at 0000:06:05.0, irq: 16, latency: 32, mmio: 0xe8102000
[ 25.061588] bttv1: detected: Provideo PV183-2 [card=159], PCI subsystem ID is 1831:1540
[ 25.061590] bttv1: using: ProVideo PV183 [card=159,autodetected]
[ 25.061592] IRQ 16/bttv1: IRQF_DISABLED is not guaranteed on shared IRQs
[ 25.061618] bttv1: gpio: en=00000000, out=00000000 in=00ffffff [init]
[ 25.061655] bttv1: tuner absent
[ 25.061703] bttv1: registered device video1
[ 25.061729] bttv1: registered device vbi1
[ 25.061754] bttv1: PLL: 28636363 => 35468950 .
[ 25.101483] bttv: Bt8xx card found (2).
[ 25.101498] bttv 0000:06:06.0: PCI INT A -> GSI 20 (level, low) -> IRQ 20
[ 25.101509] bttv2: Bt878 (rev 17) at 0000:06:06.0, irq: 20, latency: 32, mmio: 0xe8104000
[ 25.101528] bttv2: detected: Provideo PV183-3 [card=159], PCI subsystem ID is 1832:1540
[ 25.101530] bttv2: using: ProVideo PV183 [card=159,autodetected]
[ 25.101532] IRQ 20/bttv2: IRQF_DISABLED is not guaranteed on shared IRQs
[ 25.101566] bttv2: gpio: en=00000000, out=00000000 in=00ffffff [init]
[ 25.101599] bttv2: tuner absent
[ 25.101639] bttv2: registered device video2
[ 25.101663] bttv2: registered device vbi2
[ 25.101687] bttv2: PLL: 28636363 => 35468950 .
[ 25.141524] bttv: Bt8xx card found (3).
[ 25.141541] bttv 0000:06:07.0: PCI INT A -> GSI 19 (level, low) -> IRQ 19
[ 25.141554] bttv3: Bt878 (rev 17) at 0000:06:07.0, irq: 19, latency: 32, mmio: 0xe8106000
[ 25.141586] bttv3: detected: Provideo PV183-4 [card=159], PCI subsystem ID is 1833:1540
[ 25.141588] bttv3: using: ProVideo PV183 [card=159,autodetected]
[ 25.141590] IRQ 19/bttv3: IRQF_DISABLED is not guaranteed on shared IRQs
[ 25.141618] bttv3: gpio: en=00000000, out=00000000 in=00ffffff [init]
[ 25.141654] bttv3: tuner absent
[ 25.141702] bttv3: registered device video3
[ 25.141726] bttv3: registered device vbi3
[ 25.141751] bttv3: PLL: 28636363 => 35468950 .. ok
[ 25.181522] bttv: Bt8xx card found (4).
[ 25.181540] bttv 0000:06:08.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
[ 25.181553] bttv4: Bt878 (rev 17) at 0000:06:08.0, irq: 18, latency: 32, mmio: 0xe8108000
[ 25.181604] bttv4: detected: Provideo PV183-8 [card=159], PCI subsystem ID is 1837:1540
[ 25.181606] bttv4: using: ProVideo PV183 [card=159,autodetected]
[ 25.181608] IRQ 18/bttv4: IRQF_DISABLED is not guaranteed on shared IRQs
[ 25.181635] bttv4: gpio: en=00000000, out=00000000 in=00ffffff [init]
[ 25.181671] bttv4: tuner absent
[ 25.181720] bttv4: registered device video4
[ 25.181744] bttv4: registered device vbi4
[ 25.181768] bttv4: PLL: 28636363 => 35468950 .. ok
[ 25.221485] bttv: Bt8xx card found (5).
[ 25.221500] bttv 0000:06:09.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[ 25.221512] bttv5: Bt878 (rev 17) at 0000:06:09.0, irq: 16, latency: 32, mmio: 0xe810a000
[ 25.221573] bttv5: detected: Provideo PV183-5 [card=159], PCI subsystem ID is 1834:1540
[ 25.221576] bttv5: using: ProVideo PV183 [card=159,autodetected]
[ 25.221578] IRQ 16/bttv5: IRQF_DISABLED is not guaranteed on shared IRQs
[ 25.221604] bttv5: gpio: en=00000000, out=00000000 in=00ffffff [init]
[ 25.221641] bttv5: tuner absent
[ 25.221686] bttv5: registered device video5
[ 25.221707] bttv5: registered device vbi5
[ 25.221733] bttv5: PLL: 28636363 => 35468950 ..
[ 25.261490] bttv: Bt8xx card found (6).
[ 25.261505] bttv 0000:06:0a.0: PCI INT A -> GSI 20 (level, low) -> IRQ 20
[ 25.261518] bttv6: Bt878 (rev 17) at 0000:06:0a.0, irq: 20, latency: 32, mmio: 0xe810c000
[ 25.261536] bttv6: detected: Provideo PV183-6 [card=159], PCI subsystem ID is 1835:1540
[ 25.261538] bttv6: using: ProVideo PV183 [card=159,autodetected]
[ 25.261540] IRQ 20/bttv6: IRQF_DISABLED is not guaranteed on shared IRQs
[ 25.261565] bttv6: gpio: en=00000000, out=00000000 in=00ffffff [init]
[ 25.261602] bttv6: tuner absent
[ 25.261650] bttv6: registered device video6
[ 25.261673] bttv6: registered device vbi6
[ 25.261697] bttv6: PLL: 28636363 => 35468950 .Console: switching to colour frame buffer device 210x65
[ 25.301485] bttv: Bt8xx card found (7).
[ 25.301500] bttv 0000:06:0b.0: PCI INT A -> GSI 19 (level, low) -> IRQ 19
[ 25.301512] bttv7: Bt878 (rev 17) at 0000:06:0b.0, irq: 19, latency: 32, mmio: 0xe810e000
[ 25.301530] bttv7: detected: Provideo PV183-7 [card=159], PCI subsystem ID is 1836:1540
[ 25.301532] bttv7: using: ProVideo PV183 [card=159,autodetected]
[ 25.301534] IRQ 19/bttv7: IRQF_DISABLED is not guaranteed on shared IRQs
[ 25.301560] bttv7: gpio: en=00000000, out=00000000 in=00ffffff [init]
[ 25.301595] bttv7: tuner absent
[ 25.301637] bttv7: registered device video7
[ 25.301661] bttv7: registered device vbi7
[ 25.301686] bttv7: PLL: 28636363 => 35468950 .. ok
$ sudo zmu -d /dev/video0 -q -v -U admin -P admin
Video Device: /dev/video0
General Capabilities
Driver: bttv
Card: BT878 video (ProVideo PV183)
Bus: PCI:0000:06:04.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: 2
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