6.2. PCI 驅動程式¶
PCI 板卡透過一個名為 PCI ID 的識別符號進行識別。PCI ID 實際上由兩部分組成:
供應商 ID 和裝置 ID;
子系統 ID 和子系統裝置 ID;
透過 lspci -nn 命令可以識別供應商/裝置 PCI ID。
$ lspci -nn
...
00:0a.0 Multimedia controller [0480]: Philips Semiconductors SAA7131/SAA7133/SAA7135 Video Broadcast Decoder [1131:7133] (rev d1)
00:0b.0 Multimedia controller [0480]: Brooktree Corporation Bt878 Audio Capture [109e:0878] (rev 11)
01:00.0 Multimedia video controller [0400]: Conexant Systems, Inc. CX23887/8 PCIe Broadcast Audio and Video Decoder with 3D Comb [14f1:8880] (rev 0f)
02:01.0 Multimedia video controller [0400]: Internext Compression Inc iTVC15 (CX23415) Video Decoder [4444:0803] (rev 01)
02:02.0 Multimedia video controller [0400]: Conexant Systems, Inc. CX23418 Single-Chip MPEG-2 Encoder with Integrated Analog Video/Broadcast Audio Decoder [14f1:5b7a]
02:03.0 Multimedia video controller [0400]: Brooktree Corporation Bt878 Video Capture [109e:036e] (rev 11)
...
子系統 ID 可以使用 lspci -vn 獲取。
$ lspci -vn
...
00:0a.0 0480: 1131:7133 (rev d1)
Subsystem: 1461:f01d
Flags: bus master, medium devsel, latency 32, IRQ 209
Memory at e2002000 (32-bit, non-prefetchable) [size=2K]
Capabilities: [40] Power Management version 2
...
在上述示例中,第一張卡使用了 saa7134 驅動程式,其供應商/裝置 PCI ID 為 1131:7133,PCI 子系統 ID 為 1461:f01d(參見 Saa7134 卡列表)。
不幸的是,有時不同的產品會使用相同的 PCI 子系統 ID。因此,一些媒體驅動程式允許傳遞一個 card= 引數,以便設定與特定板卡正確設定匹配的卡號。
目前支援的 PCI/PCIe 卡(不包括 staging 驅動程式)如下所示[1]。
驅動程式 |
名稱 |
|---|---|
altera-ci |
基於 Altera FPGA 的 CI 模組 |
b2c2-flexcop-pci |
Technisat/B2C2 Air/Sky/Cable2PC PCI |
bt878 |
基於 bt878 的電視卡的 DVB/ATSC 支援 |
bttv |
BT8x8 Linux 影片驅動 |
cobalt |
Cisco Cobalt |
cx18 |
Conexant cx23418 MPEG 編碼器 |
cx23885 |
Conexant cx23885 (2388x 後繼者) |
cx25821 |
Conexant cx25821 |
cx88xx |
Conexant 2388x (bt878 後繼者) |
ddbridge |
Digital Devices 網橋 |
dm1105 |
基於 SDMC DM1105 的 PCI 卡 |
dt3155 |
DT3155 幀採集卡 |
dvb-ttpci |
AV7110 卡 |
earth-pt1 |
PT1 卡 |
earth-pt3 |
Earthsoft PT3 卡 |
hexium_gemini |
Hexium Gemini 幀採集卡 |
hexium_orion |
Hexium HV-PCI6 和 Orion 幀採集卡 |
hopper |
基於 HOPPER 的卡 |
ipu3-cio2 |
Intel ipu3-cio2 驅動程式 |
ivtv |
Conexant cx23416/cx23415 MPEG 編碼器/解碼器 |
ivtvfb |
Conexant cx23415 幀緩衝 |
mantis |
基於 MANTIS 的卡 |
mgb4 |
Digiteq Automotive MGB4 幀採集卡 |
mxb |
Siemens-Nixdorf ‘多媒體擴充套件板’ |
netup-unidvb |
NetUP 通用 DVB 卡 |
ngene |
Micronas nGene |
pluto2 |
Pluto2 卡 |
saa7134 |
Philips SAA7134 |
saa7164 |
NXP SAA7164 |
smipcie |
SMI PCIe DVBSky 卡 |
solo6x10 |
Bluecherry / Softlogic 6x10 採集卡 (MPEG-4/H.264) |
tw5864 |
Techwell TW5864 影片/音訊採集器和編碼器 |
tw686x |
Intersil/Techwell TW686x |
tw68 |
Techwell tw68x Linux 影片驅動 |
zoran |
Zoran-36057/36067 JPEG 編解碼器 |
其中一些驅動程式支援多種裝置,如下面的卡列表所示。