8 chip bt878 card problems need help

Forum for questions and support relating to the 1.24.x releases only.
Locked
gopher
Posts: 16
Joined: Wed Feb 28, 2007 3:26 am

8 chip bt878 card problems need help

Post by gopher »

I purchased a 8 chip bt878 cards on ebay, Assumed these were the good ones since it is on the hardware compatible list.
http://www.zoneminder.com/wiki/index.php/Kodicom_8800
Problem is Ubuntu modprobes VERY VERY slowly each chip

the 8x video chips are

Code: Select all

CONEXANT
Fusion 878A
25878-13
0505Y1F9
0505 TAIWAN
PCI chip is

Code: Select all

PLX
PCI6150-BB66PC
A0504
V45937.1 TAIWAN
A lattice isp1016e HDPLD
A fairchild LCX244
A ATMEL 24CO2M CMOS?
28.63636 Crystal


LSPCI -n results trimmed

Code: Select all

07:0f.0 0400: 109e:036e (rev 11)
07:0f.1 0480: 109e:0878 (rev 11)
lspci -v

Code: Select all

07:0f.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
	Flags: bus master, medium devsel, latency 32, IRQ 15
	Memory at e7a0e000 (32-bit, prefetchable) [size=4K]
	Capabilities: [44] Vital Product Data
	Capabilities: [4c] Power Management version 2
	Kernel modules: bttv

07:0f.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
	Flags: bus master, medium devsel, latency 32, IRQ 15
	Memory at e7a0f000 (32-bit, prefetchable) [size=4K]
	Capabilities: [44] Vital Product Data
	Capabilities: [4c] Power Management version 2
LSHW
THE PCI CHIP

Code: Select all

description: PCI bridge
product: HiNT HB4 PCI-PCI Bridge (PCI6150)
vendor: Hint Corp
physical id: 0
bus info: pci@0000:06:00.0
version: 04
width: 32 bits
clock: 33MHz
capabilities: pci pm hotswap vpd normal_decode bus_master cap_list
resources: ioport:e7a00000(size=1048576)
THE video chip

Code: Select all

    *-multimedia:0
                   description: Multimedia video controller
                   product: Bt878 Video Capture
                   vendor: Brooktree Corporation
                   physical id: 8
                   bus info: pci@0000:07:08.0
                   version: 11
                   width: 32 bits
                   clock: 33MHz
                   capabilities: vpd pm bus_master cap_list
                   configuration: driver=bttv latency=32 maxlatency=40 mingnt=16
                   resources: irq:20 memory:e7a00000-e7a00fff
Theres also audio detected

Code: Select all

     *-multimedia:1 UNCLAIMED
                   description: Multimedia controller
                   product: Bt878 Audio Capture
                   vendor: Brooktree Corporation
                   physical id: 8.1
                   bus info: pci@0000:07:08.1
                   version: 11
                   width: 32 bits
                   clock: 33MHz
                   capabilities: vpd pm bus_master cap_list
                   configuration: latency=32 maxlatency=255 mingnt=4
                   resources: memory:e7a01000-e7a01fff
my dmesg
note the amount of time betweent each card almost 2 minutes

Code: Select all

