How do I add a second card?

Forum for questions and support relating to the 1.24.x releases only.
Locked
Fitch
Posts: 105
Joined: Sat Oct 31, 2009 4:01 pm
Location: Hartlepool, U.K.

How do I add a second card?

Post by Fitch »

I have had Zoneminder working (on and off) for about a year now with one capture card - 4 cameras which is a bt878 (card 77).

Great!

Now I have to put 4 more cameras in, and have bought a Provideo PV143A.

Thing is, I forgot how to do it?

so I have card=77,105 on bttv.conf and that's it.

Needless to say, it doesn't work 'cos I can't remember what else to do.

The original 4 cameras are fine and work well. I'm just missing something... (actually, I know I'm missing /dev/video1 for a start!)

brafferton@cameras:~$ dmesg | grep bttv
[ 16.507945] bttv: driver version 0.9.18 loaded
[ 16.507948] bttv: using 16 buffers with 2080k (520 pages) each for capture
[ 16.508347] bttv: Bt8xx card found (0).
[ 16.508600] bttv 0000:01:08.0: PCI INT A -> Link[LNKA] -> GSI 19 (level, low) -> IRQ 19
[ 16.508608] bttv0: Bt878 (rev 17) at 0000:01:08.0, irq: 19, latency: 32, mmio: 0xf8fff000
[ 16.508626] bttv0: detected: Provideo PV143A [card=105], PCI subsystem ID is aa00:1430
[ 16.508628] bttv0: using: GrandTec Multi Capture Card (Bt878) [card=77,insmod option]
[ 16.508631] IRQ 19/bttv0: IRQF_DISABLED is not guaranteed on shared IRQs
[ 16.508665] bttv0: gpio: en=00000000, out=00000000 in=00ffffff [init]
[ 16.508743] bttv0: tuner absent
[ 16.508830] bttv0: registered device video0
[ 16.508889] bttv0: registered device vbi0
[ 16.508908] bttv0: PLL: 28636363 => 35468950 .. ok
brafferton@cameras:~$

I did modprobe bttv and restarted, but all thats happened is that zoneminder is always stopped when it reloads, and it takes an interminable time to actually respond to mouse commands.

Anybody willing to help?
Fitch
Posts: 105
Joined: Sat Oct 31, 2009 4:01 pm
Location: Hartlepool, U.K.

Post by Fitch »

Anyone?
timcraig
Posts: 195
Joined: Mon Dec 10, 2007 5:53 pm
Location: San Jose, CA

Post by timcraig »

Have you tried taking out your old card and put in you new card to test the new card is working? Try the new card first without any modprobe options. It should show up under dmesg even if you don't have the options set.

Once you verify the new card is working, put other other card back in and call dmesg to see if both cards are seen by the system. If you get to this point, call "modinfo bttv" and look at the aliases.

Then play with the mod probe options (which I assume your bttv.conf is defining). You might need to create aliases (or use the ones from modinfo) for each card and apply the card options to the individual aliases.
mastertheknife
Posts: 678
Joined: Wed Dec 16, 2009 4:32 pm
Location: Israel

Post by mastertheknife »

You need an entry for every bt878 chip you have, but you need to know which order it is detected by your system.

For example, I have a pico2000 card and a kodicom 8800 clone. The pico2000 is detected first on my machine (its video0) so its the first in the bttv options line.
My /etc/modprobe.d/bttv.conf looks like this:

Code: Select all

# BTTV Modules options

# For fast loading
options i2c-algo-bit bit_test=1 

# The first bttv device is a pico2000 clone, the other 8 are a kodicom 8800 clone.
options bttv gbuffers=16 card=77,102,102,102,102,102,102,102,102 radio=0,0,0,0,0,0,0,0,0 tuner=4,4,4,4,4,4,4,4,4 chroma_agc=1 combfilter=2 full_luma_range=1 coring=1 autoload=0
mastertheknife.
Fitch
Posts: 105
Joined: Sat Oct 31, 2009 4:01 pm
Location: Hartlepool, U.K.

Post by Fitch »

I was always able to get the card seen by dmesg (as shown above in message 1)

However just with the new card, dmesg | grep bttv came up with nothing, which is worrying as it is just out of the packet.

I then put the other card in and swapped them around, and got what I think is the same as above:
dmesg seems to say that it's found the provideo card, but because of bttv.conf it's going to use the other cards parameters, and the other card comes up on zoneminder fine...

confused.

[ 17.093508] bttv: driver version 0.9.18 loaded
[ 17.093510] bttv: using 16 buffers with 2080k (520 pages) each for capture
[ 17.093816] bttv: Bt8xx card found (0).
[ 17.094073] bttv 0000:01:0a.0: PCI INT A -> Link[LNKC] -> GSI 19 (level, low) -> IRQ 19
[ 17.094081] bttv0: Bt878 (rev 17) at 0000:01:0a.0, irq: 19, latency: 32, mmio: 0xf8fff000
[ 17.094099] bttv0: detected: Provideo PV143A [card=105], PCI subsystem ID is aa00:1430
[ 17.094101] bttv0: using: GrandTec Multi Capture Card (Bt878) [card=77,insmod option]
[ 17.094103] IRQ 19/bttv0: IRQF_DISABLED is not guaranteed on shared IRQs
[ 17.094139] bttv0: gpio: en=00000000, out=00000000 in=00ffffff [init]
[ 17.094216] bttv0: tuner absent
[ 17.094299] bttv0: registered device video0
[ 17.094356] bttv0: registered device vbi0
[ 17.094375] bttv0: PLL: 28636363 => 35468950

Modinfo comes up with:
alias: pci:v0000109Ed0000036Fsv*sd*bc*sc*i*
alias: pci:v0000109Ed0000036Esv*sd*bc*sc*i*
alias: pci:v0000109Ed00000351sv*sd*bc*sc*i*
alias: pci:v0000109Ed00000350sv*sd*bc*sc*i*

