Problem with bt 878 based card
Posted: Mon May 31, 2010 10:15 pm
hi,
I have some problems in ZoneMinder with two cards pico2000 rev 2.0 (conextant fusion 878A based ). In the past I used
successfully these cards with an older PC on which I installed the zm live distro, today I migrated to a newer PC (i686
Pentium (R) Dual-Core CPU E5400@2.70GHz) on which I've installed Sabayon 2.6.34 and ZoneMinder v1.24.2.
In modprobe.d I've posted a bttv.conf with:
options i2c-algo-bit bit_test=1
options bttv card=77,77 tuner=4,4 radio=0,0 triton1=0 vsfx=0 autoload=0
The cards are identified by zm, which marks them sources in orange.
In Window monitor instead I get a broken image link, if I change image
option into mpeg I get a white image. I've tried to switch from v4l1 to v4l2 but nothing change.
From zmu -d /dev/video0 -q -v i've obtained:
Video Device: /dev/video0
General Capabilities
Driver: bttv
Card: BT878 video (GrandTec Multi Cap
Bus: PCI:0000:03:00.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
and for video1 is the same.
lspci says:
03:00.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
03:00.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
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)
my dmesg|grep bt says:
[ 13.301492] bttv: driver version 0.9.18 loaded
[ 13.301494] bttv: using 8 buffers with 2080k (520 pages) each for capture
[ 13.301853] bttv: Bt8xx card found (0).
[ 13.301868] bttv 0000:03:00.0: PCI INT A -> Link[LNKD] -> GSI 10 (level, low) -> IRQ 10
[ 13.301877] bttv0: Bt878 (rev 17) at 0000:03:00.0, irq: 10, latency: 64, mmio: 0xfdffe000
[ 13.301892] bttv0: using: GrandTec Multi Capture Card (Bt878) [card=77,insmod option]
[ 13.301894] IRQ 10/bttv0: IRQF_DISABLED is not guaranteed on shared IRQs
[ 13.301917] bttv0: gpio: en=00000000, out=00000000 in=00f360ff [init]
[ 13.301933] bt878 #0 [sw]: bus seems to be busy
[ 13.502004] bttv0: tuner absent
[ 13.502006] bttv0: the autoload option is obsolete.
[ 13.502007] bttv0: use option msp3400, tda7432 or tvaudio to
[ 13.502009] bttv0: override which audio module should be used.
[ 13.502277] bttv0: registered device video0
[ 13.502467] bttv0: registered device vbi0
[ 13.502487] bttv0: PLL: 28636363 => 35468950 .
[ 13.503141] bttv0: PLL: 28636363 => 35468950 .
[ 13.503339] bttv0: PLL: 28636363 => 35468950 .. ok
[ 13.524028] bttv: Bt8xx card found (1).
[ 13.524052] bttv 0000:03:01.0: PCI INT A -> Link[LNKA] -> GSI 11 (level, low) -> IRQ 11
[ 13.524064] bttv1: Bt878 (rev 17) at 0000:03:01.0, irq: 11, latency: 64, mmio: 0xfdffc000
[ 13.524106] bttv1: using: GrandTec Multi Capture Card (Bt878) [card=77,insmod option]
[ 13.524109] IRQ 11/bttv1: IRQF_DISABLED is not guaranteed on shared IRQs
[ 13.524139] bttv1: gpio: en=00000000, out=00000000 in=00f360ff [init]
[ 13.524158] bt878 #1 [sw]: bus seems to be busy
[ 13.725003] bttv1: tuner absent
[ 13.725004] bttv1: the autoload option is obsolete.
[ 13.725005] bttv1: use option msp3400, tda7432 or tvaudio to
[ 13.725007] bttv1: override which audio module should be used.
[ 13.725094] bttv1: registered device video1
[ 13.725134] bttv1: registered device vbi1
[ 13.725153] bttv1: PLL: 28636363 => 35468950 .. ok
so i think that the problem could be in the messages:
bt878 #0 [sw]: bus seems to be busy
bt878 #1 [sw]: bus seems to be busy
Someone have any suggestion?
thanks in advance.
I have some problems in ZoneMinder with two cards pico2000 rev 2.0 (conextant fusion 878A based ). In the past I used
successfully these cards with an older PC on which I installed the zm live distro, today I migrated to a newer PC (i686
Pentium (R) Dual-Core CPU E5400@2.70GHz) on which I've installed Sabayon 2.6.34 and ZoneMinder v1.24.2.
In modprobe.d I've posted a bttv.conf with:
options i2c-algo-bit bit_test=1
options bttv card=77,77 tuner=4,4 radio=0,0 triton1=0 vsfx=0 autoload=0
The cards are identified by zm, which marks them sources in orange.
In Window monitor instead I get a broken image link, if I change image
option into mpeg I get a white image. I've tried to switch from v4l1 to v4l2 but nothing change.
From zmu -d /dev/video0 -q -v i've obtained:
Video Device: /dev/video0
General Capabilities
Driver: bttv
Card: BT878 video (GrandTec Multi Cap
Bus: PCI:0000:03:00.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
and for video1 is the same.
lspci says:
03:00.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
03:00.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
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)
my dmesg|grep bt says:
[ 13.301492] bttv: driver version 0.9.18 loaded
[ 13.301494] bttv: using 8 buffers with 2080k (520 pages) each for capture
[ 13.301853] bttv: Bt8xx card found (0).
[ 13.301868] bttv 0000:03:00.0: PCI INT A -> Link[LNKD] -> GSI 10 (level, low) -> IRQ 10
[ 13.301877] bttv0: Bt878 (rev 17) at 0000:03:00.0, irq: 10, latency: 64, mmio: 0xfdffe000
[ 13.301892] bttv0: using: GrandTec Multi Capture Card (Bt878) [card=77,insmod option]
[ 13.301894] IRQ 10/bttv0: IRQF_DISABLED is not guaranteed on shared IRQs
[ 13.301917] bttv0: gpio: en=00000000, out=00000000 in=00f360ff [init]
[ 13.301933] bt878 #0 [sw]: bus seems to be busy
[ 13.502004] bttv0: tuner absent
[ 13.502006] bttv0: the autoload option is obsolete.
[ 13.502007] bttv0: use option msp3400, tda7432 or tvaudio to
[ 13.502009] bttv0: override which audio module should be used.
[ 13.502277] bttv0: registered device video0
[ 13.502467] bttv0: registered device vbi0
[ 13.502487] bttv0: PLL: 28636363 => 35468950 .
[ 13.503141] bttv0: PLL: 28636363 => 35468950 .
[ 13.503339] bttv0: PLL: 28636363 => 35468950 .. ok
[ 13.524028] bttv: Bt8xx card found (1).
[ 13.524052] bttv 0000:03:01.0: PCI INT A -> Link[LNKA] -> GSI 11 (level, low) -> IRQ 11
[ 13.524064] bttv1: Bt878 (rev 17) at 0000:03:01.0, irq: 11, latency: 64, mmio: 0xfdffc000
[ 13.524106] bttv1: using: GrandTec Multi Capture Card (Bt878) [card=77,insmod option]
[ 13.524109] IRQ 11/bttv1: IRQF_DISABLED is not guaranteed on shared IRQs
[ 13.524139] bttv1: gpio: en=00000000, out=00000000 in=00f360ff [init]
[ 13.524158] bt878 #1 [sw]: bus seems to be busy
[ 13.725003] bttv1: tuner absent
[ 13.725004] bttv1: the autoload option is obsolete.
[ 13.725005] bttv1: use option msp3400, tda7432 or tvaudio to
[ 13.725007] bttv1: override which audio module should be used.
[ 13.725094] bttv1: registered device video1
[ 13.725134] bttv1: registered device vbi1
[ 13.725153] bttv1: PLL: 28636363 => 35468950 .. ok
so i think that the problem could be in the messages:
bt878 #0 [sw]: bus seems to be busy
bt878 #1 [sw]: bus seems to be busy
Someone have any suggestion?
thanks in advance.