david@ubuntu-server1:~$ dmesg | grep bttv
[   11.902860] bttv: driver version 0.9.18 loaded
[   11.902862] bttv: using 16 buffers with 2080k (520 pages) each for capture
[   11.902900] bttv: Bt8xx card found (0).
[   11.902923] bttv 0000:07:08.0: PCI INT A -> GSI 20 (level, low) -> IRQ 20
[   11.902933] bttv0: Bt878 (rev 17) at 0000:07:08.0, irq: 20, latency: 32, mmio: 0xe7a00000
[   11.903276] bttv0: using: IVC-200 [card=102,insmod option]
[   11.903315] bttv0: gpio: en=00000000, out=00000000 in=00ffffff [init]
[   11.903359] bttv0: tuner absent
[   11.903360] bttv0: the autoload option is obsolete.
[   11.903361] bttv0: use option msp3400, tda7432 or tvaudio to
[   11.903363] bttv0: override which audio module should be used.
[   11.903406] bttv0: registered device video0
[   11.903428] bttv0: registered device vbi0
[   11.903454] bttv0: PLL: 28636363 => 35468950 ..
[  108.420216] bttv: Bt8xx card found (1).
[  108.420235] bttv 0000:07:09.0: PCI INT A -> GSI 19 (level, low) -> IRQ 19
[  108.420247] bttv1: Bt878 (rev 17) at 0000:07:09.0, irq: 19, latency: 32, mmio: 0xe7a02000
[  108.420328] bttv1: using: IVC-200 [card=102,insmod option]
[  108.420359] bttv1: gpio: en=00000000, out=00000000 in=00ffffff [init]
[  108.420415] bttv1: tuner absent
[  108.420417] bttv1: the autoload option is obsolete.
[  108.420418] bttv1: use option msp3400, tda7432 or tvaudio to
[  108.420419] bttv1: override which audio module should be used.
[  108.420484] bttv1: registered device video1
[  108.420507] bttv1: registered device vbi1
[  108.420535] bttv1: PLL: 28636363 => 35468950 .
[  108.421565] bttv1: PLL: 28636363 => 35468950 .
[  108.421572] bttv1: PLL: 28636363 => 35468950 .. ok
[  204.923776] bttv: Bt8xx card found (2).
[  204.923792] bttv 0000:07:0a.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
[  204.923803] bttv2: Bt878 (rev 17) at 0000:07:0a.0, irq: 18, latency: 32, mmio: 0xe7a04000
[  204.923862] bttv2: using: IVC-200 [card=102,insmod option]
[  204.923889] bttv2: gpio: en=00000000, out=00000000 in=00ffffff [init]
[  204.923939] bttv2: tuner absent
[  204.923941] bttv2: the autoload option is obsolete.
[  204.923942] bttv2: use option msp3400, tda7432 or tvaudio to
[  204.923944] bttv2: override which audio module should be used.
[  204.923997] bttv2: registered device video2
[  204.924023] bttv2: registered device vbi2
[  204.924048] bttv2: PLL: 28636363 => 35468950 .
[  204.925047] bttv2: PLL: 28636363 => 35468950 .
[  204.925208] bttv2: PLL: 28636363 => 35468950 .. ok
[  301.443779] bttv: Bt8xx card found (3).
[  301.443796] bttv 0000:07:0b.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[  301.443809] bttv3: Bt878 (rev 17) at 0000:07:0b.0, irq: 16, latency: 32, mmio: 0xe7a06000
[  301.443854] bttv3: using: IVC-200 [card=102,insmod option]
[  301.443882] bttv3: gpio: en=00000000, out=00000000 in=00ffffff [init]
[  301.443935] bttv3: tuner absent
[  301.443936] bttv3: the autoload option is obsolete.
[  301.443938] bttv3: use option msp3400, tda7432 or tvaudio to
[  301.443939] bttv3: override which audio module should be used.
[  301.443995] bttv3: registered device video3
[  301.444021] bttv3: registered device vbi3
[  301.444050] bttv3: PLL: 28636363 => 35468950 .
[  301.445143] bttv3: PLL: 28636363 => 35468950 .
[  301.445404] bttv3: PLL: 28636363 => 35468950 .. ok
[  397.940426] bttv: Bt8xx card found (4).
[  397.940442] bttv 0000:07:0c.0: PCI INT A -> GSI 20 (level, low) -> IRQ 20
[  397.940453] bttv4: Bt878 (rev 17) at 0000:07:0c.0, irq: 20, latency: 32, mmio: 0xe7a08000
[  397.940496] bttv4: using: IVC-200 [card=102,insmod option]
[  397.940523] bttv4: gpio: en=00000000, out=00000000 in=00ffffff [init]
[  397.940574] bttv4: tuner absent
[  397.940576] bttv4: the autoload option is obsolete.
[  397.940577] bttv4: use option msp3400, tda7432 or tvaudio to
[  397.940579] bttv4: override which audio module should be used.
[  397.940632] bttv4: registered device video4
[  397.940663] bttv4: registered device vbi4
[  397.940688] bttv4: PLL: 28636363 => 35468950 .
[  397.941709] bttv4: PLL: 28636363 => 35468950 .
[  397.941878] bttv4: PLL: 28636363 => 35468950 .. ok
[  494.443779] bttv: Bt8xx card found (5).
[  494.443797] bttv 0000:07:0d.0: PCI INT A -> GSI 19 (level, low) -> IRQ 19
[  494.443810] bttv5: Bt878 (rev 17) at 0000:07:0d.0, irq: 19, latency: 32, mmio: 0xe7a0a000
[  494.443854] bttv5: using: IVC-200 [card=102,insmod option]
[  494.443882] bttv5: gpio: en=00000000, out=00000000 in=00ffffff [init]
[  494.443938] bttv5: tuner absent
[  494.443939] bttv5: the autoload option is obsolete.
[  494.443940] bttv5: use option msp3400, tda7432 or tvaudio to
[  494.443942] bttv5: override which audio module should be used.
[  494.443998] bttv5: registered device video5
[  494.444027] bttv5: registered device vbi5
[  494.444054] bttv5: PLL: 28636363 => 35468950 .
[  494.445208] bttv5: PLL: 28636363 => 35468950 .
[  494.445289] bttv5: PLL: 28636363 => 35468950 .. ok
[  590.943778] bttv: Bt8xx card found (6).
[  590.943798] bttv 0000:07:0e.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
[  590.943811] bttv6: Bt878 (rev 17) at 0000:07:0e.0, irq: 18, latency: 32, mmio: 0xe7a0c000
[  590.943858] bttv6: using: IVC-200 [card=102,insmod option]
[  590.943888] bttv6: gpio: en=00000000, out=00000000 in=00ffffff [init]
[  590.943940] bttv6: tuner absent
[  590.943941] bttv6: the autoload option is obsolete.
[  590.943943] bttv6: use option msp3400, tda7432 or tvaudio to
[  590.943944] bttv6: override which audio module should be used.
[  590.944003] bttv6: registered device video6
[  590.944031] bttv6: registered device vbi6
[  590.944058] bttv6: PLL: 28636363 => 35468950 .
[  590.944987] bttv6: PLL: 28636363 => 35468950 .
[  590.945168] bttv6: PLL: 28636363 => 35468950 .. ok
[  687.440056] bttv: Bt8xx card found (7).
[  687.440072] bttv 0000:07:0f.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[  687.440084] bttv7: Bt878 (rev 17) at 0000:07:0f.0, irq: 16, latency: 32, mmio: 0xe7a0e000
[  687.440128] bttv7: using: IVC-200 [card=102,insmod option]
[  687.440156] bttv7: gpio: en=00000000, out=00000000 in=00ffffff [init]
[  687.440208] bttv7: tuner absent
[  687.440209] bttv7: the autoload option is obsolete.
[  687.440211] bttv7: use option msp3400, tda7432 or tvaudio to
[  687.440212] bttv7: override which audio module should be used.
[  687.440269] bttv7: registered device video7
[  687.440296] bttv7: registered device vbi7
[  687.440323] bttv7: PLL: 28636363 => 35468950 .
[  687.441289] bttv7: PLL: 28636363 => 35468950 .
[  687.441537] bttv7: PLL: 28636363 => 35468950 .. ok
my modprobe/bttv.conf