Still no video1, no matter how many times I modprobe...

Swapping the cards around on the PCI slots has made Zoneminder come up faster though
timcraig
Posts: 195
Joined: Mon Dec 10, 2007 5:53 pm
Location: San Jose, CA

Post by timcraig »

To make sure your new card isn't faulty, I'd take out the old card and try to get things to work with your new card first.

Since dmesg seems to only detect one bttv card, it looks like your new card isn't working or you have an IRQ problem,
Fitch
Posts: 105
Joined: Sat Oct 31, 2009 4:01 pm
Location: Hartlepool, U.K.

Post by Fitch »

I'm beginning to agree. I think I'm being thrown by:
16.508626] bttv0: detected: Provideo PV143A [card=105], PCI subsystem ID is aa00:1430
so a bit of the card seems to work, but not all of it.

I've ordered another card - this time a pico 2000, which is card 77. It'll take a few days to arrive, and I'll let you know how I get on...
mastertheknife
Posts: 678
Joined: Wed Dec 16, 2009 4:32 pm
Location: Israel

Post by mastertheknife »

Hi Fitch,

If the Provideo card is not detected by your system, it may be defective.

Please upload the output of "lspci", "lspci -k" and "dmesg | grep -i pci". I am curious if the Provideo card is even detected by your system.

EDIT: Nevermind, seems like its irrelevant now :D
Fitch
Posts: 105
Joined: Sat Oct 31, 2009 4:01 pm
Location: Hartlepool, U.K.

Post by Fitch »

Looking below (as suggested), there's not much in the way of a provideo card.

So We'll wait for Postman Pat....

brafferton@cameras:~$ lspci
00:00.0 RAM memory: nVidia Corporation MCP61 LPC Bridge (rev a1)
00:01.0 ISA bridge: nVidia Corporation MCP61 LPC Bridge (rev a2)
00:01.1 SMBus: nVidia Corporation MCP61 SMBus (rev a2)
00:01.2 RAM memory: nVidia Corporation MCP61 Memory Controller (rev a2)
00:02.0 USB Controller: nVidia Corporation MCP61 USB Controller (rev a3)
00:02.1 USB Controller: nVidia Corporation MCP61 USB Controller (rev a3)
00:04.0 PCI bridge: nVidia Corporation MCP61 PCI bridge (rev a1)
00:05.0 Audio device: nVidia Corporation MCP61 High Definition Audio (rev a2)
00:06.0 IDE interface: nVidia Corporation MCP61 IDE (rev a2)
00:07.0 Bridge: nVidia Corporation MCP61 Ethernet (rev a2)
00:08.0 IDE interface: nVidia Corporation MCP61 SATA Controller (rev a2)
00:08.1 IDE interface: nVidia Corporation MCP61 SATA Controller (rev a2)
00:09.0 PCI bridge: nVidia Corporation MCP61 PCI Express bridge (rev a2)
00:0b.0 PCI bridge: nVidia Corporation MCP61 PCI Express bridge (rev a2)
00:0c.0 PCI bridge: nVidia Corporation MCP61 PCI Express bridge (rev a2)
00:0d.0 VGA compatible controller: nVidia Corporation C61 [GeForce 7025 / nForce 630a] (rev a2)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, Sempron] HyperTransport Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, Sempron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, Sempron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, Sempron] Miscellaneous Control
00:18.4 Host bridge: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, Sempron] Link Control
01:0a.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
01:0a.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)



brafferton@cameras:~$ lspci -k
00:00.0 RAM memory: nVidia Corporation MCP61 LPC Bridge (rev a1)
00:01.0 ISA bridge: nVidia Corporation MCP61 LPC Bridge (rev a2)
00:01.1 SMBus: nVidia Corporation MCP61 SMBus (rev a2)
Kernel driver in use: nForce2_smbus
Kernel modules: i2c-nforce2
00:01.2 RAM memory: nVidia Corporation MCP61 Memory Controller (rev a2)
00:02.0 USB Controller: nVidia Corporation MCP61 USB Controller (rev a3)
Kernel driver in use: ohci_hcd
00:02.1 USB Controller: nVidia Corporation MCP61 USB Controller (rev a3)
Kernel driver in use: ehci_hcd
00:04.0 PCI bridge: nVidia Corporation MCP61 PCI bridge (rev a1)
00:05.0 Audio device: nVidia Corporation MCP61 High Definition Audio (rev a2)
Kernel driver in use: HDA Intel
Kernel modules: snd-hda-intel
00:06.0 IDE interface: nVidia Corporation MCP61 IDE (rev a2)
Kernel driver in use: pata_amd
Kernel modules: pata_amd
00:07.0 Bridge: nVidia Corporation MCP61 Ethernet (rev a2)
Kernel driver in use: forcedeth
Kernel modules: forcedeth
00:08.0 IDE interface: nVidia Corporation MCP61 SATA Controller (rev a2)
Kernel driver in use: sata_nv
Kernel modules: sata_nv
00:08.1 IDE interface: nVidia Corporation MCP61 SATA Controller (rev a2)
Kernel driver in use: sata_nv
Kernel modules: sata_nv
00:09.0 PCI bridge: nVidia Corporation MCP61 PCI Express bridge (rev a2)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:0b.0 PCI bridge: nVidia Corporation MCP61 PCI Express bridge (rev a2)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:0c.0 PCI bridge: nVidia Corporation MCP61 PCI Express bridge (rev a2)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:0d.0 VGA compatible controller: nVidia Corporation C61 [GeForce 7025 / nForce 630a] (rev a2)
Kernel driver in use: nvidia
Kernel modules: nvidia-current, nvidiafb, nouveau
00:18.0 Host bridge: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, Sempron] HyperTransport Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, Sempron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, Sempron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, Sempron] Miscellaneous Control
00:18.4 Host bridge: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, Sempron] Link Control
01:0a.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
Kernel driver in use: bttv
Kernel modules: bttv
01:0a.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
brafferton@cameras:~$


