10.04 server-2 pc card pico2000-image only from ch.0

Forum for questions and support relating to the 1.24.x releases only.
Locked
davic
Posts: 17
Joined: Thu May 20, 2010 9:41 am

10.04 server-2 pc card pico2000-image only from ch.0

Post by davic »

Hi,
I'm running 10.04 ubuntu server and I've installed 2 pc card pico 2000 4ch each one. Reading wiki and forums I set:
V4L_MULTI_BUFFER disable
CAPTURES_PER_FRAME 4
da lspci:

Code: Select all

03:01.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
03:01.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
03:02.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
03:02.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
da zmu -d /dev/video0 -q -v

Code: Select all

Video Device: /dev/video0
General Capabilities
  Driver: bttv
  Card: BT878 video (GrandTec Multi Cap
  Bus: PCI:0000:03:01.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: 1063 x 608
  Default: 924 x 576
  Current: 924 x 576
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
da zmu -d /dev/video0 -q -v

Code: Select all


Video Device: /dev/video1
General Capabilities
  Driver: bttv
  Card: BT878 video (GrandTec Multi Cap
  Bus: PCI:0000:03:02.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: 1063 x 608
  Default: 924 x 576
  Current: 924 x 576
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
Monitors set v4l1 grey o rgb24 (depends on camera) and 320x240
other settings: kernel.shmall= 4096000 kernel.shmmax = 134217728

The monitor in video0 and video1 channel 1, 2 and 3 display image normally black or sometimes mixed black-white.
On the card there are 3 buttons that permit, as stamp on it, to change camera 1-4 5-8 9-12 13-16.

Help please
thaifas
Posts: 26
Joined: Sun May 30, 2010 1:15 pm
Location: Spain

Post by thaifas »

Hello!

I've got the same card and have the same problem; I don´t know how to do; I've searched in the web and in zoneminder, and all the solutions I found didn't work.
Last thing I found was here http://www.dealextreme.com/details.dx/sku.15758.
This page is where I bought the card, and, at the botton of it, there are some forums related to the product; there is one topic related to linux installation, it is talked about Ubuntu 8.04, but, may be, something could be usefull.
Unfortunately, I couldn't try these solutions, because I unconnected the cameras to rearrange them in their definitive position, and I will take about one or two weeks to rearm all the system.

This is the topic where I asked the same question http://www.zoneminder.com/forums/viewtopic.php?t=16473 (if something could help you).

Cheer up, man!
agoodm
Posts: 52
Joined: Tue Oct 09, 2007 12:16 pm

Post by agoodm »

Try creating /etc/modprobe.d/bttv-options.conf with this line in it:

options bttv card=77 tuner=4 radio=0 triton1=0 vsfx=0 autoload=0

Reduce captures per frame to 2 or 3.

Alan
davic
Posts: 17
Joined: Thu May 20, 2010 9:41 am

Post by davic »

hi, I didn't be able to resolve problem.
I purchase a bttv 8ch 8 chips from camsecure and now all it's working well.

I didn't read well all the zoneminder site so I lost time buying cards from unknown sellers on ebay. Don't do my mistakes, go directly to hw tested.
bye
Locked