Code: Select all

david@ubuntu-server1:~$ cat /etc/modprobe.d/bttv.conf 
options i2c-algo-bit bit_test=1
options bttv gbuffers=16 card=102,102,102,102,102,102,102,102 radio=0,0,0,0,0,0,0,0 tuner=4,4,4,4,4,4,4,4 chroma_agc=1 combfilter=2 full_luma_range=1 coring=1 autoload=0

modprobe is at 100% for each card sitting there doing nothing. how else can i debug ?
agoodm
Posts: 52
Joined: Tue Oct 09, 2007 12:16 pm

Re: 8 chip bt878 card problems need help

Post by agoodm »

Try card type = 98,98,98,98,98,98,98,98
gopher
Posts: 16
Joined: Wed Feb 28, 2007 3:26 am

Re: 8 chip bt878 card problems need help

Post by gopher »

still same slow loading between devices

Code: Select all

[  108.220018] bttv: Bt8xx card found (1).
[  108.220034] bttv 0000:07:09.0: PCI INT A -> GSI 19 (level, low) -> IRQ 19
[  108.220045] bttv1: Bt878 (rev 17) at 0000:07:09.0, irq: 19, latency: 32, mmio: 0xe7a02000
[  108.220111] bttv1: using: ProVideo PV150 [card=98,insmod option]
[  108.220139] bttv1: gpio: en=00000000, out=00000000 in=00ffffff [init]
[  108.220191] bttv1: tuner absent
[  108.220245] bttv1: registered device video1
[  108.220291] bttv1: registered device vbi1
[  108.220316] bttv1: PLL: 28636363 => 35468950 .
[  108.240041] bttv1: PLL: 28636363 => 35468950 .
[  108.240048] bttv1: PLL: 28636363 => 35468950 .. ok
[  108.262524]  ok
[  108.262783]  ok
[  190.543540] audit_printk_skb: 33 callbacks suppressed
[  190.543542] type=1400 audit(1305719857.052:23): apparmor="STATUS" operation="profile_replace" name="/usr/lib/cups/backend/cups-pdf" pid=2664 comm="apparmor_parser"
[  190.544202] type=1400 audit(1305719857.052:24): apparmor="STATUS" operation="profile_replace" name="/usr/sbin/cupsd" pid=2664 comm="apparmor_parser"
[  190.624440] ppdev: user-space parallel port driver
[  194.235583] tda18271: performing RF tracking filter calibration
[  196.867273] tda18271: RF tracking filter calibration complete
[  201.422510] eth0.99: no IPv6 routers present
[  204.740018] bttv: Bt8xx card found (2).
[  204.740035] bttv 0000:07:0a.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
[  204.740046] bttv2: Bt878 (rev 17) at 0000:07:0a.0, irq: 18, latency: 32, mmio: 0xe7a04000
[  204.740109] bttv2: using: ProVideo PV150 [card=98,insmod option]
[  204.740136] bttv2: gpio: en=00000000, out=00000000 in=00ffffff [init]
[  204.740186] bttv2: tuner absent
[  204.740236] bttv2: registered device video2
[  204.740261] bttv2: registered device vbi2
[  204.740287] bttv2: PLL: 28636363 => 35468950 .
[  204.741540] bttv2: PLL: 28636363 => 35468950 .
[  204.741837] bttv2: PLL: 28636363 => 35468950 .. ok
[  204.763768]  ok
[  204.781272]  ok
[  301.260018] bttv: Bt8xx card found (3).
[  301.260034] bttv 0000:07:0b.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[  301.260046] bttv3: Bt878 (rev 17) at 0000:07:0b.0, irq: 16, latency: 32, mmio: 0xe7a06000
[  301.260094] bttv3: using: ProVideo PV150 [card=98,insmod option]
[  301.260121] bttv3: gpio: en=00000000, out=00000000 in=00ffffff [init]
[  301.260171] bttv3: tuner absent
[  301.260220] bttv3: registered device video3
[  301.260249] bttv3: registered device vbi3
[  301.260274] bttv3: PLL: 28636363 => 35468950 .
[  301.261301] bttv3: PLL: 28636363 => 35468950 .
[  301.261548] bttv3: PLL: 28636363 => 35468950 .. ok
[  301.283762]  ok
[  301.301260]  ok
[  397.780019] bttv: Bt8xx card found (4).
[  397.780035] bttv 0000:07:0c.0: PCI INT A -> GSI 20 (level, low) -> IRQ 20
[  397.780047] bttv4: Bt878 (rev 17) at 0000:07:0c.0, irq: 20, latency: 32, mmio: 0xe7a08000
[  397.780121] bttv4: using: ProVideo PV150 [card=98,insmod option]
[  397.780149] bttv4: gpio: en=00000000, out=00000000 in=00ffffff [init]
[  397.780199] bttv4: tuner absent
[  397.780251] bttv4: registered device video4
[  397.780284] bttv4: registered device vbi4
[  397.780309] bttv4: PLL: 28636363 => 35468950 .
[  397.781330] bttv4: PLL: 28636363 => 35468950 .
[  397.781556] bttv4: PLL: 28636363 => 35468950 .. ok
[  397.803765]  ok
[  397.821260]  ok
[  494.300026] bttv: Bt8xx card found (5).
[  494.300043] bttv 0000:07:0d.0: PCI INT A -> GSI 19 (level, low) -> IRQ 19
[  494.300054] bttv5: Bt878 (rev 17) at 0000:07:0d.0, irq: 19, latency: 32, mmio: 0xe7a0a000
[  494.300107] bttv5: using: ProVideo PV150 [card=98,insmod option]
[  494.300134] bttv5: gpio: en=00000000, out=00000000 in=00ffffff [init]
[  494.300186] bttv5: tuner absent
[  494.300241] bttv5: registered device video5
[  494.300264] bttv5: registered device vbi5
[  494.300290] bttv5: PLL: 28636363 => 35468950 .
[  494.301322] bttv5: PLL: 28636363 => 35468950 .
[  494.301784] bttv5: PLL: 28636363 => 35468950 .. ok
[  494.323765]  ok
[  494.341262]  ok
[  590.820023] bttv: Bt8xx card found (6).
[  590.820040] bttv 0000:07:0e.0: PCI INT A -> GSI 18 (level, low) -> IRQ 18
[  590.820052] bttv6: Bt878 (rev 17) at 0000:07:0e.0, irq: 18, latency: 32, mmio: 0xe7a0c000
[  590.820104] bttv6: using: ProVideo PV150 [card=98,insmod option]
[  590.820132] bttv6: gpio: en=00000000, out=00000000 in=00ffffff [init]
[  590.820187] bttv6: tuner absent
[  590.820243] bttv6: registered device video6
[  590.820276] bttv6: registered device vbi6
[  590.820302] bttv6: PLL: 28636363 => 35468950 .
[  590.821378] bttv6: PLL: 28636363 => 35468950 .
[  590.821773] bttv6: PLL: 28636363 => 35468950 .. ok
[  590.843762]  ok
[  590.861260]  ok
gopher
Posts: 16
Joined: Wed Feb 28, 2007 3:26 am

Re: 8 chip bt878 card problems need help

Post by gopher »

anyone? if i wait till modprobe is done the rmmod the manually modprobe bttv, i cannot kill the modprove process even with kill -9 and -15 i need to figure out is there a way to enable extra debugging in the bttv module?
gopher
Posts: 16
Joined: Wed Feb 28, 2007 3:26 am

Re: 8 chip bt878 card problems need help

Post by gopher »

Locked