brafferton@cameras:~$ dmesg | grep -i pci
[ 0.000000] Allocating PCI resources starting at 70000000 (gap: 70000000:8ec00000)
[ 0.168301] ACPI: bus type pci registered
[ 0.168301] PCI: MCFG configuration 0: base fc000000 segment 0 buses 0 - 31
[ 0.168301] PCI: Not using MMCONFIG.
[ 0.168993] PCI: Using configuration type 1 for base access
[ 0.168994] PCI: Using configuration type 1 for extended access
[ 0.178796] PCI: MCFG configuration 0: base fc000000 segment 0 buses 0 - 31
[ 0.182635] PCI: MCFG area at fc000000 reserved in ACPI motherboard resources
[ 0.182637] PCI: Using MMCONFIG for extended config space
[ 0.190668] ACPI: PCI Root Bridge [PCI0] (0000:00)
[ 0.191115] pci 0000:00:01.0: reg 10 io port: [0x900-0x9ff]
[ 0.191149] pci 0000:00:01.1: reg 10 io port: [0xec00-0xec3f]
[ 0.191158] pci 0000:00:01.1: reg 20 io port: [0x600-0x63f]
[ 0.191161] pci 0000:00:01.1: reg 24 io port: [0x700-0x73f]
[ 0.191178] pci 0000:00:01.1: PME# supported from D3hot D3cold
[ 0.191183] pci 0000:00:01.1: PME# disabled
[ 0.191225] pci 0000:00:02.0: reg 10 32bit mmio: [0xfbfff000-0xfbffffff]
[ 0.191245] pci 0000:00:02.0: supports D1 D2
[ 0.191246] pci 0000:00:02.0: PME# supported from D0 D1 D2 D3hot D3cold
[ 0.191249] pci 0000:00:02.0: PME# disabled
[ 0.191268] pci 0000:00:02.1: reg 10 32bit mmio: [0xfbffec00-0xfbffecff]
[ 0.191292] pci 0000:00:02.1: supports D1 D2
[ 0.191293] pci 0000:00:02.1: PME# supported from D0 D1 D2 D3hot D3cold
[ 0.191296] pci 0000:00:02.1: PME# disabled
[ 0.191351] pci 0000:00:05.0: reg 10 32bit mmio: [0xfbff8000-0xfbffbfff]
[ 0.191375] pci 0000:00:05.0: PME# supported from D3hot D3cold
[ 0.191377] pci 0000:00:05.0: PME# disabled
[ 0.191406] pci 0000:00:06.0: reg 20 io port: [0xffa0-0xffaf]
[ 0.191437] pci 0000:00:07.0: reg 10 32bit mmio: [0xfbffd000-0xfbffdfff]
[ 0.191440] pci 0000:00:07.0: reg 14 io port: [0xe480-0xe487]
[ 0.191460] pci 0000:00:07.0: supports D1 D2
[ 0.191461] pci 0000:00:07.0: PME# supported from D0 D1 D2 D3hot D3cold
[ 0.191465] pci 0000:00:07.0: PME# disabled
[ 0.191483] pci 0000:00:08.0: reg 10 io port: [0xe400-0xe407]
[ 0.191485] pci 0000:00:08.0: reg 14 io port: [0xe080-0xe083]
[ 0.191488] pci 0000:00:08.0: reg 18 io port: [0xe000-0xe007]
[ 0.191491] pci 0000:00:08.0: reg 1c io port: [0xdc00-0xdc03]
[ 0.191494] pci 0000:00:08.0: reg 20 io port: [0xd880-0xd88f]
[ 0.191497] pci 0000:00:08.0: reg 24 32bit mmio: [0xfbffc000-0xfbffcfff]
[ 0.191523] pci 0000:00:08.1: reg 10 io port: [0xd800-0xd807]
[ 0.191526] pci 0000:00:08.1: reg 14 io port: [0xd480-0xd483]
[ 0.191529] pci 0000:00:08.1: reg 18 io port: [0xd400-0xd407]
[ 0.191531] pci 0000:00:08.1: reg 1c io port: [0xd080-0xd083]
[ 0.191534] pci 0000:00:08.1: reg 20 io port: [0xd000-0xd00f]
[ 0.191537] pci 0000:00:08.1: reg 24 32bit mmio: [0xfbff7000-0xfbff7fff]
[ 0.191581] pci 0000:00:09.0: PME# supported from D0 D1 D2 D3hot D3cold
[ 0.191583] pci 0000:00:09.0: PME# disabled
[ 0.191615] pci 0000:00:0b.0: PME# supported from D0 D1 D2 D3hot D3cold
[ 0.191617] pci 0000:00:0b.0: PME# disabled
[ 0.191646] pci 0000:00:0c.0: PME# supported from D0 D1 D2 D3hot D3cold
[ 0.191648] pci 0000:00:0c.0: PME# disabled
[ 0.191662] pci 0000:00:0d.0: reg 10 32bit mmio: [0xfa000000-0xfaffffff]
[ 0.191666] pci 0000:00:0d.0: reg 14 64bit mmio pref: [0xe0000000-0xefffffff]
[ 0.191670] pci 0000:00:0d.0: reg 1c 64bit mmio: [0xf9000000-0xf9ffffff]
[ 0.191674] pci 0000:00:0d.0: reg 30 32bit mmio pref: [0xfbfc0000-0xfbfdffff]
[ 0.191784] pci 0000:01:0a.0: reg 10 32bit mmio pref: [0xf8fff000-0xf8ffffff]
[ 0.191841] pci 0000:01:0a.1: reg 10 32bit mmio pref: [0xf8ffe000-0xf8ffefff]
[ 0.191899] pci 0000:00:04.0: transparent bridge
[ 0.191904] pci 0000:00:04.0: bridge 32bit mmio pref: [0xf8f00000-0xf8ffffff]
[ 0.192011] pci_bus 0000:00: on NUMA node 0
[ 0.192014] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
[ 0.192135] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0P1._PRT]
[ 0.192194] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.BR10._PRT]
[ 0.192239] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.BR11._PRT]
[ 0.192283] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.BR12._PRT]
[ 0.219601] ACPI: PCI Interrupt Link [LNKA] (IRQs 16 17 18 19) *0, disabled.
[ 0.219737] ACPI: PCI Interrupt Link [LNKB] (IRQs 16 17 18 19) *0, disabled.
[ 0.219873] ACPI: PCI Interrupt Link [LNKC] (IRQs 16 17 18 19) *11
[ 0.220014] ACPI: PCI Interrupt Link [LNKD] (IRQs 16 17 18 19) *0, disabled.
[ 0.220150] ACPI: PCI Interrupt Link [LNEA] (IRQs 16 17 18 19) *0, disabled.
[ 0.220284] ACPI: PCI Interrupt Link [LNEB] (IRQs 16 17 18 19) *0, disabled.
[ 0.220418] ACPI: PCI Interrupt Link [LNEC] (IRQs 16 17 18 19) *0, disabled.
[ 0.220554] ACPI: PCI Interrupt Link [LNED] (IRQs 16 17 18 19) *0, disabled.
[ 0.220687] ACPI: PCI Interrupt Link [LUB0] (IRQs 20 21 22 23) *5
[ 0.220824] ACPI: PCI Interrupt Link [LUB2] (IRQs 20 21 22 23) *10
[ 0.220958] ACPI: PCI Interrupt Link [LMAC] (IRQs 20 21 22 23) *5
[ 0.221093] ACPI: PCI Interrupt Link [LAZA] (IRQs 20 21 22 23) *11
[ 0.221230] ACPI: PCI Interrupt Link [LACI] (IRQs 20 21 22 23) *0, disabled.
[ 0.221367] ACPI: PCI Interrupt Link [LMC9] (IRQs 20 21 22 23) *10
[ 0.221500] ACPI: PCI Interrupt Link [LSMB] (IRQs 20 21 22 23) *11
[ 0.221635] ACPI: PCI Interrupt Link [LPMU] (IRQs 20 21 22 23) *0, disabled.
[ 0.221770] ACPI: PCI Interrupt Link [LSA0] (IRQs 20 21 22 23) *10
[ 0.221904] ACPI: PCI Interrupt Link [LSA1] (IRQs 20 21 22 23) *10
[ 0.222279] ACPI Exception: AE_TYPE, Evaluating _CRS (20090903/pci_link-282)
[ 0.222281] ACPI: PCI Interrupt Link [LATA] (IRQs 20 21 22 23) *0, disabled.
[ 0.222351] vgaarb: device added: PCI:0000:00:0d.0,decodes=io+mem,owns=io+mem,locks=none
[ 0.222611] PCI: Using ACPI for IRQ routing
[ 0.259825] pci 0000:00:04.0: PCI bridge, secondary bus 0000:01
[ 0.259827] pci 0000:00:04.0: IO window: disabled
[ 0.259829] pci 0000:00:04.0: MEM window: disabled
[ 0.259832] pci 0000:00:04.0: PREFETCH window: 0xf8f00000-0xf8ffffff
[ 0.259836] pci 0000:00:09.0: PCI bridge, secondary bus 0000:02
[ 0.259837] pci 0000:00:09.0: IO window: disabled
[ 0.259839] pci 0000:00:09.0: MEM window: disabled
[ 0.259840] pci 0000:00:09.0: PREFETCH window: disabled
[ 0.259843] pci 0000:00:0b.0: PCI bridge, secondary bus 0000:03
[ 0.259844] pci 0000:00:0b.0: IO window: disabled
[ 0.259846] pci 0000:00:0b.0: MEM window: disabled
[ 0.259848] pci 0000:00:0b.0: PREFETCH window: disabled
[ 0.259851] pci 0000:00:0c.0: PCI bridge, secondary bus 0000:04
[ 0.259852] pci 0000:00:0c.0: IO window: disabled
[ 0.259854] pci 0000:00:0c.0: MEM window: disabled
[ 0.259855] pci 0000:00:0c.0: PREFETCH window: disabled
[ 0.259862] pci 0000:00:04.0: setting latency timer to 64
[ 0.259866] pci 0000:00:09.0: setting latency timer to 64
[ 0.259870] pci 0000:00:0b.0: setting latency timer to 64
[ 0.259873] pci 0000:00:0c.0: setting latency timer to 64
[ 0.259877] pci_bus 0000:00: resource 0 io: [0x00-0xffff]
[ 0.259879] pci_bus 0000:00: resource 1 mem: [0x000000-0xffffffff]
[ 0.259881] pci_bus 0000:01: resource 2 pref mem [0xf8f00000-0xf8ffffff]
[ 0.259882] pci_bus 0000:01: resource 3 io: [0x00-0xffff]
[ 0.259884] pci_bus 0000:01: resource 4 mem: [0x000000-0xffffffff]
[ 0.293323] pci 0000:00:00.0: Found enabled HT MSI Mapping
[ 0.293371] pci 0000:00:00.0: Found enabled HT MSI Mapping
[ 0.293424] pci 0000:00:00.0: Found enabled HT MSI Mapping
[ 0.293477] pci 0000:00:00.0: Found enabled HT MSI Mapping
[ 0.293529] pci 0000:00:00.0: Found enabled HT MSI Mapping
[ 0.293585] pci 0000:00:00.0: Found enabled HT MSI Mapping
[ 0.293646] pci 0000:00:00.0: Found enabled HT MSI Mapping
[ 0.293710] pci 0000:00:00.0: Found enabled HT MSI Mapping
[ 0.293714] pci 0000:00:0d.0: Boot video device
[ 0.301757] pcieport 0000:00:09.0: irq 24 for MSI/MSI-X
[ 0.301761] pcieport 0000:00:09.0: setting latency timer to 64
[ 0.301818] pcieport 0000:00:0b.0: irq 25 for MSI/MSI-X
[ 0.301821] pcieport 0000:00:0b.0: setting latency timer to 64
[ 0.301877] pcieport 0000:00:0c.0: irq 26 for MSI/MSI-X
[ 0.301880] pcieport 0000:00:0c.0: setting latency timer to 64
[ 0.301917] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[ 0.301933] pciehp: PCI Express Hot Plug Controller Driver version: 0.4
[ 0.308294] ACPI: PCI Interrupt Link [LSA0] enabled at IRQ 23
[ 0.308308] pata_acpi 0000:00:08.0: PCI INT A -> Link[LSA0] -> GSI 23 (level, low) -> IRQ 23
[ 0.308323] pata_acpi 0000:00:08.0: PCI INT A disabled
[ 0.308504] ACPI: PCI Interrupt Link [LSA1] enabled at IRQ 22
[ 0.308513] pata_acpi 0000:00:08.1: PCI INT B -> Link[LSA1] -> GSI 22 (level, low) -> IRQ 22
[ 0.308527] pata_acpi 0000:00:08.1: PCI INT B disabled
[ 0.308992] ACPI: PCI Interrupt Link [LUB2] enabled at IRQ 21
[ 0.309001] ehci_hcd 0000:00:02.1: PCI INT B -> Link[LUB2] -> GSI 21 (level, low) -> IRQ 21
[ 0.358279] ACPI: PCI Interrupt Link [LUB0] enabled at IRQ 20
[ 0.358288] ohci_hcd 0000:00:02.0: PCI INT A -> Link[LUB0] -> GSI 20 (level, low) -> IRQ 20
[ 0.724899] ACPI: PCI Interrupt Link [LMAC] enabled at IRQ 23
[ 0.724903] forcedeth 0000:00:07.0: PCI INT A -> Link[LMAC] -> GSI 23 (level, low) -> IRQ 23
[ 1.230051] sata_nv 0000:00:08.0: PCI INT A -> Link[LSA0] -> GSI 23 (level, low) -> IRQ 23
[ 1.230479] sata_nv 0000:00:08.1: PCI INT B -> Link[LSA1] -> GSI 22 (level, low) -> IRQ 22
[ 17.691506] ACPI: PCI Interrupt Link [LNKC] enabled at IRQ 19
[ 17.691521] bttv 0000:01:0a.0: PCI INT A -> Link[LNKC] -> GSI 19 (level, low) -> IRQ 19
[ 17.691545] bttv0: detected: Provideo PV143A [card=105], PCI subsystem ID is aa00:1430
[ 17.773174] ACPI: PCI Interrupt Link [LAZA] enabled at IRQ 22
[ 17.773180] HDA Intel 0000:00:05.0: PCI INT B -> Link[LAZA] -> GSI 22 (level, low) -> IRQ 22
[ 18.340371] ACPI: PCI Interrupt Link [LMC9] enabled at IRQ 21
[ 18.340376] nvidia 0000:00:0d.0: PCI INT A -> Link[LMC9] -> GSI 21 (level, low) -> IRQ 21
[ 18.340385] vgaarb: device changed decodes: PCI:0000:00:0d.0,olddecodes=io+mem,decodes=none:owns=io+mem
brafferton@cameras:~$
mastertheknife
Posts: 678
Joined: Wed Dec 16, 2009 4:32 pm
Location: Israel

