Why doesn't somebody make a device template to add plug and play support for this card?
-Thom
I know nothing on how to do this, but hope to present my progress and pray for some guidance. I bought a PV-149 and want to get it plug and play...
"lspci -nn -v" in a terminal spits out a lot, to me the relevant parts seem to be:
05:07.0 PCI bridge [0604]: Hint Corp HB6 Universal PCI-PCI bridge (non-transparent mode) [3388:0021] (rev 11)
Flags: bus master, medium devsel, latency 64
Bus: primary=05, secondary=06, subordinate=00, sec-latency=64
Prefetchable memory behind bridge: faf00000-faffffff
Capabilities: [80] Power Management version 2
Capabilities: [90] CompactPCI hot-swap <?>
Kernel modules: shpchp
06:08.0 Multimedia video controller [0400]: Brooktree Corporation Bt878 Video Capture [109e:036e] (rev 11)
Subsystem: Device [aa00:1460]
Flags: bus master, medium devsel, latency 64, IRQ 21
Memory at fafff000 (32-bit, prefetchable) [size=4K]
Capabilities: [44] Vital Product Data <?>
Capabilities: [4c] Power Management version 2
Kernel driver in use: bttv
Kernel modules: bttv
06:08.1 Multimedia controller [0480]: Brooktree Corporation Bt878 Audio Capture [109e:0878] (rev 11)
Subsystem: Device [aa00:1460]
Flags: bus master, medium devsel, latency 64, IRQ 10
Memory at faffe000 (32-bit, prefetchable) [size=4K]
Capabilities: [44] Vital Product Data <?>
Capabilities: [4c] Power Management version 2
06:09.0 Multimedia video controller [0400]: Brooktree Corporation Bt878 Video Capture [109e:036e] (rev 11)
Subsystem: Device [aa01:1461]
Flags: bus master, medium devsel, latency 64, IRQ 22
Memory at faffd000 (32-bit, prefetchable) [size=4K]
Capabilities: [44] Vital Product Data <?>
Capabilities: [4c] Power Management version 2
Kernel driver in use: bttv
Kernel modules: bttv
06:09.1 Multimedia controller [0480]: Brooktree Corporation Bt878 Audio Capture [109e:0878] (rev 11)
Subsystem: Device [aa01:1461]
Flags: bus master, medium devsel, latency 64, IRQ 10
Memory at faffc000 (32-bit, prefetchable) [size=4K]
Capabilities: [44] Vital Product Data <?>
Capabilities: [4c] Power Management version 2
06:0a.0 Multimedia video controller [0400]: Brooktree Corporation Bt878 Video Capture [109e:036e] (rev 11)
Subsystem: Device [aa02:1462]
Flags: bus master, medium devsel, latency 64, IRQ 23
Memory at faffb000 (32-bit, prefetchable) [size=4K]
Capabilities: [44] Vital Product Data <?>
Capabilities: [4c] Power Management version 2
Kernel driver in use: bttv
Kernel modules: bttv
06:0a.1 Multimedia controller [0480]: Brooktree Corporation Bt878 Audio Capture [109e:0878] (rev 11)
Subsystem: Device [aa02:1462]
Flags: bus master, medium devsel, latency 64, IRQ 10
Memory at faffa000 (32-bit, prefetchable) [size=4K]
Capabilities: [44] Vital Product Data <?>
Capabilities: [4c] Power Management version 2
06:0b.0 Multimedia video controller [0400]: Brooktree Corporation Bt878 Video Capture [109e:036e] (rev 11)
Subsystem: Device [aa03:1463]
Flags: bus master, medium devsel, latency 64, IRQ 20
Memory at faff9000 (32-bit, prefetchable) [size=4K]
Capabilities: [44] Vital Product Data <?>
Capabilities: [4c] Power Management version 2
Kernel driver in use: bttv
Kernel modules: bttv
06:0b.1 Multimedia controller [0480]: Brooktree Corporation Bt878 Audio Capture [109e:0878] (rev 11)
Subsystem: Device [aa03:1463]
Flags: bus master, medium devsel, latency 64, IRQ 10
Memory at faff8000 (32-bit, prefetchable) [size=4K]
Capabilities: [44] Vital Product Data <?>
Capabilities: [4c] Power Management version 2
I think the top line (05:07.0 may be part of my PVR-150, but don't know that for sure).
So having this, I went to the admin pages -> Advanced -> Configuration -> Device Templates and created a "Bluecherry" manufacturer (by click on "Add manufacturer" and selected "Surveillance Video Interfaces < Interfaces" as the Device Category. I think clicked on "Add device template" at the bottom and got to the next screen.
Couple questions:
1) Are the 06:**.* lines from above the lines I should use and ignore the 05:07.0?
2) Should I use Surveillance Video Interfaces < Interfaces as the device category or something else? Can this be easily changed later if it becomes apparent that another device category should be used/created?
3) Based on this
http://wiki.linuxmce.org/index.php/Does_the_device_Implement_DCE%3F it looks like this device will "Implement DCE". Is this correct?
4) I'm trying to follow this:
http://wiki.linuxmce.org/index.php/Edit_Device_Template. Is this correct? Or is there more to creating a device template than filling out the boxes on the Device Template screen?
5) Probably a continuation of 4, but once created how does it make it into SVN? Doing a search on svn.linuxmce.org, it looks like Pos implemented a way to export these from the webadmin pages. If/When I get that far, would I create a ticket on svn and upload whatever file was exported in the admin pages?
6) Other questions that I know will come up. This card captures from a max of 4 cameras- how do I allow LMCE to see all four connected cameras? Is there a command under "Capture Card Commands" or elsewhere where I can specify the number of inputs?
I set the comm method to "PCI" as that this is a PCI based card. At some point, then after hitting "Save" at the bottom, the greyed out boxes for "Audio/Video Device", "Is PlugIn", etc were selectable and "Is Embedded" already had a check mark next to it.
7) Is this an audio/video Device?
I'm using the first one above that I think applies to get the Vendor Model ID:
109e036eaa001460I left the PNP Protocol blank, as suggested in the wiki linked above
Under Params I typed in
175|pci also as suggested in the wiki
Then I clicked "Save" at the bottom. When I went to add my newly created device template, after filtering by the Bluecherry manufacturer and the "Surveillance..." Device Category, my "PV-149" was not an option under "Device Template".
Any guidance would be appreciated.