Post by mastertheknife »

Only one bt878 chip was found by your system and there is no indication of errors in dmesg.
Seems like that card is defective.
Fitch
Posts: 105
Joined: Sat Oct 31, 2009 4:01 pm
Location: Hartlepool, U.K.

Post by Fitch »

I've been sent a Techwell 6805.
I believe this is a bugger to install - or have things changed?

No amount of sudo modprobes will give me a /dev/video1 with it...

brafferton@cameras:~$ dmesg | grep -i pci
[ 0.000000] Allocating PCI resources starting at 70000000 (gap: 70000000:8ec00000)
[ 0.168304] ACPI: bus type pci registered
[ 0.168304] PCI: MCFG configuration 0: base fc000000 segment 0 buses 0 - 31
[ 0.168304] PCI: Not using MMCONFIG.
[ 0.168989] PCI: Using configuration type 1 for base access
[ 0.168990] PCI: Using configuration type 1 for extended access
[ 0.178790] PCI: MCFG configuration 0: base fc000000 segment 0 buses 0 - 31
[ 0.182635] PCI: MCFG area at fc000000 reserved in ACPI motherboard resources
[ 0.182636] PCI: Using MMCONFIG for extended config space
[ 0.190658] ACPI: PCI Root Bridge [PCI0] (0000:00)
[ 0.190817] pci 0000:00:01.0: reg 10 io port: [0x900-0x9ff]
[ 0.190851] pci 0000:00:01.1: reg 10 io port: [0xec00-0xec3f]
[ 0.190860] pci 0000:00:01.1: reg 20 io port: [0x600-0x63f]
[ 0.190864] pci 0000:00:01.1: reg 24 io port: [0x700-0x73f]
[ 0.190881] pci 0000:00:01.1: PME# supported from D3hot D3cold
[ 0.190886] pci 0000:00:01.1: PME# disabled
[ 0.190928] pci 0000:00:02.0: reg 10 32bit mmio: [0xfbeff000-0xfbefffff]
[ 0.190947] pci 0000:00:02.0: supports D1 D2
[ 0.190949] pci 0000:00:02.0: PME# supported from D0 D1 D2 D3hot D3cold
[ 0.190951] pci 0000:00:02.0: PME# disabled
[ 0.190971] pci 0000:00:02.1: reg 10 32bit mmio: [0xfbefec00-0xfbefecff]
[ 0.190995] pci 0000:00:02.1: supports D1 D2
[ 0.190996] pci 0000:00:02.1: PME# supported from D0 D1 D2 D3hot D3cold
[ 0.190999] pci 0000:00:02.1: PME# disabled
[ 0.191054] pci 0000:00:05.0: reg 10 32bit mmio: [0xfbef8000-0xfbefbfff]
[ 0.191078] pci 0000:00:05.0: PME# supported from D3hot D3cold
[ 0.191080] pci 0000:00:05.0: PME# disabled
[ 0.191109] pci 0000:00:06.0: reg 20 io port: [0xffa0-0xffaf]
[ 0.191141] pci 0000:00:07.0: reg 10 32bit mmio: [0xfbefd000-0xfbefdfff]
[ 0.191144] pci 0000:00:07.0: reg 14 io port: [0xe480-0xe487]
[ 0.191163] pci 0000:00:07.0: supports D1 D2
[ 0.191165] pci 0000:00:07.0: PME# supported from D0 D1 D2 D3hot D3cold
[ 0.191168] pci 0000:00:07.0: PME# disabled
[ 0.191186] pci 0000:00:08.0: reg 10 io port: [0xe400-0xe407]
[ 0.191189] pci 0000:00:08.0: reg 14 io port: [0xe080-0xe083]
[ 0.191191] pci 0000:00:08.0: reg 18 io port: [0xe000-0xe007]
[ 0.191194] pci 0000:00:08.0: reg 1c io port: [0xdc00-0xdc03]
[ 0.191197] pci 0000:00:08.0: reg 20 io port: [0xd880-0xd88f]
[ 0.191200] pci 0000:00:08.0: reg 24 32bit mmio: [0xfbefc000-0xfbefcfff]
[ 0.191226] pci 0000:00:08.1: reg 10 io port: [0xd800-0xd807]
[ 0.191229] pci 0000:00:08.1: reg 14 io port: [0xd480-0xd483]
[ 0.191232] pci 0000:00:08.1: reg 18 io port: [0xd400-0xd407]
[ 0.191235] pci 0000:00:08.1: reg 1c io port: [0xd080-0xd083]
[ 0.191238] pci 0000:00:08.1: reg 20 io port: [0xd000-0xd00f]
[ 0.191241] pci 0000:00:08.1: reg 24 32bit mmio: [0xfbef7000-0xfbef7fff]
[ 0.191285] pci 0000:00:09.0: PME# supported from D0 D1 D2 D3hot D3cold
[ 0.191287] pci 0000:00:09.0: PME# disabled
[ 0.191318] pci 0000:00:0b.0: PME# supported from D0 D1 D2 D3hot D3cold
[ 0.191320] pci 0000:00:0b.0: PME# disabled
[ 0.191349] pci 0000:00:0c.0: PME# supported from D0 D1 D2 D3hot D3cold
[ 0.191351] pci 0000:00:0c.0: PME# disabled
[ 0.191365] pci 0000:00:0d.0: reg 10 32bit mmio: [0xfa000000-0xfaffffff]
[ 0.191369] pci 0000:00:0d.0: reg 14 64bit mmio pref: [0xe0000000-0xefffffff]
[ 0.191373] pci 0000:00:0d.0: reg 1c 64bit mmio: [0xf9000000-0xf9ffffff]
[ 0.191377] pci 0000:00:0d.0: reg 30 32bit mmio pref: [0xfbec0000-0xfbedffff]
[ 0.191488] pci 0000:01:08.0: reg 10 32bit mmio pref: [0xf8fff000-0xf8ffffff]
[ 0.191545] pci 0000:01:08.1: reg 10 32bit mmio pref: [0xf8ffe000-0xf8ffefff]
[ 0.191605] pci 0000:01:0a.0: reg 10 32bit mmio: [0xfbfffc00-0xfbffffff]
[ 0.191658] pci 0000:01:0a.1: reg 10 32bit mmio: [0xfbfff800-0xfbfff87f]
[ 0.191715] pci 0000:00:04.0: transparent bridge
[ 0.191719] pci 0000:00:04.0: bridge 32bit mmio: [0xfbf00000-0xfbffffff]
[ 0.191721] pci 0000:00:04.0: bridge 32bit mmio pref: [0xf8f00000-0xf8ffffff]
[ 0.191821] pci_bus 0000:00: on NUMA node 0
[ 0.191824] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0._PRT]
[ 0.191944] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.P0P1._PRT]
[ 0.192010] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.BR10._PRT]
[ 0.192055] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.BR11._PRT]
[ 0.192099] ACPI: PCI Interrupt Routing Table [\_SB_.PCI0.BR12._PRT]
[ 0.219759] ACPI: PCI Interrupt Link [LNKA] (IRQs 16 17 18 19) *11
[ 0.219896] ACPI: PCI Interrupt Link [LNKB] (IRQs 16 17 18 19) *0, disabled.
[ 0.220039] ACPI: PCI Interrupt Link [LNKC] (IRQs 16 17 18 19) *5
[ 0.220174] ACPI: PCI Interrupt Link [LNKD] (IRQs 16 17 18 19) *0, disabled.
[ 0.220308] ACPI: PCI Interrupt Link [LNEA] (IRQs 16 17 18 19) *0, disabled.
[ 0.220441] ACPI: PCI Interrupt Link [LNEB] (IRQs 16 17 18 19) *0, disabled.
[ 0.220576] ACPI: PCI Interrupt Link [LNEC] (IRQs 16 17 18 19) *0, disabled.
[ 0.220710] ACPI: PCI Interrupt Link [LNED] (IRQs 16 17 18 19) *0, disabled.
[ 0.220845] ACPI: PCI Interrupt Link [LUB0] (IRQs 20 21 22 23) *5
[ 0.220981] ACPI: PCI Interrupt Link [LUB2] (IRQs 20 21 22 23) *10
[ 0.221118] ACPI: PCI Interrupt Link [LMAC] (IRQs 20 21 22 23) *5
[ 0.221252] ACPI: PCI Interrupt Link [LAZA] (IRQs 20 21 22 23) *11
[ 0.221389] ACPI: PCI Interrupt Link [LACI] (IRQs 20 21 22 23) *0, disabled.
[ 0.221526] ACPI: PCI Interrupt Link [LMC9] (IRQs 20 21 22 23) *10
[ 0.221660] ACPI: PCI Interrupt Link [LSMB] (IRQs 20 21 22 23) *11
[ 0.221797] ACPI: PCI Interrupt Link [LPMU] (IRQs 20 21 22 23) *0, disabled.
[ 0.221932] ACPI: PCI Interrupt Link [LSA0] (IRQs 20 21 22 23) *10
[ 0.222073] ACPI: PCI Interrupt Link [LSA1] (IRQs 20 21 22 23) *10
[ 0.222445] ACPI Exception: AE_TYPE, Evaluating _CRS (20090903/pci_link-282)
[ 0.222448] ACPI: PCI Interrupt Link [LATA] (IRQs 20 21 22 23) *0, disabled.
[ 0.222517] vgaarb: device added: PCI:0000:00:0d.0,decodes=io+mem,owns=io+mem,locks=none
[ 0.222774] PCI: Using ACPI for IRQ routing
[ 0.259833] pci 0000:00:04.0: PCI bridge, secondary bus 0000:01
[ 0.259835] pci 0000:00:04.0: IO window: disabled
[ 0.259838] pci 0000:00:04.0: MEM window: 0xfbf00000-0xfbffffff
[ 0.259841] pci 0000:00:04.0: PREFETCH window: 0xf8f00000-0xf8ffffff
[ 0.259845] pci 0000:00:09.0: PCI bridge, secondary bus 0000:02
[ 0.259846] pci 0000:00:09.0: IO window: disabled
[ 0.259848] pci 0000:00:09.0: MEM window: disabled
[ 0.259850] pci 0000:00:09.0: PREFETCH window: disabled
[ 0.259853] pci 0000:00:0b.0: PCI bridge, secondary bus 0000:03
[ 0.259854] pci 0000:00:0b.0: IO window: disabled
[ 0.259856] pci 0000:00:0b.0: MEM window: disabled
[ 0.259858] pci 0000:00:0b.0: PREFETCH window: disabled
[ 0.259860] pci 0000:00:0c.0: PCI bridge, secondary bus 0000:04
[ 0.259862] pci 0000:00:0c.0: IO window: disabled
[ 0.259864] pci 0000:00:0c.0: MEM window: disabled
[ 0.259865] pci 0000:00:0c.0: PREFETCH window: disabled
[ 0.259872] pci 0000:00:04.0: setting latency timer to 64
[ 0.259877] pci 0000:00:09.0: setting latency timer to 64
[ 0.259880] pci 0000:00:0b.0: setting latency timer to 64
[ 0.259884] pci 0000:00:0c.0: setting latency timer to 64
[ 0.259887] pci_bus 0000:00: resource 0 io: [0x00-0xffff]
[ 0.259889] pci_bus 0000:00: resource 1 mem: [0x000000-0xffffffff]
[ 0.259891] pci_bus 0000:01: resource 1 mem: [0xfbf00000-0xfbffffff]
[ 0.259893] pci_bus 0000:01: resource 2 pref mem [0xf8f00000-0xf8ffffff]
[ 0.259895] pci_bus 0000:01: resource 3 io: [0x00-0xffff]
[ 0.259896] pci_bus 0000:01: resource 4 mem: [0x000000-0xffffffff]
[ 0.293078] pci 0000:00:00.0: Found enabled HT MSI Mapping
[ 0.293125] pci 0000:00:00.0: Found enabled HT MSI Mapping
[ 0.293178] pci 0000:00:00.0: Found enabled HT MSI Mapping
[ 0.293230] pci 0000:00:00.0: Found enabled HT MSI Mapping
[ 0.293283] pci 0000:00:00.0: Found enabled HT MSI Mapping
[ 0.293339] pci 0000:00:00.0: Found enabled HT MSI Mapping
[ 0.293399] pci 0000:00:00.0: Found enabled HT MSI Mapping
[ 0.293462] pci 0000:00:00.0: Found enabled HT MSI Mapping
[ 0.293467] pci 0000:00:0d.0: Boot video device
[ 0.301511] pcieport 0000:00:09.0: irq 24 for MSI/MSI-X
[ 0.301515] pcieport 0000:00:09.0: setting latency timer to 64
[ 0.301571] pcieport 0000:00:0b.0: irq 25 for MSI/MSI-X
[ 0.301574] pcieport 0000:00:0b.0: setting latency timer to 64
[ 0.301631] pcieport 0000:00:0c.0: irq 26 for MSI/MSI-X
[ 0.301634] pcieport 0000:00:0c.0: setting latency timer to 64
[ 0.301672] pci_hotplug: PCI Hot Plug PCI Core version: 0.5
[ 0.301688] pciehp: PCI Express Hot Plug Controller Driver version: 0.4
[ 0.308044] ACPI: PCI Interrupt Link [LSA0] enabled at IRQ 23
[ 0.308058] pata_acpi 0000:00:08.0: PCI INT A -> Link[LSA0] -> GSI 23 (level, low) -> IRQ 23
[ 0.308073] pata_acpi 0000:00:08.0: PCI INT A disabled
[ 0.308254] ACPI: PCI Interrupt Link [LSA1] enabled at IRQ 22
[ 0.308263] pata_acpi 0000:00:08.1: PCI INT B -> Link[LSA1] -> GSI 22 (level, low) -> IRQ 22
[ 0.308277] pata_acpi 0000:00:08.1: PCI INT B disabled
[ 0.308747] ACPI: PCI Interrupt Link [LUB2] enabled at IRQ 21
[ 0.308756] ehci_hcd 0000:00:02.1: PCI INT B -> Link[LUB2] -> GSI 21 (level, low) -> IRQ 21
[ 0.358031] ACPI: PCI Interrupt Link [LUB0] enabled at IRQ 20
[ 0.358040] ohci_hcd 0000:00:02.0: PCI INT A -> Link[LUB0] -> GSI 20 (level, low) -> IRQ 20
[ 0.723207] ACPI: PCI Interrupt Link [LMAC] enabled at IRQ 23
[ 0.723212] forcedeth 0000:00:07.0: PCI INT A -> Link[LMAC] -> GSI 23 (level, low) -> IRQ 23
[ 1.228949] sata_nv 0000:00:08.0: PCI INT A -> Link[LSA0] -> GSI 23 (level, low) -> IRQ 23
[ 1.230679] sata_nv 0000:00:08.1: PCI INT B -> Link[LSA1] -> GSI 22 (level, low) -> IRQ 22
[ 17.237963] ACPI: PCI Interrupt Link [LNKA] enabled at IRQ 19
[ 17.237977] bttv 0000:01:08.0: PCI INT A -> Link[LNKA] -> GSI 19 (level, low) -> IRQ 19
[ 17.238002] bttv0: detected: Provideo PV143A [card=105], PCI subsystem ID is aa00:1430 WHAT! The card is in the bin 10 feet away from the computer!
[ 17.340307] ACPI: PCI Interrupt Link [LAZA] enabled at IRQ 22
[ 17.340313] HDA Intel 0000:00:05.0: PCI INT B -> Link[LAZA] -> GSI 22 (level, low) -> IRQ 22
[ 17.904400] ACPI: PCI Interrupt Link [LMC9] enabled at IRQ 21
[ 17.904405] nvidia 0000:00:0d.0: PCI INT A -> Link[LMC9] -> GSI 21 (level, low) -> IRQ 21
[ 17.904415] vgaarb: device changed decodes: PCI:0000:00:0d.0,olddecodes=io+mem,decodes=none:owns=io+mem
brafferton@cameras:~$


brafferton@cameras:~$ lspci | grep Bt878
01:08.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
01:08.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)


brafferton@cameras:~$ lspci -k
00:00.0 RAM memory: nVidia Corporation MCP61 LPC Bridge (rev a1)
00:01.0 ISA bridge: nVidia Corporation MCP61 LPC Bridge (rev a2)
00:01.1 SMBus: nVidia Corporation MCP61 SMBus (rev a2)
Kernel driver in use: nForce2_smbus
Kernel modules: i2c-nforce2
00:01.2 RAM memory: nVidia Corporation MCP61 Memory Controller (rev a2)
00:02.0 USB Controller: nVidia Corporation MCP61 USB Controller (rev a3)
Kernel driver in use: ohci_hcd
00:02.1 USB Controller: nVidia Corporation MCP61 USB Controller (rev a3)
Kernel driver in use: ehci_hcd
00:04.0 PCI bridge: nVidia Corporation MCP61 PCI bridge (rev a1)
00:05.0 Audio device: nVidia Corporation MCP61 High Definition Audio (rev a2)
Kernel driver in use: HDA Intel
Kernel modules: snd-hda-intel
00:06.0 IDE interface: nVidia Corporation MCP61 IDE (rev a2)
Kernel driver in use: pata_amd
Kernel modules: pata_amd
00:07.0 Bridge: nVidia Corporation MCP61 Ethernet (rev a2)
Kernel driver in use: forcedeth
Kernel modules: forcedeth
00:08.0 IDE interface: nVidia Corporation MCP61 SATA Controller (rev a2)
Kernel driver in use: sata_nv
Kernel modules: sata_nv
00:08.1 IDE interface: nVidia Corporation MCP61 SATA Controller (rev a2)
Kernel driver in use: sata_nv
Kernel modules: sata_nv
00:09.0 PCI bridge: nVidia Corporation MCP61 PCI Express bridge (rev a2)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:0b.0 PCI bridge: nVidia Corporation MCP61 PCI Express bridge (rev a2)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:0c.0 PCI bridge: nVidia Corporation MCP61 PCI Express bridge (rev a2)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:0d.0 VGA compatible controller: nVidia Corporation C61 [GeForce 7025 / nForce 630a] (rev a2)
Kernel driver in use: nvidia
Kernel modules: nvidia-current, nvidiafb, nouveau
00:18.0 Host bridge: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, Sempron] HyperTransport Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, Sempron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, Sempron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, Sempron] Miscellaneous Control
00:18.4 Host bridge: Advanced Micro Devices [AMD] K10 [Opteron, Athlon64, Sempron] Link Control
01:08.0 Multimedia video controller: Brooktree Corporation Bt878 Video Capture (rev 11)
Kernel driver in use: bttv
Kernel modules: bttv
01:08.1 Multimedia controller: Brooktree Corporation Bt878 Audio Capture (rev 11)
01:0a.0 Multimedia video controller: Techwell Inc. Device 6804 (rev 10)
01:0a.1 Multimedia controller: Techwell Inc. Device 6805 (rev 10)
brafferton@cameras:~$
Fitch
Posts: 105
Joined: Sat Oct 31, 2009 4:01 pm
Location: Hartlepool, U.K.

Post by Fitch »

Update:

Managed to find another BT878 4 channel card for a tenner!
Just have to wait a fortnight for it to arrive from Hong Kong...
Fitch
Posts: 105
Joined: Sat Oct 31, 2009 4:01 pm
Location: Hartlepool, U.K.

Post by Fitch »

New BT878 card arrived, plugged in, works a treat!... except for a niggly little problem:
Cameras 5, 6, & 7 come up on the montage, but camera 8 is just a blank window - unless I click on it, then the separate window comes up with the correct image. Wierd! :(
Could this be a memory problem?
Locked