# Media devices

---

# Media subsystem admin and user guide

_Peios Kernel / Administration / System administration / Media devices_

> This section contains usage information about media subsystem and its supported drivers.

<a id="rst-media-subsystem-admin-and-user-guide"></a>

<!-- SPDX-License-Identifier: GPL-2.0 -->

<!-- This data file has been placed in the public domain. -->

<!-- Derived from the Unicode character mappings available from
<http://www.w3.org/2003/entities/xml/>.
Processed by unicode2rstsubs.py, part of Docutils:
<https://docutils.sourceforge.io>. -->

This section contains usage information about media subsystem and its supported drivers.

Please see:

[Documentation/userspace-api/media/index.rst](/kernel/userspace/userspace-api/media/index.md)

> - for the userspace APIs used on media devices.

[Documentation/driver-api/media/index.rst](/kernel/hardware/driver-api/media/index.md)

> - for driver development information and Kernel APIs used by media devices;

[Documentation/process/debugging/media_specific_debugging_guide.rst](https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/Documentation/process/debugging/media_specific_debugging_guide.rst?id=9021cc14f7d98b4a1d2c932f52c5343d4d0f6b92)

> - for advice about essential tools and techniques to debug drivers on this subsystem

**Table of Contents**

1. [Introduction](</kernel/administration/admin-guide/media/intro.md>)
2. [Building support for a media device](</kernel/administration/admin-guide/media/building.md>)
3. [Infrared remote control support in video4linux drivers](</kernel/administration/admin-guide/media/remote-controller.md>)
4. [HDMI CEC](</kernel/administration/admin-guide/media/cec.md>)
5. [Digital TV](</kernel/administration/admin-guide/media/dvb.md>)
6. [Cards List](</kernel/administration/admin-guide/media/cardlist.md>)
7. [Video4Linux (V4L) driver-specific documentation](</kernel/administration/admin-guide/media/v4l-drivers.md>)
8. [Digital TV driver-specific documentation](</kernel/administration/admin-guide/media/dvb-drivers.md>)

**Copyright** © 1999-2020 : LinuxTV Developers



```text
This documentation is free software; you can redistribute it and/or modify it
under the terms of the GNU General Public License as published by the Free
Software Foundation; either version 2 of the License, or (at your option) any
later version.

This program is distributed in the hope that it will be useful, but WITHOUT
ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
more details.

For more details see the file COPYING in the source distribution of Linux.
```

---

# AU0828 cards list

_Peios Kernel / Administration / System administration / Media devices_

> Reference for AU0828 cards list.

<a id="rst-au0828-cards-list"></a>

<!-- SPDX-License-Identifier: GPL-2.0 -->

<!-- tabularcolumns: |p{1.4cm}|p{6.5cm}|p{10.0cm}| -->


<table>
<thead>
<tr>
<th>


Card number

</th>
<th>


Card name

</th>
<th>


USB IDs

</th>
</tr>
</thead>
<tbody>
<tr>
<td>


0

</td>
<td>


Unknown board

</td>
<td>




</td>
</tr>
<tr>
<td>


1

</td>
<td>


Hauppauge HVR950Q

</td>
<td>


2040:7200, 2040:7210, 2040:7217, 2040:721b, 2040:721e, 2040:721f, 2040:7280, 0fd9:0008, 2040:7260, 2040:7213, 2040:7270

</td>
</tr>
<tr>
<td>


2

</td>
<td>


Hauppauge HVR850

</td>
<td>


2040:7240

</td>
</tr>
<tr>
<td>


3

</td>
<td>


DViCO FusionHDTV USB

</td>
<td>


0fe9:d620

</td>
</tr>
<tr>
<td>


4

</td>
<td>


Hauppauge HVR950Q rev xxF8

</td>
<td>


2040:7201, 2040:7211, 2040:7281

</td>
</tr>
<tr>
<td>


5

</td>
<td>


Hauppauge Woodbury

</td>
<td>


05e1:0480, 2040:8200

</td>
</tr>
</tbody>
</table>

---

# Avermedia DVB-T on BT878 Release Notes

_Peios Kernel / Administration / System administration / Media devices_

> February 14th 2006

<a id="rst-avermedia-dvb-t-on-bt878-release-notes"></a>

<!-- SPDX-License-Identifier: GPL-2.0 -->

February 14th 2006

> [!NOTE]
>
> Several other Avermedia devices are supported. For a more broader and updated content about that, please check:
>
> [https://linuxtv.org/wiki/index.php/AVerMedia](<https://linuxtv.org/wiki/index.php/AVerMedia>)

<a id="rst-the-avermedia-dvb-t"></a>

## The Avermedia DVB-T

The Avermedia DVB-T is a budget PCI DVB card. It has 3 inputs:

- RF Tuner Input

- Composite Video Input (RCA Jack)

- SVIDEO Input (Mini-DIN)

The  RF  Tuner  Input  is the input to the tuner module of the card.  The  Tuner  is  otherwise known as the "Frontend" . The Frontend of the Avermedia DVB-T is a Microtune 7202D. A timely post  to  the  linux-dvb  mailing  list  ascertained  that the Microtune  7202D  is  supported  by the sp887x driver which is found in the dvb-hw CVS module.

The  DVB-T card is based around the BT878 chip which is a very common multimedia bridge and often found on Analogue TV cards. There is no on-board MPEG2 decoder, which means that all MPEG2 decoding  must  be done in software, or if you have one, on an MPEG2 hardware decoding card or chipset.

<a id="rst-getting-the-card-going"></a>

## Getting the card going

At  this  stage,  it  has  not  been  able  to  ascertain  the functionality  of the remaining device nodes in respect of the Avermedia  DVBT.  However,  full  functionality  in respect of tuning,  receiving  and  supplying  the  MPEG2  data stream is possible  with the currently available versions of the driver. It  may be possible that additional functionality is available from  the  card  (i.e.  viewing the additional analogue inputs that  the card presents), but this has not been tested yet. If I get around to this, I'll update the document with whatever I find.

To  power  up  the  card,  load  the  following modules in the following order:

- modprobe bttv (normally loaded automatically)

- modprobe dvb-bt8xx (or place dvb-bt8xx in /etc/modules)

Insertion  of  these  modules  into  the  running  kernel will activate the appropriate DVB device nodes. It is then possible to start accessing the card with utilities such as scan, tzap, dvbstream etc.

The frontend module sp887x.o, requires an external   firmware. Please use  the  command "get_dvb_firmware sp887x" to download it. Then copy it to /usr/lib/hotplug/firmware or /lib/firmware/ (depending on configuration of firmware hotplug).

<a id="rst-known-limitations"></a>

## Known Limitations

At  present  I can say with confidence that the frontend tunes via /dev/dvb/adapter\{x\}/frontend0 and supplies an MPEG2 stream via   /dev/dvb/adapter\{x\}/dvr0.   I   have   not   tested  the functionality  of any other part of the card yet. I will do so over time and update this document.

There  are some limitations in the i2c layer due to a returned error message inconsistency. Although this generates errors in dmesg  and  the  system logs, it does not appear to affect the ability of the frontend to function correctly.

<a id="rst-further-update"></a>

## Further Update

dvbstream  and  VideoLAN  Client on windows works a treat with DVB,  in  fact  this  is  currently  serving as my main way of viewing  DVB-T  at  the  moment.  Additionally, VLC is happily decoding  HDTV  signals,  although  the PC is dropping the odd frame here and there - I assume due to processing capability - as all the decoding is being done under windows in software.

Many  thanks to Nigel Pearson for the updates to this document since the recent revision of the driver.

---

# How to get the bt8xx cards working

_Peios Kernel / Administration / System administration / Media devices_

> Richard Walker, Jamie Honan, Michael Hunold, Manu Abraham, Uwe Bugla, Michael Krufky

<a id="rst-how-to-get-the-bt8xx-cards-working"></a>

<!-- SPDX-License-Identifier: GPL-2.0 -->

- **Authors:**

  Richard Walker, Jamie Honan, Michael Hunold, Manu Abraham, Uwe Bugla, Michael Krufky

<a id="rst-general-information"></a>

## General information

This class of cards has a bt878a as the PCI interface, and require the bttv driver for accessing the i2c bus and the gpio pins of the bt8xx chipset.

Please see [Documentation/admin-guide/media/bttv-cardlist.rst](/kernel/administration/admin-guide/media/bttv-cardlist.md) for a complete list of Cards based on the Conexant Bt8xx PCI bridge supported by the Linux Kernel.

In order to be able to compile the kernel, some config options should be enabled:



```text
./scripts/config -e PCI
./scripts/config -e INPUT
./scripts/config -m I2C
./scripts/config -m MEDIA_SUPPORT
./scripts/config -e MEDIA_PCI_SUPPORT
./scripts/config -e MEDIA_ANALOG_TV_SUPPORT
./scripts/config -e MEDIA_DIGITAL_TV_SUPPORT
./scripts/config -e MEDIA_RADIO_SUPPORT
./scripts/config -e RC_CORE
./scripts/config -m VIDEO_BT848
./scripts/config -m DVB_BT8XX
```

If you want to automatically support all possible variants of the Bt8xx cards, you should also do:



```text
./scripts/config -e MEDIA_SUBDRV_AUTOSELECT
```

> [!NOTE]
>
> Please use the following options with care as deselection of drivers which are in fact necessary may result in DVB devices that cannot be tuned due to lack of driver support.

If your goal is to just support an specific board, you may, instead, disable MEDIA_SUBDRV_AUTOSELECT and manually select the frontend drivers required by your board. With that, you can save some RAM.

You can do that by calling make xconfig/qconfig/menuconfig and look at the options on those menu options (only enabled if `Autoselect ancillary drivers` is disabled:

1. `Device drivers` =&gt; `Multimedia support` =&gt; `Customize TV tuners`

2. `Device drivers` =&gt; `Multimedia support` =&gt; `Customize DVB frontends`

Then, on each of the above menu, please select your card-specific frontend and tuner modules.

<a id="rst-loading-modules"></a>

## Loading Modules

Regular case: If the bttv driver detects a bt8xx-based DVB card, all frontend and backend modules will be loaded automatically.

Exceptions are:

- Old TV cards without EEPROMs, sharing a common PCI subsystem ID;

- Old TwinHan DST cards or clones with or without CA slot and not containing an Eeprom.

In the following cases overriding the PCI type detection for bttv and for dvb-bt8xx drivers by passing modprobe parameters may be necessary.

<a id="rst-running-twinhan-and-clones"></a>

### Running TwinHan and Clones

As shown at [Documentation/admin-guide/media/bttv-cardlist.rst](/kernel/administration/admin-guide/media/bttv-cardlist.md), TwinHan and clones use `card=113` modprobe parameter. So, in order to properly detect it for devices without EEPROM, you should use:



```text
$ modprobe bttv card=113
$ modprobe dst
```

Useful parameters for verbosity level and debugging the dst module:



```text
verbose=0:              messages are disabled
        1:              only error messages are displayed
        2:              notifications are displayed
        3:              other useful messages are displayed
        4:              debug setting
dst_addons=0:           card is a free to air (FTA) card only
        0x20:   card has a conditional access slot for scrambled channels
dst_algo=0:             (default) Software tuning algorithm
         1:             Hardware tuning algorithm
```

The autodetected values are determined by the cards' "response string".

In your logs see f. ex.: dst_get_device_id: Recognize \[DSTMCI\].

For bug reports please send in a complete log with verbose=4 activated. Please also see [Documentation/admin-guide/media/ci.rst](/kernel/administration/admin-guide/media/ci.md).

<a id="rst-running-multiple-cards"></a>

### Running multiple cards

See [Documentation/admin-guide/media/bttv-cardlist.rst](/kernel/administration/admin-guide/media/bttv-cardlist.md) for a complete list of Card ID. Some examples:

>
> <table>
> <thead>
> <tr>
> <th>
>
>
> Brand name
>
> </th>
> <th>
>
>
> ID
>
> </th>
> </tr>
> </thead>
> <tbody>
> <tr>
> <td>
>
>
> Pinnacle PCTV Sat
>
> </td>
> <td>
>
>
> 94
>
> </td>
> </tr>
> <tr>
> <td>
>
>
> Nebula Electronics Digi TV
>
> </td>
> <td>
>
>
> 104
>
> </td>
> </tr>
> <tr>
> <td>
>
>
> pcHDTV HD-2000 TV
>
> </td>
> <td>
>
>
> 112
>
> </td>
> </tr>
> <tr>
> <td>
>
>
> Twinhan DST and clones
>
> </td>
> <td>
>
>
> 113
>
> </td>
> </tr>
> <tr>
> <td>
>
>
> Avermedia AverTV DVB-T 77:
>
> </td>
> <td>
>
>
> 123
>
> </td>
> </tr>
> <tr>
> <td>
>
>
> Avermedia AverTV DVB-T 761
>
> </td>
> <td>
>
>
> 124
>
> </td>
> </tr>
> <tr>
> <td>
>
>
> DViCO FusionHDTV DVB-T Lite
>
> </td>
> <td>
>
>
> 128
>
> </td>
> </tr>
> <tr>
> <td>
>
>
> DViCO FusionHDTV 5 Lite
>
> </td>
> <td>
>
>
> 135
>
> </td>
> </tr>
> </tbody>
> </table>

> [!NOTE]
>
> When you have multiple cards, the order of the card ID should match the order where they're detected by the system. Please notice that removing/inserting other PCI cards may change the detection order.

Example:



```text
$ modprobe bttv card=113 card=135
```

In case of further problems please subscribe and send questions to the mailing list: [linux-media@vger.kernel.org](<mailto:linux-media@vger.kernel.org>).

<a id="rst-probing-the-cards-with-broken-pci-subsystem-id"></a>

### Probing the cards with broken PCI subsystem ID

There are some TwinHan cards whose EEPROM has become corrupted for some reason. The cards do not have a correct PCI subsystem ID. Still, it is possible to force probing the cards with:



```text
$ echo 109e 0878 $subvendor $subdevice > \
        /sys/bus/pci/drivers/bt878/new_id
```

The two numbers there are:



```text
109e: PCI_VENDOR_ID_BROOKTREE
0878: PCI_DEVICE_ID_BROOKTREE_878
```

---

# BTTV cards list

_Peios Kernel / Administration / System administration / Media devices_

> Reference for BTTV cards list.

<a id="rst-bttv-cards-list"></a>

<!-- SPDX-License-Identifier: GPL-2.0 -->

<!-- tabularcolumns: |p{1.4cm}|p{11.1cm}|p{4.2cm}| -->


<table>
<thead>
<tr>
<th>


Card number

</th>
<th>


Card name

</th>
<th>


PCI subsystem IDs

</th>
</tr>
</thead>
<tbody>
<tr>
<td>


0

</td>
<td>


**\* UNKNOWN/GENERIC \***

</td>
<td>




</td>
</tr>
<tr>
<td>


1

</td>
<td>


MIRO PCTV

</td>
<td>




</td>
</tr>
<tr>
<td>


2

</td>
<td>


Hauppauge (bt848)

</td>
<td>




</td>
</tr>
<tr>
<td>


3

</td>
<td>


STB, Gateway P/N 6000699 (bt848)

</td>
<td>




</td>
</tr>
<tr>
<td>


4

</td>
<td>


Intel Create and Share PCI/ Smart Video Recorder III

</td>
<td>




</td>
</tr>
<tr>
<td>


5

</td>
<td>


Diamond DTV2000

</td>
<td>




</td>
</tr>
<tr>
<td>


6

</td>
<td>


AVerMedia TVPhone

</td>
<td>




</td>
</tr>
<tr>
<td>


7

</td>
<td>


MATRIX-Vision MV-Delta

</td>
<td>




</td>
</tr>
<tr>
<td>


8

</td>
<td>


Lifeview FlyVideo II (Bt848) LR26 / MAXI TV Video PCI2 LR26

</td>
<td>




</td>
</tr>
<tr>
<td>


9

</td>
<td>


IMS/IXmicro TurboTV

</td>
<td>




</td>
</tr>
<tr>
<td>


10

</td>
<td>


Hauppauge (bt878)

</td>
<td>


0070:13eb, 0070:3900, 2636:10b4

</td>
</tr>
<tr>
<td>


11

</td>
<td>


MIRO PCTV pro

</td>
<td>




</td>
</tr>
<tr>
<td>


12

</td>
<td>


ADS Technologies Channel Surfer TV (bt848)

</td>
<td>




</td>
</tr>
<tr>
<td>


13

</td>
<td>


AVerMedia TVCapture 98

</td>
<td>


1461:0002, 1461:0004, 1461:0300

</td>
</tr>
<tr>
<td>


14

</td>
<td>


Aimslab Video Highway Xtreme (VHX)

</td>
<td>




</td>
</tr>
<tr>
<td>


15

</td>
<td>


Zoltrix TV-Max

</td>
<td>


a1a0:a0fc

</td>
</tr>
<tr>
<td>


16

</td>
<td>


Prolink Pixelview PlayTV (bt878)

</td>
<td>




</td>
</tr>
<tr>
<td>


17

</td>
<td>


Leadtek WinView 601

</td>
<td>




</td>
</tr>
<tr>
<td>


18

</td>
<td>


AVEC Intercapture

</td>
<td>




</td>
</tr>
<tr>
<td>


19

</td>
<td>


Lifeview FlyVideo II EZ /FlyKit LR38 Bt848 (capture only)

</td>
<td>




</td>
</tr>
<tr>
<td>


20

</td>
<td>


CEI Raffles Card

</td>
<td>




</td>
</tr>
<tr>
<td>


21

</td>
<td>


Lifeview FlyVideo 98/ Lucky Star Image World ConferenceTV LR50

</td>
<td>




</td>
</tr>
<tr>
<td>


22

</td>
<td>


Askey CPH050/ Phoebe Tv Master + FM

</td>
<td>


14ff:3002

</td>
</tr>
<tr>
<td>


23

</td>
<td>


Modular Technology MM201/MM202/MM205/MM210/MM215 PCTV, bt878

</td>
<td>


14c7:0101

</td>
</tr>
<tr>
<td>


24

</td>
<td>


Askey CPH05X/06X (bt878) \[many vendors\]

</td>
<td>


144f:3002, 144f:3005, 144f:5000, 14ff:3000

</td>
</tr>
<tr>
<td>


25

</td>
<td>


Terratec TerraTV+ Version 1.0 (Bt848)/ Terra TValue Version 1.0/ Vobis TV-Boostar

</td>
<td>




</td>
</tr>
<tr>
<td>


26

</td>
<td>


Hauppauge WinCam newer (bt878)

</td>
<td>




</td>
</tr>
<tr>
<td>


27

</td>
<td>


Lifeview FlyVideo 98/ MAXI TV Video PCI2 LR50

</td>
<td>




</td>
</tr>
<tr>
<td>


28

</td>
<td>


Terratec TerraTV+ Version 1.1 (bt878)

</td>
<td>


153b:1127, 1852:1852

</td>
</tr>
<tr>
<td>


29

</td>
<td>


Imagenation PXC200

</td>
<td>


1295:200a

</td>
</tr>
<tr>
<td>


30

</td>
<td>


Lifeview FlyVideo 98 LR50

</td>
<td>


1f7f:1850

</td>
</tr>
<tr>
<td>


31

</td>
<td>


Formac iProTV, Formac ProTV I (bt848)

</td>
<td>




</td>
</tr>
<tr>
<td>


32

</td>
<td>


Intel Create and Share PCI/ Smart Video Recorder III

</td>
<td>




</td>
</tr>
<tr>
<td>


33

</td>
<td>


Terratec TerraTValue Version Bt878

</td>
<td>


153b:1117, 153b:1118, 153b:1119, 153b:111a, 153b:1134, 153b:5018

</td>
</tr>
<tr>
<td>


34

</td>
<td>


Leadtek WinFast 2000/ WinFast 2000 XP

</td>
<td>


107d:6606, 107d:6609, 6606:217d, f6ff:fff6

</td>
</tr>
<tr>
<td>


35

</td>
<td>


Lifeview FlyVideo 98 LR50 / Chronos Video Shuttle II

</td>
<td>


1851:1850, 1851:a050

</td>
</tr>
<tr>
<td>


36

</td>
<td>


Lifeview FlyVideo 98FM LR50 / Typhoon TView TV/FM Tuner

</td>
<td>


1852:1852

</td>
</tr>
<tr>
<td>


37

</td>
<td>


Prolink PixelView PlayTV pro

</td>
<td>




</td>
</tr>
<tr>
<td>


38

</td>
<td>


Askey CPH06X TView99

</td>
<td>


144f:3000, 144f:a005, a04f:a0fc

</td>
</tr>
<tr>
<td>


39

</td>
<td>


Pinnacle PCTV Studio/Rave

</td>
<td>


11bd:0012, bd11:1200, bd11:ff00, 11bd:ff12

</td>
</tr>
<tr>
<td>


40

</td>
<td>


STB TV PCI FM, Gateway P/N 6000704 (bt878), 3Dfx VoodooTV 100

</td>
<td>


10b4:2636, 10b4:2645, 121a:3060

</td>
</tr>
<tr>
<td>


41

</td>
<td>


AVerMedia TVPhone 98

</td>
<td>


1461:0001, 1461:0003

</td>
</tr>
<tr>
<td>


42

</td>
<td>


ProVideo PV951

</td>
<td>


aa0c:146c

</td>
</tr>
<tr>
<td>


43

</td>
<td>


Little OnAir TV

</td>
<td>




</td>
</tr>
<tr>
<td>


44

</td>
<td>


Sigma TVII-FM

</td>
<td>




</td>
</tr>
<tr>
<td>


45

</td>
<td>


MATRIX-Vision MV-Delta 2

</td>
<td>




</td>
</tr>
<tr>
<td>


46

</td>
<td>


Zoltrix Genie TV/FM

</td>
<td>


15b0:4000, 15b0:400a, 15b0:400d, 15b0:4010, 15b0:4016

</td>
</tr>
<tr>
<td>


47

</td>
<td>


Terratec TV/Radio+

</td>
<td>


153b:1123

</td>
</tr>
<tr>
<td>


48

</td>
<td>


Askey CPH03x/ Dynalink Magic TView

</td>
<td>




</td>
</tr>
<tr>
<td>


49

</td>
<td>


IODATA GV-BCTV3/PCI

</td>
<td>


10fc:4020

</td>
</tr>
<tr>
<td>


50

</td>
<td>


Prolink PV-BT878P+4E / PixelView PlayTV PAK / Lenco MXTV-9578 CP

</td>
<td>




</td>
</tr>
<tr>
<td>


51

</td>
<td>


Eagle Wireless Capricorn2 (bt878A)

</td>
<td>




</td>
</tr>
<tr>
<td>


52

</td>
<td>


Pinnacle PCTV Studio Pro

</td>
<td>




</td>
</tr>
<tr>
<td>


53

</td>
<td>


Typhoon TView RDS + FM Stereo / KNC1 TV Station RDS

</td>
<td>




</td>
</tr>
<tr>
<td>


54

</td>
<td>


Lifeview FlyVideo 2000 /FlyVideo A2/ Lifetec LT 9415 TV \[LR90\]

</td>
<td>




</td>
</tr>
<tr>
<td>


55

</td>
<td>


Askey CPH031/ BESTBUY Easy TV

</td>
<td>




</td>
</tr>
<tr>
<td>


56

</td>
<td>


Lifeview FlyVideo 98FM LR50

</td>
<td>


a051:41a0

</td>
</tr>
<tr>
<td>


57

</td>
<td>


GrandTec 'Grand Video Capture' (Bt848)

</td>
<td>


4344:4142

</td>
</tr>
<tr>
<td>


58

</td>
<td>


Askey CPH060/ Phoebe TV Master Only (No FM)

</td>
<td>




</td>
</tr>
<tr>
<td>


59

</td>
<td>


Askey CPH03x TV Capturer

</td>
<td>




</td>
</tr>
<tr>
<td>


60

</td>
<td>


Modular Technology MM100PCTV

</td>
<td>




</td>
</tr>
<tr>
<td>


61

</td>
<td>


AG Electronics GMV1

</td>
<td>


15cb:0101

</td>
</tr>
<tr>
<td>


62

</td>
<td>


Askey CPH061/ BESTBUY Easy TV (bt878)

</td>
<td>




</td>
</tr>
<tr>
<td>


63

</td>
<td>


ATI TV-Wonder

</td>
<td>


1002:0001

</td>
</tr>
<tr>
<td>


64

</td>
<td>


ATI TV-Wonder VE

</td>
<td>


1002:0003

</td>
</tr>
<tr>
<td>


65

</td>
<td>


Lifeview FlyVideo 2000S LR90

</td>
<td>




</td>
</tr>
<tr>
<td>


66

</td>
<td>


Terratec TValueRadio

</td>
<td>


153b:1135, 153b:ff3b

</td>
</tr>
<tr>
<td>


67

</td>
<td>


IODATA GV-BCTV4/PCI

</td>
<td>


10fc:4050

</td>
</tr>
<tr>
<td>


68

</td>
<td>


3Dfx VoodooTV FM (Euro)

</td>
<td>


10b4:2637

</td>
</tr>
<tr>
<td>


69

</td>
<td>


Active Imaging AIMMS

</td>
<td>




</td>
</tr>
<tr>
<td>


70

</td>
<td>


Prolink Pixelview PV-BT878P+ (Rev.4C,8E)

</td>
<td>




</td>
</tr>
<tr>
<td>


71

</td>
<td>


Lifeview FlyVideo 98EZ (capture only) LR51

</td>
<td>


1851:1851

</td>
</tr>
<tr>
<td>


72

</td>
<td>


Prolink Pixelview PV-BT878P+9B (PlayTV Pro rev.9B FM+NICAM)

</td>
<td>


1554:4011

</td>
</tr>
<tr>
<td>


73

</td>
<td>


Sensoray 311/611

</td>
<td>


6000:0311, 6000:0611

</td>
</tr>
<tr>
<td>


74

</td>
<td>


RemoteVision MX (RV605)

</td>
<td>




</td>
</tr>
<tr>
<td>


75

</td>
<td>


Powercolor MTV878/ MTV878R/ MTV878F

</td>
<td>




</td>
</tr>
<tr>
<td>


76

</td>
<td>


Canopus WinDVR PCI (COMPAQ Presario 3524JP, 5112JP)

</td>
<td>


0e11:0079

</td>
</tr>
<tr>
<td>


77

</td>
<td>


GrandTec Multi Capture Card (Bt878)

</td>
<td>




</td>
</tr>
<tr>
<td>


78

</td>
<td>


Jetway TV/Capture JW-TV878-FBK, Kworld KW-TV878RF

</td>
<td>


0a01:17de

</td>
</tr>
<tr>
<td>


79

</td>
<td>


DSP Design TCVIDEO

</td>
<td>




</td>
</tr>
<tr>
<td>


80

</td>
<td>


Hauppauge WinTV PVR

</td>
<td>


0070:4500

</td>
</tr>
<tr>
<td>


81

</td>
<td>


IODATA GV-BCTV5/PCI

</td>
<td>


10fc:4070, 10fc:d018

</td>
</tr>
<tr>
<td>


82

</td>
<td>


Osprey 100/150 (878)

</td>
<td>


0070:ff00

</td>
</tr>
<tr>
<td>


83

</td>
<td>


Osprey 100/150 (848)

</td>
<td>




</td>
</tr>
<tr>
<td>


84

</td>
<td>


Osprey 101 (848)

</td>
<td>




</td>
</tr>
<tr>
<td>


85

</td>
<td>


Osprey 101/151

</td>
<td>




</td>
</tr>
<tr>
<td>


86

</td>
<td>


Osprey 101/151 w/ svid

</td>
<td>




</td>
</tr>
<tr>
<td>


87

</td>
<td>


Osprey 200/201/250/251

</td>
<td>




</td>
</tr>
<tr>
<td>


88

</td>
<td>


Osprey 200/250

</td>
<td>


0070:ff01

</td>
</tr>
<tr>
<td>


89

</td>
<td>


Osprey 210/220/230

</td>
<td>




</td>
</tr>
<tr>
<td>


90

</td>
<td>


Osprey 500

</td>
<td>


0070:ff02

</td>
</tr>
<tr>
<td>


91

</td>
<td>


Osprey 540

</td>
<td>


0070:ff04

</td>
</tr>
<tr>
<td>


92

</td>
<td>


Osprey 2000

</td>
<td>


0070:ff03

</td>
</tr>
<tr>
<td>


93

</td>
<td>


IDS Eagle

</td>
<td>




</td>
</tr>
<tr>
<td>


94

</td>
<td>


Pinnacle PCTV Sat

</td>
<td>


11bd:001c

</td>
</tr>
<tr>
<td>


95

</td>
<td>


Formac ProTV II (bt878)

</td>
<td>




</td>
</tr>
<tr>
<td>


96

</td>
<td>


MachTV

</td>
<td>




</td>
</tr>
<tr>
<td>


97

</td>
<td>


Euresys Picolo

</td>
<td>




</td>
</tr>
<tr>
<td>


98

</td>
<td>


ProVideo PV150

</td>
<td>


aa00:1460, aa01:1461, aa02:1462, aa03:1463, aa04:1464, aa05:1465, aa06:1466, aa07:1467

</td>
</tr>
<tr>
<td>


99

</td>
<td>


AD-TVK503

</td>
<td>




</td>
</tr>
<tr>
<td>


100

</td>
<td>


Hercules Smart TV Stereo

</td>
<td>




</td>
</tr>
<tr>
<td>


101

</td>
<td>


Pace TV &amp; Radio Card

</td>
<td>




</td>
</tr>
<tr>
<td>


102

</td>
<td>


IVC-200

</td>
<td>


0000:a155, 0001:a155, 0002:a155, 0003:a155, 0100:a155, 0101:a155, 0102:a155, 0103:a155, 0800:a155, 0801:a155, 0802:a155, 0803:a155

</td>
</tr>
<tr>
<td>


103

</td>
<td>


Grand X-Guard / Trust 814PCI

</td>
<td>


0304:0102

</td>
</tr>
<tr>
<td>


104

</td>
<td>


Nebula Electronics DigiTV

</td>
<td>


0071:0101

</td>
</tr>
<tr>
<td>


105

</td>
<td>


ProVideo PV143

</td>
<td>


aa00:1430, aa00:1431, aa00:1432, aa00:1433, aa03:1433

</td>
</tr>
<tr>
<td>


106

</td>
<td>


PHYTEC VD-009-X1 VD-011 MiniDIN (bt878)

</td>
<td>




</td>
</tr>
<tr>
<td>


107

</td>
<td>


PHYTEC VD-009-X1 VD-011 Combi (bt878)

</td>
<td>




</td>
</tr>
<tr>
<td>


108

</td>
<td>


PHYTEC VD-009 MiniDIN (bt878)

</td>
<td>




</td>
</tr>
<tr>
<td>


109

</td>
<td>


PHYTEC VD-009 Combi (bt878)

</td>
<td>




</td>
</tr>
<tr>
<td>


110

</td>
<td>


IVC-100

</td>
<td>


ff00:a132

</td>
</tr>
<tr>
<td>


111

</td>
<td>


IVC-120G

</td>
<td>


ff00:a182, ff01:a182, ff02:a182, ff03:a182, ff04:a182, ff05:a182, ff06:a182, ff07:a182, ff08:a182, ff09:a182, ff0a:a182, ff0b:a182, ff0c:a182, ff0d:a182, ff0e:a182, ff0f:a182

</td>
</tr>
<tr>
<td>


112

</td>
<td>


pcHDTV HD-2000 TV

</td>
<td>


7063:2000

</td>
</tr>
<tr>
<td>


113

</td>
<td>


Twinhan DST + clones

</td>
<td>


11bd:0026, 1822:0001, 270f:fc00, 1822:0026

</td>
</tr>
<tr>
<td>


114

</td>
<td>


Winfast VC100

</td>
<td>


107d:6607

</td>
</tr>
<tr>
<td>


115

</td>
<td>


Teppro TEV-560/InterVision IV-560

</td>
<td>




</td>
</tr>
<tr>
<td>


116

</td>
<td>


SIMUS GVC1100

</td>
<td>


aa6a:82b2

</td>
</tr>
<tr>
<td>


117

</td>
<td>


NGS NGSTV+

</td>
<td>




</td>
</tr>
<tr>
<td>


118

</td>
<td>


LMLBT4

</td>
<td>




</td>
</tr>
<tr>
<td>


119

</td>
<td>


Tekram M205 PRO

</td>
<td>




</td>
</tr>
<tr>
<td>


120

</td>
<td>


Conceptronic CONTVFMi

</td>
<td>




</td>
</tr>
<tr>
<td>


121

</td>
<td>


Euresys Picolo Tetra

</td>
<td>


1805:0105, 1805:0106, 1805:0107, 1805:0108

</td>
</tr>
<tr>
<td>


122

</td>
<td>


Spirit TV Tuner

</td>
<td>




</td>
</tr>
<tr>
<td>


123

</td>
<td>


AVerMedia AVerTV DVB-T 771

</td>
<td>


1461:0771

</td>
</tr>
<tr>
<td>


124

</td>
<td>


AverMedia AverTV DVB-T 761

</td>
<td>


1461:0761

</td>
</tr>
<tr>
<td>


125

</td>
<td>


MATRIX Vision Sigma-SQ

</td>
<td>




</td>
</tr>
<tr>
<td>


126

</td>
<td>


MATRIX Vision Sigma-SLC

</td>
<td>




</td>
</tr>
<tr>
<td>


127

</td>
<td>


APAC Viewcomp 878(AMAX)

</td>
<td>




</td>
</tr>
<tr>
<td>


128

</td>
<td>


DViCO FusionHDTV DVB-T Lite

</td>
<td>


18ac:db10, 18ac:db11

</td>
</tr>
<tr>
<td>


129

</td>
<td>


V-Gear MyVCD

</td>
<td>




</td>
</tr>
<tr>
<td>


130

</td>
<td>


Super TV Tuner

</td>
<td>




</td>
</tr>
<tr>
<td>


131

</td>
<td>


Tibet Systems 'Progress DVR' CS16

</td>
<td>




</td>
</tr>
<tr>
<td>


132

</td>
<td>


Kodicom 4400R (master)

</td>
<td>




</td>
</tr>
<tr>
<td>


133

</td>
<td>


Kodicom 4400R (slave)

</td>
<td>




</td>
</tr>
<tr>
<td>


134

</td>
<td>


Adlink RTV24

</td>
<td>




</td>
</tr>
<tr>
<td>


135

</td>
<td>


DViCO FusionHDTV 5 Lite

</td>
<td>


18ac:d500

</td>
</tr>
<tr>
<td>


136

</td>
<td>


Acorp Y878F

</td>
<td>


9511:1540

</td>
</tr>
<tr>
<td>


137

</td>
<td>


Conceptronic CTVFMi v2

</td>
<td>


036e:109e

</td>
</tr>
<tr>
<td>


138

</td>
<td>


Prolink Pixelview PV-BT878P+ (Rev.2E)

</td>
<td>




</td>
</tr>
<tr>
<td>


139

</td>
<td>


Prolink PixelView PlayTV MPEG2 PV-M4900

</td>
<td>




</td>
</tr>
<tr>
<td>


140

</td>
<td>


Osprey 440

</td>
<td>


0070:ff07

</td>
</tr>
<tr>
<td>


141

</td>
<td>


Asound Skyeye PCTV

</td>
<td>




</td>
</tr>
<tr>
<td>


142

</td>
<td>


Sabrent TV-FM (bttv version)

</td>
<td>




</td>
</tr>
<tr>
<td>


143

</td>
<td>


Hauppauge ImpactVCB (bt878)

</td>
<td>


0070:13eb

</td>
</tr>
<tr>
<td>


144

</td>
<td>


MagicTV

</td>
<td>




</td>
</tr>
<tr>
<td>


145

</td>
<td>


SSAI Security Video Interface

</td>
<td>


4149:5353

</td>
</tr>
<tr>
<td>


146

</td>
<td>


SSAI Ultrasound Video Interface

</td>
<td>


414a:5353

</td>
</tr>
<tr>
<td>


147

</td>
<td>


VoodooTV 200 (USA)

</td>
<td>


121a:3000

</td>
</tr>
<tr>
<td>


148

</td>
<td>


DViCO FusionHDTV 2

</td>
<td>


dbc0:d200

</td>
</tr>
<tr>
<td>


149

</td>
<td>


Typhoon TV-Tuner PCI (50684)

</td>
<td>




</td>
</tr>
<tr>
<td>


150

</td>
<td>


Geovision GV-600

</td>
<td>


008a:763c

</td>
</tr>
<tr>
<td>


151

</td>
<td>


Kozumi KTV-01C

</td>
<td>




</td>
</tr>
<tr>
<td>


152

</td>
<td>


Encore ENL TV-FM-2

</td>
<td>


1000:1801

</td>
</tr>
<tr>
<td>


153

</td>
<td>


PHYTEC VD-012 (bt878)

</td>
<td>




</td>
</tr>
<tr>
<td>


154

</td>
<td>


PHYTEC VD-012-X1 (bt878)

</td>
<td>




</td>
</tr>
<tr>
<td>


155

</td>
<td>


PHYTEC VD-012-X2 (bt878)

</td>
<td>




</td>
</tr>
<tr>
<td>


156

</td>
<td>


IVCE-8784

</td>
<td>


0000:f050, 0001:f050, 0002:f050, 0003:f050

</td>
</tr>
<tr>
<td>


157

</td>
<td>


Geovision GV-800(S) (master)

</td>
<td>


800a:763d

</td>
</tr>
<tr>
<td>


158

</td>
<td>


Geovision GV-800(S) (slave)

</td>
<td>


800b:763d, 800c:763d, 800d:763d

</td>
</tr>
<tr>
<td>


159

</td>
<td>


ProVideo PV183

</td>
<td>


1830:1540, 1831:1540, 1832:1540, 1833:1540, 1834:1540, 1835:1540, 1836:1540, 1837:1540

</td>
</tr>
<tr>
<td>


160

</td>
<td>


Tongwei Video Technology TD-3116

</td>
<td>


f200:3116

</td>
</tr>
<tr>
<td>


161

</td>
<td>


Aposonic W-DVR

</td>
<td>


0279:0228

</td>
</tr>
<tr>
<td>


162

</td>
<td>


Adlink MPG24

</td>
<td>




</td>
</tr>
<tr>
<td>


163

</td>
<td>


Bt848 Capture 14MHz

</td>
<td>




</td>
</tr>
<tr>
<td>


164

</td>
<td>


CyberVision CV06 (SV)

</td>
<td>




</td>
</tr>
<tr>
<td>


165

</td>
<td>


Kworld V-Stream Xpert TV PVR878

</td>
<td>




</td>
</tr>
<tr>
<td>


166

</td>
<td>


PCI-8604PW

</td>
<td>




</td>
</tr>
</tbody>
</table>

---

# The bttv driver

_Peios Kernel / Administration / System administration / Media devices_

> You'll need at least these config options for bttv:

<a id="rst-the-bttv-driver"></a>

<!-- SPDX-License-Identifier: GPL-2.0 -->

<a id="rst-release-notes-for-bttv"></a>

## Release notes for bttv

You'll need at least these config options for bttv:



```text
./scripts/config -e PCI
./scripts/config -m I2C
./scripts/config -m INPUT
./scripts/config -m MEDIA_SUPPORT
./scripts/config -e MEDIA_PCI_SUPPORT
./scripts/config -e MEDIA_ANALOG_TV_SUPPORT
./scripts/config -e MEDIA_DIGITAL_TV_SUPPORT
./scripts/config -e MEDIA_RADIO_SUPPORT
./scripts/config -e RC_CORE
./scripts/config -m VIDEO_BT848
```

If your board has digital TV, you'll also need:



```text
./scripts/config -m DVB_BT8XX
```

In this case, please see [Documentation/admin-guide/media/bt8xx.rst](/kernel/administration/admin-guide/media/bt8xx.md) for additional notes.

<a id="rst-make-bttv-work-with-your-card"></a>

## Make bttv work with your card

If you have bttv compiled and installed, just booting the Kernel should be enough for it to try probing it. However, depending on the model, the Kernel may require additional information about the hardware, as the device may not be able to provide such info directly to the Kernel.

If it doesn't bttv likely could not autodetect your card and needs some insmod options.  The most important insmod option for bttv is "card=n" to select the correct card type.  If you get video but no sound you've very likely specified the wrong (or no) card type.  A list of supported cards is in [Documentation/admin-guide/media/bttv-cardlist.rst](/kernel/administration/admin-guide/media/bttv-cardlist.md).

If bttv takes very long to load (happens sometimes with the cheap cards which have no tuner), try adding this to your modules configuration file (usually, it is either `/etc/modules.conf` or some file at `/etc/modules-load.d/`, but the actual place depends on your distribution):



```text
options i2c-algo-bit bit_test=1
```

Some cards may require an extra firmware file to work. For example, for the WinTV/PVR you need one firmware file from its driver CD, called: `hcwamc.rbf`. It is inside a self-extracting zip file called `pvr45xxx.exe`.  Just placing it at the `/etc/firmware` directory should be enough for it to be autoload during the driver's probing mode (e. g. when the Kernel boots or when the driver is manually loaded via `modprobe` command).

If your card isn't listed in [Documentation/admin-guide/media/bttv-cardlist.rst](/kernel/administration/admin-guide/media/bttv-cardlist.md) or if you have trouble making audio work, please read [Still doesn't work?](<#rst-still-doesnt-work>).

<a id="rst-autodetecting-cards"></a>

## Autodetecting cards

bttv uses the PCI Subsystem ID to autodetect the card type.  lspci lists the Subsystem ID in the second line, looks like this:



```none
00:0a.0 Multimedia video controller: Brooktree Corporation Bt878 (rev 02)
        Subsystem: Hauppauge computer works Inc. WinTV/GO
        Flags: bus master, medium devsel, latency 32, IRQ 5
        Memory at e2000000 (32-bit, prefetchable) [size=4K]
```

only bt878-based cards can have a subsystem ID (which does not mean that every card really has one).  bt848 cards can't have a Subsystem ID and therefore can't be autodetected.  There is a list with the ID's at [Documentation/admin-guide/media/bttv-cardlist.rst](/kernel/administration/admin-guide/media/bttv-cardlist.md) (in case you are interested or want to mail patches with updates).

<a id="rst-still-doesn-t-work"></a>
<a id="rst-still-doesnt-work"></a>

## Still doesn't work?

I do NOT have a lab with 30+ different grabber boards and a PAL/NTSC/SECAM test signal generator at home, so I often can't reproduce your problems.  This makes debugging very difficult for me.

If you have some knowledge and spare time, please try to fix this yourself (patches very welcome of course...)  You know: The linux slogan is "Do it yourself".

There is a mailing list at [http://vger.kernel.org/vger-lists.html\#linux-media](<http://vger.kernel.org/vger-lists.html#linux-media>)

If you have trouble with some specific TV card, try to ask there instead of mailing me directly.  The chance that someone with the same card listens there is much higher...

For problems with sound:  There are a lot of different systems used for TV sound all over the world.  And there are also different chips which decode the audio signal.  Reports about sound problems ("stereo doesn't work") are pretty useless unless you include some details about your hardware and the TV sound scheme used in your country (or at least the country you are living in).

<a id="rst-modprobe-options"></a>

## Modprobe options

> [!NOTE]
>
> The following argument list can be outdated, as we might add more options if ever needed. In case of doubt, please check with `modinfo <module>`.
>
> This command prints various information about a kernel module, among them a complete and up-to-date list of insmod options.

- **bttv**

  > The bt848/878 (grabber chip) driver

  insmod args:



  ```text
      card=n              card type, see CARDLIST for a list.
      tuner=n             tuner type, see CARDLIST for a list.
      radio=0/1   card supports radio
      pll=0/1/2   pll settings

                      0: don't use PLL
                      1: 28 MHz crystal installed
                      2: 35 MHz crystal installed

      triton1=0/1     for Triton1 (+others) compatibility
      vsfx=0/1    yet another chipset bug compatibility bit
                      see README.quirks for details on these two.

      bigendian=n Set the endianness of the gfx framebuffer.
                      Default is native endian.
      fieldnr=0/1 Count fields.  Some TV descrambling software
                      needs this, for others it only generates
                      50 useless IRQs/sec.  default is 0 (off).
      autoload=0/1        autoload helper modules (tuner, audio).
                      default is 1 (on).
      bttv_verbose=0/1/2  verbose level (at insmod time, while
                      looking at the hardware).  default is 1.
      bttv_debug=0/1      debug messages (for capture).
                      default is 0 (off).
      irq_debug=0/1       irq handler debug messages.
                      default is 0 (off).
      gbuffers=2-32       number of capture buffers for mmap'ed capture.
                      default is 4.
      gbufsize=   size of capture buffers. default and
                      maximum value is 0x208000 (~2MB)
      no_overlay=0        Enable overlay on broken hardware.  There
                      are some chipsets (SIS for example) which
                      are known to have problems with the PCI DMA
                      push used by bttv.  bttv will disable overlay
                      by default on this hardware to avoid crashes.
                      With this insmod option you can override this.
      no_overlay=1        Disable overlay. It should be used by broken
                      hardware that doesn't support PCI2PCI direct
                      transfers.
      automute=0/1        Automatically mutes the sound if there is
                      no TV signal, on by default.  You might try
                      to disable this if you have bad input signal
                      quality which leading to unwanted sound
                      dropouts.
      chroma_agc=0/1      AGC of chroma signal, off by default.
      adc_crush=0/1       Luminance ADC crush, on by default.
      i2c_udelay=     Allow reduce I2C speed. Default is 5 usecs
                      (meaning 66,67 Kbps). The default is the
                      maximum supported speed by kernel bitbang
                      algorithm. You may use lower numbers, if I2C
                      messages are lost (16 is known to work on
                      all supported cards).

      bttv_gpio=0/1
      gpiomask=
      audioall=
      audiomux=
                      See Sound-FAQ for a detailed description.

  remap, card, radio and pll accept up to four comma-separated arguments
  (for multiple boards).
  ```

- **tuner**

  The tuner driver.  You need this unless you want to use only with a camera or the board doesn't provide analog TV tuning.

  insmod args:



  ```text
  debug=1         print some debug info to the syslog
  type=n          type of the tuner chip. n as follows:
                  see CARDLIST for a complete list.
  pal=[bdgil]     select PAL variant (used for some tuners
                  only, important for the audio carrier).
  ```

- **tvaudio**

  Provide a single driver for all simple i2c audio control chips (tda/tea\*).

  insmod args:



  ```text
  tda8425  = 1    enable/disable the support for the
  tda9840  = 1    various chips.
  tda9850  = 1    The tea6300 can't be autodetected and is
  tda9855  = 1    therefore off by default, if you have
  tda9873  = 1    this one on your card (STB uses these)
  tda9874a = 1    you have to enable it explicitly.
  tea6300  = 0    The two tda985x chips use the same i2c
  tea6420  = 1    address and can't be disturgished from
  pic16c54 = 1    each other, you might have to disable
                  the wrong one.
  debug = 1       print debug messages
  ```

- **msp3400**

  The driver for the msp34xx sound processor chips. If you have a stereo card, you probably want to insmod this one.

  insmod args:



  ```text
  debug=1/2       print some debug info to the syslog,
                  2 is more verbose.
  simple=1        Use the "short programming" method.  Newer
                  msp34xx versions support this.  You need this
                  for dbx stereo.  Default is on if supported by
                  the chip.
  once=1          Don't check the TV-stations Audio mode
                  every few seconds, but only once after
                  channel switches.
  amsound=1       Audio carrier is AM/NICAM at 6.5 Mhz.  This
                  should improve things for french people, the
                  carrier autoscan seems to work with FM only...
  ```

<a id="rst-if-the-box-freezes-hard-with-bttv"></a>

## If the box freezes hard with bttv

It might be a bttv driver bug.  It also might be bad hardware.  It also might be something else ...

Just mailing me "bttv freezes" isn't going to help much.  This README has a few hints how you can help to pin down the problem.

<a id="rst-bttv-bugs"></a>

### bttv bugs

If some version works and another doesn't it is likely to be a driver bug.  It is very helpful if you can tell where exactly it broke (i.e. the last working and the first broken version).

With a hard freeze you probably doesn't find anything in the logfiles. The only way to capture any kernel messages is to hook up a serial console and let some terminal application log the messages.  /me uses screen.  See [Documentation/admin-guide/serial-console.rst](/kernel/administration/admin-guide/console/serial-console.md) for details on setting up a serial console.

Read [Documentation/admin-guide/bug-hunting.rst](/kernel/administration/admin-guide/diagnostics/bug-hunting.md) to learn how to get any useful information out of a register+stack dump printed by the kernel on protection faults (so-called "kernel oops").

If you run into some kind of deadlock, you can try to dump a call trace for each process using sysrq-t (see [Documentation/admin-guide/sysrq.rst](/kernel/administration/admin-guide/diagnostics/sysrq.md)). This way it is possible to figure where *exactly* some process in "D" state is stuck.

I've seen reports that bttv 0.7.x crashes whereas 0.8.x works rock solid for some people.  Thus probably a small buglet left somewhere in bttv 0.7.x.  I have no idea where exactly, it works stable for me and a lot of other people.  But in case you have problems with the 0.7.x versions you can give 0.8.x a try ...

<a id="rst-hardware-bugs"></a>

### hardware bugs

Some hardware can't deal with PCI-PCI transfers (i.e. grabber =&gt; vga). Sometimes problems show up with bttv just because of the high load on the PCI bus. The bt848/878 chips have a few workarounds for known incompatibilities, see README.quirks.

Some folks report that increasing the pci latency helps too, althrought I'm not sure whenever this really fixes the problems or only makes it less likely to happen.  Both bttv and btaudio have a insmod option to set the PCI latency of the device.

Some mainboard have problems to deal correctly with multiple devices doing DMA at the same time.  bttv + ide seems to cause this sometimes, if this is the case you likely see freezes only with video and hard disk access at the same time.  Updating the IDE driver to get the latest and greatest workarounds for hardware bugs might fix these problems.

<a id="rst-other"></a>

### other

If you use some binary-only yunk (like nvidia module) try to reproduce the problem without.

IRQ sharing is known to cause problems in some cases.  It works just fine in theory and many configurations.  Neverless it might be worth a try to shuffle around the PCI cards to give bttv another IRQ or make it share the IRQ with some other piece of hardware.  IRQ sharing with VGA cards seems to cause trouble sometimes.  I've also seen funny effects with bttv sharing the IRQ with the ACPI bridge (and apci-enabled kernel).

<a id="rst-bttv-quirks"></a>

## Bttv quirks

Below is what the bt878 data book says about the PCI bug compatibility modes of the bt878 chip.

The triton1 insmod option sets the EN_TBFX bit in the control register. The vsfx insmod option does the same for EN_VSFX bit.  If you have stability problems you can try if one of these options makes your box work solid.

drivers/pci/quirks.c knows about these issues, this way these bits are enabled automagically for known-buggy chipsets (look at the kernel messages, bttv tells you).

<a id="rst-normal-pci-mode"></a>

### Normal PCI Mode

The PCI REQ signal is the logical-or of the incoming function requests. The inter-nal GNT\[0:1\] signals are gated asynchronously with GNT and demultiplexed by the audio request signal. Thus the arbiter defaults to the video function at power-up and parks there during no requests for bus access. This is desirable since the video will request the bus more often. However, the audio will have highest bus access priority. Thus the audio will have first access to the bus even when issuing a request after the video request but before the PCI external arbiter has granted access to the Bt879. Neither function can preempt the other once on the bus. The duration to empty the entire video PCI FIFO onto the PCI bus is very short compared to the bus access latency the audio PCI FIFO can tolerate.

<a id="rst-fx-compatibility-mode"></a>

### 430FX Compatibility Mode

When using the 430FX PCI, the following rules will ensure compatibility:

> 1. Deassert REQ at the same time as asserting FRAME.
>
> 2. Do not reassert REQ to request another bus transaction until after finish-ing the previous transaction.

Since the individual bus masters do not have direct control of REQ, a simple logical-or of video and audio requests would violate the rules. Thus, both the arbiter and the initiator contain 430FX compatibility mode logic. To enable 430FX mode, set the EN_TBFX bit as indicated in Device Control Register on page 104.

When EN_TBFX is enabled, the arbiter ensures that the two compatibility rules are satisfied. Before GNT is asserted by the PCI arbiter, this internal arbiter may still logical-or the two requests. However, once the GNT is issued, this arbiter must lock in its decision and now route only the granted request to the REQ pin. The arbiter decision lock happens regardless of the state of FRAME because it does not know when FRAME will be asserted (typically - each initiator will assert FRAME on the cycle following GNT). When FRAME is asserted, it is the initiator s responsibility to remove its request at the same time. It is the arbiters responsibility to allow this request to flow through to REQ and not allow the other request to hold REQ asserted. The decision lock may be removed at the end of the transaction: for example, when the bus is idle (FRAME and IRDY). The arbiter decision may then continue asynchronously until GNT is again asserted.

<a id="rst-interfacing-with-non-pci-2-1-compliant-core-logic"></a>

### Interfacing with Non-PCI 2.1 Compliant Core Logic

A small percentage of core logic devices may start a bus transaction during the same cycle that GNT is de-asserted. This is non PCI 2.1 compliant. To ensure compatibility when using PCs with these PCI controllers, the EN_VSFX bit must be enabled (refer to Device Control Register on page 104). When in this mode, the arbiter does not pass GNT to the internal functions unless REQ is asserted. This prevents a bus transaction from starting the same cycle as GNT is de-asserted. This also has the side effect of not being able to take advantage of bus parking, thus lowering arbitration performance. The Bt879 drivers must query for these non-compliant devices, and set the EN_VSFX bit only if required.

<a id="rst-other-elements-of-the-tvcards-array"></a>

### Other elements of the tvcards array

If you are trying to make a new card work you might find it useful to know what the other elements in the tvcards array are good for:



```text
video_inputs    - # of video inputs the card has
audio_inputs    - historical cruft, not used any more.
tuner           - which input is the tuner
svhs            - which input is svhs (all others are labeled composite)
muxsel          - video mux, input->registervalue mapping
pll             - same as pll= insmod option
tuner_type      - same as tuner= insmod option
*_modulename    - hint whenever some card needs this or that audio
                module loaded to work properly.
has_radio       - whenever this TV card has a radio tuner.
no_msp34xx      - "1" disables loading of msp3400.o module
no_tda9875      - "1" disables loading of tda9875.o module
needs_tvaudio   - set to "1" to load tvaudio.o module
```

If some config item is specified both from the tvcards array and as insmod option, the insmod option takes precedence.

<a id="rst-cards"></a>

## Cards

> [!NOTE]
>
> For a more updated list, please check [https://linuxtv.org/wiki/index.php/Hardware_Device_Information](<https://linuxtv.org/wiki/index.php/Hardware_Device_Information>)

<a id="rst-supported-cards-bt848-bt848a-bt849-bt878-bt879-cards"></a>

### Supported cards: Bt848/Bt848a/Bt849/Bt878/Bt879 cards

All cards with Bt848/Bt848a/Bt849/Bt878/Bt879 and normal Composite/S-VHS inputs are supported.  Teletext and Intercast support (PAL only) for ALL cards via VBI sample decoding in software.

Some cards with additional multiplexing of inputs or other additional fancy chips are only partially supported (unless specifications by the card manufacturer are given).  When a card is listed here it isn't necessarily fully supported.

All other cards only differ by additional components as tuners, sound decoders, EEPROMs, teletext decoders ...

<a id="rst-matrix-vision"></a>

### MATRIX Vision

MV-Delta - Bt848A - 4 Composite inputs, 1 S-VHS input (shared with 4th composite) - EEPROM

[http://www.matrix-vision.de/](<http://www.matrix-vision.de/>)

This card has no tuner but supports all 4 composite (1 shared with an S-VHS input) of the Bt848A. Very nice card if you only have satellite TV but several tuners connected to the card via composite.

Many thanks to Matrix-Vision for giving us 2 cards for free which made Bt848a/Bt849 single crystal operation support possible\!\!\!

<a id="rst-miro-pinnacle-pctv"></a>

### Miro/Pinnacle PCTV

- Bt848 some (all??) come with 2 crystals for PAL/SECAM and NTSC

- PAL, SECAM or NTSC TV tuner (Philips or TEMIC)

- MSP34xx sound decoder on add on board decoder is supported but AFAIK does not yet work (other sound MUX setting in GPIO port needed??? somebody who fixed this???)

- 1 tuner, 1 composite and 1 S-VHS input

- tuner type is autodetected

[http://www.miro.de/](<http://www.miro.de/>) [http://www.miro.com/](<http://www.miro.com/>)

Many thanks for the free card which made first NTSC support possible back in 1997\!

<a id="rst-hauppauge-win-tv-pci"></a>

### Hauppauge Win/TV pci

There are many different versions of the Hauppauge cards with different tuners (TV+Radio ...), teletext decoders. Note that even cards with same model numbers have (depending on the revision) different chips on it.

- Bt848 (and others but always in 2 crystal operation???) newer cards have a Bt878

- PAL, SECAM, NTSC or tuner with or without Radio support

e.g.:

- PAL:

  - TDA5737: VHF, hyperband and UHF mixer/oscillator for TV and VCR 3-band tuners

  - TSA5522: 1.4 GHz I2C-bus controlled synthesizer, I2C 0xc2-0xc3

- NTSC:

  - TDA5731: VHF, hyperband and UHF mixer/oscillator for TV and VCR 3-band tuners

  - TSA5518: no datasheet available on Philips site

- Philips SAA5246 or SAA5284 ( or no) Teletext decoder chip with buffer RAM (e.g. Winbond W24257AS-35: 32Kx8 CMOS static RAM) SAA5246 (I2C 0x22) is supported

- 256 bytes EEPROM: Microchip 24LC02B or Philips 8582E2Y with configuration information I2C address 0xa0 (24LC02B also responds to 0xa2-0xaf)

- 1 tuner, 1 composite and (depending on model) 1 S-VHS input

- 14052B: mux for selection of sound source

- sound decoder: TDA9800, MSP34xx (stereo cards)

<a id="rst-askey-cph-series"></a>

### Askey CPH-Series

Developed by TelSignal(?), OEMed by many vendors (Typhoon, Anubis, Dynalink)

- Card series: - CPH01x: BT848 capture only - CPH03x: BT848 - CPH05x: BT878 with FM - CPH06x: BT878 (w/o FM) - CPH07x: BT878 capture only

- TV standards: - CPH0x0: NTSC-M/M - CPH0x1: PAL-B/G - CPH0x2: PAL-I/I - CPH0x3: PAL-D/K - CPH0x4: SECAM-L/L - CPH0x5: SECAM-B/G - CPH0x6: SECAM-D/K - CPH0x7: PAL-N/N - CPH0x8: PAL-B/H - CPH0x9: PAL-M/M

- CPH03x was often sold as "TV capturer".

Identifying:

> 1. 878 cards can be identified by PCI Subsystem-ID: - 144f:3000 = CPH06x - 144F:3002 = CPH05x w/ FM - 144F:3005 = CPH06x_LC (w/o remote control)
>
> 2. The cards have a sticker with "CPH"-model on the back.
>
> 3. These cards have a number printed on the PCB just above the tuner metal box: - "80-CP2000300-x" = CPH03X - "80-CP2000500-x" = CPH05X - "80-CP2000600-x" = CPH06X / CPH06x_LC
>
> Askey sells these cards as "Magic TView series", Brand "MagicXpress". Other OEM often call these "Tview", "TView99" or else.

<a id="rst-lifeview-flyvideo-series"></a>

### Lifeview Flyvideo Series:

The naming of these series differs in time and space.

- **Identifying:**

  1. Some models can be identified by PCI subsystem ID:

     - 1852:1852 = Flyvideo 98 FM

     - 1851:1850 = Flyvideo 98

     - 1851:1851 = Flyvideo 98 EZ (capture only)

  2. There is a print on the PCB:

     - LR25       = Flyvideo (Zoran ZR36120, SAA7110A)

     - LR26 Rev.N = Flyvideo II (Bt848)

     - LR26 Rev.O = Flyvideo II (Bt878)

     - LR37 Rev.C = Flyvideo EZ (Capture only, ZR36120 + SAA7110)

     - LR38 Rev.A1= Flyvideo II EZ (Bt848 capture only)

     - LR50 Rev.Q = Flyvideo 98 (w/eeprom and PCI subsystem ID)

     - LR50 Rev.W = Flyvideo 98 (no eeprom)

     - LR51 Rev.E = Flyvideo 98 EZ (capture only)

     - LR90       = Flyvideo 2000 (Bt878)

     - LR90 Flyvideo 2000S (Bt878) w/Stereo TV (Package incl. LR91 daughterboard)

     - LR91       = Stereo daughter card for LR90

     - LR97       = Flyvideo DVBS

     - LR99 Rev.E = Low profile card for OEM integration (only internal audio\!) bt878

     - LR136     = Flyvideo 2100/3100 (Low profile, SAA7130/SAA7134)

     - LR137      = Flyvideo DV2000/DV3000 (SAA7130/SAA7134 + IEEE1394)

     - LR138 Rev.C= Flyvideo 2000 (SAA7130)

     - LR138 Flyvideo 3000 (SAA7134) w/Stereo TV

       > - These exist in variations w/FM and w/Remote sometimes denoted by suffixes "FM" and "R".

  3. You have a laptop (miniPCI card):

     > - Product    = FlyTV Platinum Mini
     >
     > - Model/Chip = LR212/saa7135
     >
     > - Lifeview.com.tw states (Feb. 2002): "The FlyVideo2000 and FlyVideo2000s product name have renamed to FlyVideo98." Their Bt8x8 cards are listed as discontinued.
     >
     > - Flyvideo 2000S was probably sold as Flyvideo 3000 in some countries(Europe?). The new Flyvideo 2000/3000 are SAA7130/SAA7134 based.

"Flyvideo II" had been the name for the 848 cards, nowadays (in Germany) this name is re-used for LR50 Rev.W.

The Lifeview website mentioned Flyvideo III at some time, but such a card has not yet been seen (perhaps it was the german name for LR90 \[stereo\]). These cards are sold by many OEMs too.

FlyVideo A2 (Elta 8680)= LR90 Rev.F (w/Remote, w/o FM, stereo TV by tda9821) \{Germany\}

Lifeview 3000 (Elta 8681) as sold by Plus(April 2002), Germany = LR138 w/ saa7134

<a id="rst-lifeview-config-coding-on-gpio-pins-0-9"></a>

#### lifeview config coding on gpio pins 0-9

- LR50 rev. Q ("PARTS: 7031505116), Tuner wurde als Nr. 5 erkannt, Eingänge SVideo, TV, Composite, Audio, Remote:

> - CP9..1=100001001 (1: 0-Ohm-Widerstand gegen GND unbestückt; 0: bestückt)

<a id="rst-typhoon-tv-card-series"></a>

### Typhoon TV card series:

These can be CPH, Flyvideo, Pixelview or KNC1 series.

Typhoon is the brand of Anubis.

Model 50680 got re-used, some model no. had different contents over time.

Models:

> - 50680 "TV Tuner PCI Pal BG"(old,red package)=can be CPH03x(bt848) or CPH06x(bt878)
>
> - 50680 "TV Tuner Pal BG" (blue package)= Pixelview PV-BT878P+ (Rev 9B)
>
> - 50681 "TV Tuner PCI Pal I" (variant of 50680)
>
> - 50682 "TView TV/FM Tuner Pal BG"       = Flyvideo 98FM (LR50 Rev.Q)
>
> > [!NOTE]
> >
> > The package has a picture of CPH05x (which would be a real TView)
>
> - 50683 "TV Tuner PCI SECAM" (variant of 50680)
>
> - 50684 "TV Tuner Pal BG"                = Pixelview 878TV(Rev.3D)
>
> - 50686 "TV Tuner"                       = KNC1 TV Station
>
> - 50687 "TV Tuner stereo"                = KNC1 TV Station pro
>
> - 50688 "TV Tuner RDS" (black package)   = KNC1 TV Station RDS
>
> - 50689  TV SAT DVB-S CARD CI PCI (SAA7146AH, SU1278?) = "KNC1 TV Station DVB-S"
>
> - 50692 "TV/FM Tuner" (small PCB)
>
> - 50694  TV TUNER CARD RDS (PHILIPS CHIPSET SAA7134HL)
>
> - 50696  TV TUNER STEREO (PHILIPS CHIPSET SAA7134HL, MK3ME Tuner)
>
> - 50804  PC-SAT TV/Audio Karte = Techni-PC-Sat (ZORAN 36120PQC, Tuner:Alps)
>
> - 50866  TVIEW SAT RECEIVER+ADR
>
> - 50868 "TV/FM Tuner Pal I" (variant of 50682)
>
> - 50999 "TV/FM Tuner Secam" (variant of 50682)

<a id="rst-guillemot"></a>

### Guillemot

Models:

- Maxi-TV PCI (ZR36120)

- Maxi TV Video 2 = LR50 Rev.Q (FI1216MF, PAL BG+SECAM)

- Maxi TV Video 3 = CPH064 (PAL BG + SECAM)

<a id="rst-mentor"></a>

### Mentor

Mentor TV card ("55-878TV-U1") = Pixelview 878TV(Rev.3F) (w/FM w/Remote)

<a id="rst-prolink"></a>

### Prolink

- TV cards:

  - PixelView Play TV pro - (Model: PV-BT878P+ REV 8E)

  - PixelView Play TV pro - (Model: PV-BT878P+ REV 9D)

  - PixelView Play TV pro - (Model: PV-BT878P+ REV 4C / 8D / 10A )

  - PixelView Play TV - (Model: PV-BT848P+)

  - 878TV - (Model: PV-BT878TV)

- Multimedia TV packages (card + software pack):

  - PixelView Play TV Theater - (Model: PV-M4200) =  PixelView Play TV pro + Software

  - PixelView Play TV PAK -     (Model: PV-BT878P+ REV 4E)

  - PixelView Play TV/VCR -     (Model: PV-M3200 REV 4C / 8D / 10A )

  - PixelView Studio PAK -      (Model:    M2200 REV 4C / 8D / 10A )

  - PixelView PowerStudio PAK - (Model: PV-M3600 REV 4E)

  - PixelView DigitalVCR PAK -  (Model: PV-M2400 REV 4C / 8D / 10A )

  - PixelView PlayTV PAK II (TV/FM card + usb camera)  PV-M3800

  - PixelView PlayTV XP PV-M4700,PV-M4700(w/FM)

  - PixelView PlayTV DVR PV-M4600  package contents:PixelView PlayTV pro, windvr &amp; videoMail s/w

- Further Cards:

  - PV-BT878P+rev.9B (Play TV Pro, opt. w/FM w/NICAM)

  - PV-BT878P+rev.2F

  - PV-BT878P Rev.1D (bt878, capture only)

  - XCapture PV-CX881P (cx23881)

  - PlayTV HD PV-CX881PL+, PV-CX881PL+(w/FM) (cx23881)

  - DTV3000 PV-DTV3000P+ DVB-S CI = Twinhan VP-1030

  - DTV2000 DVB-S = Twinhan VP-1020

- Video Conferencing:

  - PixelView Meeting PAK - (Model: PV-BT878P)

  - PixelView Meeting PAK Lite - (Model: PV-BT878P)

  - PixelView Meeting PAK plus - (Model: PV-BT878P+rev 4C/8D/10A)

  - PixelView Capture - (Model: PV-BT848P)

  - PixelView PlayTV USB pro

  - Model No. PV-NT1004+, PV-NT1004+ (w/FM) = NT1004 USB decoder chip + SAA7113 video decoder chip

<a id="rst-dynalink"></a>

### Dynalink

These are CPH series.

<a id="rst-phoebemicro"></a>

### Phoebemicro

- TV Master    = CPH030 or CPH060

- TV Master FM = CPH050

<a id="rst-genius-kye"></a>

### Genius/Kye

- Video Wonder/Genius Internet Video Kit = LR37 Rev.C

- Video Wonder Pro II (848 or 878) = LR26

<a id="rst-tekram"></a>

### Tekram

- VideoCap C205 (Bt848)

- VideoCap C210 (zr36120 +Philips)

- CaptureTV M200 (ISA)

- CaptureTV M205 (Bt848)

<a id="rst-lucky-star"></a>

### Lucky Star

- Image World Conference TV = LR50 Rev. Q

<a id="rst-leadtek"></a>

### Leadtek

- WinView 601 (Bt848)

- WinView 610 (Zoran)

- WinFast2000

- WinFast2000 XP

<a id="rst-support-for-the-leadtek-winview-601-tv-fm"></a>

#### Support for the Leadtek WinView 601 TV/FM

Author of this section: Jon Tombs &lt;[jon@gte.esi.us.es](<mailto:jon@gte.esi.us.es>)&gt;

This card is basically the same as all the rest (Bt484A, Philips tuner), the main difference is that they have attached a programmable attenuator to 3 GPIO lines in order to give some volume control. They have also stuck an infra-red remote control decoded on the board, I will add support for this when I get time (it simple generates an interrupt for each key press, with the key code is placed in the GPIO port).

I don't yet have any application to test the radio support. The tuner frequency setting should work but it is possible that the audio multiplexer is wrong. If it doesn't work, send me email.

- No Thanks to Leadtek they refused to answer any questions about their hardware. The driver was written by visual inspection of the card. If you use this driver, send an email insult to them, and tell them you won't continue buying their hardware unless they support Linux.

- Little thanks to Princeton Technology Corp ([http://www.princeton.com.tw](<http://www.princeton.com.tw>)) who make the audio attenuator. Their publicly available data-sheet available on their web site doesn't include the chip programming information\! Hidden on their server are the full data-sheets, but don't ask how I found it.

To use the driver I use the following options, the tuner and pll settings might be different in your country. You can force it via modprobe parameters. For example:



```text
modprobe bttv  tuner=1 pll=28 radio=1 card=17
```

Sets tuner type 1 (Philips PAL_I), PLL with a 28 MHz crystal, enables FM radio and selects bttv card ID 17 (Leadtek WinView 601).

<a id="rst-knc-one"></a>

### KNC One

- TV-Station

- TV-Station SE (+Software Bundle)

- TV-Station pro (+TV stereo)

- TV-Station FM (+Radio)

- TV-Station RDS (+RDS)

- TV Station SAT (analog satellite)

- TV-Station DVB-S

> [!NOTE]
>
> newer Cards have saa7134, but model name stayed the same?

<a id="rst-provideo"></a>

### Provideo

- PV951 or PV-951, now named PV-951T (also are sold as: Boeder TV-FM Video Capture Card, Titanmedia Supervision TV-2400, Provideo PV951 TF, 3DeMon PV951, MediaForte TV-Vision PV951, Yoko PV951, Vivanco Tuner Card PCI Art.-Nr.: 68404 )

- Surveillance Series:

> - PV-141
>
> - PV-143
>
> - PV-147
>
> - PV-148 (capture only)
>
> - PV-150
>
> - PV-151

- TV-FM Tuner Series:

> - PV-951TDV (tv tuner + 1394)
>
> - PV-951T/TF
>
> - PV-951PT/TF
>
> - PV-956T/TF Low Profile
>
> - PV-911

<a id="rst-highscreen"></a>

### Highscreen

Models:

- TV Karte = LR50 Rev.S

- TV-Boostar = Terratec Terra TV+ Version 1.0 (Bt848, tda9821) "ceb105.pcb"

<a id="rst-zoltrix"></a>

### Zoltrix

Models:

- Face to Face Capture (Bt848 capture only) (PCB "VP-2848")

- Face To Face TV MAX (Bt848) (PCB "VP-8482 Rev1.3")

- Genie TV (Bt878) (PCB "VP-8790 Rev 2.1")

- Genie Wonder Pro

<a id="rst-avermedia"></a>

### AVerMedia

- AVer FunTV Lite (ISA, AV3001 chipset)  "M101.C"

- AVerTV

- AVerTV Stereo

- AVerTV Studio (w/FM)

- AVerMedia TV98 with Remote

- AVerMedia TV/FM98 Stereo

- AVerMedia TVCAM98

- TVCapture (Bt848)

- TVPhone (Bt848)

- TVCapture98 (="AVerMedia TV98" in USA) (Bt878)

- TVPhone98 (Bt878, w/FM)


<table>
<thead>
<tr>
<th>


PCB

</th>
<th>


PCI-ID

</th>
<th>


Model-Name

</th>
<th>


Eeprom

</th>
<th>


Tuner

</th>
<th>


Sound

</th>
<th>


Country

</th>
</tr>
</thead>
<tbody>
<tr>
<td>


M101.C

</td>
<td>


ISA \!

</td>
<td>




</td>
<td>




</td>
<td>




</td>
<td>




</td>
<td>




</td>
</tr>
<tr>
<td>


M108-B

</td>
<td>


Bt848

</td>
<td>




</td>
<td>


--

</td>
<td>


FR1236

</td>
<td>




</td>
<td>


US   <a id="rst-footnote-reference-1"></a>[2](#rst-f2), <a id="rst-footnote-reference-2"></a>[3](#rst-f3)

</td>
</tr>
<tr>
<td>


M1A8-A

</td>
<td>


Bt848

</td>
<td>


AVer TV-Phone

</td>
<td>




</td>
<td>


FM1216

</td>
<td>


--

</td>
<td>




</td>
</tr>
<tr>
<td>


M168-T

</td>
<td>


1461:0003

</td>
<td>


AVerTV Studio

</td>
<td>


48:17

</td>
<td>


FM1216

</td>
<td>


TDA9840T

</td>
<td>


D    <a id="rst-footnote-reference-3"></a>[1](#rst-f1) w/FM w/Remote

</td>
</tr>
<tr>
<td>


M168-U

</td>
<td>


1461:0004

</td>
<td>


TVCapture98

</td>
<td>


40:11

</td>
<td>


FI1216

</td>
<td>


--

</td>
<td>


D    w/Remote

</td>
</tr>
<tr>
<td>


M168II-B

</td>
<td>


1461:0003

</td>
<td>


Medion MD9592

</td>
<td>


48:16

</td>
<td>


FM1216

</td>
<td>


TDA9873H

</td>
<td>


D    w/FM

</td>
</tr>
</tbody>
</table>

<a id="rst-f1"></a>



**[1]** Daughterboard MB68-A with TDA9820T and TDA9840T

<a id="rst-f2"></a>



**[2]** Sony NE41S soldered (stereo sound?)

<a id="rst-f3"></a>



**[3]** Daughterboard M118-A w/ pic 16c54 and 4 MHz quartz

- US site has different drivers for (as of 09/2002):

  - EZ Capture/InterCam PCI (BT-848 chip)

  - EZ Capture/InterCam PCI (BT-878 chip)

  - TV-Phone (BT-848 chip)

  - TV98 (BT-848 chip)

  - TV98 With Remote (BT-848 chip)

  - TV98 (BT-878 chip)

  - TV98 With Remote (BT-878)

  - TV/FM98 (BT-878 chip)

  - AVerTV

  - AverTV Stereo

  - AVerTV Studio

DE hat diverse Treiber fuer diese Modelle (Stand 09/2002):

> - TVPhone (848) mit Philips tuner FR12X6 (w/ FM radio)
>
> - TVPhone (848) mit Philips tuner FM12X6 (w/ FM radio)
>
> - TVCapture (848) w/Philips tuner FI12X6
>
> - TVCapture (848) non-Philips tuner
>
> - TVCapture98 (Bt878)
>
> - TVPhone98 (Bt878)
>
> - AVerTV und TVCapture98 w/VCR (Bt 878)
>
> - AVerTVStudio und TVPhone98 w/VCR (Bt878)
>
> - AVerTV GO Series (Kein SVideo Input)
>
> - AVerTV98 (BT-878 chip)
>
> - AVerTV98 mit Fernbedienung (BT-878 chip)
>
> - AVerTV/FM98 (BT-878 chip)
>
> - VDOmate (www.averm.com.cn) = M168U ?

<a id="rst-aimslab"></a>

### Aimslab

Models:

- Video Highway or "Video Highway TR200" (ISA)

- Video Highway Xtreme (aka "VHX") (Bt848, FM w/ TEA5757)

<a id="rst-ixmicro-former-ims-integrated-micro-solutions"></a>

### IXMicro (former: IMS=Integrated Micro Solutions)

Models:

- IXTV BT848 (=TurboTV)

- IXTV BT878

- IMS TurboTV (Bt848)

<a id="rst-lifetec-medion-tevion-aldi"></a>

### Lifetec/Medion/Tevion/Aldi

Models:

- LT9306/MD9306 = CPH061

- LT9415/MD9415 = LR90 Rev.F or Rev.G

- MD9592 = Avermedia TVphone98 (PCI_ID=1461:0003), PCB-Rev=M168II-B (w/TDA9873H)

- MD9717 = KNC One (Rev D4, saa7134, FM1216 MK2 tuner)

- MD5044 = KNC One (Rev D4, saa7134, FM1216ME MK3 tuner)

<a id="rst-modular-technologies-www-modulartech-com-uk"></a>

### Modular Technologies (www.modulartech.com) UK

Models:

- MM100 PCTV (Bt848)

- MM201 PCTV (Bt878, Bt832) w/ Quartzsight camera

- MM202 PCTV (Bt878, Bt832, tda9874)

- MM205 PCTV (Bt878)

- MM210 PCTV (Bt878) (Galaxy TV, Galaxymedia ?)

<a id="rst-terratec"></a>

### Terratec

Models:

- Terra TV+ Version 1.0 (Bt848), "ceb105.PCB" printed on the PCB, TDA9821

- Terra TV+ Version 1.1 (Bt878), "LR74 Rev.E" printed on the PCB, TDA9821

- Terra TValueRadio,             "LR102 Rev.C" printed on the PCB

- Terra TV/Radio+ Version 1.0,   "80-CP2830100-0" TTTV3 printed on the PCB, "CPH010-E83" on the back, SAA6588T, TDA9873H

- Terra TValue Version BT878,    "80-CP2830110-0 TTTV4" printed on the PCB, "CPH011-D83" on back

- Terra TValue Version 1.0       "ceb105.PCB" (really identical to Terra TV+ Version 1.0)

- Terra TValue New Revision       "LR102 Rec.C"

- Terra Active Radio Upgrade (tea5757h, saa6588t)

- LR74 is a newer PCB revision of ceb105 (both incl. connector for Active Radio Upgrade)

- Cinergy 400 (saa7134), "E877 11(S)", "PM820092D" printed on PCB

- Cinergy 600 (saa7134)

<a id="rst-technisat"></a>

### Technisat

Models:

- Discos ADR PC-Karte ISA (no TV\!)

- Discos ADR PC-Karte PCI (probably no TV?)

- Techni-PC-Sat (Sat. analog) Rev 1.2 (zr36120, vpx3220, stv0030, saa5246, BSJE3-494A)

- Mediafocus I (zr36120/zr36125, drp3510, Sat. analog + ADR Radio)

- Mediafocus II (saa7146, Sat. analog)

- SatADR Rev 2.1 (saa7146a, saa7113h, stv0056a, msp3400c, drp3510a, BSKE3-307A)

- SkyStar 1 DVB  (AV7110) = Technotrend Premium

- SkyStar 2 DVB  (B2C2) (=Sky2PC)

<a id="rst-siemens"></a>

### Siemens

Multimedia eXtension Board (MXB) (SAA7146, SAA7111)

<a id="rst-powercolor"></a>

### Powercolor

Models:

- - **MTV878**

    Package comes with different contents:

    > - **a)** pcb "MTV878" (CARD=75)
    >
    > - **b)** Pixelview Rev. 4\_

- MTV878R w/Remote Control

- MTV878F w/Remote Control w/FM radio

<a id="rst-pinnacle"></a>

### Pinnacle

PCTV models:

- Mirovideo PCTV (Bt848)

- Mirovideo PCTV SE (Bt848)

- Mirovideo PCTV Pro (Bt848 + Daughterboard for TV Stereo and FM)

- Studio PCTV Rave (Bt848 Version = Mirovideo PCTV)

- Studio PCTV Rave (Bt878 package w/o infrared)

- Studio PCTV      (Bt878)

- Studio PCTV Pro  (Bt878 stereo w/ FM)

- Pinnacle PCTV    (Bt878, MT2032)

- Pinnacle PCTV Pro (Bt878, MT2032)

- Pinncale PCTV Sat (bt878a, HM1821/1221) \["Conexant CX24110 with CX24108 tuner, aka HM1221/HM1811"\]

- Pinnacle PCTV Sat XE

M(J)PEG capture and playback models:

- DC1+ (ISA)

- DC10  (zr36057,     zr36060,      saa7110, adv7176)

- DC10+ (zr36067,     zr36060,      saa7110, adv7176)

- DC20  (ql16x24b,zr36050, zr36016, saa7110, saa7187 ...)

- DC30  (zr36057, zr36050, zr36016, vpx3220, adv7176, ad1843, tea6415, miro FST97A1)

- DC30+ (zr36067, zr36050, zr36016, vpx3220, adv7176)

- DC50  (zr36067, zr36050, zr36016, saa7112, adv7176 (2 pcs.?), ad1843, miro FST97A1, Lattice ???)

<a id="rst-lenco"></a>

### Lenco

Models:

- MXR-9565 (=Technisat Mediafocus?)

- MXR-9571 (Bt848) (=CPH031?)

- MXR-9575

- MXR-9577 (Bt878) (=Prolink 878TV Rev.3x)

- MXTV-9578CP (Bt878) (= Prolink PV-BT878P+4E)

<a id="rst-iomega"></a>

### Iomega

Buz (zr36067, zr36060, saa7111, saa7185)

<a id="rst-lml"></a>

### LML

> LML33 (zr36067, zr36060, bt819, bt856)

<a id="rst-grandtec"></a>

### Grandtec

Models:

- Grand Video Capture (Bt848)

- Multi Capture Card  (Bt878)

<a id="rst-koutech"></a>

### Koutech

Models:

- KW-606 (Bt848)

- KW-607 (Bt848 capture only)

- KW-606RSF

- KW-607A (capture only)

- KW-608 (Zoran capture only)

<a id="rst-iodata-jp"></a>

### IODATA (jp)

Models:

- GV-BCTV/PCI

- GV-BCTV2/PCI

- GV-BCTV3/PCI

- GV-BCTV4/PCI

- GV-VCP/PCI (capture only)

- GV-VCP2/PCI (capture only)

<a id="rst-canopus-jp"></a>

### Canopus (jp)

WinDVR  = Kworld "KW-TVL878RF"

<a id="rst-www-sigmacom-co-kr"></a>

### www.sigmacom.co.kr

Sigma Cyber TV II

<a id="rst-www-sasem-co-kr"></a>

### www.sasem.co.kr

Litte OnAir TV

<a id="rst-hama"></a>

### hama

TV/Radio-Tuner Card, PCI (Model 44677) = CPH051

<a id="rst-sigma-designs"></a>

### Sigma Designs

Hollywood plus (em8300, em9010, adv7175), (PCB "M340-10") MPEG DVD decoder

<a id="rst-formac"></a>

### Formac

Models:

- iProTV (Card for iMac Mezzanine slot, Bt848+SCSI)

- ProTV (Bt848)

- ProTV II = ProTV Stereo (Bt878) \["stereo" means FM stereo, tv is still mono\]

<a id="rst-ati"></a>

### ATI

Models:

- TV-Wonder

- TV-Wonder VE

<a id="rst-diamond-multimedia"></a>

### Diamond Multimedia

DTV2000 (Bt848, tda9875)

<a id="rst-aopen"></a>

### Aopen

- VA1000 Plus (w/ Stereo)

- VA1000 Lite

- VA1000 (=LR90)

<a id="rst-intel"></a>

### Intel

Models:

- Smart Video Recorder (ISA full-length)

- Smart Video Recorder pro (ISA half-length)

- Smart Video Recorder III (Bt848)

<a id="rst-stb"></a>

### STB

Models:

- STB Gateway 6000704 (bt878)

- STB Gateway 6000699 (bt848)

- STB Gateway 6000402 (bt848)

- STB TV130 PCI

<a id="rst-videologic"></a>

### Videologic

Models:

- Captivator Pro/TV (ISA?)

- Captivator PCI/VC (Bt848 bundled with camera) (capture only)

<a id="rst-technotrend"></a>

### Technotrend

Models:

- TT-SAT PCI (PCB "Sat-PCI Rev.:1.3.1"; zr36125, vpx3225d, stc0056a, Tuner:BSKE6-155A

- - **TT-DVB-Sat**

    - revisions 1.1, 1.3, 1.5, 1.6 and 2.1

    - This card is sold as OEM from:

      > - Siemens DVB-s Card
      >
      > - Hauppauge WinTV DVB-S
      >
      > - Technisat SkyStar 1 DVB
      >
      > - Galaxis DVB Sat

    - Now this card is called TT-PCline Premium Family

    - TT-Budget (saa7146, bsru6-701a) This card is sold as OEM from:

      > - Hauppauge WinTV Nova
      >
      > - Satelco Standard PCI (DVB-S)

    - TT-DVB-C PCI

<a id="rst-teles"></a>

### Teles

> DVB-s (Rev. 2.2, BSRV2-301A, data only?)

<a id="rst-remote-vision"></a>

### Remote Vision

MX RV605 (Bt848 capture only)

<a id="rst-boeder"></a>

### Boeder

Models:

- PC ChatCam (Model 68252) (Bt848 capture only)

- Tv/Fm Capture Card  (Model 68404) = PV951

<a id="rst-media-surfer-esc-kathrein-de"></a>

### Media-Surfer  (esc-kathrein.de)

Models:

- Sat-Surfer (ISA)

- Sat-Surfer PCI = Techni-PC-Sat

- Cable-Surfer 1

- Cable-Surfer 2

- Cable-Surfer PCI (zr36120)

- Audio-Surfer (ISA Radio card)

<a id="rst-jetway-www-jetway-com-tw"></a>

### Jetway (www.jetway.com.tw)

Models:

- JW-TV 878M

- JW-TV 878  = KWorld KW-TV878RF

<a id="rst-galaxis"></a>

### Galaxis

Models:

- Galaxis DVB Card S CI

- Galaxis DVB Card C CI

- Galaxis DVB Card S

- Galaxis DVB Card C

- Galaxis plug.in S \[neuer Name: Galaxis DVB Card S CI

<a id="rst-hauppauge"></a>

### Hauppauge

Models:

- many many WinTV models ...

- WinTV DVBs = Technotrend Premium 1.3

- WinTV NOVA = Technotrend Budget 1.1 "S-DVB DATA"

- WinTV NOVA-CI "SDVBACI"

- WinTV Nova USB (=Technotrend USB 1.0)

- WinTV-Nexus-s (=Technotrend Premium 2.1 or 2.2)

- WinTV PVR

- WinTV PVR 250

- WinTV PVR 450

US models

-990 WinTV-PVR-350 (249USD) (iTVC15 chipset + radio) -980 WinTV-PVR-250 (149USD) (iTVC15 chipset) -880 WinTV-PVR-PCI (199USD) (KFIR chipset + bt878) -881 WinTV-PVR-USB -190 WinTV-GO -191 WinTV-GO-FM -404 WinTV -401 WinTV-radio -495 WinTV-Theater -602 WinTV-USB -621 WinTV-USB-FM -600 USB-Live -698 WinTV-HD -697 WinTV-D -564 WinTV-Nexus-S

Deutsche Modelle:

-603 WinTV GO -719 WinTV Primio-FM -718 WinTV PCI-FM -497 WinTV Theater -569 WinTV USB -568 WinTV USB-FM -882 WinTV PVR -981 WinTV PVR 250 -891 WinTV-PVR-USB -541 WinTV Nova -488 WinTV Nova-Ci -564 WinTV-Nexus-s -727 WinTV-DVB-c -545 Common Interface -898 WinTV-Nova-USB

UK models:

-607 WinTV Go -693,793 WinTV Primio FM -647,747 WinTV PCI FM -498 WinTV Theater -883 WinTV PVR -893 WinTV PVR USB  (Duplicate entry) -566 WinTV USB (UK) -573 WinTV USB FM -429 Impact VCB (bt848) -600 USB Live (Video-In 1x Comp, 1xSVHS) -542 WinTV Nova -717 WinTV DVB-S -909 Nova-t PCI -893 Nova-t USB   (Duplicate entry) -802 MyTV -804 MyView -809 MyVideo -872 MyTV2Go FM -546 WinTV Nova-S CI -543 WinTV Nova -907 Nova-S USB -908 Nova-T USB -717 WinTV Nexus-S -157 DEC3000-s Standalone + USB

Spain:

-685 WinTV-Go -690 WinTV-PrimioFM -416 WinTV-PCI Nicam Estereo -677 WinTV-PCI-FM -699 WinTV-Theater -683 WinTV-USB -678 WinTV-USB-FM -983 WinTV-PVR-250 -883 WinTV-PVR-PCI -993 WinTV-PVR-350 -893 WinTV-PVR-USB -728 WinTV-DVB-C PCI -832 MyTV2Go -869 MyTV2Go-FM -805 MyVideo (USB)

<a id="rst-matrix-vision-1"></a>

### Matrix-Vision

Models:

- MATRIX-Vision MV-Delta

- MATRIX-Vision MV-Delta 2

- MVsigma-SLC (Bt848)

<a id="rst-conceptronic-net"></a>

### Conceptronic (.net)

Models:

- TVCON FM,  TV card w/ FM = CPH05x

- TVCON = CPH06x

<a id="rst-bestdata"></a>

### BestData

Models:

- HCC100 = VCC100rev1 + camera

- VCC100 rev1 (bt848)

- VCC100 rev2 (bt878)

<a id="rst-gallant-www-gallantcom-com-www-minton-com-tw"></a>

### Gallant  (www.gallantcom.com) www.minton.com.tw

Models:

- Intervision IV-510 (capture only bt8x8)

- Intervision IV-550 (bt8x8)

- Intervision IV-100 (zoran)

- Intervision IV-1000 (bt8x8)

<a id="rst-asonic-www-asonic-com-cn-website-down"></a>

### Asonic (www.asonic.com.cn) (website down)

SkyEye tv 878

<a id="rst-hoontech"></a>

### Hoontech

878TV/FM

<a id="rst-teppro-www-itcteppro-com-tw"></a>

### Teppro (www.itcteppro.com.tw)

Models:

- ITC PCITV (Card Ver 1.0) "Teppro TV1/TVFM1 Card"

- ITC PCITV (Card Ver 2.0)

- ITC PCITV (Card Ver 3.0) = "PV-BT878P+ (REV.9D)"

- ITC PCITV (Card Ver 4.0)

- TEPPRO IV-550 (For BT848 Main Chip)

- ITC DSTTV (bt878, satellite)

- ITC VideoMaker (saa7146, StreamMachine sm2110, tvtuner) "PV-SM2210P+ (REV:1C)"

<a id="rst-kworld-www-kworld-com-tw"></a>

### Kworld (www.kworld.com.tw)

PC TV Station:

- KWORLD KW-TV878R  TV (no radio)

- KWORLD KW-TV878RF TV (w/ radio)

- KWORLD KW-TVL878RF (low profile)

- KWORLD KW-TV713XRF (saa7134)

> MPEG TV Station (same cards as above plus WinDVR Software MPEG en/decoder)

- KWORLD KW-TV878R -Pro   TV (no Radio)

- KWORLD KW-TV878RF-Pro   TV (w/ Radio)

- KWORLD KW-TV878R -Ultra TV (no Radio)

- KWORLD KW-TV878RF-Ultra TV (w/ Radio)

<a id="rst-jtt-justy-corp-http-www-jtt-ne-jp"></a>

### JTT/ Justy Corp.([http://www.jtt.ne.jp/](<http://www.jtt.ne.jp/>))

JTT-02 (JTT TV) "TV watchmate pro" (bt848)

<a id="rst-ads-www-adstech-com"></a>

### ADS www.adstech.com

Models:

- Channel Surfer TV ( CHX-950 )

- Channel Surfer TV+FM ( CHX-960FM )

<a id="rst-avec-www-prochips-com"></a>

### AVEC www.prochips.com

AVEC Intercapture (bt848, tea6320)

<a id="rst-nobrand"></a>

### NoBrand

TV Excel = Australian Name for "PV-BT878P+ 8E" or "878TV Rev.3\_"

<a id="rst-mach-www-machspeed-com"></a>

### Mach www.machspeed.com

Mach TV 878

<a id="rst-eline-www-eline-net-com"></a>

### Eline www.eline-net.com/

Models:

- Eline Vision TVMaster / TVMaster FM (ELV-TVM/ ELV-TVM-FM) = LR26  (bt878)

- Eline Vision TVMaster-2000 (ELV-TVM-2000, ELV-TVM-2000-FM)= LR138 (saa713x)

<a id="rst-spirit"></a>

### Spirit

- Spirit TV Tuner/Video Capture Card (bt848)

<a id="rst-boser-www-boser-com-tw"></a>

### Boser www.boser.com.tw

Models:

- HS-878 Mini PCI Capture Add-on Card

- HS-879 Mini PCI 3D Audio and Capture Add-on Card (w/ ES1938 Solo-1)

<a id="rst-satelco-www-citycom-gmbh-de-www-satelco-de"></a>

### Satelco www.citycom-gmbh.de, www.satelco.de

Models:

- TV-FM =KNC1 saa7134

- Standard PCI (DVB-S) = Technotrend Budget

- Standard PCI (DVB-S) w/ CI

- Satelco Highend PCI (DVB-S) = Technotrend Premium

<a id="rst-sensoray-www-sensoray-com"></a>

### Sensoray www.sensoray.com

Models:

- Sensoray 311 (PC/104 bus)

- Sensoray 611 (PCI)

<a id="rst-cei-chartered-electronics-industries-pte-ltd-cei-fcc-id-hby"></a>

### CEI (Chartered Electronics Industries Pte Ltd \[CEI\] \[FCC ID HBY\])

Models:

- TV Tuner  -  HBY-33A-RAFFLES  Brooktree Bt848KPF + Philips

- TV Tuner MG9910  -  HBY33A-TVO  CEI + Philips SAA7110 + OKI M548262 + ST STV8438CV

- Primetime TV (ISA)

  - acquired by Singapore Technologies

  - now operating as Chartered Semiconductor Manufacturing

  - Manufacturer of video cards is listed as:

    - Cogent Electronics Industries \[CEI\]

<a id="rst-aitech"></a>

### AITech

Models:

- Wavewatcher TV (ISA)

- AITech WaveWatcher TV-PCI = can be LR26 (Bt848) or LR50 (BT878)

- WaveWatcher TVR-202 TV/FM Radio Card (ISA)

<a id="rst-maxron"></a>

### MAXRON

Maxron MaxTV/FM Radio (KW-TV878-FNT) = Kworld or JW-TV878-FBK

<a id="rst-www-ids-imaging-de"></a>

### www.ids-imaging.de

Models:

- Falcon Series (capture only)

In USA: [http://www.theimagingsource.com/](<http://www.theimagingsource.com/>) - DFG/LC1

<a id="rst-www-sknet-web-co-jp"></a>

### www.sknet-web.co.jp

SKnet Monster TV (saa7134)

<a id="rst-a-max-www-amaxhk-com-colormax-amax-napa"></a>

### A-Max www.amaxhk.com (Colormax, Amax, Napa)

APAC Viewcomp 878

<a id="rst-cybertainment"></a>

### Cybertainment

Models:

- CyberMail AV Video Email Kit w/ PCI Capture Card (capture only)

- CyberMail Xtreme

These are Flyvideo

<a id="rst-vcr-http-www-vcrinc-com"></a>

### VCR ([http://www.vcrinc.com/](<http://www.vcrinc.com/>))

Video Catcher 16

<a id="rst-twinhan"></a>

### Twinhan

Models:

- DST Card/DST-IP (bt878, twinhan asic) VP-1020 - Sold as:

  > - KWorld DVBS Satellite TV-Card
  >
  > - Powercolor DSTV Satellite Tuner Card
  >
  > - Prolink Pixelview DTV2000
  >
  > - Provideo PV-911 Digital Satellite TV Tuner Card With Common Interface ?

- DST-CI Card (DVB Satellite) VP-1030

- DCT Card (DVB cable)

<a id="rst-msi"></a>

### MSI

Models:

- MSI [TV@nywhere](<mailto:TV@nywhere>) Tuner Card (MS-8876) (CX23881/883) Not Bt878 compatible.

- MS-8401 DVB-S

<a id="rst-focus-www-focusinfo-com"></a>

### Focus www.focusinfo.com

InVideo PCI (bt878)

<a id="rst-sdisilk-www-sdisilk-com"></a>

### Sdisilk www.sdisilk.com/

Models:

- SDI Silk 100

- SDI Silk 200 SDI Input Card

<a id="rst-www-euresys-com"></a>

### www.euresys.com

PICOLO series

<a id="rst-pmc-pace"></a>

### PMC/Pace

www.pacecom.co.uk website closed

<a id="rst-mercury-www-kobian-com-uk-and-fr"></a>

### Mercury www.kobian.com (UK and FR)

Models:

- LR50

- LR138RBG-Rx  == LR138

<a id="rst-tec-sound"></a>

### TEC sound

TV-Mate = Zoltrix VP-8482

Though educated googling found: www.techmakers.com

(package and manuals don't have any other manufacturer info) TecSound

<a id="rst-lorenzen-www-lorenzen-de"></a>

### Lorenzen www.lorenzen.de

SL DVB-S PCI = Technotrend Budget PCI (su1278 or bsru version)

<a id="rst-origo-uk-www-origo2000-com"></a>

### Origo (.uk) www.origo2000.com

PC TV Card = LR50

<a id="rst-i-o-magic-www-iomagic-com"></a>

### I/O Magic www.iomagic.com

PC PVR - Desktop TV Personal Video Recorder DR-PCTV100 = Pinnacle ROB2D-51009464 4.0 + Cyberlink PowerVCR II

<a id="rst-arowana"></a>

### Arowana

TV-Karte / Poso Power TV (?) = Zoltrix VP-8482 (?)

<a id="rst-itvc15-boards"></a>

### iTVC15 boards

kuroutoshikou.com ITVC15 yuan.com MPG160 PCI TV (Internal PCI MPEG2 encoder card plus TV-tuner)

<a id="rst-asus-www-asuscom-com"></a>

### Asus www.asuscom.com

Models:

- Asus TV Tuner Card 880 NTSC (low profile, cx23880)

- Asus TV (saa7134)

<a id="rst-hoontech-1"></a>

### Hoontech

[http://www.hoontech.de/](<http://www.hoontech.de/>)

- HART Vision 848 (H-ART Vision 848)

- HART Vision 878 (H-Art Vision 878)

<a id="rst-chips-used-at-bttv-devices"></a>

## Chips used at bttv devices

- all boards:

  - Brooktree Bt848/848A/849/878/879: video capture chip

- Board specific

  - Miro PCTV:

    - Philips or Temic Tuner

  - Hauppauge Win/TV pci (version 405):

    - Microchip 24LC02B or Philips 8582E2Y:

      > - 256 Byte EEPROM with configuration information
      >
      > - I2C 0xa0-0xa1, (24LC02B also responds to 0xa2-0xaf)

    - Philips SAA5246AGP/E: Videotext decoder chip, I2C 0x22-0x23

    - TDA9800: sound decoder

    - Winbond W24257AS-35: 32Kx8 CMOS static RAM (Videotext buffer mem)

    - 14052B: analog switch for selection of sound source

- PAL:

  - TDA5737: VHF, hyperband and UHF mixer/oscillator for TV and VCR 3-band tuners

  - TSA5522: 1.4 GHz I2C-bus controlled synthesizer, I2C 0xc2-0xc3

- NTSC:

  - TDA5731: VHF, hyperband and UHF mixer/oscillator for TV and VCR 3-band tuners

  - TSA5518: no datasheet available on Philips site

- STB TV pci:

  - ???

  - if you want better support for STB cards send me info\! Look at the board\! What chips are on it?

<a id="rst-specs"></a>

## Specs

Philips         [http://www.Semiconductors.COM/pip/](<http://www.Semiconductors.COM/pip/>)

Conexant        [http://www.conexant.com/](<http://www.conexant.com/>)

Micronas        [http://www.micronas.com/en/home/index.html](<http://www.micronas.com/en/home/index.html>)

<a id="rst-thanks"></a>

## Thanks

Many thanks to:

- Markus Schroeder &lt;[schroedm@uni-duesseldorf.de](<mailto:schroedm@uni-duesseldorf.de>)&gt; for information on the Bt848 and tuner programming and his control program xtvc.

- Martin Buck &lt;[martin-2.buck@student.uni-ulm.de](<mailto:martin-2.buck@student.uni-ulm.de>)&gt; for his great Videotext package.

- Gerd Hoffmann for the MSP3400 support and the modular I2C, tuner, ... support.

- MATRIX Vision for giving us 2 cards for free, which made support of single crystal operation possible.

- MIRO for providing a free PCTV card and detailed information about the components on their cards. (E.g. how the tuner type is detected) Without their card I could not have debugged the NTSC mode.

- Hauppauge for telling how the sound input is selected and what components they do and will use on their radio cards. Also many thanks for faxing me the FM1216 data sheet.

<a id="rst-contributors"></a>

## Contributors

- **Michael Chu &lt;[mmchu@pobox.com](<mailto:mmchu@pobox.com>)&gt;**

  AverMedia fix and more flexible card recognition

- **Alan Cox &lt;[alan@lxorguk.ukuu.org.uk](<mailto:alan@lxorguk.ukuu.org.uk>)&gt;**

  Video4Linux interface and 2.1.x kernel adaptation

- **Chris Kleitsch**

  Hardware I2C

- **Gerd Hoffmann**

  Radio card (ITT sound processor)

bigfoot &lt;[bigfoot@net-way.net](<mailto:bigfoot@net-way.net>)&gt;

- **Ragnar Hojland Espinosa &lt;[ragnar@macula.net](<mailto:ragnar@macula.net>)&gt;**

  ConferenceTV card

- - **many more (please mail me if you are missing in this list and would**

    like to be mentioned)

---

# Building support for a media device

_Peios Kernel / Administration / System administration / Media devices_

> The first step is to download the Kernel's source code, either via a distribution-specific source file or via the Kernel's main git tree1.

> **Peios:** The upstream Linux build, report and distribution procedures below apply in that context. Use [Building Peios](</kernel/development/start-here/building-peios.md>) and [Peios Standards and Conventions](https://learn.peios.org/psc/) for Peios development and track Peios work in Acta.


<a id="rst-building-support-for-a-media-device"></a>

<!-- SPDX-License-Identifier: GPL-2.0 -->

The first step is to download the Kernel's source code, either via a distribution-specific source file or via the Kernel's main git tree<a id="rst-footnote-reference-1"></a>[1](#rst-footnote-1).

Please notice, however, that, if:

- you're a braveheart and want to experiment with new stuff;

- if you want to report a bug;

- if you're developing new patches

you should use the main media development tree `master` branch:

> [https://git.linuxtv.org/media.git/](<https://git.linuxtv.org/media.git/>)

In this case, you may find some useful information at the [LinuxTv wiki pages](<https://linuxtv.org/wiki>)<a id="rst-linuxtv-wiki-pages"></a>:

> [https://linuxtv.org/wiki/index.php/How_to_Obtain,\_Build_and_Install_V4L-DVB_Device_Drivers](<https://linuxtv.org/wiki/index.php/How_to_Obtain,_Build_and_Install_V4L-DVB_Device_Drivers>)

<a id="rst-footnote-1"></a>



**[1]** The upstream Linux Kernel development tree is located at

[https://git.kernel.org/pub/scm/li](<https://git.kernel.org/pub/scm/li>)  nux/kernel/git/torvalds/linux.git/

<a id="rst-configuring-the-linux-kernel"></a>

## Configuring the Linux Kernel

You can access a menu of Kernel building options with:



```text
$ make menuconfig
```

Then, select all desired options and exit it, saving the configuration.

The changed configuration will be at the `.config` file. It would look like:



```text
...
# CONFIG_RC_CORE is not set
# CONFIG_CEC_CORE is not set
CONFIG_MEDIA_SUPPORT=m
CONFIG_MEDIA_SUPPORT_FILTER=y
...
```

The media subsystem is controlled by those menu configuration options:



```text
Device Drivers --->
    <M> Remote Controller support  --->
    [ ] HDMI CEC RC integration
    [ ] Enable CEC error injection support
    [*] HDMI CEC drivers  --->
    <*> Multimedia support  --->
```

The `Remote Controller support` option enables the core support for remote controllers<a id="rst-footnote-reference-2"></a>[2](#rst-footnote-2).

The `HDMI CEC RC integration` option enables integration of HDMI CEC with Linux, allowing to receive data via HDMI CEC as if it were produced by a remote controller directly connected to the machine.

The `HDMI CEC drivers` option allow selecting platform and USB drivers that receives and/or transmits CEC codes via HDMI interfaces<a id="rst-footnote-reference-3"></a>[3](#rst-footnote-3).

The last option (`Multimedia support`) enables support for cameras, audio/video grabbers and TV.

The media subsystem support can either be built together with the main Kernel or as a module. For most use cases, it is preferred to have it built as modules.

> [!NOTE]
>
> Instead of using a menu, the Kernel provides a script with allows enabling configuration options directly. To enable media support and remote controller support using Kernel modules, you could use:
>
>
>
> ```text
> $ scripts/config -m RC_CORE
> $ scripts/config -m MEDIA_SUPPORT
> ```

<a id="rst-footnote-2"></a>



**[2]** `Remote Controller support` should also be enabled if you want to use some TV card drivers that may depend on the remote controller core support.

<a id="rst-footnote-3"></a>



**[3]** Please notice that the DRM subsystem also have drivers for GPUs that use the media HDMI CEC support.

Those GPU-specific drivers are selected via the `Graphics support` menu, under `Device Drivers`.

When a GPU driver supports HDMI CEC, it will automatically enable the CEC core support at the media subsystem.

<a id="rst-media-dependencies"></a>

### Media dependencies

It should be noticed that enabling the above from a clean config is usually not enough. The media subsystem depends on several other Linux core support in order to work.

For example, most media devices use a serial communication bus in order to talk with some peripherals. Such bus is called I²C (Inter-Integrated Circuit). In order to be able to build support for such hardware, the I²C bus support should be enabled, either via menu or with:



```text
./scripts/config -m I2C
```

Another example: the remote controller core requires support for input devices, with can be enabled with:



```text
./scripts/config -m INPUT
```

Other core functionality may also be needed (like PCI and/or USB support), depending on the specific driver(s) you would like to enable.

<a id="rst-enabling-remote-controller-support"></a>

### Enabling Remote Controller Support

The remote controller menu allows selecting drivers for specific devices. It's menu looks like this:



```text
--- Remote Controller support
<M>   Compile Remote Controller keymap modules
[*]   LIRC user interface
[*]     Support for eBPF programs attached to lirc devices
[*]   Remote controller decoders  --->
[*]   Remote Controller devices  --->
```

The `Compile Remote Controller keymap modules` option creates key maps for several popular remote controllers.

The `LIRC user interface` option adds enhanced functionality when using the `lirc` program, by enabling an API that allows userspace to receive raw data from remote controllers.

The `Support for eBPF programs attached to lirc devices` option allows the usage of special programs (called eBPF) that would allow applications to add extra remote controller decoding functionality to the Linux Kernel.

The `Remote controller decoders` option allows selecting the protocols that will be recognized by the Linux Kernel. Except if you want to disable some specific decoder, it is suggested to keep all sub-options enabled.

The `Remote Controller devices` allows you to select the drivers that would be needed to support your device.

The same configuration can also be set via the `script/config` script. So, for instance, in order to support the ITE remote controller driver (found on Intel NUCs and on some ASUS x86 desktops), you could do:



```text
$ scripts/config -e INPUT
$ scripts/config -e ACPI
$ scripts/config -e MODULES
$ scripts/config -m RC_CORE
$ scripts/config -e RC_DEVICES
$ scripts/config -e RC_DECODERS
$ scripts/config -m IR_RC5_DECODER
$ scripts/config -m IR_ITE_CIR
```

<a id="rst-enabling-hdmi-cec-support"></a>

### Enabling HDMI CEC Support

The HDMI CEC support is set automatically when a driver requires it. So, all you need to do is to enable support either for a graphics card that needs it or by one of the existing HDMI drivers.

The HDMI-specific drivers are available at the `HDMI CEC drivers` menu<a id="rst-footnote-reference-4"></a>[4](#rst-footnote-4):



```text
--- HDMI CEC drivers
< >   ChromeOS EC CEC driver
< >   Amlogic Meson AO CEC driver
< >   Amlogic Meson G12A AO CEC driver
< >   Generic GPIO-based CEC driver
< >   Samsung S5P CEC driver
< >   STMicroelectronics STiH4xx HDMI CEC driver
< >   STMicroelectronics STM32 HDMI CEC driver
< >   Tegra HDMI CEC driver
< >   SECO Boards HDMI CEC driver
[ ]     SECO Boards IR RC5 support
< >   Pulse Eight HDMI CEC
< >   RainShadow Tech HDMI CEC
```

<a id="rst-footnote-4"></a>



**[4]** The above contents is just an example. The actual options for HDMI devices depends on the system's architecture and may vary on new Kernels.

<a id="rst-enabling-media-support"></a>

### Enabling Media Support

The Media menu has a lot more options than the remote controller menu. Once selected, you should see the following options:



```text
--- Media support
[ ] Filter media drivers
[*] Autoselect ancillary drivers
    Media device types --->
    Media core support --->
    Video4Linux options --->
    Media controller options --->
    Digital TV options --->
    HDMI CEC options --->
    Media drivers --->
    Media ancillary drivers --->
```

Except if you know exactly what you're doing, or if you want to build a driver for a SoC platform, it is strongly recommended to keep the `Autoselect ancillary drivers` option turned on, as it will auto-select the needed I²C ancillary drivers.

There are now two ways to select media device drivers, as described below.

<a id="rst-filter-media-drivers-menu"></a>

#### `Filter media drivers` menu

This menu is meant to easy setup for PC and Laptop hardware. It works by letting the user to specify what kind of media drivers are desired, with those options:



```text
[ ] Cameras and video grabbers
[ ] Analog TV
[ ] Digital TV
[ ] AM/FM radio receivers/transmitters
[ ] Software defined radio
[ ] Platform-specific devices
[ ] Test drivers
```

So, if you want to add support to a camera or video grabber only, select just the first option. Multiple options are allowed.

Once the options on this menu are selected, the building system will auto-select the needed core drivers in order to support the selected functionality.

> [!NOTE]
>
> Most TV cards are hybrid: they support both Analog TV and Digital TV.
>
> If you have an hybrid card, you may need to enable both `Analog TV` and `Digital TV` at the menu.

When using this option, the defaults for the media support core functionality are usually good enough to provide the basic functionality for the driver. Yet, you could manually enable some desired extra (optional) functionality using the settings under each of the following `Media support` sub-menus:



```text
Media core support --->
Video4Linux options --->
Media controller options --->
Digital TV options --->
HDMI CEC options --->
```

Once you select the desired filters, the drivers that matches the filtering criteria will be available at the `Media support->Media drivers` sub-menu.

<a id="rst-media-core-support-menu-without-filtering"></a>

#### `Media Core Support` menu without filtering

If you disable the `Filter media drivers` menu, all drivers available for your system whose dependencies are met should be shown at the `Media drivers` menu.

Please notice, however, that you should first ensure that the `Media Core Support` menu has all the core functionality your drivers would need, as otherwise the corresponding device drivers won't be shown.

<a id="rst-example"></a>

### Example

In order to enable modular support for one of the boards listed on [this table](</kernel/administration/admin-guide/media/cx231xx-cardlist.md>), with modular media core modules, the `.config` file should contain those lines:



```text
CONFIG_MODULES=y
CONFIG_USB=y
CONFIG_I2C=y
CONFIG_INPUT=y
CONFIG_RC_CORE=m
CONFIG_MEDIA_SUPPORT=m
CONFIG_MEDIA_SUPPORT_FILTER=y
CONFIG_MEDIA_ANALOG_TV_SUPPORT=y
CONFIG_MEDIA_DIGITAL_TV_SUPPORT=y
CONFIG_MEDIA_USB_SUPPORT=y
CONFIG_VIDEO_CX231XX=y
CONFIG_VIDEO_CX231XX_DVB=y
```

<a id="rst-building-and-installing-a-new-kernel"></a>

## Building and installing a new Kernel

Once the `.config` file has everything needed, all it takes to build is to run the `make` command:



```text
$ make
```

And then install the new Kernel and its modules:



```text
$ sudo make modules_install
$ sudo make install
```

<a id="rst-building-just-the-new-media-drivers-and-core"></a>

## Building just the new media drivers and core

Running a new development Kernel from the development tree is usually risky, because it may have experimental changes that may have bugs. So, there are some ways to build just the new drivers, using alternative trees.

There is the [Linux Kernel backports project](<https://backports.wiki.kernel.org/index.php/Main_Page>)<a id="rst-linux-kernel-backports-project"></a>, with contains newer drivers meant to be compiled against stable Kernels.

The LinuxTV developers, with are responsible for maintaining the media subsystem also maintains a backport tree, with just the media drivers daily updated from the newest kernel. Such tree is available at:

[https://git.linuxtv.org/media_build.git/](<https://git.linuxtv.org/media_build.git/>)

It should be noticed that, while it should be relatively safe to use the `media_build` tree for testing purposes, there are not warranties that it would work (or even build) on a random Kernel. This tree is maintained using a "best-efforts" principle, as time permits us to fix issues there.

If you notice anything wrong on it, feel free to submit patches at the Linux media subsystem's mailing list: [media@vger.kernel.org](<mailto:media@vger.kernel.org>). Please add `[PATCH media-build]` at the e-mail's subject if you submit a new patch for the media-build.

Before using it, you should run:



```text
$ ./build
```

> [!NOTE]
>
> 1. you may need to run it twice if the `media-build` tree gets updated;
>
> 2. you may need to do a `make distclean` if you had built it in the past for a different Kernel version than the one you're currently using;
>
> 3. by default, it will use the same config options for media as the ones defined on the Kernel you're running.

In order to select different drivers or different config options, use:



```text
$ make menuconfig
```

Then, you can build and install the new drivers:



```text
$ make && sudo make install
```

This will override the previous media drivers that your Kernel were using.

---

# Amlogic C3 Image Signal Processing (C3ISP) driver

_Peios Kernel / Administration / System administration / Media devices_

> This file documents the Amlogic C3ISP driver located under drivers/media/platform/amlogic/c3/isp.

<a id="rst-amlogic-c3-image-signal-processing-c3isp-driver"></a>

<!-- SPDX-License-Identifier: (GPL-2.0-only OR MIT) -->

<!-- This data file has been placed in the public domain. -->

<!-- Derived from the Unicode character mappings available from
<http://www.w3.org/2003/entities/xml/>.
Processed by unicode2rstsubs.py, part of Docutils:
<https://docutils.sourceforge.io>. -->

<a id="rst-introduction"></a>

## Introduction

This file documents the Amlogic C3ISP driver located under drivers/media/platform/amlogic/c3/isp.

The current version of the driver supports the C3ISP found on Amlogic C308L processor.

The driver implements V4L2, Media controller and V4L2 subdev interfaces. Camera sensor using V4L2 subdev interface in the kernel is supported.

The driver has been tested on AW419-C308L-Socket platform.

<a id="rst-amlogic-c3-isp"></a>

## Amlogic C3 ISP

The Camera hardware found on C308L processors and supported by the driver consists of:

- 1 MIPI-CSI-2 module: handles the physical layer of the MIPI CSI-2 receiver and receives data from the connected camera sensor.

- 1 MIPI-ADAPTER module: organizes MIPI data to meet ISP input requirements and send MIPI data to ISP.

- 1 ISP (Image Signal Processing) module: contains a pipeline of image processing hardware blocks. The ISP pipeline contains three resizers at the end each of them connected to a DMA interface which writes the output data to memory.

A high-level functional view of the C3 ISP is presented below.:



```text
                                                                 +----------+    +-------+
                                                                 | Resizer  |--->| WRMIF |
+---------+    +------------+    +--------------+    +-------+   |----------+    +-------+
| Sensor  |--->| MIPI CSI-2 |--->| MIPI ADAPTER |--->|  ISP  |---|----------+    +-------+
+---------+    +------------+    +--------------+    +-------+   | Resizer  |--->| WRMIF |
                                                                 +----------+    +-------+
                                                                 |----------+    +-------+
                                                                 | Resizer  |--->| WRMIF |
                                                                 +----------+    +-------+
```

<a id="rst-driver-architecture-and-design"></a>

## Driver architecture and design

With the goal to model the hardware links between the modules and to expose a clean, logical and usable interface, the driver registers the following V4L2 sub-devices:

- 1 `c3-mipi-csi2` sub-device - the MIPI CSI-2 receiver

- 1 `c3-mipi-adapter` sub-device - the MIPI adapter

- 1 `c3-isp-core` sub-device - the ISP core

- 3 `c3-isp-resizer` sub-devices - the ISP resizers

The `c3-isp-core` sub-device is linked to 2 video device nodes for statistics capture and parameters programming:

- the `c3-isp-stats` capture video device node for statistics capture

- the `c3-isp-params` output video device for parameters programming

Each `c3-isp-resizer` sub-device is linked to a capture video device node where frames are captured from:

- `c3-isp-resizer0` is linked to the `c3-isp-cap0` capture video device

- `c3-isp-resizer1` is linked to the `c3-isp-cap1` capture video device

- `c3-isp-resizer2` is linked to the `c3-isp-cap2` capture video device

The media controller pipeline graph is as follows (with connected a IMX290 camera sensor):

<a id="rst-isp-topology-graph"></a>

```mermaid
flowchart TB
  n0["pad 0<br/>pad 1<br/>c3-isp-core<br/>/dev/v4l-subdev0<br/>pad 2<br/>pad 3<br/>pad 4<br/>pad 5"]
  n1["pad 0<br/>c3-isp-resizer0<br/>/dev/v4l-subdev1<br/>pad 1"]
  n2["pad 0<br/>c3-isp-resizer1<br/>/dev/v4l-subdev2<br/>pad 1"]
  n3["pad 0<br/>c3-isp-resizer2<br/>/dev/v4l-subdev3<br/>pad 1"]
  n4["c3-isp-stats<br/>/dev/video3"]
  n5["c3-isp-cap0<br/>/dev/video0"]
  n6["c3-isp-cap1<br/>/dev/video1"]
  n7["c3-isp-cap2<br/>/dev/video2"]
  n8["pad 0<br/>c3-mipi-adapter<br/>/dev/v4l-subdev4<br/>pad 1"]
  n9["pad 0<br/>c3-mipi-csi2<br/>/dev/v4l-subdev5<br/>pad 1"]
  n10["c3-isp-params<br/>/dev/video4"]
  n11["imx290 2-001a<br/>/dev/v4l-subdev6<br/>pad 0"]
  n0 -->|"pad 3 → pad 0"| n1
  n0 -->|"pad 4 → pad 0"| n2
  n0 -->|"pad 5 → pad 0"| n3
  n0 -->|"from pad 2"| n4
  n1 -->|"from pad 1"| n5
  n2 -->|"from pad 1"| n6
  n3 -->|"from pad 1"| n7
  n8 -->|"pad 1 → pad 0"| n0
  n9 -->|"pad 1 → pad 0"| n8
  n10 -->|"to pad 1"| n0
  n11 -->|"pad 0 → pad 0"| n9
  style n0 fill:green,color:#111
  style n1 fill:green,color:#111
  style n2 fill:green,color:#111
  style n3 fill:green,color:#111
  style n4 fill:yellow,color:#111
  style n5 fill:yellow,color:#111
  style n6 fill:yellow,color:#111
  style n7 fill:yellow,color:#111
  style n8 fill:green,color:#111
  style n9 fill:green,color:#111
  style n10 fill:yellow,color:#111
  style n11 fill:green,color:#111
  linkStyle 4 stroke-width:3px
  linkStyle 5 stroke-width:3px
  linkStyle 6 stroke-width:3px
  linkStyle 7 stroke-width:3px
  linkStyle 8 stroke-width:3px
  linkStyle 10 stroke-width:3px
```

c3-isp.dot

Media pipeline topology

<a id="rst-implementation"></a>

## Implementation

Runtime configuration of the ISP hardware is performed on the `c3-isp-params` video device node using the [V4L2_META_FMT_C3ISP_PARAMS](</kernel/userspace/userspace-api/media-v4l/metafmt-c3-isp.md#rst-v4l2-meta-fmt-c3isp-params>) as data format. The buffer structure is defined by `c3_isp_params_cfg`.

Statistics are captured from the `c3-isp-stats` video device node using the [V4L2_META_FMT_C3ISP_STATS](</kernel/userspace/userspace-api/media-v4l/metafmt-c3-isp.md#rst-v4l2-meta-fmt-c3isp-stats>) data format.

The final picture size and format is configured using the V4L2 video capture interface on the `c3-isp-cap[0, 2]` video device nodes.

The Amlogic C3 ISP is supported by [libcamera](<https://libcamera.org>)<a id="rst-libcamera"></a> with a dedicated pipeline handler and algorithms that perform run-time image correction and enhancement.

---

# The cafe_ccic driver

_Peios Kernel / Administration / System administration / Media devices_

> Author: Jonathan Corbet <corbet@lwn.net>

<a id="rst-the-cafe-ccic-driver"></a>

<!-- SPDX-License-Identifier: GPL-2.0 -->

Author: Jonathan Corbet &lt;[corbet@lwn.net](<mailto:corbet@lwn.net>)&gt;

<a id="rst-introduction"></a>

## Introduction

"cafe_ccic" is a driver for the Marvell 88ALP01 "cafe" CMOS camera controller.  This is the controller found in first-generation OLPC systems, and this driver was written with support from the OLPC project.

Current status: the core driver works.  It can generate data in YUV422, RGB565, and RGB444 formats.  (Anybody looking at the code will see RGB32 as well, but that is a debugging aid which will be removed shortly).  VGA and QVGA modes work; CIF is there but the colors remain funky.  Only the OV7670 sensor is known to work with this controller at this time.

To try it out: either of these commands will work:



```none
$ mplayer tv:// -tv driver=v4l2:width=640:height=480 -nosound
$ mplayer tv:// -tv driver=v4l2:width=640:height=480:outfmt=bgr16 -nosound
```

The "xawtv" utility also works; gqcam does not, for unknown reasons.

<a id="rst-load-time-options"></a>

## Load time options

There are a few load-time options, most of which can be changed after loading via sysfs as well:

> - alloc_bufs_at_load:  Normally, the driver will not allocate any DMA buffers until the time comes to transfer data.  If this option is set, then worst-case-sized buffers will be allocated at module load time. This option nails down the memory for the life of the module, but perhaps decreases the chances of an allocation failure later on.
>
> - dma_buf_size: The size of DMA buffers to allocate.  Note that this option is only consulted for load-time allocation; when buffers are allocated at run time, they will be sized appropriately for the current camera settings.
>
> - n_dma_bufs: The controller can cycle through either two or three DMA buffers.  Normally, the driver tries to use three buffers; on faster systems, however, it will work well with only two.
>
> - min_buffers: The minimum number of streaming I/O buffers that the driver will consent to work with.  Default is one, but, on slower systems, better behavior with mplayer can be achieved by setting to a higher value (like six).
>
> - max_buffers: The maximum number of streaming I/O buffers; default is ten.  That number was carefully picked out of a hat and should not be assumed to actually mean much of anything.
>
> - flip: If this boolean parameter is set, the sensor will be instructed to invert the video image.  Whether it makes sense is determined by how your particular camera is mounted.

---

# Cards List

_Peios Kernel / Administration / System administration / Media devices_

> The media subsystem provide support for lots of PCI and USB drivers, plus platform-specific drivers. It also contains several ancillary I²C drivers.

<a id="rst-cards-list"></a>

<!-- SPDX-License-Identifier: GPL-2.0 -->

The media subsystem provide support for lots of PCI and USB drivers, plus platform-specific drivers. It also contains several ancillary I²C drivers.

The platform-specific drivers are usually present on embedded systems, or are supported by the main board. Usually, setting them is done via OpenFirmware or ACPI.

The PCI and USB drivers, however, are independent of the system's board, and may be added/removed by the user.

You may also take a look at [https://linuxtv.org/wiki/index.php/Hardware_Device_Information](<https://linuxtv.org/wiki/index.php/Hardware_Device_Information>) for more details about supported cards.

- [USB drivers](</kernel/administration/admin-guide/media/usb-cardlist.md>)
- [pci-cardlist](<https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/Documentation/admin-guide/media/pci-cardlist.rst?id=9021cc14f7d98b4a1d2c932f52c5343d4d0f6b92>)
- [Platform drivers](</kernel/administration/admin-guide/media/platform-cardlist.md>)
- [Radio drivers](</kernel/administration/admin-guide/media/radio-cardlist.md>)
- [I²C drivers](</kernel/administration/admin-guide/media/i2c-cardlist.md>)
- [Firewire driver](</kernel/administration/admin-guide/media/misc-cardlist.md>)

---

# HDMI CEC

_Peios Kernel / Administration / System administration / Media devices_

> HDMI Transmitters:

<a id="rst-hdmi-cec"></a>

<!-- SPDX-License-Identifier: GPL-2.0 -->

<a id="rst-supported-hardware-in-mainline"></a>

## Supported hardware in mainline

HDMI Transmitters:

- Exynos4

- Exynos5

- STIH4xx HDMI CEC

- V4L2 adv7511 (same HW, but a different driver from the drm adv7511)

- stm32

- Allwinner A10 (sun4i)

- Raspberry Pi

- dw-hdmi (Synopsis IP)

- amlogic (meson ao-cec and ao-cec-g12a)

- drm adv7511/adv7533

- omap4

- tegra

- rk3288, rk3399

- tda998x

- DisplayPort CEC-Tunneling-over-AUX on i915, nouveau and amdgpu

- ChromeOS EC CEC

- CEC for SECO boards (UDOO x86).

- Chrontel CH7322

HDMI Receivers:

- adv7604/11/12

- adv7842

- tc358743

USB Dongles (see below for additional information on how to use these dongles):

- Pulse-Eight: the pulse8-cec driver implements the following module option: `persistent_config`: by default this is off, but when set to 1 the driver will store the current settings to the device's internal eeprom and restore it the next time the device is connected to the USB port.

- RainShadow Tech. Note: this driver does not support the persistent_config module option of the Pulse-Eight driver. The hardware supports it, but I have no plans to add this feature. But I accept patches :-)

- Extron DA HD 4K PLUS HDMI Distribution Amplifier. See [Extron DA HD 4K PLUS CEC Adapter driver](<#rst-extron-da-hd-4k-plus>) for more information.

Miscellaneous:

- vivid: emulates a CEC receiver and CEC transmitter. Can be used to test CEC applications without actual CEC hardware.

- cec-gpio. If the CEC pin is hooked up to a GPIO pin then you can control the CEC line through this driver. This supports error injection as well.

- cec-gpio and Allwinner A10 (or any other driver that uses the CEC pin framework to drive the CEC pin directly): the CEC pin framework uses high-resolution timers. These timers are affected by NTP daemons that speed up or slow down the clock to sync with the official time. The chronyd server will by default increase or decrease the clock by 1/12th. This will cause the CEC timings to go out of spec. To fix this, add a 'maxslewrate 40000' line to chronyd.conf. This limits the clock frequency change to 1/25th, which keeps the CEC timings within spec.

<a id="rst-utilities"></a>

## Utilities

Utilities are available here: [https://git.linuxtv.org/v4l-utils.git](<https://git.linuxtv.org/v4l-utils.git>)

`utils/cec-ctl`: control a CEC device

`utils/cec-compliance`: test compliance of a remote CEC device

`utils/cec-follower`: emulate a CEC follower device

Note that `cec-ctl` has support for the CEC Hospitality Profile as is used in some hotel displays. See [http://www.htng.org](<http://www.htng.org>).

Note that the libcec library ([https://github.com/Pulse-Eight/libcec](<https://github.com/Pulse-Eight/libcec>)) supports the linux CEC framework.

If you want to get the CEC specification, then look at the References of the HDMI wikipedia page: [https://en.wikipedia.org/wiki/HDMI](<https://en.wikipedia.org/wiki/HDMI>). CEC is part of the HDMI specification. HDMI 1.3 is freely available (very similar to HDMI 1.4 w.r.t. CEC) and should be good enough for most things.

<a id="rst-displayport-to-hdmi-adapters-with-working-cec"></a>

## DisplayPort to HDMI Adapters with working CEC

Background: most adapters do not support the CEC Tunneling feature, and of those that do many did not actually connect the CEC pin. Unfortunately, this means that while a CEC device is created, it is actually all alone in the world and will never be able to see other CEC devices.

This is a list of known working adapters that have CEC Tunneling AND that properly connected the CEC pin. If you find adapters that work but are not in this list, then drop me a note.

To test: hook up your DP-to-HDMI adapter to a CEC capable device (typically a TV), then run:



```text
cec-ctl --playback      # Configure the PC as a CEC Playback device
cec-ctl -S              # Show the CEC topology
```

The `cec-ctl -S` command should show at least two CEC devices, ourselves and the CEC device you are connected to (i.e. typically the TV).

General note: I have only seen this work with the Parade PS175, PS176 and PS186 chipsets and the MegaChips 2900. While MegaChips 28x0 claims CEC support, I have never seen it work.

<a id="rst-usb-c-to-hdmi"></a>

### USB-C to HDMI

Samsung Multiport Adapter EE-PW700: [https://www.samsung.com/ie/support/model/EE-PW700BBEGWW/](<https://www.samsung.com/ie/support/model/EE-PW700BBEGWW/>)

Kramer ADC-U31C/HF: [https://www.kramerav.com/product/ADC-U31C/HF](<https://www.kramerav.com/product/ADC-U31C/HF>)

Club3D CAC-2504: [https://www.club-3d.com/en/detail/2449/usb_3.1_type_c_to_hdmi_2.0_uhd_4k_60hz_active_adapter/](<https://www.club-3d.com/en/detail/2449/usb_3.1_type_c_to_hdmi_2.0_uhd_4k_60hz_active_adapter/>)

<a id="rst-displayport-to-hdmi"></a>

### DisplayPort to HDMI

Club3D CAC-1080: [https://www.club-3d.com/en/detail/2442/displayport_1.4_to_hdmi_2.0b_hdr/](<https://www.club-3d.com/en/detail/2442/displayport_1.4_to_hdmi_2.0b_hdr/>)

CableCreation (SKU: CD0712): [https://www.cablecreation.com/products/active-displayport-to-hdmi-adapter-4k-hdr](<https://www.cablecreation.com/products/active-displayport-to-hdmi-adapter-4k-hdr>)

HP DisplayPort to HDMI True 4k Adapter (P/N 2JA63AA): [https://www.hp.com/us-en/shop/pdp/hp-displayport-to-hdmi-true-4k-adapter](<https://www.hp.com/us-en/shop/pdp/hp-displayport-to-hdmi-true-4k-adapter>)

<a id="rst-mini-displayport-to-hdmi"></a>

### Mini-DisplayPort to HDMI

Club3D CAC-1180: [https://www.club-3d.com/en/detail/2443/mini_displayport_1.4_to_hdmi_2.0b_hdr/](<https://www.club-3d.com/en/detail/2443/mini_displayport_1.4_to_hdmi_2.0b_hdr/>)

Note that passive adapters will never work, you need an active adapter.

The Club3D adapters in this list are all MegaChips 2900 based. Other Club3D adapters are PS176 based and do NOT have the CEC pin hooked up, so only the three Club3D adapters above are known to work.

I suspect that MegaChips 2900 based designs in general are likely to work whereas with the PS176 it is more hit-and-miss (mostly miss). The PS186 is likely to have the CEC pin hooked up, it looks like they changed the reference design for that chipset.

<a id="rst-usb-cec-dongles"></a>

## USB CEC Dongles

These dongles appear as `/dev/ttyACMX` devices and need the `inputattach` utility to create the `/dev/cecX` devices. Support for the Pulse-Eight has been added to `inputattach` 1.6.0. Support for the Rainshadow Tech has been added to `inputattach` 1.6.1.

You also need udev rules to automatically start systemd services:



```text
SUBSYSTEM=="tty", KERNEL=="ttyACM[0-9]*", ATTRS{idVendor}=="2548", ATTRS{idProduct}=="1002", ACTION=="add", TAG+="systemd", ENV{SYSTEMD_WANTS}+="pulse8-cec-inputattach@%k.service"
SUBSYSTEM=="tty", KERNEL=="ttyACM[0-9]*", ATTRS{idVendor}=="2548", ATTRS{idProduct}=="1001", ACTION=="add", TAG+="systemd", ENV{SYSTEMD_WANTS}+="pulse8-cec-inputattach@%k.service"
SUBSYSTEM=="tty", KERNEL=="ttyACM[0-9]*", ATTRS{idVendor}=="04d8", ATTRS{idProduct}=="ff59", ACTION=="add", TAG+="systemd", ENV{SYSTEMD_WANTS}+="rainshadow-cec-inputattach@%k.service"
```

and these systemd services:

For Pulse-Eight make /lib/systemd/system/pulse8-cec-inputattach@.service:



```text
[Unit]
Description=inputattach for pulse8-cec device on %I

[Service]
Type=simple
ExecStart=/usr/bin/inputattach --pulse8-cec /dev/%I
```

For the RainShadow Tech make /lib/systemd/system/rainshadow-cec-inputattach@.service:



```text
[Unit]
Description=inputattach for rainshadow-cec device on %I

[Service]
Type=simple
ExecStart=/usr/bin/inputattach --rainshadow-cec /dev/%I
```

For proper suspend/resume support create: /lib/systemd/system/restart-cec-inputattach.service:



```text
[Unit]
Description=restart inputattach for cec devices
After=suspend.target

[Service]
Type=forking
ExecStart=/bin/bash -c 'for d in /dev/serial/by-id/usb-Pulse-Eight*; do /usr/bin/inputattach --daemon --pulse8-cec $d; done; for d in /dev/serial/by-id/usb-RainShadow_Tech*; do /usr/bin/inputattach --daemon --rainshadow-cec $d; done'

[Install]
WantedBy=suspend.target
```

And run `systemctl enable restart-cec-inputattach`.

To automatically set the physical address of the CEC device whenever the EDID changes, you can use `cec-ctl` with the `-E` option:



```text
cec-ctl -E /sys/class/drm/card0-DP-1/edid
```

This assumes the dongle is connected to the card0-DP-1 output (`xrandr` will tell you which output is used) and it will poll for changes to the EDID and update the Physical Address whenever they occur.

To automatically run this command you can use cron. Edit crontab with `crontab -e` and add this line:



```text
@reboot /usr/local/bin/cec-ctl -E /sys/class/drm/card0-DP-1/edid
```

This only works for display drivers that expose the EDID in `/sys/class/drm`, such as the i915 driver.

<a id="rst-cec-without-hpd"></a>

## CEC Without HPD

Some displays when in standby mode have no HDMI Hotplug Detect signal, but CEC is still enabled so connected devices can send an &lt;Image View On&gt; CEC message in order to wake up such displays. Unfortunately, not all CEC adapters can support this. An example is the Odroid-U3 SBC that has a level-shifter that is powered off when the HPD signal is low, thus blocking the CEC pin. Even though the SoC can use CEC without a HPD, the level-shifter will prevent this from functioning.

There is a CEC capability flag to signal this: `CEC_CAP_NEEDS_HPD`. If set, then the hardware cannot wake up displays with this behavior.

Note for CEC application implementers: the &lt;Image View On&gt; message must be the first message you send, don't send any other messages before. Certain very bad but unfortunately not uncommon CEC implementations get very confused if they receive anything else but this message and they won't wake up.

When writing a driver it can be tricky to test this. There are two ways to do this:

1. Get a Pulse-Eight USB CEC dongle, connect an HDMI cable from your device to the Pulse-Eight, but do not connect the Pulse-Eight to the display.

   Now configure the Pulse-Eight dongle:



   ```text
   cec-ctl -p0.0.0.0 --tv
   ```

   and start monitoring:



   ```text
   sudo cec-ctl -M
   ```

   On the device you are testing run:



   ```text
   cec-ctl --playback
   ```

   It should report a physical address of f.f.f.f. Now run this command:



   ```text
   cec-ctl -t0 --image-view-on
   ```

   The Pulse-Eight should see the &lt;Image View On&gt; message. If not, then something (hardware and/or software) is preventing the CEC message from going out.

   To make sure you have the wiring correct just connect the Pulse-Eight to a CEC-enabled display and run the same command on your device: now there is a HPD, so you should see the command arriving at the Pulse-Eight.

2. If you have another linux device supporting CEC without HPD, then you can just connect your device to that device. Yes, you can connect two HDMI outputs together. You won't have a HPD (which is what we want for this test), but the second device can monitor the CEC pin.

   Otherwise use the same commands as in 1.

If CEC messages do not come through when there is no HPD, then you need to figure out why. Typically it is either a hardware restriction or the software powers off the CEC core when the HPD goes low. The first cannot be corrected of course, the second will likely required driver changes.

<a id="rst-microcontrollers-cec"></a>

## Microcontrollers &amp; CEC

We have seen some CEC implementations in displays that use a microcontroller to sample the bus. This does not have to be a problem, but some implementations have timing issues. This is hard to discover unless you can hook up a low-level CEC debugger (see the next section).

You will see cases where the CEC transmitter holds the CEC line high or low for a longer time than is allowed. For directed messages this is not a problem since if that happens the message will not be Acked and it will be retransmitted. For broadcast messages no such mechanism exists.

It's not clear what to do about this. It is probably wise to transmit some broadcast messages twice to reduce the chance of them being lost. Specifically &lt;Standby&gt; and &lt;Active Source&gt; are candidates for that.

<a id="rst-making-a-cec-debugger"></a>

## Making a CEC debugger

By using a Raspberry Pi 4B and some cheap components you can make your own low-level CEC debugger.

The critical component is one of these HDMI female-female passthrough connectors (full soldering type 1):

[https://elabbay.myshopify.com/collections/camera/products/hdmi-af-af-v1a-hdmi-type-a-female-to-hdmi-type-a-female-pass-through-adapter-breakout-board?variant=45533926147](<https://elabbay.myshopify.com/collections/camera/products/hdmi-af-af-v1a-hdmi-type-a-female-to-hdmi-type-a-female-pass-through-adapter-breakout-board?variant=45533926147>)

The video quality is variable and certainly not enough to pass-through 4kp60 (594 MHz) video. You might be able to support 4kp30, but more likely you will be limited to 1080p60 (148.5 MHz). But for CEC testing that is fine.

You need a breadboard and some breadboard wires:

[http://www.dx.com/p/diy-40p-male-to-female-male-to-male-female-to-female-dupont-line-wire-3pcs-356089\#.WYLOOXWGN7I](<http://www.dx.com/p/diy-40p-male-to-female-male-to-male-female-to-female-dupont-line-wire-3pcs-356089#.WYLOOXWGN7I>)

If you want to monitor the HPD and/or 5V lines as well, then you need one of these 5V to 3.3V level shifters:

[https://www.adafruit.com/product/757](<https://www.adafruit.com/product/757>)

(This is just where I got these components, there are many other places you can get similar things).

The ground pin of the HDMI connector needs to be connected to a ground pin of the Raspberry Pi, of course.

The CEC pin of the HDMI connector needs to be connected to these pins: GPIO 6 and GPIO 7. The optional HPD pin of the HDMI connector should be connected via the level shifter to these pins: GPIO 23 and GPIO 12. The optional 5V pin of the HDMI connector should be connected via the level shifter to these pins: GPIO 25 and GPIO 22. Monitoring the HPD and 5V lines is not necessary, but it is helpful.

This device tree addition in `arch/arm/boot/dts/bcm2711-rpi-4-b.dts` will hook up the cec-gpio driver correctly:



```text
cec@6 {
        compatible = "cec-gpio";
        cec-gpios = <&gpio 6 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
        hpd-gpios = <&gpio 23 GPIO_ACTIVE_HIGH>;
        v5-gpios = <&gpio 25 GPIO_ACTIVE_HIGH>;
};

cec@7 {
        compatible = "cec-gpio";
        cec-gpios = <&gpio 7 (GPIO_ACTIVE_HIGH|GPIO_OPEN_DRAIN)>;
        hpd-gpios = <&gpio 12 GPIO_ACTIVE_HIGH>;
        v5-gpios = <&gpio 22 GPIO_ACTIVE_HIGH>;
};
```

If you haven't hooked up the HPD and/or 5V lines, then just delete those lines.

This dts change will enable two cec GPIO devices: I typically use one to send/receive CEC commands and the other to monitor. If you monitor using an unconfigured CEC adapter then it will use GPIO interrupts which makes monitoring very accurate.

If you just want to monitor traffic, then a single instance is sufficient. The minimum configuration is one HDMI female-female passthrough connector and two female-female breadboard wires: one for connecting the HDMI ground pin to a ground pin on the Raspberry Pi, and the other to connect the HDMI CEC pin to GPIO 6 on the Raspberry Pi.

The documentation on how to use the error injection is here: [CEC Pin Framework Error Injection](</kernel/userspace/userspace-api/media-cec/cec-pin-error-inj.md#rst-cec-pin-error-inj>).

`cec-ctl --monitor-pin` will do low-level CEC bus sniffing and analysis. You can also store the CEC traffic to file using `--store-pin` and analyze it later using `--analyze-pin`.

You can also use this as a full-fledged CEC device by configuring it using `cec-ctl --tv -p0.0.0.0` or `cec-ctl --playback -p1.0.0.0`.

<a id="rst-extron-da-hd-4k-plus-cec-adapter-driver"></a>
<a id="rst-extron-da-hd-4k-plus"></a>

## Extron DA HD 4K PLUS CEC Adapter driver

This driver is for the Extron DA HD 4K PLUS series of HDMI Distribution Amplifiers: [https://www.extron.com/product/dahd4kplusseries](<https://www.extron.com/product/dahd4kplusseries>)

The 2, 4 and 6 port models are supported.

Firmware version 1.02.0001 or higher is required.

Note that older Extron hardware revisions have a problem with the CEC voltage, which may mean that CEC will not work. This is fixed in hardware revisions E34814 and up.

The CEC support has two modes: the first is a manual mode where userspace has to manually control CEC for the HDMI Input and all HDMI Outputs. While this gives full control, it is also complicated.

The second mode is an automatic mode, which is selected if the module option `vendor_id` is set. In that case the driver controls CEC and CEC messages received in the input will be distributed to the outputs. It is still possible to use the /dev/cecX devices to talk to the connected devices directly, but it is the driver that configures everything and deals with things like Hotplug Detect changes.

The driver also takes care of the EDIDs: /dev/videoX devices are created to read the EDIDs and (for the HDMI Input port) to set the EDID.

By default userspace is responsible to set the EDID for the HDMI Input according to the EDIDs of the connected displays. But if the `manufacturer_name` module option is set, then the driver will take care of setting the EDID of the HDMI Input based on the supported resolutions of the connected displays. Currently the driver only supports resolutions 1080p60 and 4kp60: if all connected displays support 4kp60, then it will advertise 4kp60 on the HDMI input, otherwise it will fall back to an EDID that just reports 1080p60.

The status of the Extron is reported in `/sys/kernel/debug/cec/cecX/status`.

The extron-da-hd-4k-plus driver implements the following module options:

<a id="rst-debug"></a>

### `debug`

If set to 1, then all serial port traffic is shown.

<a id="rst-vendor-id"></a>

### `vendor_id`

The CEC Vendor ID to report to connected displays.

If set, then the driver will take care of distributing CEC messages received on the input to the HDMI outputs. This is done for the following CEC messages:

- &lt;Standby&gt;

- &lt;Image View On&gt; and &lt;Text View On&gt;

- &lt;Give Device Power Status&gt;

- &lt;Set System Audio Mode&gt;

- &lt;Request Current Latency&gt;

If not set, then userspace is responsible for this, and it will have to configure the CEC devices for HDMI Input and the HDMI Outputs manually.

<a id="rst-manufacturer-name"></a>

### `manufacturer_name`

A three character manufacturer name that is used in the EDID for the HDMI Input. If not set, then userspace is responsible for configuring an EDID. If set, then the driver will update the EDID automatically based on the resolutions supported by the connected displays, and it will not be possible anymore to manually set the EDID for the HDMI Input.

<a id="rst-hpd-never-low"></a>

### `hpd_never_low`

If set, then the Hotplug Detect pin of the HDMI Input will always be high, even if nothing is connected to the HDMI Outputs. If not set (the default) then the Hotplug Detect pin of the HDMI input will go low if all the detected Hotplug Detect pins of the HDMI Outputs are also low.

This option may be changed dynamically.

---

# Digital TV Conditional Access Interface

_Peios Kernel / Administration / System administration / Media devices_

> This document describes the usage of the high level CI API as in accordance to the Linux DVB API. This is a not a documentation for the, existing low level CI API.

<a id="rst-digital-tv-conditional-access-interface"></a>

<!-- SPDX-License-Identifier: GPL-2.0 -->

> [!NOTE]
>
> This documentation is outdated.

This document describes the usage of the high level CI API as in accordance to the Linux DVB API. This is a not a documentation for the, existing low level CI API.

> [!NOTE]
>
> For the Twinhan/Twinhan clones, the dst_ca module handles the CI hardware handling. This module is loaded automatically if a CI (Common Interface, that holds the CAM (Conditional Access Module) is detected.

<a id="rst-ca-zap"></a>

## ca_zap

A userspace application, like `ca_zap` is required to handle encrypted MPEG-TS streams.

The `ca_zap` userland application is in charge of sending the descrambling related information to the Conditional Access Module (CAM).

This application requires the following to function properly as of now.

- **a)** Tune to a valid channel, with szap.

> eg: $ szap -c channels.conf -r "TMC" -x

- **b)** a channels.conf containing a valid PMT PID

> eg: TMC:11996:h:0:27500:278:512:650:321
>
> here 278 is a valid PMT PID. the rest of the values are the same ones that szap uses.

- **c)** after running a szap, you have to run ca_zap, for the descrambler to function,

> eg: $ ca_zap channels.conf "TMC"

- **d)** Hopefully enjoy your favourite subscribed channel as you do with a FTA card.

> [!NOTE]
>
> Currently ca_zap, and dst_test, both are meant for demonstration purposes only, they can become full fledged applications if necessary.

<a id="rst-cards-that-fall-in-this-category"></a>

## Cards that fall in this category

At present the cards that fall in this category are the Twinhan and its clones, these cards are available as VVMER, Tomato, Hercules, Orange and so on.

<a id="rst-ci-modules-that-are-supported"></a>

## CI modules that are supported

The CI module support is largely dependent upon the firmware on the cards Some cards do support almost all of the available CI modules. There is nothing much that can be done in order to make additional CI modules working with these cards.

Modules that have been tested by this driver at present are

1. Irdeto 1 and 2 from SCM

2. Viaccess from SCM

3. Dragoncam

---

# CX18 cards list

_Peios Kernel / Administration / System administration / Media devices_

> Those cards are supported by cx18 driver:

<a id="rst-cx18-cards-list"></a>

<!-- SPDX-License-Identifier: GPL-2.0 -->

Those cards are supported by cx18 driver:

- Hauppauge HVR-1600 (ESMT memory)

- Hauppauge HVR-1600 (Samsung memory)

- Compro VideoMate H900

- Yuan MPC718 MiniPCI DVB-T/Analog

- Conexant Raptor PAL/SECAM

- Toshiba Qosmio DVB-T/Analog

- Leadtek WinFast PVR2100

- Leadtek WinFast DVR3100

- GoTView PCI DVD3 Hybrid

- Hauppauge HVR-1600 (s5h1411/tda18271)

---

# cx231xx cards list

_Peios Kernel / Administration / System administration / Media devices_

> Reference for cx231xx cards list.

<a id="rst-cx231xx-cards-list"></a>

<!-- SPDX-License-Identifier: GPL-2.0 -->

<!-- tabularcolumns: |p{1.4cm}|p{10.0cm}|p{6.5cm}| -->


<table>
<thead>
<tr>
<th>


Card number

</th>
<th>


Card name

</th>
<th>


USB IDs

</th>
</tr>
</thead>
<tbody>
<tr>
<td>


0

</td>
<td>


Unknown CX231xx video grabber

</td>
<td>


0572:5A3C

</td>
</tr>
<tr>
<td>


1

</td>
<td>


Conexant Hybrid TV - CARRAERA

</td>
<td>


0572:58A2

</td>
</tr>
<tr>
<td>


2

</td>
<td>


Conexant Hybrid TV - SHELBY

</td>
<td>


0572:58A1

</td>
</tr>
<tr>
<td>


3

</td>
<td>


Conexant Hybrid TV - RDE253S

</td>
<td>


0572:58A4

</td>
</tr>
<tr>
<td>


4

</td>
<td>


Conexant Hybrid TV - RDU253S

</td>
<td>


0572:58A5

</td>
</tr>
<tr>
<td>


5

</td>
<td>


Conexant VIDEO GRABBER

</td>
<td>


0572:58A6, 07ca:c039

</td>
</tr>
<tr>
<td>


6

</td>
<td>


Conexant Hybrid TV - rde 250

</td>
<td>


0572:589E

</td>
</tr>
<tr>
<td>


7

</td>
<td>


Conexant Hybrid TV - RDU 250

</td>
<td>


0572:58A0

</td>
</tr>
<tr>
<td>


8

</td>
<td>


Hauppauge EXETER

</td>
<td>


2040:b120, 2040:b140

</td>
</tr>
<tr>
<td>


9

</td>
<td>


Hauppauge USB Live 2

</td>
<td>


2040:c200

</td>
</tr>
<tr>
<td>


10

</td>
<td>


Pixelview PlayTV USB Hybrid

</td>
<td>


4000:4001

</td>
</tr>
<tr>
<td>


11

</td>
<td>


Pixelview Xcapture USB

</td>
<td>


1D19:6109, 4000:4001

</td>
</tr>
<tr>
<td>


12

</td>
<td>


Kworld UB430 USB Hybrid

</td>
<td>


1b80:e424

</td>
</tr>
<tr>
<td>


13

</td>
<td>


Iconbit Analog Stick U100 FM

</td>
<td>


1f4d:0237

</td>
</tr>
<tr>
<td>


14

</td>
<td>


Hauppauge WinTV USB2 FM (PAL)

</td>
<td>


2040:b110

</td>
</tr>
<tr>
<td>


15

</td>
<td>


Hauppauge WinTV USB2 FM (NTSC)

</td>
<td>


2040:b111

</td>
</tr>
<tr>
<td>


16

</td>
<td>


Elgato Video Capture V2

</td>
<td>


0fd9:0037

</td>
</tr>
<tr>
<td>


17

</td>
<td>


Geniatech OTG102

</td>
<td>


1f4d:0102

</td>
</tr>
<tr>
<td>


18

</td>
<td>


Kworld UB445 USB Hybrid

</td>
<td>


1b80:e421

</td>
</tr>
<tr>
<td>


19

</td>
<td>


Hauppauge WinTV 930C-HD (1113xx) / HVR-900H (111xxx) / PCTV QuatroStick 521e

</td>
<td>


2040:b130, 2040:b138, 2013:0259

</td>
</tr>
<tr>
<td>


20

</td>
<td>


Hauppauge WinTV 930C-HD (1114xx) / HVR-901H (1114xx) / PCTV QuatroStick 522e

</td>
<td>


2040:b131, 2040:b139, 2013:025e

</td>
</tr>
<tr>
<td>


21

</td>
<td>


Hauppauge WinTV-HVR-955Q (111401)

</td>
<td>


2040:b123, 2040:b124

</td>
</tr>
<tr>
<td>


22

</td>
<td>


Terratec Grabby

</td>
<td>


1f4d:0102

</td>
</tr>
<tr>
<td>


23

</td>
<td>


Evromedia USB Full Hybrid Full HD

</td>
<td>


1b80:d3b2

</td>
</tr>
<tr>
<td>


24

</td>
<td>


Astrometa T2hybrid

</td>
<td>


15f4:0135

</td>
</tr>
<tr>
<td>


25

</td>
<td>


The Imaging Source DFG/USB2pro

</td>
<td>


199e:8002

</td>
</tr>
<tr>
<td>


26

</td>
<td>


Hauppauge WinTV-HVR-935C

</td>
<td>


2040:b151

</td>
</tr>
<tr>
<td>


27

</td>
<td>


Hauppauge WinTV-HVR-975

</td>
<td>


2040:b150

</td>
</tr>
</tbody>
</table>

---

# cx23885 cards list

_Peios Kernel / Administration / System administration / Media devices_

> Reference for cx23885 cards list.

<a id="rst-cx23885-cards-list"></a>

<!-- SPDX-License-Identifier: GPL-2.0 -->

<!-- tabularcolumns: |p{1.4cm}|p{11.1cm}|p{4.2cm}| -->


<table>
<thead>
<tr>
<th>


Card number

</th>
<th>


Card name

</th>
<th>


PCI subsystem IDs

</th>
</tr>
</thead>
<tbody>
<tr>
<td>


0

</td>
<td>


UNKNOWN/GENERIC

</td>
<td>


0070:3400

</td>
</tr>
<tr>
<td>


1

</td>
<td>


Hauppauge WinTV-HVR1800lp

</td>
<td>


0070:7600

</td>
</tr>
<tr>
<td>


2

</td>
<td>


Hauppauge WinTV-HVR1800

</td>
<td>


0070:7800, 0070:7801, 0070:7809

</td>
</tr>
<tr>
<td>


3

</td>
<td>


Hauppauge WinTV-HVR1250

</td>
<td>


0070:7911

</td>
</tr>
<tr>
<td>


4

</td>
<td>


DViCO FusionHDTV5 Express

</td>
<td>


18ac:d500

</td>
</tr>
<tr>
<td>


5

</td>
<td>


Hauppauge WinTV-HVR1500Q

</td>
<td>


0070:7790, 0070:7797

</td>
</tr>
<tr>
<td>


6

</td>
<td>


Hauppauge WinTV-HVR1500

</td>
<td>


0070:7710, 0070:7717

</td>
</tr>
<tr>
<td>


7

</td>
<td>


Hauppauge WinTV-HVR1200

</td>
<td>


0070:71d1, 0070:71d3

</td>
</tr>
<tr>
<td>


8

</td>
<td>


Hauppauge WinTV-HVR1700

</td>
<td>


0070:8101

</td>
</tr>
<tr>
<td>


9

</td>
<td>


Hauppauge WinTV-HVR1400

</td>
<td>


0070:8010

</td>
</tr>
<tr>
<td>


10

</td>
<td>


DViCO FusionHDTV7 Dual Express

</td>
<td>


18ac:d618

</td>
</tr>
<tr>
<td>


11

</td>
<td>


DViCO FusionHDTV DVB-T Dual Express

</td>
<td>


18ac:db78

</td>
</tr>
<tr>
<td>


12

</td>
<td>


Leadtek Winfast PxDVR3200 H

</td>
<td>


107d:6681

</td>
</tr>
<tr>
<td>


13

</td>
<td>


Compro VideoMate E650F

</td>
<td>


185b:e800

</td>
</tr>
<tr>
<td>


14

</td>
<td>


TurboSight TBS 6920

</td>
<td>


6920:8888

</td>
</tr>
<tr>
<td>


15

</td>
<td>


TeVii S470

</td>
<td>


d470:9022

</td>
</tr>
<tr>
<td>


16

</td>
<td>


DVBWorld DVB-S2 2005

</td>
<td>


0001:2005

</td>
</tr>
<tr>
<td>


17

</td>
<td>


NetUP Dual DVB-S2 CI

</td>
<td>


1b55:2a2c

</td>
</tr>
<tr>
<td>


18

</td>
<td>


Hauppauge WinTV-HVR1270

</td>
<td>


0070:2211

</td>
</tr>
<tr>
<td>


19

</td>
<td>


Hauppauge WinTV-HVR1275

</td>
<td>


0070:2215, 0070:221d, 0070:22f2

</td>
</tr>
<tr>
<td>


20

</td>
<td>


Hauppauge WinTV-HVR1255

</td>
<td>


0070:2251, 0070:22f1

</td>
</tr>
<tr>
<td>


21

</td>
<td>


Hauppauge WinTV-HVR1210

</td>
<td>


0070:2291, 0070:2295, 0070:2299, 0070:229d, 0070:22f0, 0070:22f3, 0070:22f4, 0070:22f5

</td>
</tr>
<tr>
<td>


22

</td>
<td>


Mygica X8506 DMB-TH

</td>
<td>


14f1:8651

</td>
</tr>
<tr>
<td>


23

</td>
<td>


Magic-Pro ProHDTV Extreme 2

</td>
<td>


14f1:8657

</td>
</tr>
<tr>
<td>


24

</td>
<td>


Hauppauge WinTV-HVR1850

</td>
<td>


0070:8541

</td>
</tr>
<tr>
<td>


25

</td>
<td>


Compro VideoMate E800

</td>
<td>


1858:e800

</td>
</tr>
<tr>
<td>


26

</td>
<td>


Hauppauge WinTV-HVR1290

</td>
<td>


0070:8551

</td>
</tr>
<tr>
<td>


27

</td>
<td>


Mygica X8558 PRO DMB-TH

</td>
<td>


14f1:8578

</td>
</tr>
<tr>
<td>


28

</td>
<td>


LEADTEK WinFast PxTV1200

</td>
<td>


107d:6f22

</td>
</tr>
<tr>
<td>


29

</td>
<td>


GoTView X5 3D Hybrid

</td>
<td>


5654:2390

</td>
</tr>
<tr>
<td>


30

</td>
<td>


NetUP Dual DVB-T/C-CI RF

</td>
<td>


1b55:e2e4

</td>
</tr>
<tr>
<td>


31

</td>
<td>


Leadtek Winfast PxDVR3200 H XC4000

</td>
<td>


107d:6f39

</td>
</tr>
<tr>
<td>


32

</td>
<td>


MPX-885

</td>
<td>




</td>
</tr>
<tr>
<td>


33

</td>
<td>


Mygica X8502/X8507 ISDB-T

</td>
<td>


14f1:8502

</td>
</tr>
<tr>
<td>


34

</td>
<td>


TerraTec Cinergy T PCIe Dual

</td>
<td>


153b:117e

</td>
</tr>
<tr>
<td>


35

</td>
<td>


TeVii S471

</td>
<td>


d471:9022

</td>
</tr>
<tr>
<td>


36

</td>
<td>


Hauppauge WinTV-HVR1255

</td>
<td>


0070:2259

</td>
</tr>
<tr>
<td>


37

</td>
<td>


Prof Revolution DVB-S2 8000

</td>
<td>


8000:3034

</td>
</tr>
<tr>
<td>


38

</td>
<td>


Hauppauge WinTV-HVR4400/HVR5500

</td>
<td>


0070:c108, 0070:c138, 0070:c1f8

</td>
</tr>
<tr>
<td>


39

</td>
<td>


AVerTV Hybrid Express Slim HC81R

</td>
<td>


1461:d939

</td>
</tr>
<tr>
<td>


40

</td>
<td>


TurboSight TBS 6981

</td>
<td>


6981:8888

</td>
</tr>
<tr>
<td>


41

</td>
<td>


TurboSight TBS 6980

</td>
<td>


6980:8888

</td>
</tr>
<tr>
<td>


42

</td>
<td>


Leadtek Winfast PxPVR2200

</td>
<td>


107d:6f21

</td>
</tr>
<tr>
<td>


43

</td>
<td>


Hauppauge ImpactVCB-e

</td>
<td>


0070:7133, 0070:7137

</td>
</tr>
<tr>
<td>


44

</td>
<td>


DViCO FusionHDTV DVB-T Dual Express2

</td>
<td>


18ac:db98

</td>
</tr>
<tr>
<td>


45

</td>
<td>


DVBSky T9580

</td>
<td>


4254:9580

</td>
</tr>
<tr>
<td>


46

</td>
<td>


DVBSky T980C

</td>
<td>


4254:980c

</td>
</tr>
<tr>
<td>


47

</td>
<td>


DVBSky S950C

</td>
<td>


4254:950c

</td>
</tr>
<tr>
<td>


48

</td>
<td>


Technotrend TT-budget CT2-4500 CI

</td>
<td>


13c2:3013

</td>
</tr>
<tr>
<td>


49

</td>
<td>


DVBSky S950

</td>
<td>


4254:0950

</td>
</tr>
<tr>
<td>


50

</td>
<td>


DVBSky S952

</td>
<td>


4254:0952

</td>
</tr>
<tr>
<td>


51

</td>
<td>


DVBSky T982

</td>
<td>


4254:0982

</td>
</tr>
<tr>
<td>


52

</td>
<td>


Hauppauge WinTV-HVR5525

</td>
<td>


0070:f038

</td>
</tr>
<tr>
<td>


53

</td>
<td>


Hauppauge WinTV Starburst

</td>
<td>


0070:c12a

</td>
</tr>
<tr>
<td>


54

</td>
<td>


ViewCast 260e

</td>
<td>


1576:0260

</td>
</tr>
<tr>
<td>


55

</td>
<td>


ViewCast 460e

</td>
<td>


1576:0460

</td>
</tr>
<tr>
<td>


56

</td>
<td>


Hauppauge WinTV-QuadHD-DVB

</td>
<td>


0070:6a28, 0070:6b28

</td>
</tr>
<tr>
<td>


57

</td>
<td>


Hauppauge WinTV-QuadHD-ATSC

</td>
<td>


0070:6a18, 0070:6b18

</td>
</tr>
<tr>
<td>


58

</td>
<td>


Hauppauge WinTV-HVR-1265(161111)

</td>
<td>


0070:2a18

</td>
</tr>
<tr>
<td>


59

</td>
<td>


Hauppauge WinTV-Starburst2

</td>
<td>


0070:f02a

</td>
</tr>
<tr>
<td>


60

</td>
<td>


Hauppauge WinTV-QuadHD-DVB(885)

</td>
<td>




</td>
</tr>
<tr>
<td>


61

</td>
<td>


Hauppauge WinTV-QuadHD-ATSC(885)

</td>
<td>




</td>
</tr>
<tr>
<td>


62

</td>
<td>


AVerMedia CE310B

</td>
<td>


1461:3100

</td>
</tr>
</tbody>
</table>

---

# CX88 cards list

_Peios Kernel / Administration / System administration / Media devices_

> Reference for CX88 cards list.

<a id="rst-cx88-cards-list"></a>

<!-- SPDX-License-Identifier: GPL-2.0 -->

<!-- tabularcolumns: |p{1.4cm}|p{11.1cm}|p{4.2cm}| -->


<table>
<thead>
<tr>
<th>


Card number

</th>
<th>


Card name

</th>
<th>


PCI subsystem IDs

</th>
</tr>
</thead>
<tbody>
<tr>
<td>


0

</td>
<td>


UNKNOWN/GENERIC

</td>
<td>




</td>
</tr>
<tr>
<td>


1

</td>
<td>


Hauppauge WinTV 34xxx models

</td>
<td>


0070:3400, 0070:3401

</td>
</tr>
<tr>
<td>


2

</td>
<td>


GDI Black Gold

</td>
<td>


14c7:0106, 14c7:0107

</td>
</tr>
<tr>
<td>


3

</td>
<td>


PixelView

</td>
<td>


1554:4811

</td>
</tr>
<tr>
<td>


4

</td>
<td>


ATI TV Wonder Pro

</td>
<td>


1002:00f8, 1002:00f9

</td>
</tr>
<tr>
<td>


5

</td>
<td>


Leadtek Winfast 2000XP Expert

</td>
<td>


107d:6611, 107d:6613

</td>
</tr>
<tr>
<td>


6

</td>
<td>


AverTV Studio 303 (M126)

</td>
<td>


1461:000b

</td>
</tr>
<tr>
<td>


7

</td>
<td>


MSI [TV-@nywhere](<mailto:TV-@nywhere>) Master

</td>
<td>


1462:8606

</td>
</tr>
<tr>
<td>


8

</td>
<td>


Leadtek Winfast DV2000

</td>
<td>


107d:6620, 107d:6621

</td>
</tr>
<tr>
<td>


9

</td>
<td>


Leadtek PVR 2000

</td>
<td>


107d:663b, 107d:663c, 107d:6632, 107d:6630, 107d:6638, 107d:6631, 107d:6637, 107d:663d

</td>
</tr>
<tr>
<td>


10

</td>
<td>


IODATA GV-VCP3/PCI

</td>
<td>


10fc:d003

</td>
</tr>
<tr>
<td>


11

</td>
<td>


Prolink PlayTV PVR

</td>
<td>




</td>
</tr>
<tr>
<td>


12

</td>
<td>


ASUS PVR-416

</td>
<td>


1043:4823, 1461:c111

</td>
</tr>
<tr>
<td>


13

</td>
<td>


MSI [TV-@nywhere](<mailto:TV-@nywhere>)

</td>
<td>




</td>
</tr>
<tr>
<td>


14

</td>
<td>


KWorld/VStream XPert DVB-T

</td>
<td>


17de:08a6

</td>
</tr>
<tr>
<td>


15

</td>
<td>


DViCO FusionHDTV DVB-T1

</td>
<td>


18ac:db00

</td>
</tr>
<tr>
<td>


16

</td>
<td>


KWorld LTV883RF

</td>
<td>




</td>
</tr>
<tr>
<td>


17

</td>
<td>


DViCO FusionHDTV 3 Gold-Q

</td>
<td>


18ac:d810, 18ac:d800

</td>
</tr>
<tr>
<td>


18

</td>
<td>


Hauppauge Nova-T DVB-T

</td>
<td>


0070:9002, 0070:9001, 0070:9000

</td>
</tr>
<tr>
<td>


19

</td>
<td>


Conexant DVB-T reference design

</td>
<td>


14f1:0187

</td>
</tr>
<tr>
<td>


20

</td>
<td>


Provideo PV259

</td>
<td>


1540:2580

</td>
</tr>
<tr>
<td>


21

</td>
<td>


DViCO FusionHDTV DVB-T Plus

</td>
<td>


18ac:db10, 18ac:db11

</td>
</tr>
<tr>
<td>


22

</td>
<td>


pcHDTV HD3000 HDTV

</td>
<td>


7063:3000

</td>
</tr>
<tr>
<td>


23

</td>
<td>


digitalnow DNTV Live\! DVB-T

</td>
<td>


17de:a8a6

</td>
</tr>
<tr>
<td>


24

</td>
<td>


Hauppauge WinTV 28xxx (Roslyn) models

</td>
<td>


0070:2801

</td>
</tr>
<tr>
<td>


25

</td>
<td>


Digital-Logic MICROSPACE Entertainment Center (MEC)

</td>
<td>


14f1:0342

</td>
</tr>
<tr>
<td>


26

</td>
<td>


IODATA GV/BCTV7E

</td>
<td>


10fc:d035

</td>
</tr>
<tr>
<td>


27

</td>
<td>


PixelView PlayTV Ultra Pro (Stereo)

</td>
<td>




</td>
</tr>
<tr>
<td>


28

</td>
<td>


DViCO FusionHDTV 3 Gold-T

</td>
<td>


18ac:d820

</td>
</tr>
<tr>
<td>


29

</td>
<td>


ADS Tech Instant TV DVB-T PCI

</td>
<td>


1421:0334

</td>
</tr>
<tr>
<td>


30

</td>
<td>


TerraTec Cinergy 1400 DVB-T

</td>
<td>


153b:1166

</td>
</tr>
<tr>
<td>


31

</td>
<td>


DViCO FusionHDTV 5 Gold

</td>
<td>


18ac:d500

</td>
</tr>
<tr>
<td>


32

</td>
<td>


AverMedia UltraTV Media Center PCI 550

</td>
<td>


1461:8011

</td>
</tr>
<tr>
<td>


33

</td>
<td>


Kworld V-Stream Xpert DVD

</td>
<td>




</td>
</tr>
<tr>
<td>


34

</td>
<td>


ATI HDTV Wonder

</td>
<td>


1002:a101

</td>
</tr>
<tr>
<td>


35

</td>
<td>


WinFast DTV1000-T

</td>
<td>


107d:665f

</td>
</tr>
<tr>
<td>


36

</td>
<td>


AVerTV 303 (M126)

</td>
<td>


1461:000a

</td>
</tr>
<tr>
<td>


37

</td>
<td>


Hauppauge Nova-S-Plus DVB-S

</td>
<td>


0070:9201, 0070:9202

</td>
</tr>
<tr>
<td>


38

</td>
<td>


Hauppauge Nova-SE2 DVB-S

</td>
<td>


0070:9200

</td>
</tr>
<tr>
<td>


39

</td>
<td>


KWorld DVB-S 100

</td>
<td>


17de:08b2, 1421:0341

</td>
</tr>
<tr>
<td>


40

</td>
<td>


Hauppauge WinTV-HVR1100 DVB-T/Hybrid

</td>
<td>


0070:9400, 0070:9402

</td>
</tr>
<tr>
<td>


41

</td>
<td>


Hauppauge WinTV-HVR1100 DVB-T/Hybrid (Low Profile)

</td>
<td>


0070:9800, 0070:9802

</td>
</tr>
<tr>
<td>


42

</td>
<td>


digitalnow DNTV Live\! DVB-T Pro

</td>
<td>


1822:0025, 1822:0019

</td>
</tr>
<tr>
<td>


43

</td>
<td>


KWorld/VStream XPert DVB-T with cx22702

</td>
<td>


17de:08a1, 12ab:2300

</td>
</tr>
<tr>
<td>


44

</td>
<td>


DViCO FusionHDTV DVB-T Dual Digital

</td>
<td>


18ac:db50, 18ac:db54

</td>
</tr>
<tr>
<td>


45

</td>
<td>


KWorld HardwareMpegTV XPert

</td>
<td>


17de:0840, 1421:0305

</td>
</tr>
<tr>
<td>


46

</td>
<td>


DViCO FusionHDTV DVB-T Hybrid

</td>
<td>


18ac:db40, 18ac:db44

</td>
</tr>
<tr>
<td>


47

</td>
<td>


pcHDTV HD5500 HDTV

</td>
<td>


7063:5500

</td>
</tr>
<tr>
<td>


48

</td>
<td>


Kworld MCE 200 Deluxe

</td>
<td>


17de:0841

</td>
</tr>
<tr>
<td>


49

</td>
<td>


PixelView PlayTV P7000

</td>
<td>


1554:4813

</td>
</tr>
<tr>
<td>


50

</td>
<td>


NPG Tech Real TV FM Top 10

</td>
<td>


14f1:0842

</td>
</tr>
<tr>
<td>


51

</td>
<td>


WinFast DTV2000 H

</td>
<td>


107d:665e

</td>
</tr>
<tr>
<td>


52

</td>
<td>


Geniatech DVB-S

</td>
<td>


14f1:0084

</td>
</tr>
<tr>
<td>


53

</td>
<td>


Hauppauge WinTV-HVR3000 TriMode Analog/DVB-S/DVB-T

</td>
<td>


0070:1404, 0070:1400, 0070:1401, 0070:1402

</td>
</tr>
<tr>
<td>


54

</td>
<td>


Norwood Micro TV Tuner

</td>
<td>




</td>
</tr>
<tr>
<td>


55

</td>
<td>


Shenzhen Tungsten Ages Tech TE-DTV-250 / Swann OEM

</td>
<td>


c180:c980

</td>
</tr>
<tr>
<td>


56

</td>
<td>


Hauppauge WinTV-HVR1300 DVB-T/Hybrid MPEG Encoder

</td>
<td>


0070:9600, 0070:9601, 0070:9602

</td>
</tr>
<tr>
<td>


57

</td>
<td>


ADS Tech Instant Video PCI

</td>
<td>


1421:0390

</td>
</tr>
<tr>
<td>


58

</td>
<td>


Pinnacle PCTV HD 800i

</td>
<td>


11bd:0051

</td>
</tr>
<tr>
<td>


59

</td>
<td>


DViCO FusionHDTV 5 PCI nano

</td>
<td>


18ac:d530

</td>
</tr>
<tr>
<td>


60

</td>
<td>


Pinnacle Hybrid PCTV

</td>
<td>


12ab:1788

</td>
</tr>
<tr>
<td>


61

</td>
<td>


Leadtek TV2000 XP Global

</td>
<td>


107d:6f18, 107d:6618, 107d:6619

</td>
</tr>
<tr>
<td>


62

</td>
<td>


PowerColor RA330

</td>
<td>


14f1:ea3d

</td>
</tr>
<tr>
<td>


63

</td>
<td>


Geniatech X8000-MT DVBT

</td>
<td>


14f1:8852

</td>
</tr>
<tr>
<td>


64

</td>
<td>


DViCO FusionHDTV DVB-T PRO

</td>
<td>


18ac:db30

</td>
</tr>
<tr>
<td>


65

</td>
<td>


DViCO FusionHDTV 7 Gold

</td>
<td>


18ac:d610

</td>
</tr>
<tr>
<td>


66

</td>
<td>


Prolink Pixelview MPEG 8000GT

</td>
<td>


1554:4935

</td>
</tr>
<tr>
<td>


67

</td>
<td>


Kworld PlusTV HD PCI 120 (ATSC 120)

</td>
<td>


17de:08c1

</td>
</tr>
<tr>
<td>


68

</td>
<td>


Hauppauge WinTV-HVR4000 DVB-S/S2/T/Hybrid

</td>
<td>


0070:6900, 0070:6904, 0070:6902

</td>
</tr>
<tr>
<td>


69

</td>
<td>


Hauppauge WinTV-HVR4000(Lite) DVB-S/S2

</td>
<td>


0070:6905, 0070:6906

</td>
</tr>
<tr>
<td>


70

</td>
<td>


TeVii S460 DVB-S/S2

</td>
<td>


d460:9022

</td>
</tr>
<tr>
<td>


71

</td>
<td>


Omicom SS4 DVB-S/S2 PCI

</td>
<td>


A044:2011

</td>
</tr>
<tr>
<td>


72

</td>
<td>


TBS 8920 DVB-S/S2

</td>
<td>


8920:8888

</td>
</tr>
<tr>
<td>


73

</td>
<td>


TeVii S420 DVB-S

</td>
<td>


d420:9022

</td>
</tr>
<tr>
<td>


74

</td>
<td>


Prolink Pixelview Global Extreme

</td>
<td>


1554:4976

</td>
</tr>
<tr>
<td>


75

</td>
<td>


PROF 7300 DVB-S/S2

</td>
<td>


B033:3033

</td>
</tr>
<tr>
<td>


76

</td>
<td>


SATTRADE ST4200 DVB-S/S2

</td>
<td>


b200:4200

</td>
</tr>
<tr>
<td>


77

</td>
<td>


TBS 8910 DVB-S

</td>
<td>


8910:8888

</td>
</tr>
<tr>
<td>


78

</td>
<td>


Prof 6200 DVB-S

</td>
<td>


b022:3022

</td>
</tr>
<tr>
<td>


79

</td>
<td>


Terratec Cinergy HT PCI MKII

</td>
<td>


153b:1177

</td>
</tr>
<tr>
<td>


80

</td>
<td>


Hauppauge WinTV-IR Only

</td>
<td>


0070:9290

</td>
</tr>
<tr>
<td>


81

</td>
<td>


Leadtek WinFast DTV1800 Hybrid

</td>
<td>


107d:6654

</td>
</tr>
<tr>
<td>


82

</td>
<td>


WinFast DTV2000 H rev. J

</td>
<td>


107d:6f2b

</td>
</tr>
<tr>
<td>


83

</td>
<td>


Prof 7301 DVB-S/S2

</td>
<td>


b034:3034

</td>
</tr>
<tr>
<td>


84

</td>
<td>


Samsung SMT 7020 DVB-S

</td>
<td>


18ac:dc00, 18ac:dccd

</td>
</tr>
<tr>
<td>


85

</td>
<td>


Twinhan VP-1027 DVB-S

</td>
<td>


1822:0023

</td>
</tr>
<tr>
<td>


86

</td>
<td>


TeVii S464 DVB-S/S2

</td>
<td>


d464:9022

</td>
</tr>
<tr>
<td>


87

</td>
<td>


Leadtek WinFast DTV2000 H PLUS

</td>
<td>


107d:6f42

</td>
</tr>
<tr>
<td>


88

</td>
<td>


Leadtek WinFast DTV1800 H (XC4000)

</td>
<td>


107d:6f38

</td>
</tr>
<tr>
<td>


89

</td>
<td>


Leadtek TV2000 XP Global (SC4100)

</td>
<td>


107d:6f36

</td>
</tr>
<tr>
<td>


90

</td>
<td>


Leadtek TV2000 XP Global (XC4100)

</td>
<td>


107d:6f43

</td>
</tr>
<tr>
<td>


91

</td>
<td>


NotOnlyTV LV3H

</td>
<td>




</td>
</tr>
</tbody>
</table>

---

# The cx88 driver

_Peios Kernel / Administration / System administration / Media devices_

> Author: Gerd Hoffmann

<a id="rst-the-cx88-driver"></a>

<!-- SPDX-License-Identifier: GPL-2.0 -->

Author:  Gerd Hoffmann

This is a v4l2 device driver for the cx2388x chip.

<a id="rst-current-status"></a>

## Current status

- **video**

  - Works.

  - Overlay isn't supported.

- **audio**

  - Works. The TV standard detection is made by the driver, as the hardware has bugs to auto-detect.

  - audio data dma (i.e. recording without loopback cable to the sound card) is supported via cx88-alsa.

- **vbi**

  - Works.

<a id="rst-how-to-add-support-for-new-cards"></a>

## How to add support for new cards

The driver needs some config info for the TV cards.  This stuff is in cx88-cards.c.  If the driver doesn't work well you likely need a new entry for your card in that file.  Check the kernel log (using dmesg) to see whenever the driver knows your card or not.  There is a line like this one:



```none
cx8800[0]: subsystem: 0070:3400, board: Hauppauge WinTV \
        34xxx models [card=1,autodetected]
```

If your card is listed as "board: UNKNOWN/GENERIC" it is unknown to the driver.  What to do then?

1. Try upgrading to the latest snapshot, maybe it has been added meanwhile.

2. You can try to create a new entry yourself, have a look at cx88-cards.c.  If that worked, mail me your changes as unified diff ("diff -u").

3. Or you can mail me the config information.  We need at least the following information to add the card:

   > - the PCI Subsystem ID ("0070:3400" from the line above, "lspci -v" output is fine too).
   >
   > - the tuner type used by the card.  You can try to find one by trial-and-error using the tuner=&lt;n&gt; insmod option.  If you know which one the card has you can also have a look at the list in CARDLIST.tuner

---

# Digital TV driver-specific documentation

_Peios Kernel / Administration / System administration / Media devices_

> Reference for Digital TV driver-specific documentation.

<a id="rst-digital-tv-driver-specific-documentation"></a>

<!-- SPDX-License-Identifier: GPL-2.0 -->

- [Avermedia DVB-T on BT878 Release Notes](</kernel/administration/admin-guide/media/avermedia.md>)
- [How to get the bt8xx cards working](</kernel/administration/admin-guide/media/bt8xx.md>)
- [Firmware files for lmedm04 cards](</kernel/administration/admin-guide/media/lmedm04.md>)
- [Opera firmware](</kernel/administration/admin-guide/media/opera-firmware.md>)
- [How to set up the Technisat/B2C2 Flexcop devices](</kernel/administration/admin-guide/media/technisat.md>)
- [TechnoTrend/Hauppauge DEC USB Driver](</kernel/administration/admin-guide/media/ttusb-dec.md>)

---

# dvb-usb-a800 cards list

_Peios Kernel / Administration / System administration / Media devices_

> Reference for dvb-usb-a800 cards list.

<a id="rst-dvb-usb-a800-cards-list"></a>

<!-- SPDX-License-Identifier: GPL-2.0 -->

<!-- tabularcolumns: |p{7.0cm}|p{10.5cm}| -->


<table>
<thead>
<tr>
<th>


Card name

</th>
<th>


USB IDs

</th>
</tr>
</thead>
<tbody>
<tr>
<td>


AVerMedia AverTV DVB-T USB 2.0 (A800)

</td>
<td>


07ca:a800, 07ca:a801

</td>
</tr>
</tbody>
</table>

---

# dvb-usb-af9005 cards list

_Peios Kernel / Administration / System administration / Media devices_

> Reference for dvb-usb-af9005 cards list.

<a id="rst-dvb-usb-af9005-cards-list"></a>

<!-- SPDX-License-Identifier: GPL-2.0 -->

<!-- tabularcolumns: |p{7.0cm}|p{10.5cm}| -->


<table>
<thead>
<tr>
<th>


Card name

</th>
<th>


USB IDs

</th>
</tr>
</thead>
<tbody>
<tr>
<td>


Afatech DVB-T USB1.1 stick

</td>
<td>


15a4:9020

</td>
</tr>
<tr>
<td>


Ansonic DVB-T USB1.1 stick

</td>
<td>


10b9:6000

</td>
</tr>
<tr>
<td>


TerraTec Cinergy T USB XE

</td>
<td>


0ccd:0055

</td>
</tr>
</tbody>
</table>

---

# dvb-usb-af9015 cards list

_Peios Kernel / Administration / System administration / Media devices_

> Reference for dvb-usb-af9015 cards list.

<a id="rst-dvb-usb-af9015-cards-list"></a>

<!-- SPDX-License-Identifier: GPL-2.0 -->

<!-- tabularcolumns: |p{7.0cm}|p{10.5cm}| -->


<table>
<thead>
<tr>
<th>


Card name

</th>
<th>


USB IDs

</th>
</tr>
</thead>
<tbody>
<tr>
<td>


AVerMedia A309

</td>
<td>


07ca:a309

</td>
</tr>
<tr>
<td>


AVerMedia AVerTV DVB-T Volar X

</td>
<td>


07ca:a815

</td>
</tr>
<tr>
<td>


Afatech AF9015 reference design

</td>
<td>


15a4:9015, 15a4:9016

</td>
</tr>
<tr>
<td>


AverMedia AVerTV Red HD+ (A850T)

</td>
<td>


07ca:850b

</td>
</tr>
<tr>
<td>


AverMedia AVerTV Volar Black HD (A850)

</td>
<td>


07ca:850a

</td>
</tr>
<tr>
<td>


AverMedia AVerTV Volar GPS 805 (A805)

</td>
<td>


07ca:a805

</td>
</tr>
<tr>
<td>


AverMedia AVerTV Volar M (A815Mac)

</td>
<td>


07ca:815a

</td>
</tr>
<tr>
<td>


Conceptronic USB2.0 DVB-T CTVDIGRCU V3.0

</td>
<td>


1b80:e397

</td>
</tr>
<tr>
<td>


DigitalNow TinyTwin

</td>
<td>


13d3:3226

</td>
</tr>
<tr>
<td>


DigitalNow TinyTwin v2

</td>
<td>


1b80:e402

</td>
</tr>
<tr>
<td>


DigitalNow TinyTwin v3

</td>
<td>


1f4d:9016

</td>
</tr>
<tr>
<td>


Fujitsu-Siemens Slim Mobile USB DVB-T

</td>
<td>


07ca:8150

</td>
</tr>
<tr>
<td>


Genius TVGo DVB-T03

</td>
<td>


0458:4012

</td>
</tr>
<tr>
<td>


KWorld Digital MC-810

</td>
<td>


1b80:c810

</td>
</tr>
<tr>
<td>


KWorld PlusTV DVB-T PCI Pro Card (DVB-T PC160-T)

</td>
<td>


1b80:c161

</td>
</tr>
<tr>
<td>


KWorld PlusTV Dual DVB-T PCI (DVB-T PC160-2T)

</td>
<td>


1b80:c160

</td>
</tr>
<tr>
<td>


KWorld PlusTV Dual DVB-T Stick (DVB-T 399U)

</td>
<td>


1b80:e399, 1b80:e400

</td>
</tr>
<tr>
<td>


KWorld USB DVB-T Stick Mobile (UB383-T)

</td>
<td>


1b80:e383

</td>
</tr>
<tr>
<td>


KWorld USB DVB-T TV Stick II (VS-DVB-T 395U)

</td>
<td>


1b80:e396, 1b80:e39b, 1b80:e395, 1b80:e39a

</td>
</tr>
<tr>
<td>


Leadtek WinFast DTV Dongle Gold

</td>
<td>


0413:6029

</td>
</tr>
<tr>
<td>


Leadtek WinFast DTV2000DS

</td>
<td>


0413:6a04

</td>
</tr>
<tr>
<td>


MSI DIGIVOX Duo

</td>
<td>


1462:8801

</td>
</tr>
<tr>
<td>


MSI Digi VOX mini III

</td>
<td>


1462:8807

</td>
</tr>
<tr>
<td>


Pinnacle PCTV 71e

</td>
<td>


2304:022b

</td>
</tr>
<tr>
<td>


Sveon STV20 Tuner USB DVB-T HDTV

</td>
<td>


1b80:e39d

</td>
</tr>
<tr>
<td>


Sveon STV22 Dual USB DVB-T Tuner HDTV

</td>
<td>


1b80:e401

</td>
</tr>
<tr>
<td>


Telestar Starstick 2

</td>
<td>


10b9:8000

</td>
</tr>
<tr>
<td>


TerraTec Cinergy T Stick Dual RC

</td>
<td>


0ccd:0099

</td>
</tr>
<tr>
<td>


TerraTec Cinergy T Stick RC

</td>
<td>


0ccd:0097

</td>
</tr>
<tr>
<td>


TerraTec Cinergy T USB XE

</td>
<td>


0ccd:0069

</td>
</tr>
<tr>
<td>


TrekStor DVB-T USB Stick

</td>
<td>


15a4:901b

</td>
</tr>
<tr>
<td>


TwinHan AzureWave AD-TU700(704J)

</td>
<td>


13d3:3237

</td>
</tr>
<tr>
<td>


Xtensions XD-380

</td>
<td>


1ae7:0381

</td>
</tr>
</tbody>
</table>

---

# dvb-usb-af9035 cards list

_Peios Kernel / Administration / System administration / Media devices_

> Reference for dvb-usb-af9035 cards list.

<a id="rst-dvb-usb-af9035-cards-list"></a>

<!-- SPDX-License-Identifier: GPL-2.0 -->

<!-- tabularcolumns: |p{7.0cm}|p{10.5cm}| -->


<table>
<thead>
<tr>
<th>


Card name

</th>
<th>


USB IDs

</th>
</tr>
</thead>
<tbody>
<tr>
<td>


AVerMedia AVerTV Volar HD/PRO (A835)

</td>
<td>


07ca:a835, 07ca:b835

</td>
</tr>
<tr>
<td>


AVerMedia HD Volar (A867)

</td>
<td>


07ca:1867, 07ca:a867, 07ca:0337

</td>
</tr>
<tr>
<td>


AVerMedia TD310 DVB-T2

</td>
<td>


07ca:1871

</td>
</tr>
<tr>
<td>


AVerMedia Twinstar (A825)

</td>
<td>


07ca:0825

</td>
</tr>
<tr>
<td>


Afatech AF9035 reference design

</td>
<td>


15a4:9035, 15a4:1000, 15a4:1001, 15a4:1002, 15a4:1003

</td>
</tr>
<tr>
<td>


Asus U3100Mini Plus

</td>
<td>


0b05:1779

</td>
</tr>
<tr>
<td>


Avermedia A835B(1835)

</td>
<td>


07ca:1835

</td>
</tr>
<tr>
<td>


Avermedia A835B(2835)

</td>
<td>


07ca:2835

</td>
</tr>
<tr>
<td>


Avermedia A835B(3835)

</td>
<td>


07ca:3835

</td>
</tr>
<tr>
<td>


Avermedia A835B(4835)

</td>
<td>


07ca:4835

</td>
</tr>
<tr>
<td>


Avermedia AverTV Volar HD 2 (TD110)

</td>
<td>


07ca:a110

</td>
</tr>
<tr>
<td>


Avermedia H335

</td>
<td>


07ca:0335

</td>
</tr>
<tr>
<td>


Digital Dual TV Receiver CTVDIGDUAL_V2

</td>
<td>


1b80:e410

</td>
</tr>
<tr>
<td>


EVOLVEO XtraTV stick

</td>
<td>


1f4d:a115

</td>
</tr>
<tr>
<td>


Hauppauge WinTV-MiniStick 2

</td>
<td>


2040:f900

</td>
</tr>
<tr>
<td>


ITE 9135 Generic

</td>
<td>


048d:9135

</td>
</tr>
<tr>
<td>


ITE 9135(9005) Generic

</td>
<td>


048d:9005

</td>
</tr>
<tr>
<td>


ITE 9135(9006) Generic

</td>
<td>


048d:9006

</td>
</tr>
<tr>
<td>


ITE 9303 Generic

</td>
<td>


048d:9306

</td>
</tr>
<tr>
<td>


Kworld UB499-2T T09

</td>
<td>


1b80:e409

</td>
</tr>
<tr>
<td>


Leadtek WinFast DTV Dongle Dual

</td>
<td>


0413:6a05

</td>
</tr>
<tr>
<td>


Logilink VG0022A

</td>
<td>


1d19:0100

</td>
</tr>
<tr>
<td>


PCTV AndroiDTV (78e)

</td>
<td>


2013:025a

</td>
</tr>
<tr>
<td>


PCTV microStick (79e)

</td>
<td>


2013:0262

</td>
</tr>
<tr>
<td>


Sveon STV22 Dual DVB-T HDTV

</td>
<td>


1b80:e411

</td>
</tr>
<tr>
<td>


TerraTec Cinergy T Stick

</td>
<td>


0ccd:0093

</td>
</tr>
<tr>
<td>


TerraTec Cinergy T Stick (rev. 2)

</td>
<td>


0ccd:00aa

</td>
</tr>
<tr>
<td>


TerraTec Cinergy T Stick Dual RC (rev. 2)

</td>
<td>


0ccd:0099

</td>
</tr>
<tr>
<td>


TerraTec Cinergy TC2 Stick

</td>
<td>


0ccd:10b2

</td>
</tr>
<tr>
<td>


TerraTec T1

</td>
<td>


0ccd:10ae

</td>
</tr>
</tbody>
</table>

---

# dvb-usb-anysee cards list

_Peios Kernel / Administration / System administration / Media devices_

> Reference for dvb-usb-anysee cards list.

<a id="rst-dvb-usb-anysee-cards-list"></a>

<!-- SPDX-License-Identifier: GPL-2.0 -->

<!-- tabularcolumns: |p{7.0cm}|p{10.5cm}| -->


<table>
<thead>
<tr>
<th>


Card name

</th>
<th>


USB IDs

</th>
</tr>
</thead>
<tbody>
<tr>
<td>


Anysee

</td>
<td>


04b4:861f, 1c73:861f

</td>
</tr>
</tbody>
</table>

---

# dvb-usb-au6610 cards list

_Peios Kernel / Administration / System administration / Media devices_

> Reference for dvb-usb-au6610 cards list.

<a id="rst-dvb-usb-au6610-cards-list"></a>

<!-- SPDX-License-Identifier: GPL-2.0 -->

<!-- tabularcolumns: |p{7.0cm}|p{10.5cm}| -->


<table>
<thead>
<tr>
<th>


Card name

</th>
<th>


USB IDs

</th>
</tr>
</thead>
<tbody>
<tr>
<td>


Sigmatek DVB-110

</td>
<td>


058f:6610

</td>
</tr>
</tbody>
</table>

---

# dvb-usb-az6007 cards list

_Peios Kernel / Administration / System administration / Media devices_

> Reference for dvb-usb-az6007 cards list.

<a id="rst-dvb-usb-az6007-cards-list"></a>

<!-- SPDX-License-Identifier: GPL-2.0 -->

<!-- tabularcolumns: |p{7.0cm}|p{10.5cm}| -->


<table>
<thead>
<tr>
<th>


Card name

</th>
<th>


USB IDs

</th>
</tr>
</thead>
<tbody>
<tr>
<td>


Azurewave 6007

</td>
<td>


13d3:0ccd

</td>
</tr>
<tr>
<td>


Technisat CableStar Combo HD CI

</td>
<td>


14f7:0003

</td>
</tr>
<tr>
<td>


Terratec H7

</td>
<td>


0ccd:10b4, 0ccd:10a3

</td>
</tr>
</tbody>
</table>

---

# dvb-usb-az6027 cards list

_Peios Kernel / Administration / System administration / Media devices_

> Reference for dvb-usb-az6027 cards list.

<a id="rst-dvb-usb-az6027-cards-list"></a>

<!-- SPDX-License-Identifier: GPL-2.0 -->

<!-- tabularcolumns: |p{7.0cm}|p{10.5cm}| -->


<table>
<thead>
<tr>
<th>


Card name

</th>
<th>


USB IDs

</th>
</tr>
</thead>
<tbody>
<tr>
<td>


AZUREWAVE DVB-S/S2 USB2.0 (AZ6027)

</td>
<td>


13d3:3275

</td>
</tr>
<tr>
<td>


Elgato EyeTV Sat

</td>
<td>


0fd9:002a, 0fd9:0025, 0fd9:0036

</td>
</tr>
<tr>
<td>


TERRATEC S7

</td>
<td>


0ccd:10a4

</td>
</tr>
<tr>
<td>


TERRATEC S7 MKII

</td>
<td>


0ccd:10ac

</td>
</tr>
<tr>
<td>


Technisat SkyStar USB 2 HD CI

</td>
<td>


14f7:0001, 14f7:0002

</td>
</tr>
</tbody>
</table>

---

# dvb-usb-ce6230 cards list

_Peios Kernel / Administration / System administration / Media devices_

> Reference for dvb-usb-ce6230 cards list.

<a id="rst-dvb-usb-ce6230-cards-list"></a>

<!-- SPDX-License-Identifier: GPL-2.0 -->

<!-- tabularcolumns: |p{7.0cm}|p{10.5cm}| -->


<table>
<thead>
<tr>
<th>


Card name

</th>
<th>


USB IDs

</th>
</tr>
</thead>
<tbody>
<tr>
<td>


AVerMedia A310 USB 2.0 DVB-T tuner

</td>
<td>


07ca:a310

</td>
</tr>
<tr>
<td>


Intel CE9500 reference design

</td>
<td>


8086:9500

</td>
</tr>
</tbody>
</table>

---

# dvb-usb-cinergyT2 cards list

_Peios Kernel / Administration / System administration / Media devices_

> Reference for dvb-usb-cinergyT2 cards list.

<a id="rst-dvb-usb-cinergyt2-cards-list"></a>

<!-- SPDX-License-Identifier: GPL-2.0 -->

<!-- tabularcolumns: |p{7.0cm}|p{10.5cm}| -->


<table>
<thead>
<tr>
<th>


Card name

</th>
<th>


USB IDs

</th>
</tr>
</thead>
<tbody>
<tr>
<td>


TerraTec/qanu USB2.0 Highspeed DVB-T Receiver

</td>
<td>


0ccd:0x0038

</td>
</tr>
</tbody>
</table>

---

# dvb-usb-cxusb cards list

_Peios Kernel / Administration / System administration / Media devices_

> Reference for dvb-usb-cxusb cards list.

<a id="rst-dvb-usb-cxusb-cards-list"></a>

<!-- SPDX-License-Identifier: GPL-2.0 -->

<!-- tabularcolumns: |p{7.0cm}|p{10.5cm}| -->


<table>
<thead>
<tr>
<th>


Card name

</th>
<th>


USB IDs

</th>
</tr>
</thead>
<tbody>
<tr>
<td>


AVerMedia AVerTVHD Volar (A868R)

</td>
<td>




</td>
</tr>
<tr>
<td>


Conexant DMB-TH Stick

</td>
<td>




</td>
</tr>
<tr>
<td>


DViCO FusionHDTV DVB-T Dual Digital 2

</td>
<td>




</td>
</tr>
<tr>
<td>


DViCO FusionHDTV DVB-T Dual Digital 4

</td>
<td>




</td>
</tr>
<tr>
<td>


DViCO FusionHDTV DVB-T Dual Digital 4 (rev 2)

</td>
<td>




</td>
</tr>
<tr>
<td>


DViCO FusionHDTV DVB-T Dual USB

</td>
<td>




</td>
</tr>
<tr>
<td>


DViCO FusionHDTV DVB-T NANO2

</td>
<td>




</td>
</tr>
<tr>
<td>


DViCO FusionHDTV DVB-T USB (LGZ201)

</td>
<td>




</td>
</tr>
<tr>
<td>


DViCO FusionHDTV DVB-T USB (TH7579)

</td>
<td>




</td>
</tr>
<tr>
<td>


DViCO FusionHDTV5 USB Gold

</td>
<td>




</td>
</tr>
<tr>
<td>


DigitalNow DVB-T Dual USB

</td>
<td>




</td>
</tr>
<tr>
<td>


Medion MD95700 (MDUSBTV-HYBRID)

</td>
<td>




</td>
</tr>
<tr>
<td>


Mygica D689 DMB-TH

</td>
<td>




</td>
</tr>
</tbody>
</table>

---

# dvb-usb-dib0700 cards list

_Peios Kernel / Administration / System administration / Media devices_

> Reference for dvb-usb-dib0700 cards list.

<a id="rst-dvb-usb-dib0700-cards-list"></a>

<!-- SPDX-License-Identifier: GPL-2.0 -->

<!-- tabularcolumns: |p{7.0cm}|p{10.5cm}| -->


<table>
<thead>
<tr>
<th>


Card name

</th>
<th>


USB IDs

</th>
</tr>
</thead>
<tbody>
<tr>
<td>


ASUS My Cinema U3000 Mini DVBT Tuner

</td>
<td>


0b05:171f

</td>
</tr>
<tr>
<td>


ASUS My Cinema U3100 Mini DVBT Tuner

</td>
<td>


0b05:173f

</td>
</tr>
<tr>
<td>


AVerMedia AVerTV DVB-T Express

</td>
<td>


07ca:b568

</td>
</tr>
<tr>
<td>


AVerMedia AVerTV DVB-T Volar

</td>
<td>


07ca:a807, 07ca:b808

</td>
</tr>
<tr>
<td>


Artec T14BR DVB-T

</td>
<td>


05d8:810f

</td>
</tr>
<tr>
<td>


Asus My Cinema-U3000Hybrid

</td>
<td>


0b05:1736

</td>
</tr>
<tr>
<td>


Compro Videomate U500

</td>
<td>


185b:1e78, 185b:1e80

</td>
</tr>
<tr>
<td>


DiBcom NIM7090 reference design

</td>
<td>


10b8:1bb2

</td>
</tr>
<tr>
<td>


DiBcom NIM8096MD reference design

</td>
<td>


10b8:1fa8

</td>
</tr>
<tr>
<td>


DiBcom NIM9090MD reference design

</td>
<td>


10b8:2384

</td>
</tr>
<tr>
<td>


DiBcom STK7070P reference design

</td>
<td>


10b8:1ebc

</td>
</tr>
<tr>
<td>


DiBcom STK7070PD reference design

</td>
<td>


10b8:1ebe

</td>
</tr>
<tr>
<td>


DiBcom STK7700D reference design

</td>
<td>


10b8:1ef0

</td>
</tr>
<tr>
<td>


DiBcom STK7700P reference design

</td>
<td>


10b8:1e14, 10b8:1e78

</td>
</tr>
<tr>
<td>


DiBcom STK7770P reference design

</td>
<td>


10b8:1e80

</td>
</tr>
<tr>
<td>


DiBcom STK807xP reference design

</td>
<td>


10b8:1f90

</td>
</tr>
<tr>
<td>


DiBcom STK807xPVR reference design

</td>
<td>


10b8:1f98

</td>
</tr>
<tr>
<td>


DiBcom STK8096-PVR reference design

</td>
<td>


2013:1faa, 10b8:1faa

</td>
</tr>
<tr>
<td>


DiBcom STK8096GP reference design

</td>
<td>


10b8:1fa0

</td>
</tr>
<tr>
<td>


DiBcom STK9090M reference design

</td>
<td>


10b8:2383

</td>
</tr>
<tr>
<td>


DiBcom TFE7090PVR reference design

</td>
<td>


10b8:1bb4

</td>
</tr>
<tr>
<td>


DiBcom TFE7790P reference design

</td>
<td>


10b8:1e6e

</td>
</tr>
<tr>
<td>


DiBcom TFE8096P reference design

</td>
<td>


10b8:1f9C

</td>
</tr>
<tr>
<td>


Elgato EyeTV DTT

</td>
<td>


0fd9:0021

</td>
</tr>
<tr>
<td>


Elgato EyeTV DTT rev. 2

</td>
<td>


0fd9:003f

</td>
</tr>
<tr>
<td>


Elgato EyeTV Diversity

</td>
<td>


0fd9:0011

</td>
</tr>
<tr>
<td>


Elgato EyeTV Dtt Dlx PD378S

</td>
<td>


0fd9:0020

</td>
</tr>
<tr>
<td>


EvolutePC TVWay+

</td>
<td>


1e59:0002

</td>
</tr>
<tr>
<td>


Gigabyte U7000

</td>
<td>


1044:7001

</td>
</tr>
<tr>
<td>


Gigabyte U8000-RH

</td>
<td>


1044:7002

</td>
</tr>
<tr>
<td>


Hama DVB=T Hybrid USB Stick

</td>
<td>


147f:2758

</td>
</tr>
<tr>
<td>


Hauppauge ATSC MiniCard (B200)

</td>
<td>


2040:b200

</td>
</tr>
<tr>
<td>


Hauppauge ATSC MiniCard (B210)

</td>
<td>


2040:b210

</td>
</tr>
<tr>
<td>


Hauppauge Nova-T 500 Dual DVB-T

</td>
<td>


2040:9941, 2040:9950

</td>
</tr>
<tr>
<td>


Hauppauge Nova-T MyTV.t

</td>
<td>


2040:7080

</td>
</tr>
<tr>
<td>


Hauppauge Nova-T Stick

</td>
<td>


2040:7050, 2040:7060, 2040:7070

</td>
</tr>
<tr>
<td>


Hauppauge Nova-TD Stick (52009)

</td>
<td>


2040:5200

</td>
</tr>
<tr>
<td>


Hauppauge Nova-TD Stick/Elgato Eye-TV Diversity

</td>
<td>


2040:9580

</td>
</tr>
<tr>
<td>


Hauppauge Nova-TD-500 (84xxx)

</td>
<td>


2040:8400

</td>
</tr>
<tr>
<td>


Leadtek WinFast DTV Dongle H

</td>
<td>


0413:60f6

</td>
</tr>
<tr>
<td>


Leadtek Winfast DTV Dongle (STK7700P based)

</td>
<td>


0413:6f00, 0413:6f01

</td>
</tr>
<tr>
<td>


Medion CTX1921 DVB-T USB

</td>
<td>


1660:1921

</td>
</tr>
<tr>
<td>


Microsoft Xbox One Digital TV Tuner

</td>
<td>


045e:02d5

</td>
</tr>
<tr>
<td>


PCTV 2002e

</td>
<td>


2013:025c

</td>
</tr>
<tr>
<td>


PCTV 2002e SE

</td>
<td>


2013:025d

</td>
</tr>
<tr>
<td>


Pinnacle Expresscard 320cx

</td>
<td>


2304:022e

</td>
</tr>
<tr>
<td>


Pinnacle PCTV 2000e

</td>
<td>


2304:022c

</td>
</tr>
<tr>
<td>


Pinnacle PCTV 282e

</td>
<td>


2013:0248, 2304:0248

</td>
</tr>
<tr>
<td>


Pinnacle PCTV 340e HD Pro USB Stick

</td>
<td>


2304:023d

</td>
</tr>
<tr>
<td>


Pinnacle PCTV 72e

</td>
<td>


2304:0236

</td>
</tr>
<tr>
<td>


Pinnacle PCTV 73A

</td>
<td>


2304:0243

</td>
</tr>
<tr>
<td>


Pinnacle PCTV 73e

</td>
<td>


2304:0237

</td>
</tr>
<tr>
<td>


Pinnacle PCTV 73e SE

</td>
<td>


2013:0245, 2304:0245

</td>
</tr>
<tr>
<td>


Pinnacle PCTV DVB-T Flash Stick

</td>
<td>


2304:0228

</td>
</tr>
<tr>
<td>


Pinnacle PCTV Dual DVB-T Diversity Stick

</td>
<td>


2304:0229

</td>
</tr>
<tr>
<td>


Pinnacle PCTV HD Pro USB Stick

</td>
<td>


2304:023a

</td>
</tr>
<tr>
<td>


Pinnacle PCTV HD USB Stick

</td>
<td>


2304:023b

</td>
</tr>
<tr>
<td>


Pinnacle PCTV Hybrid Stick Solo

</td>
<td>


2304:023e

</td>
</tr>
<tr>
<td>


Prolink Pixelview SBTVD

</td>
<td>


1554:5010

</td>
</tr>
<tr>
<td>


Sony PlayTV

</td>
<td>


1415:0003

</td>
</tr>
<tr>
<td>


TechniSat AirStar TeleStick 2

</td>
<td>


14f7:0004

</td>
</tr>
<tr>
<td>


Terratec Cinergy DT USB XS Diversity/ T5

</td>
<td>


0ccd:0081, 0ccd:10a1

</td>
</tr>
<tr>
<td>


Terratec Cinergy DT XS Diversity

</td>
<td>


0ccd:005a

</td>
</tr>
<tr>
<td>


Terratec Cinergy HT Express

</td>
<td>


0ccd:0060

</td>
</tr>
<tr>
<td>


Terratec Cinergy HT USB XE

</td>
<td>


0ccd:0058

</td>
</tr>
<tr>
<td>


Terratec Cinergy T Express

</td>
<td>


0ccd:0062

</td>
</tr>
<tr>
<td>


Terratec Cinergy T USB XXS (HD)/ T3

</td>
<td>


0ccd:0078, 0ccd:10a0, 0ccd:00ab

</td>
</tr>
<tr>
<td>


Uniwill STK7700P based (Hama and others)

</td>
<td>


1584:6003

</td>
</tr>
<tr>
<td>


YUAN High-Tech DiBcom STK7700D

</td>
<td>


1164:1e8c

</td>
</tr>
<tr>
<td>


YUAN High-Tech MC770

</td>
<td>


1164:0871

</td>
</tr>
<tr>
<td>


YUAN High-Tech STK7700D

</td>
<td>


1164:1efc

</td>
</tr>
<tr>
<td>


YUAN High-Tech STK7700PH

</td>
<td>


1164:1f08

</td>
</tr>
<tr>
<td>


Yuan EC372S

</td>
<td>


1164:1edc

</td>
</tr>
<tr>
<td>


Yuan PD378S

</td>
<td>


1164:2edc

</td>
</tr>
</tbody>
</table>

---

# dvb-usb-dibusb-mb cards list

_Peios Kernel / Administration / System administration / Media devices_

> Reference for dvb-usb-dibusb-mb cards list.

<a id="rst-dvb-usb-dibusb-mb-cards-list"></a>

<!-- SPDX-License-Identifier: GPL-2.0 -->

<!-- tabularcolumns: |p{7.0cm}|p{10.5cm}| -->


<table>
<thead>
<tr>
<th>


Card name

</th>
<th>


USB IDs

</th>
</tr>
</thead>
<tbody>
<tr>
<td>


AVerMedia AverTV DVBT USB1.1

</td>
<td>


14aa:0001, 14aa:0002

</td>
</tr>
<tr>
<td>


Artec T1 USB1.1 TVBOX with AN2135

</td>
<td>


05d8:8105, 05d8:8106

</td>
</tr>
<tr>
<td>


Artec T1 USB1.1 TVBOX with AN2235

</td>
<td>


05d8:8107, 05d8:8108

</td>
</tr>
<tr>
<td>


Artec T1 USB1.1 TVBOX with AN2235 (faulty USB IDs)

</td>
<td>


0547:2235

</td>
</tr>
<tr>
<td>


Artec T1 USB2.0

</td>
<td>


05d8:8109, 05d8:810a

</td>
</tr>
<tr>
<td>


Compro Videomate DVB-U2000 - DVB-T USB1.1 (please confirm to linux-dvb)

</td>
<td>


185b:d000, 145f:010c, 185b:d001

</td>
</tr>
<tr>
<td>


DiBcom USB1.1 DVB-T reference design (MOD3000)

</td>
<td>


10b8:0bb8, 10b8:0bb9

</td>
</tr>
<tr>
<td>


Grandtec USB1.1 DVB-T

</td>
<td>


5032:0fa0, 5032:0bb8, 5032:0fa1, 5032:0bb9

</td>
</tr>
<tr>
<td>


KWorld V-Stream XPERT DTV - DVB-T USB1.1

</td>
<td>


eb1a:17de, eb1a:17df

</td>
</tr>
<tr>
<td>


KWorld Xpert DVB-T USB2.0

</td>
<td>


eb2a:17de

</td>
</tr>
<tr>
<td>


KWorld/ADSTech Instant DVB-T USB2.0

</td>
<td>


06e1:a333, 06e1:a334

</td>
</tr>
<tr>
<td>


TwinhanDTV USB-Ter USB1.1 / Magic Box I / HAMA USB1.1 DVB-T device

</td>
<td>


13d3:3201, 1822:3201, 13d3:3202, 1822:3202

</td>
</tr>
<tr>
<td>


Unknown USB1.1 DVB-T device ???? please report the name to the author

</td>
<td>


1025:005e, 1025:005f

</td>
</tr>
<tr>
<td>


VideoWalker DVB-T USB

</td>
<td>


0458:701e, 0458:701f

</td>
</tr>
</tbody>
</table>

---

# dvb-usb-dibusb-mc cards list

_Peios Kernel / Administration / System administration / Media devices_

> Reference for dvb-usb-dibusb-mc cards list.

<a id="rst-dvb-usb-dibusb-mc-cards-list"></a>

<!-- SPDX-License-Identifier: GPL-2.0 -->

<!-- tabularcolumns: |p{7.0cm}|p{10.5cm}| -->


<table>
<thead>
<tr>
<th>


Card name

</th>
<th>


USB IDs

</th>
</tr>
</thead>
<tbody>
<tr>
<td>


Artec T1 USB2.0 TVBOX (please check the warm ID)

</td>
<td>


05d8:8109, 05d8:810a

</td>
</tr>
<tr>
<td>


Artec T14 - USB2.0 DVB-T

</td>
<td>


05d8:810b, 05d8:810c

</td>
</tr>
<tr>
<td>


DiBcom USB2.0 DVB-T reference design (MOD3000P)

</td>
<td>


10b8:0bc6, 10b8:0bc7

</td>
</tr>
<tr>
<td>


GRAND - USB2.0 DVB-T adapter

</td>
<td>


5032:0bc6, 5032:0bc7

</td>
</tr>
<tr>
<td>


Humax/Coex DVB-T USB Stick 2.0 High Speed

</td>
<td>


10b9:5000, 10b9:5001

</td>
</tr>
<tr>
<td>


LITE-ON USB2.0 DVB-T Tuner

</td>
<td>


04ca:f000, 04ca:f001

</td>
</tr>
<tr>
<td>


Leadtek - USB2.0 Winfast DTV dongle

</td>
<td>


0413:6025, 0413:6026

</td>
</tr>
<tr>
<td>


MSI Digivox Mini SL

</td>
<td>


eb1a:e360, eb1a:e361

</td>
</tr>
</tbody>
</table>

---

# dvb-usb-digitv cards list

_Peios Kernel / Administration / System administration / Media devices_

> Reference for dvb-usb-digitv cards list.

<a id="rst-dvb-usb-digitv-cards-list"></a>

<!-- SPDX-License-Identifier: GPL-2.0 -->

<!-- tabularcolumns: |p{7.0cm}|p{10.5cm}| -->


<table>
<thead>
<tr>
<th>


Card name

</th>
<th>


USB IDs

</th>
</tr>
</thead>
<tbody>
<tr>
<td>


Nebula Electronics uDigiTV DVB-T USB2.0)

</td>
<td>


0547:0201

</td>
</tr>
</tbody>
</table>

---

# dvb-usb-dtt200u cards list

_Peios Kernel / Administration / System administration / Media devices_

> Reference for dvb-usb-dtt200u cards list.

<a id="rst-dvb-usb-dtt200u-cards-list"></a>

<!-- SPDX-License-Identifier: GPL-2.0 -->

<!-- tabularcolumns: |p{7.0cm}|p{10.5cm}| -->


<table>
<thead>
<tr>
<th>


Card name

</th>
<th>


USB IDs

</th>
</tr>
</thead>
<tbody>
<tr>
<td>


WideView WT-220U PenType Receiver (Miglia)

</td>
<td>


18f3:0220

</td>
</tr>
<tr>
<td>


WideView WT-220U PenType Receiver (Typhoon/Freecom)

</td>
<td>


14aa:0222, 14aa:0220, 14aa:0221, 14aa:0225, 14aa:0226

</td>
</tr>
<tr>
<td>


WideView WT-220U PenType Receiver (based on ZL353)

</td>
<td>


14aa:022a, 14aa:022b

</td>
</tr>
<tr>
<td>


WideView/Yuan/Yakumo/Hama/Typhoon DVB-T USB2.0 (WT-200U)

</td>
<td>


14aa:0201, 14aa:0301

</td>
</tr>
</tbody>
</table>

---

# dvb-usb-dtv5100 cards list

_Peios Kernel / Administration / System administration / Media devices_

> Reference for dvb-usb-dtv5100 cards list.

<a id="rst-dvb-usb-dtv5100-cards-list"></a>

<!-- SPDX-License-Identifier: GPL-2.0 -->

<!-- tabularcolumns: |p{7.0cm}|p{10.5cm}| -->


<table>
<thead>
<tr>
<th>


Card name

</th>
<th>


USB IDs

</th>
</tr>
</thead>
<tbody>
<tr>
<td>


AME DTV-5100 USB2.0 DVB-T

</td>
<td>


0x06be:0xa232

</td>
</tr>
</tbody>
</table>

---

# dvb-usb-dvbsky cards list

_Peios Kernel / Administration / System administration / Media devices_

> Reference for dvb-usb-dvbsky cards list.

<a id="rst-dvb-usb-dvbsky-cards-list"></a>

<!-- SPDX-License-Identifier: GPL-2.0 -->

<!-- tabularcolumns: |p{7.0cm}|p{10.5cm}| -->


<table>
<thead>
<tr>
<th>


Card name

</th>
<th>


USB IDs

</th>
</tr>
</thead>
<tbody>
<tr>
<td>


DVBSky S960/S860

</td>
<td>


0572:6831

</td>
</tr>
<tr>
<td>


DVBSky S960CI

</td>
<td>


0572:960c

</td>
</tr>
<tr>
<td>


DVBSky T330

</td>
<td>


0572:0320

</td>
</tr>
<tr>
<td>


DVBSky T680CI

</td>
<td>


0572:680c

</td>
</tr>
<tr>
<td>


MyGica Mini DVB-(T/T2/C) USB Stick T230

</td>
<td>


0572:c688

</td>
</tr>
<tr>
<td>


MyGica Mini DVB-(T/T2/C) USB Stick T230C

</td>
<td>


0572:c689

</td>
</tr>
<tr>
<td>


MyGica Mini DVB-(T/T2/C) USB Stick T230C Lite

</td>
<td>


0572:c699

</td>
</tr>
<tr>
<td>


MyGica Mini DVB-(T/T2/C) USB Stick T230C v2

</td>
<td>


0572:c68a

</td>
</tr>
<tr>
<td>


TechnoTrend TT-connect CT2-4650 CI

</td>
<td>


0b48:3012

</td>
</tr>
<tr>
<td>


TechnoTrend TT-connect CT2-4650 CI v1.1

</td>
<td>


0b48:3015

</td>
</tr>
<tr>
<td>


TechnoTrend TT-connect S2-4650 CI

</td>
<td>


0b48:3017

</td>
</tr>
<tr>
<td>


TechnoTrend TVStick CT2-4400

</td>
<td>


0b48:3014

</td>
</tr>
<tr>
<td>


Terratec Cinergy S2 Rev.4

</td>
<td>


0ccd:0105

</td>
</tr>
<tr>
<td>


Terratec H7 Rev.4

</td>
<td>


0ccd:10a5

</td>
</tr>
</tbody>
</table>

---

# dvb-usb-dw2102 cards list

_Peios Kernel / Administration / System administration / Media devices_

> Reference for dvb-usb-dw2102 cards list.

<a id="rst-dvb-usb-dw2102-cards-list"></a>

<!-- SPDX-License-Identifier: GPL-2.0 -->

<!-- tabularcolumns: |p{7.0cm}|p{10.5cm}| -->


<table>
<thead>
<tr>
<th>


Card name

</th>
<th>


USB IDs

</th>
</tr>
</thead>
<tbody>
<tr>
<td>


DVBWorld DVB-C 3101 USB2.0

</td>
<td>


04b4:3101

</td>
</tr>
<tr>
<td>


DVBWorld DVB-S 2101 USB2.0

</td>
<td>


04b4:0x2101

</td>
</tr>
<tr>
<td>


DVBWorld DVB-S 2102 USB2.0

</td>
<td>


04b4:2102

</td>
</tr>
<tr>
<td>


DVBWorld DW2104 USB2.0

</td>
<td>


04b4:2104

</td>
</tr>
<tr>
<td>


GOTVIEW Satellite HD

</td>
<td>


0x1FE1:5456

</td>
</tr>
<tr>
<td>


Geniatech T220 DVB-T/T2 USB2.0

</td>
<td>


0x1f4d:0xD220

</td>
</tr>
<tr>
<td>


SU3000HD DVB-S USB2.0

</td>
<td>


0x1f4d:0x3000

</td>
</tr>
<tr>
<td>


TeVii S482 (tuner 1)

</td>
<td>


0x9022:0xd483

</td>
</tr>
<tr>
<td>


TeVii S482 (tuner 2)

</td>
<td>


0x9022:0xd484

</td>
</tr>
<tr>
<td>


TeVii S630 USB

</td>
<td>


0x9022:d630

</td>
</tr>
<tr>
<td>


TeVii S650 USB2.0

</td>
<td>


0x9022:d650

</td>
</tr>
<tr>
<td>


TeVii S662

</td>
<td>


0x9022:d662

</td>
</tr>
<tr>
<td>


TechnoTrend TT-connect S2-4600

</td>
<td>


0b48:3011

</td>
</tr>
<tr>
<td>


TerraTec Cinergy S USB

</td>
<td>


0ccd:0064

</td>
</tr>
<tr>
<td>


Terratec Cinergy S2 PCIe Dual Port 1

</td>
<td>


153b:1181

</td>
</tr>
<tr>
<td>


Terratec Cinergy S2 PCIe Dual Port 2

</td>
<td>


153b:1182

</td>
</tr>
<tr>
<td>


Terratec Cinergy S2 USB BOX

</td>
<td>


0ccd:0x0105

</td>
</tr>
<tr>
<td>


Terratec Cinergy S2 USB HD

</td>
<td>


0ccd:00a8

</td>
</tr>
<tr>
<td>


Terratec Cinergy S2 USB HD Rev.2

</td>
<td>


0ccd:00b0

</td>
</tr>
<tr>
<td>


Terratec Cinergy S2 USB HD Rev.3

</td>
<td>


0ccd:0102

</td>
</tr>
<tr>
<td>


X3M TV SPC1400HD PCI

</td>
<td>


0x1f4d:0x3100

</td>
</tr>
</tbody>
</table>

---

# dvb-usb-ec168 cards list

_Peios Kernel / Administration / System administration / Media devices_

> Reference for dvb-usb-ec168 cards list.

<a id="rst-dvb-usb-ec168-cards-list"></a>

<!-- SPDX-License-Identifier: GPL-2.0 -->

<!-- tabularcolumns: |p{7.0cm}|p{10.5cm}| -->


<table>
<thead>
<tr>
<th>


Card name

</th>
<th>


USB IDs

</th>
</tr>
</thead>
<tbody>
<tr>
<td>


E3C EC168 reference design

</td>
<td>


18b4:1689, 18b4:fffa, 18b4:fffb, 18b4:1001, 18b4:1002

</td>
</tr>
</tbody>
</table>

---

# dvb-usb-gl861 cards list

_Peios Kernel / Administration / System administration / Media devices_

> Reference for dvb-usb-gl861 cards list.

<a id="rst-dvb-usb-gl861-cards-list"></a>

<!-- SPDX-License-Identifier: GPL-2.0 -->

<!-- tabularcolumns: |p{7.0cm}|p{10.5cm}| -->


<table>
<thead>
<tr>
<th>


Card name

</th>
<th>


USB IDs

</th>
</tr>
</thead>
<tbody>
<tr>
<td>


774 Friio White ISDB-T USB2.0

</td>
<td>


7a69:0001

</td>
</tr>
<tr>
<td>


A-LINK DTU DVB-T USB2.0

</td>
<td>


05e3:f170

</td>
</tr>
<tr>
<td>


MSI Mega Sky 55801 DVB-T USB2.0

</td>
<td>


0db0:5581

</td>
</tr>
</tbody>
</table>

---

# dvb-usb-gp8psk cards list

_Peios Kernel / Administration / System administration / Media devices_

> Reference for dvb-usb-gp8psk cards list.

<a id="rst-dvb-usb-gp8psk-cards-list"></a>

<!-- SPDX-License-Identifier: GPL-2.0 -->

<!-- tabularcolumns: |p{7.0cm}|p{10.5cm}| -->


<table>
<thead>
<tr>
<th>


Card name

</th>
<th>


USB IDs

</th>
</tr>
</thead>
<tbody>
<tr>
<td>


Genpix 8PSK-to-USB2 Rev.1 DVB-S receiver

</td>
<td>


09c0:0200, 09c0:0201

</td>
</tr>
<tr>
<td>


Genpix 8PSK-to-USB2 Rev.2 DVB-S receiver

</td>
<td>


09c0:0202

</td>
</tr>
<tr>
<td>


Genpix SkyWalker-1 DVB-S receiver

</td>
<td>


09c0:0203

</td>
</tr>
<tr>
<td>


Genpix SkyWalker-2 DVB-S receiver

</td>
<td>


09c0:0206

</td>
</tr>
</tbody>
</table>

---

# dvb-usb-lmedm04 cards list

_Peios Kernel / Administration / System administration / Media devices_

> Reference for dvb-usb-lmedm04 cards list.

<a id="rst-dvb-usb-lmedm04-cards-list"></a>

<!-- SPDX-License-Identifier: GPL-2.0 -->

<!-- tabularcolumns: |p{7.0cm}|p{10.5cm}| -->


<table>
<thead>
<tr>
<th>


Card name

</th>
<th>


USB IDs

</th>
</tr>
</thead>
<tbody>
<tr>
<td>


DM04_LME2510C_DVB-S

</td>
<td>


3344:1120

</td>
</tr>
<tr>
<td>


DM04_LME2510C_DVB-S RS2000

</td>
<td>


3344:22f0

</td>
</tr>
<tr>
<td>


DM04_LME2510_DVB-S

</td>
<td>


3344:1122

</td>
</tr>
</tbody>
</table>

---

# dvb-usb-m920x cards list

_Peios Kernel / Administration / System administration / Media devices_

> Reference for dvb-usb-m920x cards list.

<a id="rst-dvb-usb-m920x-cards-list"></a>

<!-- SPDX-License-Identifier: GPL-2.0 -->

<!-- tabularcolumns: |p{7.0cm}|p{10.5cm}| -->


<table>
<thead>
<tr>
<th>


Card name

</th>
<th>


USB IDs

</th>
</tr>
</thead>
<tbody>
<tr>
<td>


DTV-DVB UDTT7049

</td>
<td>


13d3:3219

</td>
</tr>
<tr>
<td>


Dposh DVB-T USB2.0

</td>
<td>


1498:9206, 1498:a090

</td>
</tr>
<tr>
<td>


LifeView TV Walker Twin DVB-T USB2.0

</td>
<td>


10fd:0514, 10fd:0513

</td>
</tr>
<tr>
<td>


MSI DIGI VOX mini II DVB-T USB2.0

</td>
<td>


10fd:1513

</td>
</tr>
<tr>
<td>


MSI Mega Sky 580 DVB-T USB2.0

</td>
<td>


0db0:5580

</td>
</tr>
<tr>
<td>


Pinnacle PCTV 310e

</td>
<td>


13d3:3211

</td>
</tr>
</tbody>
</table>

---

# dvb-usb-mxl111sf cards list

_Peios Kernel / Administration / System administration / Media devices_

> Reference for dvb-usb-mxl111sf cards list.

<a id="rst-dvb-usb-mxl111sf-cards-list"></a>

<!-- SPDX-License-Identifier: GPL-2.0 -->

<!-- tabularcolumns: |p{7.0cm}|p{10.5cm}| -->


<table>
<thead>
<tr>
<th>


Card name

</th>
<th>


USB IDs

</th>
</tr>
</thead>
<tbody>
<tr>
<td>


HCW 117xxx

</td>
<td>


2040:b702

</td>
</tr>
<tr>
<td>


HCW 126xxx

</td>
<td>


2040:c602, 2040:c60a

</td>
</tr>
<tr>
<td>


Hauppauge 117xxx ATSC+

</td>
<td>


2040:b700, 2040:b703, 2040:b753, 2040:b763, 2040:b757, 2040:b767

</td>
</tr>
<tr>
<td>


Hauppauge 117xxx DVBT

</td>
<td>


2040:b704, 2040:b764

</td>
</tr>
<tr>
<td>


Hauppauge 126xxx

</td>
<td>


2040:c612, 2040:c61a

</td>
</tr>
<tr>
<td>


Hauppauge 126xxx ATSC

</td>
<td>


2040:c601, 2040:c609, 2040:b701

</td>
</tr>
<tr>
<td>


Hauppauge 126xxx ATSC+

</td>
<td>


2040:c600, 2040:c603, 2040:c60b, 2040:c653, 2040:c65b

</td>
</tr>
<tr>
<td>


Hauppauge 126xxx DVBT

</td>
<td>


2040:c604, 2040:c60c

</td>
</tr>
<tr>
<td>


Hauppauge 138xxx DVBT

</td>
<td>


2040:d854, 2040:d864, 2040:d8d4, 2040:d8e4

</td>
</tr>
<tr>
<td>


Hauppauge Mercury

</td>
<td>


2040:d853, 2040:d863, 2040:d8d3, 2040:d8e3, 2040:d8ff

</td>
</tr>
<tr>
<td>


Hauppauge WinTV-Aero-M

</td>
<td>


2040:c613, 2040:c61b

</td>
</tr>
</tbody>
</table>

---

# dvb-usb-nova-t-usb2 cards list

_Peios Kernel / Administration / System administration / Media devices_

> Reference for dvb-usb-nova-t-usb2 cards list.

<a id="rst-dvb-usb-nova-t-usb2-cards-list"></a>

<!-- SPDX-License-Identifier: GPL-2.0 -->

<!-- tabularcolumns: |p{7.0cm}|p{10.5cm}| -->


<table>
<thead>
<tr>
<th>


Card name

</th>
<th>


USB IDs

</th>
</tr>
</thead>
<tbody>
<tr>
<td>


Hauppauge WinTV-NOVA-T usb2

</td>
<td>


2040:9300, 2040:9301

</td>
</tr>
</tbody>
</table>

---

# dvb-usb-opera1 cards list

_Peios Kernel / Administration / System administration / Media devices_

> Reference for dvb-usb-opera1 cards list.

<a id="rst-dvb-usb-opera1-cards-list"></a>

<!-- SPDX-License-Identifier: GPL-2.0 -->

<!-- tabularcolumns: |p{7.0cm}|p{10.5cm}| -->


<table>
<thead>
<tr>
<th>


Card name

</th>
<th>


USB IDs

</th>
</tr>
</thead>
<tbody>
<tr>
<td>


Opera1 DVB-S USB2.0

</td>
<td>


04b4:2830, 695c:3829

</td>
</tr>
</tbody>
</table>

---

# dvb-usb-pctv452e cards list

_Peios Kernel / Administration / System administration / Media devices_

> Reference for dvb-usb-pctv452e cards list.

<a id="rst-dvb-usb-pctv452e-cards-list"></a>

<!-- SPDX-License-Identifier: GPL-2.0 -->

<!-- tabularcolumns: |p{7.0cm}|p{10.5cm}| -->


<table>
<thead>
<tr>
<th>


Card name

</th>
<th>


USB IDs

</th>
</tr>
</thead>
<tbody>
<tr>
<td>


PCTV HDTV USB

</td>
<td>


2304:021f

</td>
</tr>
<tr>
<td>


Technotrend TT Connect S2-3600

</td>
<td>


0b48:3007

</td>
</tr>
<tr>
<td>


Technotrend TT Connect S2-3650-CI

</td>
<td>


0b48:300a

</td>
</tr>
</tbody>
</table>

---

# dvb-usb-rtl28xxu cards list

_Peios Kernel / Administration / System administration / Media devices_

> Reference for dvb-usb-rtl28xxu cards list.

<a id="rst-dvb-usb-rtl28xxu-cards-list"></a>

<!-- SPDX-License-Identifier: GPL-2.0 -->

<!-- tabularcolumns: |p{7.0cm}|p{10.5cm}| -->


<table>
<thead>
<tr>
<th>


Card name

</th>
<th>


USB IDs

</th>
</tr>
</thead>
<tbody>
<tr>
<td>


ASUS My Cinema-U3100Mini Plus V2

</td>
<td>


1b80:d3a8

</td>
</tr>
<tr>
<td>


Astrometa DVB-T2

</td>
<td>


15f4:0131

</td>
</tr>
<tr>
<td>


Compro VideoMate U620F

</td>
<td>


185b:0620

</td>
</tr>
<tr>
<td>


Compro VideoMate U650F

</td>
<td>


185b:0650

</td>
</tr>
<tr>
<td>


Crypto ReDi PC 50 A

</td>
<td>


1f4d:a803

</td>
</tr>
<tr>
<td>


Dexatek DK DVB-T Dongle

</td>
<td>


1d19:1101

</td>
</tr>
<tr>
<td>


Dexatek DK mini DVB-T Dongle

</td>
<td>


1d19:1102

</td>
</tr>
<tr>
<td>


DigitalNow Quad DVB-T Receiver

</td>
<td>


0413:6680

</td>
</tr>
<tr>
<td>


Freecom USB2.0 DVB-T

</td>
<td>


14aa:0160, 14aa:0161

</td>
</tr>
<tr>
<td>


G-Tek Electronics Group Lifeview LV5TDLX DVB-T

</td>
<td>


1f4d:b803

</td>
</tr>
<tr>
<td>


GIGABYTE U7300

</td>
<td>


1b80:d393

</td>
</tr>
<tr>
<td>


Genius TVGo DVB-T03

</td>
<td>


0458:707f

</td>
</tr>
<tr>
<td>


GoTView MasterHD 3

</td>
<td>


5654:ca42

</td>
</tr>
<tr>
<td>


Leadtek WinFast DTV Dongle mini

</td>
<td>


0413:6a03

</td>
</tr>
<tr>
<td>


Leadtek WinFast DTV2000DS Plus

</td>
<td>


0413:6f12

</td>
</tr>
<tr>
<td>


Leadtek Winfast DTV Dongle Mini D

</td>
<td>


0413:6f0f

</td>
</tr>
<tr>
<td>


MSI DIGIVOX Micro HD

</td>
<td>


1d19:1104

</td>
</tr>
<tr>
<td>


MaxMedia HU394-T

</td>
<td>


1b80:d394

</td>
</tr>
<tr>
<td>


PROlectrix DV107669

</td>
<td>


1f4d:d803

</td>
</tr>
<tr>
<td>


Peak DVB-T USB

</td>
<td>


1b80:d395

</td>
</tr>
<tr>
<td>


Realtek RTL2831U reference design

</td>
<td>


0bda:2831

</td>
</tr>
<tr>
<td>


Realtek RTL2832U reference design

</td>
<td>


0bda:2832, 0bda:2838

</td>
</tr>
<tr>
<td>


Sveon STV20

</td>
<td>


1b80:d39d

</td>
</tr>
<tr>
<td>


Sveon STV21

</td>
<td>


1b80:d3b0

</td>
</tr>
<tr>
<td>


Sveon STV27

</td>
<td>


1b80:d3af

</td>
</tr>
<tr>
<td>


TURBO-X Pure TV Tuner DTT-2000

</td>
<td>


1b80:d3a4

</td>
</tr>
<tr>
<td>


TerraTec Cinergy T Stick Black

</td>
<td>


0ccd:00a9

</td>
</tr>
<tr>
<td>


TerraTec Cinergy T Stick RC (Rev. 3)

</td>
<td>


0ccd:00d3

</td>
</tr>
<tr>
<td>


TerraTec Cinergy T Stick+

</td>
<td>


0ccd:00d7

</td>
</tr>
<tr>
<td>


TerraTec NOXON DAB Stick

</td>
<td>


0ccd:00b3

</td>
</tr>
<tr>
<td>


TerraTec NOXON DAB Stick (rev 2)

</td>
<td>


0ccd:00e0

</td>
</tr>
<tr>
<td>


TerraTec NOXON DAB Stick (rev 3)

</td>
<td>


0ccd:00b4

</td>
</tr>
<tr>
<td>


Trekstor DVB-T Stick Terres 2.0

</td>
<td>


1f4d:C803

</td>
</tr>
</tbody>
</table>

---

# dvb-usb-technisat-usb2 cards list

_Peios Kernel / Administration / System administration / Media devices_

> Reference for dvb-usb-technisat-usb2 cards list.

<a id="rst-dvb-usb-technisat-usb2-cards-list"></a>

<!-- SPDX-License-Identifier: GPL-2.0 -->

<!-- tabularcolumns: |p{7.0cm}|p{10.5cm}| -->


<table>
<thead>
<tr>
<th>


Card name

</th>
<th>


USB IDs

</th>
</tr>
</thead>
<tbody>
<tr>
<td>


Technisat SkyStar USB HD (DVB-S/S2)

</td>
<td>


14f7:0500

</td>
</tr>
</tbody>
</table>

---

# dvb-usb-ttusb2 cards list

_Peios Kernel / Administration / System administration / Media devices_

> Reference for dvb-usb-ttusb2 cards list.

<a id="rst-dvb-usb-ttusb2-cards-list"></a>

<!-- SPDX-License-Identifier: GPL-2.0 -->

<!-- tabularcolumns: |p{7.0cm}|p{10.5cm}| -->


<table>
<thead>
<tr>
<th>


Card name

</th>
<th>


USB IDs

</th>
</tr>
</thead>
<tbody>
<tr>
<td>


Pinnacle 400e DVB-S USB2.0

</td>
<td>


2304:020f

</td>
</tr>
<tr>
<td>


Pinnacle 450e DVB-S USB2.0

</td>
<td>


2304:0222

</td>
</tr>
<tr>
<td>


Technotrend TT-connect CT-3650

</td>
<td>


0b48:300d

</td>
</tr>
<tr>
<td>


Technotrend TT-connect S-2400

</td>
<td>


0b48:3006

</td>
</tr>
<tr>
<td>


Technotrend TT-connect S-2400 (8kB EEPROM)

</td>
<td>


0b48:3009

</td>
</tr>
</tbody>
</table>

---

# dvb-usb-umt-010 cards list

_Peios Kernel / Administration / System administration / Media devices_

> Reference for dvb-usb-umt-010 cards list.

<a id="rst-dvb-usb-umt-010-cards-list"></a>

<!-- SPDX-License-Identifier: GPL-2.0 -->

<!-- tabularcolumns: |p{7.0cm}|p{10.5cm}| -->


<table>
<thead>
<tr>
<th>


Card name

</th>
<th>


USB IDs

</th>
</tr>
</thead>
<tbody>
<tr>
<td>


Hanftek UMT-010 DVB-T USB2.0

</td>
<td>


15f4:0001, 15f4:0015

</td>
</tr>
</tbody>
</table>

---

# dvb-usb-vp702x cards list

_Peios Kernel / Administration / System administration / Media devices_

> Reference for dvb-usb-vp702x cards list.

<a id="rst-dvb-usb-vp702x-cards-list"></a>

<!-- SPDX-License-Identifier: GPL-2.0 -->

<!-- tabularcolumns: |p{7.0cm}|p{10.5cm}| -->


<table>
<thead>
<tr>
<th>


Card name

</th>
<th>


USB IDs

</th>
</tr>
</thead>
<tbody>
<tr>
<td>


TwinhanDTV StarBox DVB-S USB2.0 (VP7021)

</td>
<td>


13d3:3207

</td>
</tr>
</tbody>
</table>

---

# dvb-usb-vp7045 cards list

_Peios Kernel / Administration / System administration / Media devices_

> Reference for dvb-usb-vp7045 cards list.

<a id="rst-dvb-usb-vp7045-cards-list"></a>

<!-- SPDX-License-Identifier: GPL-2.0 -->

<!-- tabularcolumns: |p{7.0cm}|p{10.5cm}| -->


<table>
<thead>
<tr>
<th>


Card name

</th>
<th>


USB IDs

</th>
</tr>
</thead>
<tbody>
<tr>
<td>


DigitalNow TinyUSB 2 DVB-t Receiver

</td>
<td>


13d3:3223, 13d3:3224

</td>
</tr>
<tr>
<td>


Twinhan USB2.0 DVB-T receiver (TwinhanDTV Alpha/MagicBox II)

</td>
<td>


13d3:3205, 13d3:3206

</td>
</tr>
</tbody>
</table>

---

# dvb-usb-zd1301 cards list

_Peios Kernel / Administration / System administration / Media devices_

> Reference for dvb-usb-zd1301 cards list.

<a id="rst-dvb-usb-zd1301-cards-list"></a>

<!-- SPDX-License-Identifier: GPL-2.0 -->

<!-- tabularcolumns: |p{7.0cm}|p{10.5cm}| -->


<table>
<thead>
<tr>
<th>


Card name

</th>
<th>


USB IDs

</th>
</tr>
</thead>
<tbody>
<tr>
<td>


ZyDAS ZD1301 reference design

</td>
<td>


0ace:13a1

</td>
</tr>
</tbody>
</table>

---

# Digital TV

_Peios Kernel / Administration / System administration / Media devices_

> Reference for Digital TV.

<a id="rst-digital-tv"></a>

<!-- SPDX-License-Identifier: GPL-2.0 -->

- [Using the Digital TV Framework](</kernel/administration/admin-guide/media/dvb-intro.md>)
- [Digital TV Conditional Access Interface](</kernel/administration/admin-guide/media/ci.md>)
- [FAQ](</kernel/administration/admin-guide/media/faq.md>)
- [References](</kernel/administration/admin-guide/media/dvb-references.md>)

---

# Using the Digital TV Framework

_Peios Kernel / Administration / System administration / Media devices_

> One significant difference between Digital TV and Analogue TV that the unwary (like myself) should consider is that, although the component structure of DVB-T cards are substantially similar to Analogue TV cards, they function in…

<a id="rst-using-the-digital-tv-framework"></a>

<!-- SPDX-License-Identifier: GPL-2.0 -->

<a id="rst-introduction"></a>

## Introduction

One significant difference between Digital TV and Analogue TV that the unwary (like myself) should consider is that, although the component structure of DVB-T cards are substantially similar to Analogue TV cards, they function in substantially different ways.

The purpose of an Analogue TV is to receive and display an Analogue Television signal. An Analogue TV signal (otherwise known as composite video) is an analogue encoding of a sequence of image frames (25 frames per second in Europe) rasterised using an interlacing technique. Interlacing takes two fields to represent one frame. Therefore, an Analogue TV card for a PC has the following purpose:

- Tune the receiver to receive a broadcast signal

- demodulate the broadcast signal

- demultiplex the analogue video signal and analogue audio signal.

  > [!NOTE]
  >
  > some countries employ a digital audio signal embedded within the modulated composite analogue signal - using NICAM signaling.)

- digitize the analogue video signal and make the resulting datastream available to the data bus.

The digital datastream from an Analogue TV card is generated by circuitry on the card and is often presented uncompressed. For a PAL TV signal encoded at a resolution of 768x576 24-bit color pixels over 25 frames per second - a fair amount of data is generated and must be processed by the PC before it can be displayed on the video monitor screen. Some Analogue TV cards for PCs have onboard MPEG2 encoders which permit the raw digital data stream to be presented to the PC in an encoded and compressed form - similar to the form that is used in Digital TV.

The purpose of a simple budget digital TV card (DVB-T,C or S) is to simply:

- Tune the received to receive a broadcast signal. \* Extract the encoded digital datastream from the broadcast signal.

- Make the encoded digital datastream (MPEG2) available to the data bus.

The significant difference between the two is that the tuner on the analogue TV card spits out an Analogue signal, whereas the tuner on the digital TV card spits out a compressed encoded digital datastream. As the signal is already digitised, it is trivial to pass this datastream to the PC databus with minimal additional processing and then extract the digital video and audio datastreams passing them to the appropriate software or hardware for decoding and viewing.

<a id="rst-getting-the-card-going"></a>

## Getting the card going

The Device Driver API for DVB under Linux will the following device nodes via the devfs filesystem:

- /dev/dvb/adapter0/demux0

- /dev/dvb/adapter0/dvr0

- /dev/dvb/adapter0/frontend0

The `/dev/dvb/adapter0/dvr0` device node is used to read the MPEG2 Data Stream and the `/dev/dvb/adapter0/frontend0` device node is used to tune the frontend tuner module. The `/dev/dvb/adapter0/demux0` is used to control what programs will be received.

Depending on the card's feature set, the Device Driver API could also expose other device nodes:

- /dev/dvb/adapter0/ca0

- /dev/dvb/adapter0/audio0

- /dev/dvb/adapter0/net0

- /dev/dvb/adapter0/osd0

- /dev/dvb/adapter0/video0

The `/dev/dvb/adapter0/ca0` is used to decode encrypted channels. The other device nodes are found only on devices that use the av7110 driver, with is now obsoleted, together with the extra API whose such devices use.

<a id="rst-receiving-a-digital-tv-channel"></a>

## Receiving a digital TV channel

This section attempts to explain how it works and how this affects the configuration of a Digital TV card.

On this example, we're considering tuning into DVB-T channels in Australia, at the Melbourne region.

The frequencies broadcast by Mount Dandenong transmitters are, currently:

Table 1. Transponder Frequencies Mount Dandenong, Vic, Aus.


<table>
<thead>
<tr>
<th>


Broadcaster

</th>
<th>


Frequency

</th>
</tr>
</thead>
<tbody>
<tr>
<td>


Seven

</td>
<td>


177.500 Mhz

</td>
</tr>
<tr>
<td>


SBS

</td>
<td>


184.500 Mhz

</td>
</tr>
<tr>
<td>


Nine

</td>
<td>


191.625 Mhz

</td>
</tr>
<tr>
<td>


Ten

</td>
<td>


219.500 Mhz

</td>
</tr>
<tr>
<td>


ABC

</td>
<td>


226.500 Mhz

</td>
</tr>
<tr>
<td>


Channel 31

</td>
<td>


557.625 Mhz

</td>
</tr>
</tbody>
</table>

The digital TV Scan utilities (like dvbv5-scan) have use a set of compiled-in defaults for various countries and regions. Those are currently provided as a separate package, called dtv-scan-tables. It's git tree is located at LinuxTV.org:

> [https://git.linuxtv.org/dtv-scan-tables.git/](<https://git.linuxtv.org/dtv-scan-tables.git/>)

If none of the tables there suit, you can specify a data file on the command line which contains the transponder frequencies. Here is a sample file for the above channel transponders, in the old "channel" format:



```text
# Data file for DVB scan program
#
# C Frequency SymbolRate FEC QAM
# S Frequency Polarisation SymbolRate FEC
# T Frequency Bandwidth FEC FEC2 QAM Mode Guard Hier

T 177500000 7MHz AUTO AUTO QAM64 8k 1/16 NONE
T 184500000 7MHz AUTO AUTO QAM64 8k 1/8 NONE
T 191625000 7MHz AUTO AUTO QAM64 8k 1/16 NONE
T 219500000 7MHz AUTO AUTO QAM64 8k 1/16 NONE
T 226500000 7MHz AUTO AUTO QAM64 8k 1/16 NONE
T 557625000 7MHz AUTO AUTO QPSK 8k 1/16 NONE
```

Nowadays, we prefer to use a newer format, with is more verbose and easier to understand. With the new format, the "Seven" channel transponder's data is represented by:



```text
[Seven]
        DELIVERY_SYSTEM = DVBT
        FREQUENCY = 177500000
        BANDWIDTH_HZ = 7000000
        CODE_RATE_HP = AUTO
        CODE_RATE_LP = AUTO
        MODULATION = QAM/64
        TRANSMISSION_MODE = 8K
        GUARD_INTERVAL = 1/16
        HIERARCHY = NONE
        INVERSION = AUTO
```

For an updated version of the complete table, please see:

> [https://git.linuxtv.org/dtv-scan-tables.git/tree/dvb-t/au-Melbourne](<https://git.linuxtv.org/dtv-scan-tables.git/tree/dvb-t/au-Melbourne>)

When the Digital TV scanning utility runs, it will output a file containing the information for all the audio and video programs that exists into each channel's transponders which the card's frontend can lock onto. (i.e. any whose signal is strong enough at your antenna).

Here's the output of the dvbv5 tools from a channel scan took from Melburne:



```text
[ABC HDTV]
        SERVICE_ID = 560
        VIDEO_PID = 2307
        AUDIO_PID = 0
        DELIVERY_SYSTEM = DVBT
        FREQUENCY = 226500000
        INVERSION = OFF
        BANDWIDTH_HZ = 7000000
        CODE_RATE_HP = 3/4
        CODE_RATE_LP = 3/4
        MODULATION = QAM/64
        TRANSMISSION_MODE = 8K
        GUARD_INTERVAL = 1/16
        HIERARCHY = NONE

[ABC TV Melbourne]
        SERVICE_ID = 561
        VIDEO_PID = 512
        AUDIO_PID = 650
        DELIVERY_SYSTEM = DVBT
        FREQUENCY = 226500000
        INVERSION = OFF
        BANDWIDTH_HZ = 7000000
        CODE_RATE_HP = 3/4
        CODE_RATE_LP = 3/4
        MODULATION = QAM/64
        TRANSMISSION_MODE = 8K
        GUARD_INTERVAL = 1/16
        HIERARCHY = NONE

[ABC TV 2]
        SERVICE_ID = 562
        VIDEO_PID = 512
        AUDIO_PID = 650
        DELIVERY_SYSTEM = DVBT
        FREQUENCY = 226500000
        INVERSION = OFF
        BANDWIDTH_HZ = 7000000
        CODE_RATE_HP = 3/4
        CODE_RATE_LP = 3/4
        MODULATION = QAM/64
        TRANSMISSION_MODE = 8K
        GUARD_INTERVAL = 1/16
        HIERARCHY = NONE

[ABC TV 3]
        SERVICE_ID = 563
        VIDEO_PID = 512
        AUDIO_PID = 650
        DELIVERY_SYSTEM = DVBT
        FREQUENCY = 226500000
        INVERSION = OFF
        BANDWIDTH_HZ = 7000000
        CODE_RATE_HP = 3/4
        CODE_RATE_LP = 3/4
        MODULATION = QAM/64
        TRANSMISSION_MODE = 8K
        GUARD_INTERVAL = 1/16
        HIERARCHY = NONE

[ABC TV 4]
        SERVICE_ID = 564
        VIDEO_PID = 512
        AUDIO_PID = 650
        DELIVERY_SYSTEM = DVBT
        FREQUENCY = 226500000
        INVERSION = OFF
        BANDWIDTH_HZ = 7000000
        CODE_RATE_HP = 3/4
        CODE_RATE_LP = 3/4
        MODULATION = QAM/64
        TRANSMISSION_MODE = 8K
        GUARD_INTERVAL = 1/16
        HIERARCHY = NONE

[ABC DiG Radio]
        SERVICE_ID = 566
        VIDEO_PID = 0
        AUDIO_PID = 2311
        DELIVERY_SYSTEM = DVBT
        FREQUENCY = 226500000
        INVERSION = OFF
        BANDWIDTH_HZ = 7000000
        CODE_RATE_HP = 3/4
        CODE_RATE_LP = 3/4
        MODULATION = QAM/64
        TRANSMISSION_MODE = 8K
        GUARD_INTERVAL = 1/16
        HIERARCHY = NONE

[TEN Digital]
        SERVICE_ID = 1585
        VIDEO_PID = 512
        AUDIO_PID = 650
        DELIVERY_SYSTEM = DVBT
        FREQUENCY = 219500000
        INVERSION = OFF
        BANDWIDTH_HZ = 7000000
        CODE_RATE_HP = 3/4
        CODE_RATE_LP = 1/2
        MODULATION = QAM/64
        TRANSMISSION_MODE = 8K
        GUARD_INTERVAL = 1/16
        HIERARCHY = NONE

[TEN Digital 1]
        SERVICE_ID = 1586
        VIDEO_PID = 512
        AUDIO_PID = 650
        DELIVERY_SYSTEM = DVBT
        FREQUENCY = 219500000
        INVERSION = OFF
        BANDWIDTH_HZ = 7000000
        CODE_RATE_HP = 3/4
        CODE_RATE_LP = 1/2
        MODULATION = QAM/64
        TRANSMISSION_MODE = 8K
        GUARD_INTERVAL = 1/16
        HIERARCHY = NONE

[TEN Digital 2]
        SERVICE_ID = 1587
        VIDEO_PID = 512
        AUDIO_PID = 650
        DELIVERY_SYSTEM = DVBT
        FREQUENCY = 219500000
        INVERSION = OFF
        BANDWIDTH_HZ = 7000000
        CODE_RATE_HP = 3/4
        CODE_RATE_LP = 1/2
        MODULATION = QAM/64
        TRANSMISSION_MODE = 8K
        GUARD_INTERVAL = 1/16
        HIERARCHY = NONE

[TEN Digital 3]
        SERVICE_ID = 1588
        VIDEO_PID = 512
        AUDIO_PID = 650
        DELIVERY_SYSTEM = DVBT
        FREQUENCY = 219500000
        INVERSION = OFF
        BANDWIDTH_HZ = 7000000
        CODE_RATE_HP = 3/4
        CODE_RATE_LP = 1/2
        MODULATION = QAM/64
        TRANSMISSION_MODE = 8K
        GUARD_INTERVAL = 1/16
        HIERARCHY = NONE

[TEN Digital]
        SERVICE_ID = 1589
        VIDEO_PID = 512
        AUDIO_PID = 650
        DELIVERY_SYSTEM = DVBT
        FREQUENCY = 219500000
        INVERSION = OFF
        BANDWIDTH_HZ = 7000000
        CODE_RATE_HP = 3/4
        CODE_RATE_LP = 1/2
        MODULATION = QAM/64
        TRANSMISSION_MODE = 8K
        GUARD_INTERVAL = 1/16
        HIERARCHY = NONE

[TEN Digital 4]
        SERVICE_ID = 1590
        VIDEO_PID = 512
        AUDIO_PID = 650
        DELIVERY_SYSTEM = DVBT
        FREQUENCY = 219500000
        INVERSION = OFF
        BANDWIDTH_HZ = 7000000
        CODE_RATE_HP = 3/4
        CODE_RATE_LP = 1/2
        MODULATION = QAM/64
        TRANSMISSION_MODE = 8K
        GUARD_INTERVAL = 1/16
        HIERARCHY = NONE

[TEN Digital]
        SERVICE_ID = 1591
        VIDEO_PID = 512
        AUDIO_PID = 650
        DELIVERY_SYSTEM = DVBT
        FREQUENCY = 219500000
        INVERSION = OFF
        BANDWIDTH_HZ = 7000000
        CODE_RATE_HP = 3/4
        CODE_RATE_LP = 1/2
        MODULATION = QAM/64
        TRANSMISSION_MODE = 8K
        GUARD_INTERVAL = 1/16
        HIERARCHY = NONE

[TEN HD]
        SERVICE_ID = 1592
        VIDEO_PID = 514
        AUDIO_PID = 0
        DELIVERY_SYSTEM = DVBT
        FREQUENCY = 219500000
        INVERSION = OFF
        BANDWIDTH_HZ = 7000000
        CODE_RATE_HP = 3/4
        CODE_RATE_LP = 1/2
        MODULATION = QAM/64
        TRANSMISSION_MODE = 8K
        GUARD_INTERVAL = 1/16
        HIERARCHY = NONE

[TEN Digital]
        SERVICE_ID = 1593
        VIDEO_PID = 512
        AUDIO_PID = 650
        DELIVERY_SYSTEM = DVBT
        FREQUENCY = 219500000
        INVERSION = OFF
        BANDWIDTH_HZ = 7000000
        CODE_RATE_HP = 3/4
        CODE_RATE_LP = 1/2
        MODULATION = QAM/64
        TRANSMISSION_MODE = 8K
        GUARD_INTERVAL = 1/16
        HIERARCHY = NONE

[Nine Digital]
        SERVICE_ID = 1072
        VIDEO_PID = 513
        AUDIO_PID = 660
        DELIVERY_SYSTEM = DVBT
        FREQUENCY = 191625000
        INVERSION = OFF
        BANDWIDTH_HZ = 7000000
        CODE_RATE_HP = 3/4
        CODE_RATE_LP = 1/2
        MODULATION = QAM/64
        TRANSMISSION_MODE = 8K
        GUARD_INTERVAL = 1/16
        HIERARCHY = NONE

[Nine Digital HD]
        SERVICE_ID = 1073
        VIDEO_PID = 512
        AUDIO_PID = 0
        DELIVERY_SYSTEM = DVBT
        FREQUENCY = 191625000
        INVERSION = OFF
        BANDWIDTH_HZ = 7000000
        CODE_RATE_HP = 3/4
        CODE_RATE_LP = 1/2
        MODULATION = QAM/64
        TRANSMISSION_MODE = 8K
        GUARD_INTERVAL = 1/16
        HIERARCHY = NONE

[Nine Guide]
        SERVICE_ID = 1074
        VIDEO_PID = 514
        AUDIO_PID = 670
        DELIVERY_SYSTEM = DVBT
        FREQUENCY = 191625000
        INVERSION = OFF
        BANDWIDTH_HZ = 7000000
        CODE_RATE_HP = 3/4
        CODE_RATE_LP = 1/2
        MODULATION = QAM/64
        TRANSMISSION_MODE = 8K
        GUARD_INTERVAL = 1/16
        HIERARCHY = NONE

[7 Digital]
        SERVICE_ID = 1328
        VIDEO_PID = 769
        AUDIO_PID = 770
        DELIVERY_SYSTEM = DVBT
        FREQUENCY = 177500000
        INVERSION = OFF
        BANDWIDTH_HZ = 7000000
        CODE_RATE_HP = 2/3
        CODE_RATE_LP = 2/3
        MODULATION = QAM/64
        TRANSMISSION_MODE = 8K
        GUARD_INTERVAL = 1/8
        HIERARCHY = NONE

[7 Digital 1]
        SERVICE_ID = 1329
        VIDEO_PID = 769
        AUDIO_PID = 770
        DELIVERY_SYSTEM = DVBT
        FREQUENCY = 177500000
        INVERSION = OFF
        BANDWIDTH_HZ = 7000000
        CODE_RATE_HP = 2/3
        CODE_RATE_LP = 2/3
        MODULATION = QAM/64
        TRANSMISSION_MODE = 8K
        GUARD_INTERVAL = 1/8
        HIERARCHY = NONE

[7 Digital 2]
        SERVICE_ID = 1330
        VIDEO_PID = 769
        AUDIO_PID = 770
        DELIVERY_SYSTEM = DVBT
        FREQUENCY = 177500000
        INVERSION = OFF
        BANDWIDTH_HZ = 7000000
        CODE_RATE_HP = 2/3
        CODE_RATE_LP = 2/3
        MODULATION = QAM/64
        TRANSMISSION_MODE = 8K
        GUARD_INTERVAL = 1/8
        HIERARCHY = NONE

[7 Digital 3]
        SERVICE_ID = 1331
        VIDEO_PID = 769
        AUDIO_PID = 770
        DELIVERY_SYSTEM = DVBT
        FREQUENCY = 177500000
        INVERSION = OFF
        BANDWIDTH_HZ = 7000000
        CODE_RATE_HP = 2/3
        CODE_RATE_LP = 2/3
        MODULATION = QAM/64
        TRANSMISSION_MODE = 8K
        GUARD_INTERVAL = 1/8
        HIERARCHY = NONE

[7 HD Digital]
        SERVICE_ID = 1332
        VIDEO_PID = 833
        AUDIO_PID = 834
        DELIVERY_SYSTEM = DVBT
        FREQUENCY = 177500000
        INVERSION = OFF
        BANDWIDTH_HZ = 7000000
        CODE_RATE_HP = 2/3
        CODE_RATE_LP = 2/3
        MODULATION = QAM/64
        TRANSMISSION_MODE = 8K
        GUARD_INTERVAL = 1/8
        HIERARCHY = NONE

[7 Program Guide]
        SERVICE_ID = 1334
        VIDEO_PID = 865
        AUDIO_PID = 866
        DELIVERY_SYSTEM = DVBT
        FREQUENCY = 177500000
        INVERSION = OFF
        BANDWIDTH_HZ = 7000000
        CODE_RATE_HP = 2/3
        CODE_RATE_LP = 2/3
        MODULATION = QAM/64
        TRANSMISSION_MODE = 8K
        GUARD_INTERVAL = 1/8
        HIERARCHY = NONE

[SBS HD]
        SERVICE_ID = 784
        VIDEO_PID = 102
        AUDIO_PID = 103
        DELIVERY_SYSTEM = DVBT
        FREQUENCY = 536500000
        INVERSION = OFF
        BANDWIDTH_HZ = 7000000
        CODE_RATE_HP = 2/3
        CODE_RATE_LP = 2/3
        MODULATION = QAM/64
        TRANSMISSION_MODE = 8K
        GUARD_INTERVAL = 1/8
        HIERARCHY = NONE

[SBS DIGITAL 1]
        SERVICE_ID = 785
        VIDEO_PID = 161
        AUDIO_PID = 81
        DELIVERY_SYSTEM = DVBT
        FREQUENCY = 536500000
        INVERSION = OFF
        BANDWIDTH_HZ = 7000000
        CODE_RATE_HP = 2/3
        CODE_RATE_LP = 2/3
        MODULATION = QAM/64
        TRANSMISSION_MODE = 8K
        GUARD_INTERVAL = 1/8
        HIERARCHY = NONE

[SBS DIGITAL 2]
        SERVICE_ID = 786
        VIDEO_PID = 162
        AUDIO_PID = 83
        DELIVERY_SYSTEM = DVBT
        FREQUENCY = 536500000
        INVERSION = OFF
        BANDWIDTH_HZ = 7000000
        CODE_RATE_HP = 2/3
        CODE_RATE_LP = 2/3
        MODULATION = QAM/64
        TRANSMISSION_MODE = 8K
        GUARD_INTERVAL = 1/8
        HIERARCHY = NONE

[SBS EPG]
        SERVICE_ID = 787
        VIDEO_PID = 163
        AUDIO_PID = 85
        DELIVERY_SYSTEM = DVBT
        FREQUENCY = 536500000
        INVERSION = OFF
        BANDWIDTH_HZ = 7000000
        CODE_RATE_HP = 2/3
        CODE_RATE_LP = 2/3
        MODULATION = QAM/64
        TRANSMISSION_MODE = 8K
        GUARD_INTERVAL = 1/8
        HIERARCHY = NONE

[SBS RADIO 1]
        SERVICE_ID = 798
        VIDEO_PID = 0
        AUDIO_PID = 201
        DELIVERY_SYSTEM = DVBT
        FREQUENCY = 536500000
        INVERSION = OFF
        BANDWIDTH_HZ = 7000000
        CODE_RATE_HP = 2/3
        CODE_RATE_LP = 2/3
        MODULATION = QAM/64
        TRANSMISSION_MODE = 8K
        GUARD_INTERVAL = 1/8
        HIERARCHY = NONE

[SBS RADIO 2]
        SERVICE_ID = 799
        VIDEO_PID = 0
        AUDIO_PID = 202
        DELIVERY_SYSTEM = DVBT
        FREQUENCY = 536500000
        INVERSION = OFF
        BANDWIDTH_HZ = 7000000
        CODE_RATE_HP = 2/3
        CODE_RATE_LP = 2/3
        MODULATION = QAM/64
        TRANSMISSION_MODE = 8K
        GUARD_INTERVAL = 1/8
        HIERARCHY = NONE
```

---

# References

_Peios Kernel / Administration / System administration / Media devices_

> The main development site and GIT repository for Digital TV drivers is https://linuxtv.org.

<a id="rst-references"></a>

<!-- SPDX-License-Identifier: GPL-2.0 -->

The main development site and GIT repository for Digital TV drivers is [https://linuxtv.org](<https://linuxtv.org>).

The DVB mailing list linux-dvb is hosted at vger. Please see [http://vger.kernel.org/vger-lists.html\#linux-media](<http://vger.kernel.org/vger-lists.html#linux-media>) for details.

There are also some other old lists hosted at: [https://linuxtv.org/lists.php](<https://linuxtv.org/lists.php>). If you're interested on that for historic reasons, please check the archive at [https://linuxtv.org/pipermail/linux-dvb/](<https://linuxtv.org/pipermail/linux-dvb/>).

The media subsystem Wiki is hosted at [https://linuxtv.org/wiki/](<https://linuxtv.org/wiki/>). There, you'll find lots of information, from both development and usage of media boards. Please check it before asking newbie questions on the mailing list or IRC channels.

The API documentation is documented at the Kernel tree. You can find it in both html and pdf formats, together with other useful documentation at:

> - [https://linuxtv.org/docs.php](<https://linuxtv.org/docs.php>).

You may also find useful material at [https://linuxtv.org/downloads/](<https://linuxtv.org/downloads/>).

In order to get the needed firmware for some drivers to work, there's a script at the kernel tree, at scripts/get_dvb_firmware.

---

# EM28xx cards list

_Peios Kernel / Administration / System administration / Media devices_

> Reference for EM28xx cards list.

<a id="rst-em28xx-cards-list"></a>

<!-- SPDX-License-Identifier: GPL-2.0 -->

<!-- tabularcolumns: |p{1.4cm}|p{10.0cm}|p{1.9cm}|p{4.2cm}| -->


<table>
<thead>
<tr>
<th>


Card number

</th>
<th>


Card name

</th>
<th>


Empia Chip

</th>
<th>


USB IDs

</th>
</tr>
</thead>
<tbody>
<tr>
<td>


0

</td>
<td>


Unknown EM2800 video grabber

</td>
<td>


em2800

</td>
<td>


eb1a:2800

</td>
</tr>
<tr>
<td>


1

</td>
<td>


Unknown EM2750/28xx video grabber

</td>
<td>


em2820 or em2840

</td>
<td>


eb1a:2710, eb1a:2820, eb1a:2821, eb1a:2860, eb1a:2861, eb1a:2862, eb1a:2863, eb1a:2870, eb1a:2881, eb1a:2883, eb1a:2868, eb1a:2875

</td>
</tr>
<tr>
<td>


2

</td>
<td>


Terratec Cinergy 250 USB

</td>
<td>


em2820 or em2840

</td>
<td>


0ccd:0036

</td>
</tr>
<tr>
<td>


3

</td>
<td>


Pinnacle PCTV USB 2

</td>
<td>


em2820 or em2840

</td>
<td>


2304:0208

</td>
</tr>
<tr>
<td>


4

</td>
<td>


Hauppauge WinTV USB 2

</td>
<td>


em2820 or em2840

</td>
<td>


2040:4200, 2040:4201

</td>
</tr>
<tr>
<td>


5

</td>
<td>


MSI VOX USB 2.0

</td>
<td>


em2820 or em2840

</td>
<td>




</td>
</tr>
<tr>
<td>


6

</td>
<td>


Terratec Cinergy 200 USB

</td>
<td>


em2800

</td>
<td>




</td>
</tr>
<tr>
<td>


7

</td>
<td>


Leadtek Winfast USB II

</td>
<td>


em2800

</td>
<td>


0413:6023

</td>
</tr>
<tr>
<td>


8

</td>
<td>


Kworld USB2800

</td>
<td>


em2800

</td>
<td>




</td>
</tr>
<tr>
<td>


9

</td>
<td>


Pinnacle Dazzle DVC 90/100/101/107 / Kaiser Baas Video to DVD maker / Kworld DVD Maker 2 / Plextor ConvertX PX-AV100U

</td>
<td>


em2820 or em2840

</td>
<td>


1b80:e302, 1b80:e304, 2304:0207, 2304:021a, 093b:a003

</td>
</tr>
<tr>
<td>


10

</td>
<td>


Hauppauge WinTV HVR 900

</td>
<td>


em2880

</td>
<td>


2040:6500

</td>
</tr>
<tr>
<td>


11

</td>
<td>


Terratec Hybrid XS

</td>
<td>


em2880

</td>
<td>




</td>
</tr>
<tr>
<td>


12

</td>
<td>


Kworld PVR TV 2800 RF

</td>
<td>


em2820 or em2840

</td>
<td>




</td>
</tr>
<tr>
<td>


13

</td>
<td>


Terratec Prodigy XS

</td>
<td>


em2880

</td>
<td>




</td>
</tr>
<tr>
<td>


14

</td>
<td>


SIIG AVTuner-PVR / Pixelview Prolink PlayTV USB 2.0

</td>
<td>


em2820 or em2840

</td>
<td>




</td>
</tr>
<tr>
<td>


15

</td>
<td>


V-Gear PocketTV

</td>
<td>


em2800

</td>
<td>




</td>
</tr>
<tr>
<td>


16

</td>
<td>


Hauppauge WinTV HVR 950

</td>
<td>


em2883

</td>
<td>


2040:6513, 2040:6517, 2040:651b

</td>
</tr>
<tr>
<td>


17

</td>
<td>


Pinnacle PCTV HD Pro Stick

</td>
<td>


em2880

</td>
<td>


2304:0227

</td>
</tr>
<tr>
<td>


18

</td>
<td>


Hauppauge WinTV HVR 900 (R2)

</td>
<td>


em2880

</td>
<td>


2040:6502

</td>
</tr>
<tr>
<td>


19

</td>
<td>


EM2860/SAA711X Reference Design

</td>
<td>


em2860

</td>
<td>




</td>
</tr>
<tr>
<td>


20

</td>
<td>


AMD ATI TV Wonder HD 600

</td>
<td>


em2880

</td>
<td>


0438:b002

</td>
</tr>
<tr>
<td>


21

</td>
<td>


eMPIA Technology, Inc. GrabBeeX+ Video Encoder

</td>
<td>


em2800

</td>
<td>


eb1a:2801

</td>
</tr>
<tr>
<td>


22

</td>
<td>


EM2710/EM2750/EM2751 webcam grabber

</td>
<td>


em2750

</td>
<td>


eb1a:2750, eb1a:2751

</td>
</tr>
<tr>
<td>


23

</td>
<td>


Huaqi DLCW-130

</td>
<td>


em2750

</td>
<td>




</td>
</tr>
<tr>
<td>


24

</td>
<td>


D-Link DUB-T210 TV Tuner

</td>
<td>


em2820 or em2840

</td>
<td>


2001:f112

</td>
</tr>
<tr>
<td>


25

</td>
<td>


Gadmei UTV310

</td>
<td>


em2820 or em2840

</td>
<td>




</td>
</tr>
<tr>
<td>


26

</td>
<td>


Hercules Smart TV USB 2.0

</td>
<td>


em2820 or em2840

</td>
<td>




</td>
</tr>
<tr>
<td>


27

</td>
<td>


Pinnacle PCTV USB 2 (Philips FM1216ME)

</td>
<td>


em2820 or em2840

</td>
<td>




</td>
</tr>
<tr>
<td>


28

</td>
<td>


Leadtek Winfast USB II Deluxe

</td>
<td>


em2820 or em2840

</td>
<td>




</td>
</tr>
<tr>
<td>


29

</td>
<td>


EM2860/TVP5150 Reference Design

</td>
<td>


em2860

</td>
<td>


eb1a:5051

</td>
</tr>
<tr>
<td>


30

</td>
<td>


Videology 20K14XUSB USB2.0

</td>
<td>


em2820 or em2840

</td>
<td>




</td>
</tr>
<tr>
<td>


31

</td>
<td>


Usbgear VD204v9

</td>
<td>


em2821

</td>
<td>




</td>
</tr>
<tr>
<td>


32

</td>
<td>


Supercomp USB 2.0 TV

</td>
<td>


em2821

</td>
<td>




</td>
</tr>
<tr>
<td>


33

</td>
<td>


Elgato Video Capture

</td>
<td>


em2860

</td>
<td>


0fd9:0033

</td>
</tr>
<tr>
<td>


34

</td>
<td>


Terratec Cinergy A Hybrid XS

</td>
<td>


em2860

</td>
<td>


0ccd:004f

</td>
</tr>
<tr>
<td>


35

</td>
<td>


Typhoon DVD Maker

</td>
<td>


em2860

</td>
<td>




</td>
</tr>
<tr>
<td>


36

</td>
<td>


NetGMBH Cam

</td>
<td>


em2860

</td>
<td>




</td>
</tr>
<tr>
<td>


37

</td>
<td>


Gadmei UTV330

</td>
<td>


em2860

</td>
<td>


eb1a:50a6

</td>
</tr>
<tr>
<td>


38

</td>
<td>


Yakumo MovieMixer

</td>
<td>


em2861

</td>
<td>




</td>
</tr>
<tr>
<td>


39

</td>
<td>


KWorld PVRTV 300U

</td>
<td>


em2861

</td>
<td>


eb1a:e300

</td>
</tr>
<tr>
<td>


40

</td>
<td>


Plextor ConvertX PX-TV100U

</td>
<td>


em2861

</td>
<td>


093b:a005

</td>
</tr>
<tr>
<td>


41

</td>
<td>


Kworld 350 U DVB-T

</td>
<td>


em2870

</td>
<td>


eb1a:e350

</td>
</tr>
<tr>
<td>


42

</td>
<td>


Kworld 355 U DVB-T

</td>
<td>


em2870

</td>
<td>


eb1a:e355, eb1a:e357, eb1a:e359

</td>
</tr>
<tr>
<td>


43

</td>
<td>


Terratec Cinergy T XS

</td>
<td>


em2870

</td>
<td>




</td>
</tr>
<tr>
<td>


44

</td>
<td>


Terratec Cinergy T XS (MT2060)

</td>
<td>


em2870

</td>
<td>


0ccd:0043

</td>
</tr>
<tr>
<td>


45

</td>
<td>


Pinnacle PCTV DVB-T

</td>
<td>


em2870

</td>
<td>




</td>
</tr>
<tr>
<td>


46

</td>
<td>


Compro, VideoMate U3

</td>
<td>


em2870

</td>
<td>


185b:2870

</td>
</tr>
<tr>
<td>


47

</td>
<td>


KWorld DVB-T 305U

</td>
<td>


em2880

</td>
<td>


eb1a:e305

</td>
</tr>
<tr>
<td>


48

</td>
<td>


KWorld DVB-T 310U

</td>
<td>


em2880

</td>
<td>




</td>
</tr>
<tr>
<td>


49

</td>
<td>


MSI DigiVox A/D

</td>
<td>


em2880

</td>
<td>


eb1a:e310

</td>
</tr>
<tr>
<td>


50

</td>
<td>


MSI DigiVox A/D II

</td>
<td>


em2880

</td>
<td>


eb1a:e320

</td>
</tr>
<tr>
<td>


51

</td>
<td>


Terratec Hybrid XS Secam

</td>
<td>


em2880

</td>
<td>


0ccd:004c

</td>
</tr>
<tr>
<td>


52

</td>
<td>


DNT DA2 Hybrid

</td>
<td>


em2881

</td>
<td>




</td>
</tr>
<tr>
<td>


53

</td>
<td>


Pinnacle Hybrid Pro

</td>
<td>


em2881

</td>
<td>




</td>
</tr>
<tr>
<td>


54

</td>
<td>


Kworld VS-DVB-T 323UR

</td>
<td>


em2882

</td>
<td>


eb1a:e323

</td>
</tr>
<tr>
<td>


55

</td>
<td>


Terratec Cinergy Hybrid T USB XS (em2882)

</td>
<td>


em2882

</td>
<td>


0ccd:005e, 0ccd:0042

</td>
</tr>
<tr>
<td>


56

</td>
<td>


Pinnacle Hybrid Pro (330e)

</td>
<td>


em2882

</td>
<td>


2304:0226

</td>
</tr>
<tr>
<td>


57

</td>
<td>


Kworld PlusTV HD Hybrid 330

</td>
<td>


em2883

</td>
<td>


eb1a:a316

</td>
</tr>
<tr>
<td>


58

</td>
<td>


Compro VideoMate ForYou/Stereo

</td>
<td>


em2820 or em2840

</td>
<td>


185b:2041

</td>
</tr>
<tr>
<td>


59

</td>
<td>


Pinnacle PCTV HD Mini

</td>
<td>


em2874

</td>
<td>


2304:023f

</td>
</tr>
<tr>
<td>


60

</td>
<td>


Hauppauge WinTV HVR 850

</td>
<td>


em2883

</td>
<td>


2040:651f

</td>
</tr>
<tr>
<td>


61

</td>
<td>


Pixelview PlayTV Box 4 USB 2.0

</td>
<td>


em2820 or em2840

</td>
<td>




</td>
</tr>
<tr>
<td>


62

</td>
<td>


Gadmei TVR200

</td>
<td>


em2820 or em2840

</td>
<td>




</td>
</tr>
<tr>
<td>


63

</td>
<td>


Kaiomy TVnPC U2

</td>
<td>


em2860

</td>
<td>


eb1a:e303

</td>
</tr>
<tr>
<td>


64

</td>
<td>


Easy Cap Capture DC-60

</td>
<td>


em2860

</td>
<td>


1b80:e309

</td>
</tr>
<tr>
<td>


65

</td>
<td>


IO-DATA GV-MVP/SZ

</td>
<td>


em2820 or em2840

</td>
<td>


04bb:0515

</td>
</tr>
<tr>
<td>


66

</td>
<td>


Empire dual TV

</td>
<td>


em2880

</td>
<td>




</td>
</tr>
<tr>
<td>


67

</td>
<td>


Terratec Grabby

</td>
<td>


em2860

</td>
<td>


0ccd:0096, 0ccd:10AF

</td>
</tr>
<tr>
<td>


68

</td>
<td>


Terratec AV350

</td>
<td>


em2860

</td>
<td>


0ccd:0084

</td>
</tr>
<tr>
<td>


69

</td>
<td>


KWorld ATSC 315U HDTV TV Box

</td>
<td>


em2882

</td>
<td>


eb1a:a313

</td>
</tr>
<tr>
<td>


70

</td>
<td>


Evga inDtube

</td>
<td>


em2882

</td>
<td>




</td>
</tr>
<tr>
<td>


71

</td>
<td>


Silvercrest Webcam 1.3mpix

</td>
<td>


em2820 or em2840

</td>
<td>




</td>
</tr>
<tr>
<td>


72

</td>
<td>


Gadmei UTV330+

</td>
<td>


em2861

</td>
<td>




</td>
</tr>
<tr>
<td>


73

</td>
<td>


Reddo DVB-C USB TV Box

</td>
<td>


em2870

</td>
<td>




</td>
</tr>
<tr>
<td>


74

</td>
<td>


Actionmaster/LinXcel/Digitus VC211A

</td>
<td>


em2800

</td>
<td>




</td>
</tr>
<tr>
<td>


75

</td>
<td>


Dikom DK300

</td>
<td>


em2882

</td>
<td>




</td>
</tr>
<tr>
<td>


76

</td>
<td>


KWorld PlusTV 340U or UB435-Q (ATSC)

</td>
<td>


em2870

</td>
<td>


1b80:a340

</td>
</tr>
<tr>
<td>


77

</td>
<td>


EM2874 Leadership ISDBT

</td>
<td>


em2874

</td>
<td>




</td>
</tr>
<tr>
<td>


78

</td>
<td>


PCTV nanoStick T2 290e

</td>
<td>


em28174

</td>
<td>


2013:024f

</td>
</tr>
<tr>
<td>


79

</td>
<td>


Terratec Cinergy H5

</td>
<td>


em2884

</td>
<td>


eb1a:2885, 0ccd:10a2, 0ccd:10ad, 0ccd:10b6

</td>
</tr>
<tr>
<td>


80

</td>
<td>


PCTV DVB-S2 Stick (460e)

</td>
<td>


em28174

</td>
<td>


2013:024c

</td>
</tr>
<tr>
<td>


81

</td>
<td>


Hauppauge WinTV HVR 930C

</td>
<td>


em2884

</td>
<td>


2040:1605

</td>
</tr>
<tr>
<td>


82

</td>
<td>


Terratec Cinergy HTC Stick

</td>
<td>


em2884

</td>
<td>


0ccd:00b2

</td>
</tr>
<tr>
<td>


83

</td>
<td>


Honestech Vidbox NW03

</td>
<td>


em2860

</td>
<td>


eb1a:5006

</td>
</tr>
<tr>
<td>


84

</td>
<td>


MaxMedia UB425-TC

</td>
<td>


em2874

</td>
<td>


1b80:e425

</td>
</tr>
<tr>
<td>


85

</td>
<td>


PCTV QuatroStick (510e)

</td>
<td>


em2884

</td>
<td>


2304:0242

</td>
</tr>
<tr>
<td>


86

</td>
<td>


PCTV QuatroStick nano (520e)

</td>
<td>


em2884

</td>
<td>


2013:0251

</td>
</tr>
<tr>
<td>


87

</td>
<td>


Terratec Cinergy HTC USB XS

</td>
<td>


em2884

</td>
<td>


0ccd:008e, 0ccd:00ac

</td>
</tr>
<tr>
<td>


88

</td>
<td>


C3 Tech Digital Duo HDTV/SDTV USB

</td>
<td>


em2884

</td>
<td>


1b80:e755

</td>
</tr>
<tr>
<td>


89

</td>
<td>


Delock 61959

</td>
<td>


em2874

</td>
<td>


1b80:e1cc

</td>
</tr>
<tr>
<td>


90

</td>
<td>


KWorld USB ATSC TV Stick UB435-Q V2

</td>
<td>


em2874

</td>
<td>


1b80:e346

</td>
</tr>
<tr>
<td>


91

</td>
<td>


SpeedLink Vicious And Devine Laplace webcam

</td>
<td>


em2765

</td>
<td>


1ae7:9003, 1ae7:9004

</td>
</tr>
<tr>
<td>


92

</td>
<td>


PCTV DVB-S2 Stick (461e)

</td>
<td>


em28178

</td>
<td>


2013:0258

</td>
</tr>
<tr>
<td>


93

</td>
<td>


KWorld USB ATSC TV Stick UB435-Q V3

</td>
<td>


em2874

</td>
<td>


1b80:e34c

</td>
</tr>
<tr>
<td>


94

</td>
<td>


PCTV tripleStick (292e)

</td>
<td>


em28178

</td>
<td>


2013:025f, 2013:0264, 2040:0264, 2040:8264, 2040:8268

</td>
</tr>
<tr>
<td>


95

</td>
<td>


Leadtek VC100

</td>
<td>


em2861

</td>
<td>


0413:6f07

</td>
</tr>
<tr>
<td>


96

</td>
<td>


Terratec Cinergy T2 Stick HD

</td>
<td>


em28178

</td>
<td>


eb1a:8179

</td>
</tr>
<tr>
<td>


97

</td>
<td>


Elgato EyeTV Hybrid 2008 INT

</td>
<td>


em2884

</td>
<td>


0fd9:0018

</td>
</tr>
<tr>
<td>


98

</td>
<td>


PLEX PX-BCUD

</td>
<td>


em28178

</td>
<td>


3275:0085

</td>
</tr>
<tr>
<td>


99

</td>
<td>


Hauppauge WinTV-dualHD DVB

</td>
<td>


em28174

</td>
<td>


2040:0265, 2040:8265

</td>
</tr>
<tr>
<td>


100

</td>
<td>


Hauppauge WinTV-dualHD 01595 ATSC/QAM

</td>
<td>


em28174

</td>
<td>


2040:026d, 2040:826d

</td>
</tr>
<tr>
<td>


101

</td>
<td>


Terratec Cinergy H6 rev. 2

</td>
<td>


em2884

</td>
<td>


0ccd:10b2

</td>
</tr>
<tr>
<td>


102

</td>
<td>


:ZOLID HYBRID TV STICK

</td>
<td>


em2882

</td>
<td>




</td>
</tr>
<tr>
<td>


103

</td>
<td>


Magix USB Videowandler-2

</td>
<td>


em2861

</td>
<td>


1b80:e349

</td>
</tr>
<tr>
<td>


104

</td>
<td>


PCTV DVB-S2 Stick (461e v2)

</td>
<td>


em28178

</td>
<td>


2013:0461, 2013:0259

</td>
</tr>
<tr>
<td>


105

</td>
<td>


MyGica iGrabber

</td>
<td>


em2860

</td>
<td>


1f4d:1abe

</td>
</tr>
<tr>
<td>


106

</td>
<td>


Hauppauge USB QuadHD ATSC

</td>
<td>


em28274

</td>
<td>


2040:846d

</td>
</tr>
<tr>
<td>


107

</td>
<td>


MyGica UTV3 Analog USB2.0 TV Box

</td>
<td>


em2860

</td>
<td>


eb1a:2860

</td>
</tr>
</tbody>
</table>

---

# FAQ

_Peios Kernel / Administration / System administration / Media devices_

> Some very frequently asked questions about Linux Digital TV support

<a id="rst-faq"></a>

<!-- SPDX-License-Identifier: GPL-2.0 -->

> [!NOTE]
>
> 1. With Digital TV, a single physical channel may have different contents inside it. The specs call each one as a *service*. This is what a TV user would call "channel". So, in order to avoid confusion, we're calling *transponders* as the physical channel on this FAQ, and *services* for the logical channel.
>
> 2. The LinuxTV community maintains some Wiki pages with contain a lot of information related to the media subsystem. If you don't find an answer for your needs here, it is likely that you'll be able to get something useful there. It is hosted at:
>
>    [https://www.linuxtv.org/wiki/](<https://www.linuxtv.org/wiki/>)

Some very frequently asked questions about Linux Digital TV support

1. The signal seems to die a few seconds after tuning.

   > It's not a bug, it's a feature. Because the frontends have significant power requirements (and hence get very hot), they are powered down if they are unused (i.e. if the frontend device is closed). The `dvb-core` module parameter `dvb_shutdown_timeout` allow you to change the timeout (default 5 seconds). Setting the timeout to 0 disables the timeout feature.

2. How can I watch TV?

   > Together with the Linux Kernel, the Digital TV developers support some simple utilities which are mainly intended for testing and to demonstrate how the DVB API works. This is called DVB v5 tools and are grouped together with the `v4l-utils` git repository:
   >
   > > [https://git.linuxtv.org/v4l-utils.git/](<https://git.linuxtv.org/v4l-utils.git/>)
   >
   > You can find more information at the LinuxTV wiki:
   >
   > > [https://www.linuxtv.org/wiki/index.php/DVBv5_Tools](<https://www.linuxtv.org/wiki/index.php/DVBv5_Tools>)
   >
   > The first step is to get a list of services that are transmitted.
   >
   > This is done by using several existing tools. You can use for example the `dvbv5-scan` tool. You can find more information about it at:
   >
   > > [https://www.linuxtv.org/wiki/index.php/Dvbv5-scan](<https://www.linuxtv.org/wiki/index.php/Dvbv5-scan>)
   >
   > There are some other applications like `w_scan` <a id="rst-footnote-reference-1"></a>[1](#rst-footnote-1) that do a blind scan, trying hard to find all possible channels, but those consumes a large amount of time to run.
   >
   > <a id="rst-footnote-1"></a>
   >
   >
   >
   > **[1]** [https://www.linuxtv.org/wiki/index.php/W_scan](<https://www.linuxtv.org/wiki/index.php/W_scan>)
   >
   > Also, some applications like `kaffeine` have their own code to scan for services. So, you don't need to use an external application to obtain such list.
   >
   > Most of such tools need a file containing a list of channel transponders available on your area. So, LinuxTV developers maintain tables of Digital TV channel transponders, receiving patches from the community to keep them updated.
   >
   > This list is hosted at:
   >
   > > [https://git.linuxtv.org/dtv-scan-tables.git](<https://git.linuxtv.org/dtv-scan-tables.git>)
   >
   > And packaged on several distributions.
   >
   > Kaffeine has some blind scan support for some terrestrial standards. It also relies on DTV scan tables, although it contains a copy of it internally (and, if requested by the user, it will download newer versions of it).
   >
   > If you are lucky you can just use one of the supplied channel transponders. If not, you may need to seek for such info at the Internet and create a new file. There are several sites with contains physical channel lists. For cable and satellite, usually knowing how to tune into a single channel is enough for the scanning tool to identify the other channels. On some places, this could also work for terrestrial transmissions.
   >
   > Once you have a transponders list, you need to generate a services list with a tool like `dvbv5-scan`.
   >
   > Almost all modern Digital TV cards don't have built-in hardware MPEG-decoders. So, it is up to the application to get a MPEG-TS stream provided by the board, split it into audio, video and other data and decode.

3. Which Digital TV applications exist?

   > Several media player applications are capable of tuning into digital TV channels, including Kaffeine, Vlc, mplayer and MythTV.
   >
   > Kaffeine aims to be very user-friendly, and it is maintained by one of the Kernel driver developers.
   >
   > A comprehensive list of those and other apps can be found at:
   >
   > > [https://www.linuxtv.org/wiki/index.php/TV_Related_Software](<https://www.linuxtv.org/wiki/index.php/TV_Related_Software>)
   >
   > Some of the most popular ones are linked below:
   >
   > - **[https://kde.org/applications/multimedia/org.kde.kaffeine](<https://kde.org/applications/multimedia/org.kde.kaffeine>)**
   >
   >   KDE media player, focused on Digital TV support
   >
   > - **[https://www.linuxtv.org/vdrwiki/index.php/Main_Page](<https://www.linuxtv.org/vdrwiki/index.php/Main_Page>)**
   >
   >   Klaus Schmidinger's Video Disk Recorder
   >
   > - **[https://linuxtv.org/downloads](<https://linuxtv.org/downloads>) and [https://git.linuxtv.org/](<https://git.linuxtv.org/>)**
   >
   >   Digital TV and other media-related applications and Kernel drivers. The `v4l-utils` package there contains several swiss knife tools for using with Digital TV.
   >
   > - **[http://sourceforge.net/projects/dvbtools/](<http://sourceforge.net/projects/dvbtools/>)**
   >
   >   Dave Chapman's dvbtools package, including dvbstream and dvbtune
   >
   > - **[http://www.dbox2.info/](<http://www.dbox2.info/>)**
   >
   >   LinuxDVB on the dBox2
   >
   > - **[http://www.tuxbox.org/](<http://www.tuxbox.org/>)**
   >
   >   the TuxBox CVS many interesting DVB applications and the dBox2 DVB source
   >
   > - **[http://www.nenie.org/misc/mpsys/](<http://www.nenie.org/misc/mpsys/>)**
   >
   >   MPSYS: a MPEG2 system library and tools
   >
   > - **[https://www.videolan.org/vlc/index.pt.html](<https://www.videolan.org/vlc/index.pt.html>)**
   >
   >   Vlc
   >
   > - **[http://mplayerhq.hu/](<http://mplayerhq.hu/>)**
   >
   >   MPlayer
   >
   > - **[http://xine.sourceforge.net/](<http://xine.sourceforge.net/>) and [http://xinehq.de/](<http://xinehq.de/>)**
   >
   >   Xine
   >
   > - **[http://www.mythtv.org/](<http://www.mythtv.org/>)**
   >
   >   MythTV - analog TV and digital TV PVR
   >
   > - **[http://dvbsnoop.sourceforge.net/](<http://dvbsnoop.sourceforge.net/>)**
   >
   >   DVB sniffer program to monitor, analyze, debug, dump or view dvb/mpeg/dsm-cc/mhp stream information (TS, PES, SECTION)

4. Can't get a signal tuned correctly

   > That could be due to a lot of problems. On my personal experience, usually TV cards need stronger signals than TV sets, and are more sensitive to noise. So, perhaps you just need a better antenna or cabling. Yet, it could also be some hardware or driver issue.
   >
   > For example, if you are using a Technotrend/Hauppauge DVB-C card *without* analog module, you might have to use module parameter adac=-1 (dvb-ttpci.o).
   >
   > Please see the FAQ page at linuxtv.org, as it could contain some valuable information:
   >
   > > [https://www.linuxtv.org/wiki/index.php/FAQ\_%26_Troubleshooting](<https://www.linuxtv.org/wiki/index.php/FAQ_%26_Troubleshooting>)
   >
   > If that doesn't work, check at the linux-media ML archives, to see if someone else had a similar problem with your hardware and/or digital TV service provider:
   >
   > > [https://lore.kernel.org/linux-media/](<https://lore.kernel.org/linux-media/>)
   >
   > If none of this works, you can try sending an e-mail to the linux-media ML and see if someone else could shed some light. The e-mail is linux-media AT vger.kernel.org.

5. The dvb_net device doesn't give me any packets at all

   > Run `tcpdump` on the `dvb0_0` interface. This sets the interface into promiscuous mode so it accepts any packets from the PID you have configured with the `dvbnet` utility. Check if there are any packets with the IP addr and MAC addr you have configured with `ifconfig` or with `ip addr`.
   >
   > If `tcpdump` doesn't give you any output, check the statistics which `ifconfig` or `netstat -ni` outputs. (Note: If the MAC address is wrong, `dvb_net` won't get any input; thus you have to run `tcpdump` before checking the statistics.) If there are no packets at all then maybe the PID is wrong. If there are error packets, then either the PID is wrong or the stream does not conform to the MPE standard (EN 301 192, [http://www.etsi.org/](<http://www.etsi.org/>)). You can use e.g. `dvbsnoop` for debugging.

6. The `dvb_net` device doesn't give me any multicast packets

   > Check your routes if they include the multicast address range. Additionally make sure that "source validation by reversed path lookup" is disabled:
   >
   >
   >
   > ```text
   > $ "echo 0 > /proc/sys/net/ipv4/conf/dvb0/rp_filter"
   > ```

7. What are all those modules that need to be loaded?

   > In order to make it more flexible and support different hardware combinations, the media subsystem is written on a modular way.
   >
   > So, besides the Digital TV hardware module for the main chipset, it also needs to load a frontend driver, plus the Digital TV core. If the board also has remote controller, it will also need the remote controller core and the remote controller tables. The same happens if the board has support for analog TV: the core support for video4linux need to be loaded.
   >
   > The actual module names are Linux-kernel version specific, as, from time to time, things change, in order to make the media support more flexible.

---

# The Samsung S5P/Exynos4 FIMC driver

_Peios Kernel / Administration / System administration / Media devices_

> Copyright © 2012 - 2013 Samsung Electronics Co., Ltd.

<a id="rst-the-samsung-s5p-exynos4-fimc-driver"></a>

<!-- SPDX-License-Identifier: GPL-2.0 -->

<!-- This data file has been placed in the public domain. -->

<!-- Derived from the Unicode character mappings available from
<http://www.w3.org/2003/entities/xml/>.
Processed by unicode2rstsubs.py, part of Docutils:
<https://docutils.sourceforge.io>. -->

Copyright © 2012 - 2013 Samsung Electronics Co., Ltd.

The FIMC (Fully Interactive Mobile Camera) device available in Samsung SoC Application Processors is an integrated camera host interface, color space converter, image resizer and rotator.  It's also capable of capturing data from LCD controller (FIMD) through the SoC internal writeback data path.  There are multiple FIMC instances in the SoCs (up to 4), having slightly different capabilities, like pixel alignment constraints, rotator availability, LCD writeback support, etc. The driver is located at drivers/media/platform/samsung/exynos4-is directory.

<a id="rst-supported-socs"></a>

## Supported SoCs

S5PC100 (mem-to-mem only), S5PV210, Exynos4210

<a id="rst-supported-features"></a>

## Supported features

- camera parallel interface capture (ITU-R.BT601/565);

- camera serial interface capture (MIPI-CSI2);

- memory-to-memory processing (color space conversion, scaling, mirror and rotation);

- dynamic pipeline re-configuration at runtime (re-attachment of any FIMC instance to any parallel video input or any MIPI-CSI front-end);

- runtime PM and system wide suspend/resume

<a id="rst-not-currently-supported"></a>

## Not currently supported

- LCD writeback input

- per frame clock gating (mem-to-mem)

<a id="rst-user-space-interfaces"></a>

## User space interfaces

<a id="rst-media-device-interface"></a>

### Media device interface

The driver supports Media Controller API as defined at [Part IV - Media Controller API](</kernel/userspace/userspace-api/media-mediactl/media-controller.md#rst-media-controller>). The media device driver name is "Samsung S5P FIMC".

The purpose of this interface is to allow changing assignment of FIMC instances to the SoC peripheral camera input at runtime and optionally to control internal connections of the MIPI-CSIS device(s) to the FIMC entities.

The media device interface allows to configure the SoC for capturing image data from the sensor through more than one FIMC instance (e.g. for simultaneous viewfinder and still capture setup).

Reconfiguration is done by enabling/disabling media links created by the driver during initialization. The internal device topology can be easily discovered through media entity and links enumeration.

<a id="rst-memory-to-memory-video-node"></a>

### Memory-to-memory video node

V4L2 memory-to-memory interface at /dev/video? device node.  This is standalone video device, it has no media pads. However please note the mem-to-mem and capture video node operation on same FIMC instance is not allowed.  The driver detects such cases but the applications should prevent them to avoid an undefined behaviour.

<a id="rst-capture-video-node"></a>

### Capture video node

The driver supports V4L2 Video Capture Interface as defined at [Interfaces](</kernel/userspace/userspace-api/media-v4l/devices.md#rst-devices>).

At the capture and mem-to-mem video nodes only the multi-planar API is supported. For more details see: [Single- and multi-planar APIs](</kernel/userspace/userspace-api/media-v4l/planar-apis.md#rst-planar-apis>).

<a id="rst-camera-capture-subdevs"></a>

### Camera capture subdevs

Each FIMC instance exports a sub-device node (/dev/v4l-subdev?), a sub-device node is also created per each available and enabled at the platform level MIPI-CSI receiver device (currently up to two).

<a id="rst-sysfs"></a>

### sysfs

In order to enable more precise camera pipeline control through the sub-device API the driver creates a sysfs entry associated with "s5p-fimc-md" platform device. The entry path is: /sys/platform/devices/s5p-fimc-md/subdev_conf_mode.

In typical use case there could be a following capture pipeline configuration: sensor subdev -&gt; mipi-csi subdev -&gt; fimc subdev -&gt; video node

When we configure these devices through sub-device API at user space, the configuration flow must be from left to right, and the video node is configured as last one.

When we don't use sub-device user space API the whole configuration of all devices belonging to the pipeline is done at the video node driver. The sysfs entry allows to instruct the capture node driver not to configure the sub-devices (format, crop), to avoid resetting the subdevs' configuration when the last configuration steps at the video node is performed.

For full sub-device control support (subdevs configured at user space before starting streaming):



```none
# echo "sub-dev" > /sys/platform/devices/s5p-fimc-md/subdev_conf_mode
```

For V4L2 video node control only (subdevs configured internally by the host driver):



```none
# echo "vid-dev" > /sys/platform/devices/s5p-fimc-md/subdev_conf_mode
```

This is a default option.

<a id="rst-device-mapping-to-video-and-subdev-device-nodes"></a>

## 5. Device mapping to video and subdev device nodes

There are associated two video device nodes with each device instance in hardware - video capture and mem-to-mem and additionally a subdev node for more precise FIMC capture subsystem control. In addition a separate v4l2 sub-device node is created per each MIPI-CSIS device.

How to find out which /dev/video? or /dev/v4l-subdev? is assigned to which device?

You can either grep through the kernel log to find relevant information, i.e.



```none
# dmesg | grep -i fimc
```

(note that udev, if present, might still have rearranged the video nodes),

or retrieve the information from /dev/media? with help of the media-ctl tool:



```none
# media-ctl -p
```

<a id="rst-build"></a>

## 7. Build

If the driver is built as a loadable kernel module (CONFIG_VIDEO_SAMSUNG_S5P_FIMC=m) two modules are created (in addition to the core v4l2 modules): s5p-fimc.ko and optional s5p-csis.ko (MIPI-CSI receiver subdev).

---

# Frontend drivers

_Peios Kernel / Administration / System administration / Media devices_

> Reference for Frontend drivers.

<a id="rst-frontend-drivers"></a>

<!-- SPDX-License-Identifier: GPL-2.0 -->

> [!NOTE]
>
> 1. There is no guarantee that every frontend driver works out of the box with every card, because of different wiring.
>
> 2. The demodulator chips can be used with a variety of tuner/PLL chips, and not all combinations are supported. Often the demodulator and tuner/PLL chip are inside a metal box for shielding, and the whole metal box has its own part number.

<a id="rst-common-interface-en50221-controller-drivers"></a>

## Common Interface (EN50221) controller drivers


<table>
<thead>
<tr>
<th>


Driver

</th>
<th>


Name

</th>
</tr>
</thead>
<tbody>
<tr>
<td>


cxd2099

</td>
<td>


Sony CXD2099AR Common Interface driver

</td>
</tr>
<tr>
<td>


sp2

</td>
<td>


CIMaX SP2

</td>
</tr>
</tbody>
</table>

<a id="rst-atsc-north-american-korean-terrestrial-cable-dtv-frontends"></a>

## ATSC (North American/Korean Terrestrial/Cable DTV) frontends


<table>
<thead>
<tr>
<th>


Driver

</th>
<th>


Name

</th>
</tr>
</thead>
<tbody>
<tr>
<td>


au8522_dig

</td>
<td>


Auvitek AU8522 based DTV demod

</td>
</tr>
<tr>
<td>


au8522_decoder

</td>
<td>


Auvitek AU8522 based ATV demod

</td>
</tr>
<tr>
<td>


bcm3510

</td>
<td>


Broadcom BCM3510

</td>
</tr>
<tr>
<td>


lg2160

</td>
<td>


LG Electronics LG216x based

</td>
</tr>
<tr>
<td>


lgdt3305

</td>
<td>


LG Electronics LGDT3304 and LGDT3305 based

</td>
</tr>
<tr>
<td>


lgdt3306a

</td>
<td>


LG Electronics LGDT3306A based

</td>
</tr>
<tr>
<td>


lgdt330x

</td>
<td>


LG Electronics LGDT3302/LGDT3303 based

</td>
</tr>
<tr>
<td>


nxt200x

</td>
<td>


NxtWave Communications NXT2002/NXT2004 based

</td>
</tr>
<tr>
<td>


or51132

</td>
<td>


Oren OR51132 based

</td>
</tr>
<tr>
<td>


or51211

</td>
<td>


Oren OR51211 based

</td>
</tr>
<tr>
<td>


s5h1409

</td>
<td>


Samsung S5H1409 based

</td>
</tr>
<tr>
<td>


s5h1411

</td>
<td>


Samsung S5H1411 based

</td>
</tr>
</tbody>
</table>

<a id="rst-dvb-c-cable-frontends"></a>

## DVB-C (cable) frontends


<table>
<thead>
<tr>
<th>


Driver

</th>
<th>


Name

</th>
</tr>
</thead>
<tbody>
<tr>
<td>


stv0297

</td>
<td>


ST STV0297 based

</td>
</tr>
<tr>
<td>


tda10021

</td>
<td>


Philips TDA10021 based

</td>
</tr>
<tr>
<td>


tda10023

</td>
<td>


Philips TDA10023 based

</td>
</tr>
<tr>
<td>


ves1820

</td>
<td>


VLSI VES1820 based

</td>
</tr>
</tbody>
</table>

<a id="rst-dvb-s-satellite-frontends"></a>

## DVB-S (satellite) frontends


<table>
<thead>
<tr>
<th>


Driver

</th>
<th>


Name

</th>
</tr>
</thead>
<tbody>
<tr>
<td>


cx24110

</td>
<td>


Conexant CX24110 based

</td>
</tr>
<tr>
<td>


cx24116

</td>
<td>


Conexant CX24116 based

</td>
</tr>
<tr>
<td>


cx24117

</td>
<td>


Conexant CX24117 based

</td>
</tr>
<tr>
<td>


cx24120

</td>
<td>


Conexant CX24120 based

</td>
</tr>
<tr>
<td>


cx24123

</td>
<td>


Conexant CX24123 based

</td>
</tr>
<tr>
<td>


ds3000

</td>
<td>


Montage Technology DS3000 based

</td>
</tr>
<tr>
<td>


mb86a16

</td>
<td>


Fujitsu MB86A16 based

</td>
</tr>
<tr>
<td>


mt312

</td>
<td>


Zarlink VP310/MT312/ZL10313 based

</td>
</tr>
<tr>
<td>


s5h1420

</td>
<td>


Samsung S5H1420 based

</td>
</tr>
<tr>
<td>


si21xx

</td>
<td>


Silicon Labs SI21XX based

</td>
</tr>
<tr>
<td>


stb6000

</td>
<td>


ST STB6000 silicon tuner

</td>
</tr>
<tr>
<td>


stv0288

</td>
<td>


ST STV0288 based

</td>
</tr>
<tr>
<td>


stv0299

</td>
<td>


ST STV0299 based

</td>
</tr>
<tr>
<td>


stv0900

</td>
<td>


ST STV0900 based

</td>
</tr>
<tr>
<td>


stv6110

</td>
<td>


ST STV6110 silicon tuner

</td>
</tr>
<tr>
<td>


tda10071

</td>
<td>


NXP TDA10071

</td>
</tr>
<tr>
<td>


tda10086

</td>
<td>


Philips TDA10086 based

</td>
</tr>
<tr>
<td>


tda8083

</td>
<td>


Philips TDA8083 based

</td>
</tr>
<tr>
<td>


tda8261

</td>
<td>


Philips TDA8261 based

</td>
</tr>
<tr>
<td>


tda826x

</td>
<td>


Philips TDA826X silicon tuner

</td>
</tr>
<tr>
<td>


ts2020

</td>
<td>


Montage Technology TS2020 based tuners

</td>
</tr>
<tr>
<td>


tua6100

</td>
<td>


Infineon TUA6100 PLL

</td>
</tr>
<tr>
<td>


cx24113

</td>
<td>


Conexant CX24113/CX24128 tuner for DVB-S/DSS

</td>
</tr>
<tr>
<td>


itd1000

</td>
<td>


Integrant ITD1000 Zero IF tuner for DVB-S/DSS

</td>
</tr>
<tr>
<td>


ves1x93

</td>
<td>


VLSI VES1893 or VES1993 based

</td>
</tr>
<tr>
<td>


zl10036

</td>
<td>


Zarlink ZL10036 silicon tuner

</td>
</tr>
<tr>
<td>


zl10039

</td>
<td>


Zarlink ZL10039 silicon tuner

</td>
</tr>
</tbody>
</table>

<a id="rst-dvb-t-terrestrial-frontends"></a>

## DVB-T (terrestrial) frontends


<table>
<thead>
<tr>
<th>


Driver

</th>
<th>


Name

</th>
</tr>
</thead>
<tbody>
<tr>
<td>


af9013

</td>
<td>


Afatech AF9013 demodulator

</td>
</tr>
<tr>
<td>


cx22700

</td>
<td>


Conexant CX22700 based

</td>
</tr>
<tr>
<td>


cx22702

</td>
<td>


Conexant cx22702 demodulator (OFDM)

</td>
</tr>
<tr>
<td>


cxd2820r

</td>
<td>


Sony CXD2820R

</td>
</tr>
<tr>
<td>


cxd2841er

</td>
<td>


Sony CXD2841ER

</td>
</tr>
<tr>
<td>


cxd2880

</td>
<td>


Sony CXD2880 DVB-T2/T tuner + demodulator

</td>
</tr>
<tr>
<td>


dib3000mb

</td>
<td>


DiBcom 3000M-B

</td>
</tr>
<tr>
<td>


dib3000mc

</td>
<td>


DiBcom 3000P/M-C

</td>
</tr>
<tr>
<td>


dib7000m

</td>
<td>


DiBcom 7000MA/MB/PA/PB/MC

</td>
</tr>
<tr>
<td>


dib7000p

</td>
<td>


DiBcom 7000PC

</td>
</tr>
<tr>
<td>


dib9000

</td>
<td>


DiBcom 9000

</td>
</tr>
<tr>
<td>


drxd

</td>
<td>


Micronas DRXD driver

</td>
</tr>
<tr>
<td>


ec100

</td>
<td>


E3C EC100

</td>
</tr>
<tr>
<td>


l64781

</td>
<td>


LSI L64781

</td>
</tr>
<tr>
<td>


mt352

</td>
<td>


Zarlink MT352 based

</td>
</tr>
<tr>
<td>


nxt6000

</td>
<td>


NxtWave Communications NXT6000 based

</td>
</tr>
<tr>
<td>


rtl2830

</td>
<td>


Realtek RTL2830 DVB-T

</td>
</tr>
<tr>
<td>


rtl2832

</td>
<td>


Realtek RTL2832 DVB-T

</td>
</tr>
<tr>
<td>


rtl2832_sdr

</td>
<td>


Realtek RTL2832 SDR

</td>
</tr>
<tr>
<td>


s5h1432

</td>
<td>


Samsung s5h1432 demodulator (OFDM)

</td>
</tr>
<tr>
<td>


si2168

</td>
<td>


Silicon Labs Si2168

</td>
</tr>
<tr>
<td>


sp8870

</td>
<td>


Spase sp8870 based

</td>
</tr>
<tr>
<td>


sp887x

</td>
<td>


Spase sp887x based

</td>
</tr>
<tr>
<td>


stv0367

</td>
<td>


ST STV0367 based

</td>
</tr>
<tr>
<td>


tda10048

</td>
<td>


Philips TDA10048HN based

</td>
</tr>
<tr>
<td>


tda1004x

</td>
<td>


Philips TDA10045H/TDA10046H based

</td>
</tr>
<tr>
<td>


zd1301_demod

</td>
<td>


ZyDAS ZD1301

</td>
</tr>
<tr>
<td>


zl10353

</td>
<td>


Zarlink ZL10353 based

</td>
</tr>
</tbody>
</table>

<a id="rst-digital-terrestrial-only-tuners-pll"></a>

## Digital terrestrial only tuners/PLL


<table>
<thead>
<tr>
<th>


Driver

</th>
<th>


Name

</th>
</tr>
</thead>
<tbody>
<tr>
<td>


dvb-pll

</td>
<td>


Generic I2C PLL based tuners

</td>
</tr>
<tr>
<td>


dib0070

</td>
<td>


DiBcom DiB0070 silicon base-band tuner

</td>
</tr>
<tr>
<td>


dib0090

</td>
<td>


DiBcom DiB0090 silicon base-band tuner

</td>
</tr>
</tbody>
</table>

<a id="rst-isdb-s-satellite-isdb-t-terrestrial-frontends"></a>

## ISDB-S (satellite) &amp; ISDB-T (terrestrial) frontends


<table>
<thead>
<tr>
<th>


Driver

</th>
<th>


Name

</th>
</tr>
</thead>
<tbody>
<tr>
<td>


mn88443x

</td>
<td>


Socionext MN88443x

</td>
</tr>
<tr>
<td>


tc90522

</td>
<td>


Toshiba TC90522

</td>
</tr>
</tbody>
</table>

<a id="rst-isdb-t-terrestrial-frontends"></a>

## ISDB-T (terrestrial) frontends


<table>
<thead>
<tr>
<th>


Driver

</th>
<th>


Name

</th>
</tr>
</thead>
<tbody>
<tr>
<td>


dib8000

</td>
<td>


DiBcom 8000MB/MC

</td>
</tr>
<tr>
<td>


mb86a20s

</td>
<td>


Fujitsu mb86a20s

</td>
</tr>
<tr>
<td>


s921

</td>
<td>


Sharp S921 frontend

</td>
</tr>
</tbody>
</table>

<a id="rst-multistandard-cable-terrestrial-frontends"></a>

## Multistandard (cable + terrestrial) frontends


<table>
<thead>
<tr>
<th>


Driver

</th>
<th>


Name

</th>
</tr>
</thead>
<tbody>
<tr>
<td>


drxk

</td>
<td>


Micronas DRXK based

</td>
</tr>
<tr>
<td>


mn88472

</td>
<td>


Panasonic MN88472

</td>
</tr>
<tr>
<td>


mn88473

</td>
<td>


Panasonic MN88473

</td>
</tr>
<tr>
<td>


si2165

</td>
<td>


Silicon Labs si2165 based

</td>
</tr>
<tr>
<td>


tda18271c2dd

</td>
<td>


NXP TDA18271C2 silicon tuner

</td>
</tr>
</tbody>
</table>

<a id="rst-multistandard-satellite-frontends"></a>

## Multistandard (satellite) frontends


<table>
<thead>
<tr>
<th>


Driver

</th>
<th>


Name

</th>
</tr>
</thead>
<tbody>
<tr>
<td>


m88ds3103

</td>
<td>


Montage Technology M88DS3103

</td>
</tr>
<tr>
<td>


mxl5xx

</td>
<td>


MaxLinear MxL5xx based tuner-demodulators

</td>
</tr>
<tr>
<td>


stb0899

</td>
<td>


STB0899 based

</td>
</tr>
<tr>
<td>


stb6100

</td>
<td>


STB6100 based tuners

</td>
</tr>
<tr>
<td>


stv090x

</td>
<td>


STV0900/STV0903(A/B) based

</td>
</tr>
<tr>
<td>


stv0910

</td>
<td>


STV0910 based

</td>
</tr>
<tr>
<td>


stv6110x

</td>
<td>


STV6110/(A) based tuners

</td>
</tr>
<tr>
<td>


stv6111

</td>
<td>


STV6111 based tuners

</td>
</tr>
</tbody>
</table>

<a id="rst-sec-control-devices-for-dvb-s"></a>

## SEC control devices for DVB-S


<table>
<thead>
<tr>
<th>


Driver

</th>
<th>


Name

</th>
</tr>
</thead>
<tbody>
<tr>
<td>


a8293

</td>
<td>


Allegro A8293

</td>
</tr>
<tr>
<td>


af9033

</td>
<td>


Afatech AF9033 DVB-T demodulator

</td>
</tr>
<tr>
<td>


ascot2e

</td>
<td>


Sony Ascot2E tuner

</td>
</tr>
<tr>
<td>


atbm8830

</td>
<td>


AltoBeam ATBM8830/8831 DMB-TH demodulator

</td>
</tr>
<tr>
<td>


drx39xyj

</td>
<td>


Micronas DRX-J demodulator

</td>
</tr>
<tr>
<td>


helene

</td>
<td>


Sony HELENE Sat/Ter tuner (CXD2858ER)

</td>
</tr>
<tr>
<td>


horus3a

</td>
<td>


Sony Horus3A tuner

</td>
</tr>
<tr>
<td>


isl6405

</td>
<td>


ISL6405 SEC controller

</td>
</tr>
<tr>
<td>


isl6421

</td>
<td>


ISL6421 SEC controller

</td>
</tr>
<tr>
<td>


isl6423

</td>
<td>


ISL6423 SEC controller

</td>
</tr>
<tr>
<td>


ix2505v

</td>
<td>


Sharp IX2505V silicon tuner

</td>
</tr>
<tr>
<td>


lgs8gl5

</td>
<td>


Silicon Legend LGS-8GL5 demodulator (OFDM)

</td>
</tr>
<tr>
<td>


lgs8gxx

</td>
<td>


Legend Silicon LGS8913/LGS8GL5/LGS8GXX DMB-TH demodulator

</td>
</tr>
<tr>
<td>


lnbh25

</td>
<td>


LNBH25 SEC controller

</td>
</tr>
<tr>
<td>


lnbh29

</td>
<td>


LNBH29 SEC controller

</td>
</tr>
<tr>
<td>


lnbp21

</td>
<td>


LNBP21/LNBH24 SEC controllers

</td>
</tr>
<tr>
<td>


lnbp22

</td>
<td>


LNBP22 SEC controllers

</td>
</tr>
<tr>
<td>


m88rs2000

</td>
<td>


M88RS2000 DVB-S demodulator and tuner

</td>
</tr>
<tr>
<td>


tda665x

</td>
<td>


TDA665x tuner

</td>
</tr>
</tbody>
</table>

<a id="rst-tools-to-develop-new-frontends"></a>

## Tools to develop new frontends


<table>
<thead>
<tr>
<th>


Driver

</th>
<th>


Name

</th>
</tr>
</thead>
<tbody>
<tr>
<td>


dvb_dummy_fe

</td>
<td>


Dummy frontend driver

</td>
</tr>
</tbody>
</table>

---

# The gspca cards list

_Peios Kernel / Administration / System administration / Media devices_

> The modules for the gspca webcam drivers are:

<a id="rst-the-gspca-cards-list"></a>

<!-- SPDX-License-Identifier: GPL-2.0 -->

The modules for the gspca webcam drivers are:

- gspca_main: main driver

- gspca\_*driver*: subdriver module with *driver* as follows


<table>
<thead>
<tr>
<th>


*driver*

</th>
<th>


vend:prod

</th>
<th>


Device

</th>
</tr>
</thead>
<tbody>
<tr>
<td>


spca501

</td>
<td>


0000:0000

</td>
<td>


MystFromOri Unknown Camera

</td>
</tr>
<tr>
<td>


spca508

</td>
<td>


0130:0130

</td>
<td>


Clone Digital Webcam 11043

</td>
</tr>
<tr>
<td>


se401

</td>
<td>


03e8:0004

</td>
<td>


Endpoints/AoxSE401

</td>
</tr>
<tr>
<td>


zc3xx

</td>
<td>


03f0:1b07

</td>
<td>


HP Premium Starter Cam

</td>
</tr>
<tr>
<td>


m5602

</td>
<td>


0402:5602

</td>
<td>


ALi Video Camera Controller

</td>
</tr>
<tr>
<td>


spca501

</td>
<td>


040a:0002

</td>
<td>


Kodak DVC-325

</td>
</tr>
<tr>
<td>


spca500

</td>
<td>


040a:0300

</td>
<td>


Kodak EZ200

</td>
</tr>
<tr>
<td>


zc3xx

</td>
<td>


041e:041e

</td>
<td>


Creative WebCam Live\!

</td>
</tr>
<tr>
<td>


ov519

</td>
<td>


041e:4003

</td>
<td>


Video Blaster WebCam Go Plus

</td>
</tr>
<tr>
<td>


stv0680

</td>
<td>


041e:4007

</td>
<td>


Go Mini

</td>
</tr>
<tr>
<td>


spca500

</td>
<td>


041e:400a

</td>
<td>


Creative PC-CAM 300

</td>
</tr>
<tr>
<td>


sunplus

</td>
<td>


041e:400b

</td>
<td>


Creative PC-CAM 600

</td>
</tr>
<tr>
<td>


sunplus

</td>
<td>


041e:4012

</td>
<td>


PC-Cam350

</td>
</tr>
<tr>
<td>


sunplus

</td>
<td>


041e:4013

</td>
<td>


Creative Pccam750

</td>
</tr>
<tr>
<td>


zc3xx

</td>
<td>


041e:4017

</td>
<td>


Creative Webcam Mobile PD1090

</td>
</tr>
<tr>
<td>


spca508

</td>
<td>


041e:4018

</td>
<td>


Creative Webcam Vista (PD1100)

</td>
</tr>
<tr>
<td>


spca561

</td>
<td>


041e:401a

</td>
<td>


Creative Webcam Vista (PD1100)

</td>
</tr>
<tr>
<td>


zc3xx

</td>
<td>


041e:401c

</td>
<td>


Creative NX

</td>
</tr>
<tr>
<td>


spca505

</td>
<td>


041e:401d

</td>
<td>


Creative Webcam NX ULTRA

</td>
</tr>
<tr>
<td>


zc3xx

</td>
<td>


041e:401e

</td>
<td>


Creative Nx Pro

</td>
</tr>
<tr>
<td>


zc3xx

</td>
<td>


041e:401f

</td>
<td>


Creative Webcam Notebook PD1171

</td>
</tr>
<tr>
<td>


zc3xx

</td>
<td>


041e:4022

</td>
<td>


Webcam NX Pro

</td>
</tr>
<tr>
<td>


pac207

</td>
<td>


041e:4028

</td>
<td>


Creative Webcam Vista Plus

</td>
</tr>
<tr>
<td>


zc3xx

</td>
<td>


041e:4029

</td>
<td>


Creative WebCam Vista Pro

</td>
</tr>
<tr>
<td>


zc3xx

</td>
<td>


041e:4034

</td>
<td>


Creative Instant P0620

</td>
</tr>
<tr>
<td>


zc3xx

</td>
<td>


041e:4035

</td>
<td>


Creative Instant P0620D

</td>
</tr>
<tr>
<td>


zc3xx

</td>
<td>


041e:4036

</td>
<td>


Creative Live \!

</td>
</tr>
<tr>
<td>


sq930x

</td>
<td>


041e:4038

</td>
<td>


Creative Joy-IT

</td>
</tr>
<tr>
<td>


zc3xx

</td>
<td>


041e:403a

</td>
<td>


Creative Nx Pro 2

</td>
</tr>
<tr>
<td>


spca561

</td>
<td>


041e:403b

</td>
<td>


Creative Webcam Vista (VF0010)

</td>
</tr>
<tr>
<td>


sq930x

</td>
<td>


041e:403c

</td>
<td>


Creative Live\! Ultra

</td>
</tr>
<tr>
<td>


sq930x

</td>
<td>


041e:403d

</td>
<td>


Creative Live\! Ultra for Notebooks

</td>
</tr>
<tr>
<td>


sq930x

</td>
<td>


041e:4041

</td>
<td>


Creative Live\! Motion

</td>
</tr>
<tr>
<td>


zc3xx

</td>
<td>


041e:4051

</td>
<td>


Creative Live\!Cam Notebook Pro (VF0250)

</td>
</tr>
<tr>
<td>


ov519

</td>
<td>


041e:4052

</td>
<td>


Creative Live\! VISTA IM

</td>
</tr>
<tr>
<td>


zc3xx

</td>
<td>


041e:4053

</td>
<td>


Creative Live\!Cam Video IM

</td>
</tr>
<tr>
<td>


vc032x

</td>
<td>


041e:405b

</td>
<td>


Creative Live\! Cam Notebook Ultra (VC0130)

</td>
</tr>
<tr>
<td>


ov519

</td>
<td>


041e:405f

</td>
<td>


Creative Live\! VISTA VF0330

</td>
</tr>
<tr>
<td>


ov519

</td>
<td>


041e:4060

</td>
<td>


Creative Live\! VISTA VF0350

</td>
</tr>
<tr>
<td>


ov519

</td>
<td>


041e:4061

</td>
<td>


Creative Live\! VISTA VF0400

</td>
</tr>
<tr>
<td>


ov519

</td>
<td>


041e:4064

</td>
<td>


Creative Live\! VISTA VF0420

</td>
</tr>
<tr>
<td>


ov519

</td>
<td>


041e:4067

</td>
<td>


Creative Live\! Cam Video IM (VF0350)

</td>
</tr>
<tr>
<td>


ov519

</td>
<td>


041e:4068

</td>
<td>


Creative Live\! VISTA VF0470

</td>
</tr>
<tr>
<td>


sn9c2028

</td>
<td>


0458:7003

</td>
<td>


GeniusVideocam Live v2

</td>
</tr>
<tr>
<td>


spca561

</td>
<td>


0458:7004

</td>
<td>


Genius VideoCAM Express V2

</td>
</tr>
<tr>
<td>


sn9c2028

</td>
<td>


0458:7005

</td>
<td>


Genius Smart 300, version 2

</td>
</tr>
<tr>
<td>


sunplus

</td>
<td>


0458:7006

</td>
<td>


Genius Dsc 1.3 Smart

</td>
</tr>
<tr>
<td>


zc3xx

</td>
<td>


0458:7007

</td>
<td>


Genius VideoCam V2

</td>
</tr>
<tr>
<td>


zc3xx

</td>
<td>


0458:700c

</td>
<td>


Genius VideoCam V3

</td>
</tr>
<tr>
<td>


zc3xx

</td>
<td>


0458:700f

</td>
<td>


Genius VideoCam Web V2

</td>
</tr>
<tr>
<td>


sonixj

</td>
<td>


0458:7025

</td>
<td>


Genius Eye 311Q

</td>
</tr>
<tr>
<td>


sn9c20x

</td>
<td>


0458:7029

</td>
<td>


Genius Look 320s

</td>
</tr>
<tr>
<td>


sonixj

</td>
<td>


0458:702e

</td>
<td>


Genius Slim 310 NB

</td>
</tr>
<tr>
<td>


sn9c20x

</td>
<td>


0458:7045

</td>
<td>


Genius Look 1320 V2

</td>
</tr>
<tr>
<td>


sn9c20x

</td>
<td>


0458:704a

</td>
<td>


Genius Slim 1320

</td>
</tr>
<tr>
<td>


sn9c20x

</td>
<td>


0458:704c

</td>
<td>


Genius i-Look 1321

</td>
</tr>
<tr>
<td>


sn9c20x

</td>
<td>


045e:00f4

</td>
<td>


LifeCam VX-6000 (SN9C20x + OV9650)

</td>
</tr>
<tr>
<td>


sonixj

</td>
<td>


045e:00f5

</td>
<td>


MicroSoft VX3000

</td>
</tr>
<tr>
<td>


sonixj

</td>
<td>


045e:00f7

</td>
<td>


MicroSoft VX1000

</td>
</tr>
<tr>
<td>


ov519

</td>
<td>


045e:028c

</td>
<td>


Micro$oft xbox cam

</td>
</tr>
<tr>
<td>


kinect

</td>
<td>


045e:02ae

</td>
<td>


Xbox NUI Camera

</td>
</tr>
<tr>
<td>


kinect

</td>
<td>


045e:02bf

</td>
<td>


Kinect for Windows NUI Camera

</td>
</tr>
<tr>
<td>


spca561

</td>
<td>


0461:0815

</td>
<td>


Micro Innovations IC200 Webcam

</td>
</tr>
<tr>
<td>


sunplus

</td>
<td>


0461:0821

</td>
<td>


Fujifilm MV-1

</td>
</tr>
<tr>
<td>


zc3xx

</td>
<td>


0461:0a00

</td>
<td>


MicroInnovation WebCam320

</td>
</tr>
<tr>
<td>


stv06xx

</td>
<td>


046D:08F0

</td>
<td>


QuickCamMessenger

</td>
</tr>
<tr>
<td>


stv06xx

</td>
<td>


046D:08F5

</td>
<td>


QuickCamCommunicate

</td>
</tr>
<tr>
<td>


stv06xx

</td>
<td>


046D:08F6

</td>
<td>


QuickCamMessenger (new)

</td>
</tr>
<tr>
<td>


stv06xx

</td>
<td>


046d:0840

</td>
<td>


QuickCamExpress

</td>
</tr>
<tr>
<td>


stv06xx

</td>
<td>


046d:0850

</td>
<td>


LEGOcam / QuickCam Web

</td>
</tr>
<tr>
<td>


stv06xx

</td>
<td>


046d:0870

</td>
<td>


DexxaWebCam USB

</td>
</tr>
<tr>
<td>


spca500

</td>
<td>


046d:0890

</td>
<td>


Logitech QuickCam traveler

</td>
</tr>
<tr>
<td>


vc032x

</td>
<td>


046d:0892

</td>
<td>


Logitech Orbicam

</td>
</tr>
<tr>
<td>


vc032x

</td>
<td>


046d:0896

</td>
<td>


Logitech Orbicam

</td>
</tr>
<tr>
<td>


vc032x

</td>
<td>


046d:0897

</td>
<td>


Logitech QuickCam for Dell notebooks

</td>
</tr>
<tr>
<td>


zc3xx

</td>
<td>


046d:089d

</td>
<td>


Logitech QuickCam E2500

</td>
</tr>
<tr>
<td>


zc3xx

</td>
<td>


046d:08a0

</td>
<td>


Logitech QC IM

</td>
</tr>
<tr>
<td>


zc3xx

</td>
<td>


046d:08a1

</td>
<td>


Logitech QC IM 0x08A1 +sound

</td>
</tr>
<tr>
<td>


zc3xx

</td>
<td>


046d:08a2

</td>
<td>


Labtec Webcam Pro

</td>
</tr>
<tr>
<td>


zc3xx

</td>
<td>


046d:08a3

</td>
<td>


Logitech QC Chat

</td>
</tr>
<tr>
<td>


zc3xx

</td>
<td>


046d:08a6

</td>
<td>


Logitech QCim

</td>
</tr>
<tr>
<td>


zc3xx

</td>
<td>


046d:08a7

</td>
<td>


Logitech QuickCam Image

</td>
</tr>
<tr>
<td>


zc3xx

</td>
<td>


046d:08a9

</td>
<td>


Logitech Notebook Deluxe

</td>
</tr>
<tr>
<td>


zc3xx

</td>
<td>


046d:08aa

</td>
<td>


Labtec Webcam Notebook

</td>
</tr>
<tr>
<td>


zc3xx

</td>
<td>


046d:08ac

</td>
<td>


Logitech QuickCam Cool

</td>
</tr>
<tr>
<td>


zc3xx

</td>
<td>


046d:08ad

</td>
<td>


Logitech QCCommunicate STX

</td>
</tr>
<tr>
<td>


zc3xx

</td>
<td>


046d:08ae

</td>
<td>


Logitech QuickCam for Notebooks

</td>
</tr>
<tr>
<td>


zc3xx

</td>
<td>


046d:08af

</td>
<td>


Logitech QuickCam Cool

</td>
</tr>
<tr>
<td>


zc3xx

</td>
<td>


046d:08b9

</td>
<td>


Logitech QuickCam Express

</td>
</tr>
<tr>
<td>


zc3xx

</td>
<td>


046d:08d7

</td>
<td>


Logitech QCam STX

</td>
</tr>
<tr>
<td>


zc3xx

</td>
<td>


046d:08d8

</td>
<td>


Logitech Notebook Deluxe

</td>
</tr>
<tr>
<td>


zc3xx

</td>
<td>


046d:08d9

</td>
<td>


Logitech QuickCam IM/Connect

</td>
</tr>
<tr>
<td>


zc3xx

</td>
<td>


046d:08da

</td>
<td>


Logitech QuickCam Messenger

</td>
</tr>
<tr>
<td>


zc3xx

</td>
<td>


046d:08dd

</td>
<td>


Logitech QuickCam for Notebooks

</td>
</tr>
<tr>
<td>


spca500

</td>
<td>


046d:0900

</td>
<td>


Logitech Inc. ClickSmart 310

</td>
</tr>
<tr>
<td>


spca500

</td>
<td>


046d:0901

</td>
<td>


Logitech Inc. ClickSmart 510

</td>
</tr>
<tr>
<td>


sunplus

</td>
<td>


046d:0905

</td>
<td>


Logitech ClickSmart 820

</td>
</tr>
<tr>
<td>


tv8532

</td>
<td>


046d:0920

</td>
<td>


Logitech QuickCam Express

</td>
</tr>
<tr>
<td>


tv8532

</td>
<td>


046d:0921

</td>
<td>


Labtec Webcam

</td>
</tr>
<tr>
<td>


spca561

</td>
<td>


046d:0928

</td>
<td>


Logitech QC Express Etch2

</td>
</tr>
<tr>
<td>


spca561

</td>
<td>


046d:0929

</td>
<td>


Labtec Webcam Elch2

</td>
</tr>
<tr>
<td>


spca561

</td>
<td>


046d:092a

</td>
<td>


Logitech QC for Notebook

</td>
</tr>
<tr>
<td>


spca561

</td>
<td>


046d:092b

</td>
<td>


Labtec Webcam Plus

</td>
</tr>
<tr>
<td>


spca561

</td>
<td>


046d:092c

</td>
<td>


Logitech QC chat Elch2

</td>
</tr>
<tr>
<td>


spca561

</td>
<td>


046d:092d

</td>
<td>


Logitech QC Elch2

</td>
</tr>
<tr>
<td>


spca561

</td>
<td>


046d:092e

</td>
<td>


Logitech QC Elch2

</td>
</tr>
<tr>
<td>


spca561

</td>
<td>


046d:092f

</td>
<td>


Logitech QuickCam Express Plus

</td>
</tr>
<tr>
<td>


sunplus

</td>
<td>


046d:0960

</td>
<td>


Logitech ClickSmart 420

</td>
</tr>
<tr>
<td>


nw80x

</td>
<td>


046d:d001

</td>
<td>


Logitech QuickCam Pro (dark focus ring)

</td>
</tr>
<tr>
<td>


se401

</td>
<td>


0471:030b

</td>
<td>


PhilipsPCVC665K

</td>
</tr>
<tr>
<td>


sunplus

</td>
<td>


0471:0322

</td>
<td>


Philips DMVC1300K

</td>
</tr>
<tr>
<td>


zc3xx

</td>
<td>


0471:0325

</td>
<td>


Philips SPC 200 NC

</td>
</tr>
<tr>
<td>


zc3xx

</td>
<td>


0471:0326

</td>
<td>


Philips SPC 300 NC

</td>
</tr>
<tr>
<td>


sonixj

</td>
<td>


0471:0327

</td>
<td>


Philips SPC 600 NC

</td>
</tr>
<tr>
<td>


sonixj

</td>
<td>


0471:0328

</td>
<td>


Philips SPC 700 NC

</td>
</tr>
<tr>
<td>


zc3xx

</td>
<td>


0471:032d

</td>
<td>


Philips SPC 210 NC

</td>
</tr>
<tr>
<td>


zc3xx

</td>
<td>


0471:032e

</td>
<td>


Philips SPC 315 NC

</td>
</tr>
<tr>
<td>


sonixj

</td>
<td>


0471:0330

</td>
<td>


Philips SPC 710 NC

</td>
</tr>
<tr>
<td>


se401

</td>
<td>


047d:5001

</td>
<td>


Kensington67014

</td>
</tr>
<tr>
<td>


se401

</td>
<td>


047d:5002

</td>
<td>


Kensington6701(5/7)

</td>
</tr>
<tr>
<td>


se401

</td>
<td>


047d:5003

</td>
<td>


Kensington67016

</td>
</tr>
<tr>
<td>


spca501

</td>
<td>


0497:c001

</td>
<td>


Smile International

</td>
</tr>
<tr>
<td>


sunplus

</td>
<td>


04a5:3003

</td>
<td>


Benq DC 1300

</td>
</tr>
<tr>
<td>


sunplus

</td>
<td>


04a5:3008

</td>
<td>


Benq DC 1500

</td>
</tr>
<tr>
<td>


sunplus

</td>
<td>


04a5:300a

</td>
<td>


Benq DC 3410

</td>
</tr>
<tr>
<td>


spca500

</td>
<td>


04a5:300c

</td>
<td>


Benq DC 1016

</td>
</tr>
<tr>
<td>


benq

</td>
<td>


04a5:3035

</td>
<td>


Benq DC E300

</td>
</tr>
<tr>
<td>


vicam

</td>
<td>


04c1:009d

</td>
<td>


HomeConnect Webcam \[vicam\]

</td>
</tr>
<tr>
<td>


konica

</td>
<td>


04c8:0720

</td>
<td>


IntelYC 76

</td>
</tr>
<tr>
<td>


finepix

</td>
<td>


04cb:0104

</td>
<td>


Fujifilm FinePix 4800

</td>
</tr>
<tr>
<td>


finepix

</td>
<td>


04cb:0109

</td>
<td>


Fujifilm FinePix A202

</td>
</tr>
<tr>
<td>


finepix

</td>
<td>


04cb:010b

</td>
<td>


Fujifilm FinePix A203

</td>
</tr>
<tr>
<td>


finepix

</td>
<td>


04cb:010f

</td>
<td>


Fujifilm FinePix A204

</td>
</tr>
<tr>
<td>


finepix

</td>
<td>


04cb:0111

</td>
<td>


Fujifilm FinePix A205

</td>
</tr>
<tr>
<td>


finepix

</td>
<td>


04cb:0113

</td>
<td>


Fujifilm FinePix A210

</td>
</tr>
<tr>
<td>


finepix

</td>
<td>


04cb:0115

</td>
<td>


Fujifilm FinePix A303

</td>
</tr>
<tr>
<td>


finepix

</td>
<td>


04cb:0117

</td>
<td>


Fujifilm FinePix A310

</td>
</tr>
<tr>
<td>


finepix

</td>
<td>


04cb:0119

</td>
<td>


Fujifilm FinePix F401

</td>
</tr>
<tr>
<td>


finepix

</td>
<td>


04cb:011b

</td>
<td>


Fujifilm FinePix F402

</td>
</tr>
<tr>
<td>


finepix

</td>
<td>


04cb:011d

</td>
<td>


Fujifilm FinePix F410

</td>
</tr>
<tr>
<td>


finepix

</td>
<td>


04cb:0121

</td>
<td>


Fujifilm FinePix F601

</td>
</tr>
<tr>
<td>


finepix

</td>
<td>


04cb:0123

</td>
<td>


Fujifilm FinePix F700

</td>
</tr>
<tr>
<td>


finepix

</td>
<td>


04cb:0125

</td>
<td>


Fujifilm FinePix M603

</td>
</tr>
<tr>
<td>


finepix

</td>
<td>


04cb:0127

</td>
<td>


Fujifilm FinePix S300

</td>
</tr>
<tr>
<td>


finepix

</td>
<td>


04cb:0129

</td>
<td>


Fujifilm FinePix S304

</td>
</tr>
<tr>
<td>


finepix

</td>
<td>


04cb:012b

</td>
<td>


Fujifilm FinePix S500

</td>
</tr>
<tr>
<td>


finepix

</td>
<td>


04cb:012d

</td>
<td>


Fujifilm FinePix S602

</td>
</tr>
<tr>
<td>


finepix

</td>
<td>


04cb:012f

</td>
<td>


Fujifilm FinePix S700

</td>
</tr>
<tr>
<td>


finepix

</td>
<td>


04cb:0131

</td>
<td>


Fujifilm FinePix unknown model

</td>
</tr>
<tr>
<td>


finepix

</td>
<td>


04cb:013b

</td>
<td>


Fujifilm FinePix unknown model

</td>
</tr>
<tr>
<td>


finepix

</td>
<td>


04cb:013d

</td>
<td>


Fujifilm FinePix unknown model

</td>
</tr>
<tr>
<td>


finepix

</td>
<td>


04cb:013f

</td>
<td>


Fujifilm FinePix F420

</td>
</tr>
<tr>
<td>


sunplus

</td>
<td>


04f1:1001

</td>
<td>


JVC GC A50

</td>
</tr>
<tr>
<td>


spca561

</td>
<td>


04fc:0561

</td>
<td>


Flexcam 100

</td>
</tr>
<tr>
<td>


spca1528

</td>
<td>


04fc:1528

</td>
<td>


Sunplus MD80 clone

</td>
</tr>
<tr>
<td>


sunplus

</td>
<td>


04fc:500c

</td>
<td>


Sunplus CA500C

</td>
</tr>
<tr>
<td>


sunplus

</td>
<td>


04fc:504a

</td>
<td>


Aiptek Mini PenCam 1.3

</td>
</tr>
<tr>
<td>


sunplus

</td>
<td>


04fc:504b

</td>
<td>


Maxell MaxPocket LE 1.3

</td>
</tr>
<tr>
<td>


sunplus

</td>
<td>


04fc:5330

</td>
<td>


Digitrex 2110

</td>
</tr>
<tr>
<td>


sunplus

</td>
<td>


04fc:5360

</td>
<td>


Sunplus Generic

</td>
</tr>
<tr>
<td>


spca500

</td>
<td>


04fc:7333

</td>
<td>


PalmPixDC85

</td>
</tr>
<tr>
<td>


sunplus

</td>
<td>


04fc:ffff

</td>
<td>


Pure DigitalDakota

</td>
</tr>
<tr>
<td>


nw80x

</td>
<td>


0502:d001

</td>
<td>


DVC V6

</td>
</tr>
<tr>
<td>


spca501

</td>
<td>


0506:00df

</td>
<td>


3Com HomeConnect Lite

</td>
</tr>
<tr>
<td>


sunplus

</td>
<td>


052b:1507

</td>
<td>


Megapixel 5 Pretec DC-1007

</td>
</tr>
<tr>
<td>


sunplus

</td>
<td>


052b:1513

</td>
<td>


Megapix V4

</td>
</tr>
<tr>
<td>


sunplus

</td>
<td>


052b:1803

</td>
<td>


MegaImage VI

</td>
</tr>
<tr>
<td>


nw80x

</td>
<td>


052b:d001

</td>
<td>


EZCam Pro p35u

</td>
</tr>
<tr>
<td>


tv8532

</td>
<td>


0545:808b

</td>
<td>


Veo Stingray

</td>
</tr>
<tr>
<td>


tv8532

</td>
<td>


0545:8333

</td>
<td>


Veo Stingray

</td>
</tr>
<tr>
<td>


sunplus

</td>
<td>


0546:3155

</td>
<td>


Polaroid PDC3070

</td>
</tr>
<tr>
<td>


sunplus

</td>
<td>


0546:3191

</td>
<td>


Polaroid Ion 80

</td>
</tr>
<tr>
<td>


sunplus

</td>
<td>


0546:3273

</td>
<td>


Polaroid PDC2030

</td>
</tr>
<tr>
<td>


touptek

</td>
<td>


0547:6801

</td>
<td>


TTUCMOS08000KPB, AS MU800

</td>
</tr>
<tr>
<td>


dtcs033

</td>
<td>


0547:7303

</td>
<td>


Anchor Chips, Inc

</td>
</tr>
<tr>
<td>


ov519

</td>
<td>


054c:0154

</td>
<td>


Sonny toy4

</td>
</tr>
<tr>
<td>


ov519

</td>
<td>


054c:0155

</td>
<td>


Sonny toy5

</td>
</tr>
<tr>
<td>


cpia1

</td>
<td>


0553:0002

</td>
<td>


CPIA CPiA (version1) based cameras

</td>
</tr>
<tr>
<td>


stv0680

</td>
<td>


0553:0202

</td>
<td>


STV0680 Camera

</td>
</tr>
<tr>
<td>


zc3xx

</td>
<td>


055f:c005

</td>
<td>


Mustek Wcam300A

</td>
</tr>
<tr>
<td>


spca500

</td>
<td>


055f:c200

</td>
<td>


Mustek Gsmart 300

</td>
</tr>
<tr>
<td>


sunplus

</td>
<td>


055f:c211

</td>
<td>


Kowa Bs888e Microcamera

</td>
</tr>
<tr>
<td>


spca500

</td>
<td>


055f:c220

</td>
<td>


Gsmart Mini

</td>
</tr>
<tr>
<td>


sunplus

</td>
<td>


055f:c230

</td>
<td>


Mustek Digicam 330K

</td>
</tr>
<tr>
<td>


sunplus

</td>
<td>


055f:c232

</td>
<td>


Mustek MDC3500

</td>
</tr>
<tr>
<td>


sunplus

</td>
<td>


055f:c360

</td>
<td>


Mustek DV4000 Mpeg4

</td>
</tr>
<tr>
<td>


sunplus

</td>
<td>


055f:c420

</td>
<td>


Mustek gSmart Mini 2

</td>
</tr>
<tr>
<td>


sunplus

</td>
<td>


055f:c430

</td>
<td>


Mustek Gsmart LCD 2

</td>
</tr>
<tr>
<td>


sunplus

</td>
<td>


055f:c440

</td>
<td>


Mustek DV 3000

</td>
</tr>
<tr>
<td>


sunplus

</td>
<td>


055f:c520

</td>
<td>


Mustek gSmart Mini 3

</td>
</tr>
<tr>
<td>


sunplus

</td>
<td>


055f:c530

</td>
<td>


Mustek Gsmart LCD 3

</td>
</tr>
<tr>
<td>


sunplus

</td>
<td>


055f:c540

</td>
<td>


Gsmart D30

</td>
</tr>
<tr>
<td>


sunplus

</td>
<td>


055f:c630

</td>
<td>


Mustek MDC4000

</td>
</tr>
<tr>
<td>


sunplus

</td>
<td>


055f:c650

</td>
<td>


Mustek MDC5500Z

</td>
</tr>
<tr>
<td>


nw80x

</td>
<td>


055f:d001

</td>
<td>


Mustek Wcam 300 mini

</td>
</tr>
<tr>
<td>


zc3xx

</td>
<td>


055f:d003

</td>
<td>


Mustek WCam300A

</td>
</tr>
<tr>
<td>


zc3xx

</td>
<td>


055f:d004

</td>
<td>


Mustek WCam300 AN

</td>
</tr>
<tr>
<td>


conex

</td>
<td>


0572:0041

</td>
<td>


Creative Notebook cx11646

</td>
</tr>
<tr>
<td>


ov519

</td>
<td>


05a9:0511

</td>
<td>


Video Blaster WebCam 3/WebCam Plus, D-Link USB Digital Video Camera

</td>
</tr>
<tr>
<td>


ov519

</td>
<td>


05a9:0518

</td>
<td>


Creative WebCam

</td>
</tr>
<tr>
<td>


ov519

</td>
<td>


05a9:0519

</td>
<td>


OV519 Microphone

</td>
</tr>
<tr>
<td>


ov519

</td>
<td>


05a9:0530

</td>
<td>


OmniVision

</td>
</tr>
<tr>
<td>


ov534_9

</td>
<td>


05a9:1550

</td>
<td>


OmniVision VEHO Filmscanner

</td>
</tr>
<tr>
<td>


ov519

</td>
<td>


05a9:2800

</td>
<td>


OmniVision SuperCAM

</td>
</tr>
<tr>
<td>


ov519

</td>
<td>


05a9:4519

</td>
<td>


Webcam Classic

</td>
</tr>
<tr>
<td>


ov534_9

</td>
<td>


05a9:8065

</td>
<td>


OmniVision test kit ov538+ov9712

</td>
</tr>
<tr>
<td>


ov519

</td>
<td>


05a9:8519

</td>
<td>


OmniVision

</td>
</tr>
<tr>
<td>


ov519

</td>
<td>


05a9:a511

</td>
<td>


D-Link USB Digital Video Camera

</td>
</tr>
<tr>
<td>


ov519

</td>
<td>


05a9:a518

</td>
<td>


D-Link DSB-C310 Webcam

</td>
</tr>
<tr>
<td>


sunplus

</td>
<td>


05da:1018

</td>
<td>


Digital Dream Enigma 1.3

</td>
</tr>
<tr>
<td>


stk014

</td>
<td>


05e1:0893

</td>
<td>


Syntek DV4000

</td>
</tr>
<tr>
<td>


gl860

</td>
<td>


05e3:0503

</td>
<td>


Genesys Logic PC Camera

</td>
</tr>
<tr>
<td>


gl860

</td>
<td>


05e3:f191

</td>
<td>


Genesys Logic PC Camera

</td>
</tr>
<tr>
<td>


vicam

</td>
<td>


0602:1001

</td>
<td>


ViCam Webcam

</td>
</tr>
<tr>
<td>


spca561

</td>
<td>


060b:a001

</td>
<td>


Maxell Compact Pc PM3

</td>
</tr>
<tr>
<td>


zc3xx

</td>
<td>


0698:2003

</td>
<td>


CTX M730V built in

</td>
</tr>
<tr>
<td>


topro

</td>
<td>


06a2:0003

</td>
<td>


TP6800 PC Camera, CmoX CX0342 webcam

</td>
</tr>
<tr>
<td>


topro

</td>
<td>


06a2:6810

</td>
<td>


Creative Qmax

</td>
</tr>
<tr>
<td>


nw80x

</td>
<td>


06a5:0000

</td>
<td>


Typhoon Webcam 100 USB

</td>
</tr>
<tr>
<td>


nw80x

</td>
<td>


06a5:d001

</td>
<td>


Divio based webcams

</td>
</tr>
<tr>
<td>


nw80x

</td>
<td>


06a5:d800

</td>
<td>


Divio Chicony TwinkleCam, Trust SpaceCam

</td>
</tr>
<tr>
<td>


spca500

</td>
<td>


06bd:0404

</td>
<td>


Agfa CL20

</td>
</tr>
<tr>
<td>


spca500

</td>
<td>


06be:0800

</td>
<td>


Optimedia

</td>
</tr>
<tr>
<td>


nw80x

</td>
<td>


06be:d001

</td>
<td>


EZCam Pro p35u

</td>
</tr>
<tr>
<td>


sunplus

</td>
<td>


06d6:0031

</td>
<td>


Trust 610 LCD PowerC@m Zoom

</td>
</tr>
<tr>
<td>


sunplus

</td>
<td>


06d6:0041

</td>
<td>


Aashima Technology B.V.

</td>
</tr>
<tr>
<td>


spca506

</td>
<td>


06e1:a190

</td>
<td>


ADS Instant VCD

</td>
</tr>
<tr>
<td>


ov534

</td>
<td>


06f8:3002

</td>
<td>


Hercules Blog Webcam

</td>
</tr>
<tr>
<td>


ov534_9

</td>
<td>


06f8:3003

</td>
<td>


Hercules Dualpix HD Weblog

</td>
</tr>
<tr>
<td>


sonixj

</td>
<td>


06f8:3004

</td>
<td>


Hercules Classic Silver

</td>
</tr>
<tr>
<td>


sonixj

</td>
<td>


06f8:3008

</td>
<td>


Hercules Deluxe Optical Glass

</td>
</tr>
<tr>
<td>


pac7302

</td>
<td>


06f8:3009

</td>
<td>


Hercules Classic Link

</td>
</tr>
<tr>
<td>


pac7302

</td>
<td>


06f8:301b

</td>
<td>


Hercules Link

</td>
</tr>
<tr>
<td>


nw80x

</td>
<td>


0728:d001

</td>
<td>


AVerMedia Camguard

</td>
</tr>
<tr>
<td>


spca508

</td>
<td>


0733:0110

</td>
<td>


ViewQuest VQ110

</td>
</tr>
<tr>
<td>


spca501

</td>
<td>


0733:0401

</td>
<td>


Intel Create and Share

</td>
</tr>
<tr>
<td>


spca501

</td>
<td>


0733:0402

</td>
<td>


ViewQuest M318B

</td>
</tr>
<tr>
<td>


spca505

</td>
<td>


0733:0430

</td>
<td>


Intel PC Camera Pro

</td>
</tr>
<tr>
<td>


sunplus

</td>
<td>


0733:1311

</td>
<td>


Digital Dream Epsilon 1.3

</td>
</tr>
<tr>
<td>


sunplus

</td>
<td>


0733:1314

</td>
<td>


Mercury 2.1MEG Deluxe Classic Cam

</td>
</tr>
<tr>
<td>


sunplus

</td>
<td>


0733:2211

</td>
<td>


Jenoptik jdc 21 LCD

</td>
</tr>
<tr>
<td>


sunplus

</td>
<td>


0733:2221

</td>
<td>


Mercury Digital Pro 3.1p

</td>
</tr>
<tr>
<td>


sunplus

</td>
<td>


0733:3261

</td>
<td>


Concord 3045 spca536a

</td>
</tr>
<tr>
<td>


sunplus

</td>
<td>


0733:3281

</td>
<td>


Cyberpix S550V

</td>
</tr>
<tr>
<td>


spca506

</td>
<td>


0734:043b

</td>
<td>


3DeMon USB Capture aka

</td>
</tr>
<tr>
<td>


cpia1

</td>
<td>


0813:0001

</td>
<td>


QX3 camera

</td>
</tr>
<tr>
<td>


ov519

</td>
<td>


0813:0002

</td>
<td>


Dual Mode USB Camera Plus

</td>
</tr>
<tr>
<td>


spca500

</td>
<td>


084d:0003

</td>
<td>


D-Link DSC-350

</td>
</tr>
<tr>
<td>


spca500

</td>
<td>


08ca:0103

</td>
<td>


Aiptek PocketDV

</td>
</tr>
<tr>
<td>


sunplus

</td>
<td>


08ca:0104

</td>
<td>


Aiptek PocketDVII 1.3

</td>
</tr>
<tr>
<td>


sunplus

</td>
<td>


08ca:0106

</td>
<td>


Aiptek Pocket DV3100+

</td>
</tr>
<tr>
<td>


mr97310a

</td>
<td>


08ca:0110

</td>
<td>


Trust Spyc@m 100

</td>
</tr>
<tr>
<td>


mr97310a

</td>
<td>


08ca:0111

</td>
<td>


Aiptek PenCam VGA+

</td>
</tr>
<tr>
<td>


sunplus

</td>
<td>


08ca:2008

</td>
<td>


Aiptek Mini PenCam 2 M

</td>
</tr>
<tr>
<td>


sunplus

</td>
<td>


08ca:2010

</td>
<td>


Aiptek PocketCam 3M

</td>
</tr>
<tr>
<td>


sunplus

</td>
<td>


08ca:2016

</td>
<td>


Aiptek PocketCam 2 Mega

</td>
</tr>
<tr>
<td>


sunplus

</td>
<td>


08ca:2018

</td>
<td>


Aiptek Pencam SD 2M

</td>
</tr>
<tr>
<td>


sunplus

</td>
<td>


08ca:2020

</td>
<td>


Aiptek Slim 3000F

</td>
</tr>
<tr>
<td>


sunplus

</td>
<td>


08ca:2022

</td>
<td>


Aiptek Slim 3200

</td>
</tr>
<tr>
<td>


sunplus

</td>
<td>


08ca:2024

</td>
<td>


Aiptek DV3500 Mpeg4

</td>
</tr>
<tr>
<td>


sunplus

</td>
<td>


08ca:2028

</td>
<td>


Aiptek PocketCam4M

</td>
</tr>
<tr>
<td>


sunplus

</td>
<td>


08ca:2040

</td>
<td>


Aiptek PocketDV4100M

</td>
</tr>
<tr>
<td>


sunplus

</td>
<td>


08ca:2042

</td>
<td>


Aiptek PocketDV5100

</td>
</tr>
<tr>
<td>


sunplus

</td>
<td>


08ca:2050

</td>
<td>


Medion MD 41437

</td>
</tr>
<tr>
<td>


sunplus

</td>
<td>


08ca:2060

</td>
<td>


Aiptek PocketDV5300

</td>
</tr>
<tr>
<td>


tv8532

</td>
<td>


0923:010f

</td>
<td>


ICM532 cams

</td>
</tr>
<tr>
<td>


mr97310a

</td>
<td>


093a:010e

</td>
<td>


All known CIF cams with this ID

</td>
</tr>
<tr>
<td>


mr97310a

</td>
<td>


093a:010f

</td>
<td>


All known VGA cams with this ID

</td>
</tr>
<tr>
<td>


mars

</td>
<td>


093a:050f

</td>
<td>


Mars-Semi Pc-Camera

</td>
</tr>
<tr>
<td>


pac207

</td>
<td>


093a:2460

</td>
<td>


Qtec Webcam 100

</td>
</tr>
<tr>
<td>


pac207

</td>
<td>


093a:2461

</td>
<td>


HP Webcam

</td>
</tr>
<tr>
<td>


pac207

</td>
<td>


093a:2463

</td>
<td>


Philips SPC 220 NC

</td>
</tr>
<tr>
<td>


pac207

</td>
<td>


093a:2464

</td>
<td>


Labtec Webcam 1200

</td>
</tr>
<tr>
<td>


pac207

</td>
<td>


093a:2468

</td>
<td>


Webcam WB-1400T

</td>
</tr>
<tr>
<td>


pac207

</td>
<td>


093a:2470

</td>
<td>


Genius GF112

</td>
</tr>
<tr>
<td>


pac207

</td>
<td>


093a:2471

</td>
<td>


Genius VideoCam ge111

</td>
</tr>
<tr>
<td>


pac207

</td>
<td>


093a:2472

</td>
<td>


Genius VideoCam ge110

</td>
</tr>
<tr>
<td>


pac207

</td>
<td>


093a:2474

</td>
<td>


Genius iLook 111

</td>
</tr>
<tr>
<td>


pac207

</td>
<td>


093a:2476

</td>
<td>


Genius e-Messenger 112

</td>
</tr>
<tr>
<td>


pac7311

</td>
<td>


093a:2600

</td>
<td>


PAC7311 Typhoon

</td>
</tr>
<tr>
<td>


pac7311

</td>
<td>


093a:2601

</td>
<td>


Philips SPC 610 NC

</td>
</tr>
<tr>
<td>


pac7311

</td>
<td>


093a:2603

</td>
<td>


Philips SPC 500 NC

</td>
</tr>
<tr>
<td>


pac7311

</td>
<td>


093a:2608

</td>
<td>


Trust WB-3300p

</td>
</tr>
<tr>
<td>


pac7311

</td>
<td>


093a:260e

</td>
<td>


Gigaware VGA PC Camera, Trust WB-3350p, SIGMA cam 2350

</td>
</tr>
<tr>
<td>


pac7311

</td>
<td>


093a:260f

</td>
<td>


SnakeCam

</td>
</tr>
<tr>
<td>


pac7302

</td>
<td>


093a:2620

</td>
<td>


Apollo AC-905

</td>
</tr>
<tr>
<td>


pac7302

</td>
<td>


093a:2621

</td>
<td>


PAC731x

</td>
</tr>
<tr>
<td>


pac7302

</td>
<td>


093a:2622

</td>
<td>


Genius Eye 312

</td>
</tr>
<tr>
<td>


pac7302

</td>
<td>


093a:2623

</td>
<td>


Pixart Imaging, Inc.

</td>
</tr>
<tr>
<td>


pac7302

</td>
<td>


093a:2624

</td>
<td>


PAC7302

</td>
</tr>
<tr>
<td>


pac7302

</td>
<td>


093a:2625

</td>
<td>


Genius iSlim 310

</td>
</tr>
<tr>
<td>


pac7302

</td>
<td>


093a:2626

</td>
<td>


Labtec 2200

</td>
</tr>
<tr>
<td>


pac7302

</td>
<td>


093a:2627

</td>
<td>


Genius FaceCam 300

</td>
</tr>
<tr>
<td>


pac7302

</td>
<td>


093a:2628

</td>
<td>


Genius iLook 300

</td>
</tr>
<tr>
<td>


pac7302

</td>
<td>


093a:2629

</td>
<td>


Genius iSlim 300

</td>
</tr>
<tr>
<td>


pac7302

</td>
<td>


093a:262a

</td>
<td>


Webcam 300k

</td>
</tr>
<tr>
<td>


pac7302

</td>
<td>


093a:262c

</td>
<td>


Philips SPC 230 NC

</td>
</tr>
<tr>
<td>


jl2005bcd

</td>
<td>


0979:0227

</td>
<td>


Various brands, 19 known cameras supported

</td>
</tr>
<tr>
<td>


jeilinj

</td>
<td>


0979:0270

</td>
<td>


Sakar 57379

</td>
</tr>
<tr>
<td>


jeilinj

</td>
<td>


0979:0280

</td>
<td>


Sportscam DV15, Sakar 57379

</td>
</tr>
<tr>
<td>


zc3xx

</td>
<td>


0ac8:0301

</td>
<td>


Web Camera

</td>
</tr>
<tr>
<td>


zc3xx

</td>
<td>


0ac8:0302

</td>
<td>


Z-star Vimicro zc0302

</td>
</tr>
<tr>
<td>


vc032x

</td>
<td>


0ac8:0321

</td>
<td>


Vimicro generic vc0321

</td>
</tr>
<tr>
<td>


vc032x

</td>
<td>


0ac8:0323

</td>
<td>


Vimicro Vc0323

</td>
</tr>
<tr>
<td>


vc032x

</td>
<td>


0ac8:0328

</td>
<td>


A4Tech PK-130MG

</td>
</tr>
<tr>
<td>


zc3xx

</td>
<td>


0ac8:301b

</td>
<td>


Z-Star zc301b

</td>
</tr>
<tr>
<td>


zc3xx

</td>
<td>


0ac8:303b

</td>
<td>


Vimicro 0x303b

</td>
</tr>
<tr>
<td>


zc3xx

</td>
<td>


0ac8:305b

</td>
<td>


Z-star Vimicro zc0305b

</td>
</tr>
<tr>
<td>


zc3xx

</td>
<td>


0ac8:307b

</td>
<td>


PC Camera (ZS0211)

</td>
</tr>
<tr>
<td>


vc032x

</td>
<td>


0ac8:c001

</td>
<td>


Sony embedded vimicro

</td>
</tr>
<tr>
<td>


vc032x

</td>
<td>


0ac8:c002

</td>
<td>


Sony embedded vimicro

</td>
</tr>
<tr>
<td>


vc032x

</td>
<td>


0ac8:c301

</td>
<td>


Samsung Q1 Ultra Premium

</td>
</tr>
<tr>
<td>


spca508

</td>
<td>


0af9:0010

</td>
<td>


Hama USB Sightcam 100

</td>
</tr>
<tr>
<td>


spca508

</td>
<td>


0af9:0011

</td>
<td>


Hama USB Sightcam 100

</td>
</tr>
<tr>
<td>


ov519

</td>
<td>


0b62:0059

</td>
<td>


iBOT2 Webcam

</td>
</tr>
<tr>
<td>


sonixb

</td>
<td>


0c45:6001

</td>
<td>


Genius VideoCAM NB

</td>
</tr>
<tr>
<td>


sonixb

</td>
<td>


0c45:6005

</td>
<td>


Microdia Sweex Mini Webcam

</td>
</tr>
<tr>
<td>


sonixb

</td>
<td>


0c45:6007

</td>
<td>


Sonix sn9c101 + Tas5110D

</td>
</tr>
<tr>
<td>


sonixb

</td>
<td>


0c45:6009

</td>
<td>


[spcaCam@120](<mailto:spcaCam@120>)

</td>
</tr>
<tr>
<td>


sonixb

</td>
<td>


0c45:600d

</td>
<td>


[spcaCam@120](<mailto:spcaCam@120>)

</td>
</tr>
<tr>
<td>


sonixb

</td>
<td>


0c45:6011

</td>
<td>


Microdia PC Camera (SN9C102)

</td>
</tr>
<tr>
<td>


sonixb

</td>
<td>


0c45:6019

</td>
<td>


Generic Sonix OV7630

</td>
</tr>
<tr>
<td>


sonixb

</td>
<td>


0c45:6024

</td>
<td>


Generic Sonix Tas5130c

</td>
</tr>
<tr>
<td>


sonixb

</td>
<td>


0c45:6025

</td>
<td>


Xcam Shanga

</td>
</tr>
<tr>
<td>


sonixb

</td>
<td>


0c45:6027

</td>
<td>


GeniusEye 310

</td>
</tr>
<tr>
<td>


sonixb

</td>
<td>


0c45:6028

</td>
<td>


Sonix Btc Pc380

</td>
</tr>
<tr>
<td>


sonixb

</td>
<td>


0c45:6029

</td>
<td>


[spcaCam@150](<mailto:spcaCam@150>)

</td>
</tr>
<tr>
<td>


sonixb

</td>
<td>


0c45:602a

</td>
<td>


Meade ETX-105EC Camera

</td>
</tr>
<tr>
<td>


sonixb

</td>
<td>


0c45:602c

</td>
<td>


Generic Sonix OV7630

</td>
</tr>
<tr>
<td>


sonixb

</td>
<td>


0c45:602d

</td>
<td>


LIC-200 LG

</td>
</tr>
<tr>
<td>


sonixb

</td>
<td>


0c45:602e

</td>
<td>


Genius VideoCam Messenger

</td>
</tr>
<tr>
<td>


sonixj

</td>
<td>


0c45:6040

</td>
<td>


Speed NVC 350K

</td>
</tr>
<tr>
<td>


sonixj

</td>
<td>


0c45:607c

</td>
<td>


Sonix sn9c102p Hv7131R

</td>
</tr>
<tr>
<td>


sonixb

</td>
<td>


0c45:6083

</td>
<td>


VideoCAM Look

</td>
</tr>
<tr>
<td>


sonixb

</td>
<td>


0c45:608c

</td>
<td>


VideoCAM Look

</td>
</tr>
<tr>
<td>


sonixb

</td>
<td>


0c45:608f

</td>
<td>


PC Camera (SN9C103 + OV7630)

</td>
</tr>
<tr>
<td>


sonixb

</td>
<td>


0c45:60a8

</td>
<td>


VideoCAM Look

</td>
</tr>
<tr>
<td>


sonixb

</td>
<td>


0c45:60aa

</td>
<td>


VideoCAM Look

</td>
</tr>
<tr>
<td>


sonixb

</td>
<td>


0c45:60af

</td>
<td>


VideoCAM Look

</td>
</tr>
<tr>
<td>


sonixb

</td>
<td>


0c45:60b0

</td>
<td>


Genius VideoCam Look

</td>
</tr>
<tr>
<td>


sonixj

</td>
<td>


0c45:60c0

</td>
<td>


Sangha Sn535

</td>
</tr>
<tr>
<td>


sonixj

</td>
<td>


0c45:60ce

</td>
<td>


USB-PC-Camera-168 (TALK-5067)

</td>
</tr>
<tr>
<td>


sonixj

</td>
<td>


0c45:60ec

</td>
<td>


SN9C105+MO4000

</td>
</tr>
<tr>
<td>


sonixj

</td>
<td>


0c45:60fb

</td>
<td>


Surfer NoName

</td>
</tr>
<tr>
<td>


sonixj

</td>
<td>


0c45:60fc

</td>
<td>


LG-LIC300

</td>
</tr>
<tr>
<td>


sonixj

</td>
<td>


0c45:60fe

</td>
<td>


Microdia Audio

</td>
</tr>
<tr>
<td>


sonixj

</td>
<td>


0c45:6100

</td>
<td>


PC Camera (SN9C128)

</td>
</tr>
<tr>
<td>


sonixj

</td>
<td>


0c45:6102

</td>
<td>


PC Camera (SN9C128)

</td>
</tr>
<tr>
<td>


sonixj

</td>
<td>


0c45:610a

</td>
<td>


PC Camera (SN9C128)

</td>
</tr>
<tr>
<td>


sonixj

</td>
<td>


0c45:610b

</td>
<td>


PC Camera (SN9C128)

</td>
</tr>
<tr>
<td>


sonixj

</td>
<td>


0c45:610c

</td>
<td>


PC Camera (SN9C128)

</td>
</tr>
<tr>
<td>


sonixj

</td>
<td>


0c45:610e

</td>
<td>


PC Camera (SN9C128)

</td>
</tr>
<tr>
<td>


sonixj

</td>
<td>


0c45:6128

</td>
<td>


Microdia/Sonix SNP325

</td>
</tr>
<tr>
<td>


sonixj

</td>
<td>


0c45:612a

</td>
<td>


Avant Camera

</td>
</tr>
<tr>
<td>


sonixj

</td>
<td>


0c45:612b

</td>
<td>


Speed-Link REFLECT2

</td>
</tr>
<tr>
<td>


sonixj

</td>
<td>


0c45:612c

</td>
<td>


Typhoon Rasy Cam 1.3MPix

</td>
</tr>
<tr>
<td>


sonixj

</td>
<td>


0c45:612e

</td>
<td>


PC Camera (SN9C110)

</td>
</tr>
<tr>
<td>


sonixj

</td>
<td>


0c45:6130

</td>
<td>


Sonix Pccam

</td>
</tr>
<tr>
<td>


sonixj

</td>
<td>


0c45:6138

</td>
<td>


Sn9c120 Mo4000

</td>
</tr>
<tr>
<td>


sonixj

</td>
<td>


0c45:613a

</td>
<td>


Microdia Sonix PC Camera

</td>
</tr>
<tr>
<td>


sonixj

</td>
<td>


0c45:613b

</td>
<td>


Surfer SN-206

</td>
</tr>
<tr>
<td>


sonixj

</td>
<td>


0c45:613c

</td>
<td>


Sonix Pccam168

</td>
</tr>
<tr>
<td>


sonixj

</td>
<td>


0c45:613e

</td>
<td>


PC Camera (SN9C120)

</td>
</tr>
<tr>
<td>


sonixj

</td>
<td>


0c45:6142

</td>
<td>


Hama PC-Webcam AC-150

</td>
</tr>
<tr>
<td>


sonixj

</td>
<td>


0c45:6143

</td>
<td>


Sonix Pccam168

</td>
</tr>
<tr>
<td>


sonixj

</td>
<td>


0c45:6148

</td>
<td>


Digitus DA-70811/ZSMC USB PC Camera ZS211/Microdia

</td>
</tr>
<tr>
<td>


sonixj

</td>
<td>


0c45:614a

</td>
<td>


Frontech E-Ccam (JIL-2225)

</td>
</tr>
<tr>
<td>


sn9c20x

</td>
<td>


0c45:6240

</td>
<td>


PC Camera (SN9C201 + MT9M001)

</td>
</tr>
<tr>
<td>


sn9c20x

</td>
<td>


0c45:6242

</td>
<td>


PC Camera (SN9C201 + MT9M111)

</td>
</tr>
<tr>
<td>


sn9c20x

</td>
<td>


0c45:6248

</td>
<td>


PC Camera (SN9C201 + OV9655)

</td>
</tr>
<tr>
<td>


sn9c20x

</td>
<td>


0c45:624c

</td>
<td>


PC Camera (SN9C201 + MT9M112)

</td>
</tr>
<tr>
<td>


sn9c20x

</td>
<td>


0c45:624e

</td>
<td>


PC Camera (SN9C201 + SOI968)

</td>
</tr>
<tr>
<td>


sn9c20x

</td>
<td>


0c45:624f

</td>
<td>


PC Camera (SN9C201 + OV9650)

</td>
</tr>
<tr>
<td>


sn9c20x

</td>
<td>


0c45:6251

</td>
<td>


PC Camera (SN9C201 + OV9650)

</td>
</tr>
<tr>
<td>


sn9c20x

</td>
<td>


0c45:6253

</td>
<td>


PC Camera (SN9C201 + OV9650)

</td>
</tr>
<tr>
<td>


sn9c20x

</td>
<td>


0c45:6260

</td>
<td>


PC Camera (SN9C201 + OV7670)

</td>
</tr>
<tr>
<td>


sn9c20x

</td>
<td>


0c45:6270

</td>
<td>


PC Camera (SN9C201 + MT9V011/MT9V111/MT9V112)

</td>
</tr>
<tr>
<td>


sn9c20x

</td>
<td>


0c45:627b

</td>
<td>


PC Camera (SN9C201 + OV7660)

</td>
</tr>
<tr>
<td>


sn9c20x

</td>
<td>


0c45:627c

</td>
<td>


PC Camera (SN9C201 + HV7131R)

</td>
</tr>
<tr>
<td>


sn9c20x

</td>
<td>


0c45:627f

</td>
<td>


PC Camera (SN9C201 + OV9650)

</td>
</tr>
<tr>
<td>


sn9c20x

</td>
<td>


0c45:6280

</td>
<td>


PC Camera (SN9C202 + MT9M001)

</td>
</tr>
<tr>
<td>


sn9c20x

</td>
<td>


0c45:6282

</td>
<td>


PC Camera (SN9C202 + MT9M111)

</td>
</tr>
<tr>
<td>


sn9c20x

</td>
<td>


0c45:6288

</td>
<td>


PC Camera (SN9C202 + OV9655)

</td>
</tr>
<tr>
<td>


sn9c20x

</td>
<td>


0c45:628c

</td>
<td>


PC Camera (SN9C201 + MT9M112)

</td>
</tr>
<tr>
<td>


sn9c20x

</td>
<td>


0c45:628e

</td>
<td>


PC Camera (SN9C202 + SOI968)

</td>
</tr>
<tr>
<td>


sn9c20x

</td>
<td>


0c45:628f

</td>
<td>


PC Camera (SN9C202 + OV9650)

</td>
</tr>
<tr>
<td>


sn9c20x

</td>
<td>


0c45:62a0

</td>
<td>


PC Camera (SN9C202 + OV7670)

</td>
</tr>
<tr>
<td>


sn9c20x

</td>
<td>


0c45:62b0

</td>
<td>


PC Camera (SN9C202 + MT9V011/MT9V111/MT9V112)

</td>
</tr>
<tr>
<td>


sn9c20x

</td>
<td>


0c45:62b3

</td>
<td>


PC Camera (SN9C202 + OV9655)

</td>
</tr>
<tr>
<td>


sn9c20x

</td>
<td>


0c45:62bb

</td>
<td>


PC Camera (SN9C202 + OV7660)

</td>
</tr>
<tr>
<td>


sn9c20x

</td>
<td>


0c45:62bc

</td>
<td>


PC Camera (SN9C202 + HV7131R)

</td>
</tr>
<tr>
<td>


sn9c2028

</td>
<td>


0c45:8001

</td>
<td>


Wild Planet Digital Spy Camera

</td>
</tr>
<tr>
<td>


sn9c2028

</td>
<td>


0c45:8003

</td>
<td>


Sakar \#11199, \#6637x, \#67480 keychain cams

</td>
</tr>
<tr>
<td>


sn9c2028

</td>
<td>


0c45:8008

</td>
<td>


Mini-Shotz ms-350

</td>
</tr>
<tr>
<td>


sn9c2028

</td>
<td>


0c45:800a

</td>
<td>


Vivitar Vivicam 3350B

</td>
</tr>
<tr>
<td>


sunplus

</td>
<td>


0d64:0303

</td>
<td>


Sunplus FashionCam DXG

</td>
</tr>
<tr>
<td>


ov519

</td>
<td>


0e96:c001

</td>
<td>


TRUST 380 USB2 SPACEC@M

</td>
</tr>
<tr>
<td>


etoms

</td>
<td>


102c:6151

</td>
<td>


Qcam Sangha CIF

</td>
</tr>
<tr>
<td>


etoms

</td>
<td>


102c:6251

</td>
<td>


Qcam xxxxxx VGA

</td>
</tr>
<tr>
<td>


ov519

</td>
<td>


1046:9967

</td>
<td>


W9967CF/W9968CF WebCam IC, Video Blaster WebCam Go

</td>
</tr>
<tr>
<td>


zc3xx

</td>
<td>


10fd:0128

</td>
<td>


Typhoon Webshot II USB 300k 0x0128

</td>
</tr>
<tr>
<td>


spca561

</td>
<td>


10fd:7e50

</td>
<td>


FlyCam Usb 100

</td>
</tr>
<tr>
<td>


zc3xx

</td>
<td>


10fd:804d

</td>
<td>


Typhoon Webshot II Webcam \[zc0301\]

</td>
</tr>
<tr>
<td>


zc3xx

</td>
<td>


10fd:8050

</td>
<td>


Typhoon Webshot II USB 300k

</td>
</tr>
<tr>
<td>


ov534

</td>
<td>


1415:2000

</td>
<td>


Sony HD Eye for PS3 (SLEH 00201)

</td>
</tr>
<tr>
<td>


pac207

</td>
<td>


145f:013a

</td>
<td>


Trust WB-1300N

</td>
</tr>
<tr>
<td>


pac7302

</td>
<td>


145f:013c

</td>
<td>


Trust

</td>
</tr>
<tr>
<td>


sn9c20x

</td>
<td>


145f:013d

</td>
<td>


Trust WB-3600R

</td>
</tr>
<tr>
<td>


vc032x

</td>
<td>


15b8:6001

</td>
<td>


HP 2.0 Megapixel

</td>
</tr>
<tr>
<td>


vc032x

</td>
<td>


15b8:6002

</td>
<td>


HP 2.0 Megapixel rz406aa

</td>
</tr>
<tr>
<td>


stk1135

</td>
<td>


174f:6a31

</td>
<td>


ASUSlaptop, MT9M112 sensor

</td>
</tr>
<tr>
<td>


spca501

</td>
<td>


1776:501c

</td>
<td>


Arowana 300K CMOS Camera

</td>
</tr>
<tr>
<td>


t613

</td>
<td>


17a1:0128

</td>
<td>


TASCORP JPEG Webcam, NGS Cyclops

</td>
</tr>
<tr>
<td>


vc032x

</td>
<td>


17ef:4802

</td>
<td>


Lenovo Vc0323+MI1310_SOC

</td>
</tr>
<tr>
<td>


pac7302

</td>
<td>


1ae7:2001

</td>
<td>


SpeedLinkSnappy Mic SL-6825-SBK

</td>
</tr>
<tr>
<td>


pac207

</td>
<td>


2001:f115

</td>
<td>


D-Link DSB-C120

</td>
</tr>
<tr>
<td>


sq905c

</td>
<td>


2770:9050

</td>
<td>


Disney pix micro (CIF)

</td>
</tr>
<tr>
<td>


sq905c

</td>
<td>


2770:9051

</td>
<td>


Lego Bionicle

</td>
</tr>
<tr>
<td>


sq905c

</td>
<td>


2770:9052

</td>
<td>


Disney pix micro 2 (VGA)

</td>
</tr>
<tr>
<td>


sq905c

</td>
<td>


2770:905c

</td>
<td>


All 11 known cameras with this ID

</td>
</tr>
<tr>
<td>


sq905

</td>
<td>


2770:9120

</td>
<td>


All 24 known cameras with this ID

</td>
</tr>
<tr>
<td>


sq905c

</td>
<td>


2770:913d

</td>
<td>


All 4 known cameras with this ID

</td>
</tr>
<tr>
<td>


sq930x

</td>
<td>


2770:930b

</td>
<td>


Sweex Motion Tracking / I-Tec iCam Tracer

</td>
</tr>
<tr>
<td>


sq930x

</td>
<td>


2770:930c

</td>
<td>


Trust WB-3500T / NSG Robbie 2.0

</td>
</tr>
<tr>
<td>


spca500

</td>
<td>


2899:012c

</td>
<td>


Toptro Industrial

</td>
</tr>
<tr>
<td>


ov519

</td>
<td>


8020:ef04

</td>
<td>


ov519

</td>
</tr>
<tr>
<td>


spca508

</td>
<td>


8086:0110

</td>
<td>


Intel Easy PC Camera

</td>
</tr>
<tr>
<td>


spca500

</td>
<td>


8086:0630

</td>
<td>


Intel Pocket PC Camera

</td>
</tr>
<tr>
<td>


spca506

</td>
<td>


99fa:8988

</td>
<td>


Grandtec V.cap

</td>
</tr>
<tr>
<td>


sn9c20x

</td>
<td>


a168:0610

</td>
<td>


Dino-Lite Digital Microscope (SN9C201 + HV7131R)

</td>
</tr>
<tr>
<td>


sn9c20x

</td>
<td>


a168:0611

</td>
<td>


Dino-Lite Digital Microscope (SN9C201 + HV7131R)

</td>
</tr>
<tr>
<td>


sn9c20x

</td>
<td>


a168:0613

</td>
<td>


Dino-Lite Digital Microscope (SN9C201 + HV7131R)

</td>
</tr>
<tr>
<td>


sn9c20x

</td>
<td>


a168:0614

</td>
<td>


Dino-Lite Digital Microscope (SN9C201 + MT9M111)

</td>
</tr>
<tr>
<td>


sn9c20x

</td>
<td>


a168:0615

</td>
<td>


Dino-Lite Digital Microscope (SN9C201 + MT9M111)

</td>
</tr>
<tr>
<td>


sn9c20x

</td>
<td>


a168:0617

</td>
<td>


Dino-Lite Digital Microscope (SN9C201 + MT9M111)

</td>
</tr>
<tr>
<td>


sn9c20x

</td>
<td>


a168:0618

</td>
<td>


Dino-Lite Digital Microscope (SN9C201 + HV7131R)

</td>
</tr>
<tr>
<td>


spca561

</td>
<td>


abcd:cdee

</td>
<td>


Petcam

</td>
</tr>
</tbody>
</table>

---

# I²C drivers

_Peios Kernel / Administration / System administration / Media devices_

> The I²C (Inter-Integrated Circuit) bus is a three-wires bus used internally at the media cards for communication between different chips. While the bus is not visible to the Linux Kernel, drivers need to send and receive commands via the…

<a id="rst-i2c-drivers"></a>

<!-- SPDX-License-Identifier: GPL-2.0 -->

The I²C (Inter-Integrated Circuit) bus is a three-wires bus used internally at the media cards for communication between different chips. While the bus is not visible to the Linux Kernel, drivers need to send and receive commands via the bus. The Linux Kernel driver abstraction has support to implement different drivers for each component inside an I²C bus, as if the bus were visible to the main system board.

One of the problems with I²C devices is that sometimes the same device may work with different I²C hardware. This is common, for example, on devices that comes with a tuner for North America market, and another one for Europe. Some drivers have a `tuner=` modprobe parameter to allow using a different tuner number in order to address such issue.

The current supported of I²C drivers (not including staging drivers) are listed below.

<a id="rst-audio-decoders-processors-and-mixers"></a>

## Audio decoders, processors and mixers


<table>
<thead>
<tr>
<th>


Driver

</th>
<th>


Name

</th>
</tr>
</thead>
<tbody>
<tr>
<td>


cs3308

</td>
<td>


Cirrus Logic CS3308 audio ADC

</td>
</tr>
<tr>
<td>


cs5345

</td>
<td>


Cirrus Logic CS5345 audio ADC

</td>
</tr>
<tr>
<td>


cs53l32a

</td>
<td>


Cirrus Logic CS53L32A audio ADC

</td>
</tr>
<tr>
<td>


msp3400

</td>
<td>


Micronas MSP34xx audio decoders

</td>
</tr>
<tr>
<td>


sony-btf-mpx

</td>
<td>


Sony BTF's internal MPX

</td>
</tr>
<tr>
<td>


tda1997x

</td>
<td>


NXP TDA1997x HDMI receiver

</td>
</tr>
<tr>
<td>


tda7432

</td>
<td>


Philips TDA7432 audio processor

</td>
</tr>
<tr>
<td>


tda9840

</td>
<td>


Philips TDA9840 audio processor

</td>
</tr>
<tr>
<td>


tea6415c

</td>
<td>


Philips TEA6415C audio processor

</td>
</tr>
<tr>
<td>


tea6420

</td>
<td>


Philips TEA6420 audio processor

</td>
</tr>
<tr>
<td>


tlv320aic23b

</td>
<td>


Texas Instruments TLV320AIC23B audio codec

</td>
</tr>
<tr>
<td>


tvaudio

</td>
<td>


Simple audio decoder chips

</td>
</tr>
<tr>
<td>


uda1342

</td>
<td>


Philips UDA1342 audio codec

</td>
</tr>
<tr>
<td>


vp27smpx

</td>
<td>


Panasonic VP27's internal MPX

</td>
</tr>
<tr>
<td>


wm8739

</td>
<td>


Wolfson Microelectronics WM8739 stereo audio ADC

</td>
</tr>
<tr>
<td>


wm8775

</td>
<td>


Wolfson Microelectronics WM8775 audio ADC with input mixer

</td>
</tr>
</tbody>
</table>

<a id="rst-audio-video-compression-chips"></a>

## Audio/Video compression chips


<table>
<thead>
<tr>
<th>


Driver

</th>
<th>


Name

</th>
</tr>
</thead>
<tbody>
<tr>
<td>


saa6752hs

</td>
<td>


Philips SAA6752HS MPEG-2 Audio/Video Encoder

</td>
</tr>
</tbody>
</table>

<a id="rst-camera-sensor-devices"></a>

## Camera sensor devices


<table>
<thead>
<tr>
<th>


Driver

</th>
<th>


Name

</th>
</tr>
</thead>
<tbody>
<tr>
<td>


ccs

</td>
<td>


MIPI CCS compliant camera sensors (also SMIA++ and SMIA)

</td>
</tr>
<tr>
<td>


et8ek8

</td>
<td>


ET8EK8 camera sensor

</td>
</tr>
<tr>
<td>


hi556

</td>
<td>


Hynix Hi-556 sensor

</td>
</tr>
<tr>
<td>


hi846

</td>
<td>


Hynix Hi-846 sensor

</td>
</tr>
<tr>
<td>


imx208

</td>
<td>


Sony IMX208 sensor

</td>
</tr>
<tr>
<td>


imx214

</td>
<td>


Sony IMX214 sensor

</td>
</tr>
<tr>
<td>


imx219

</td>
<td>


Sony IMX219 sensor

</td>
</tr>
<tr>
<td>


imx258

</td>
<td>


Sony IMX258 sensor

</td>
</tr>
<tr>
<td>


imx274

</td>
<td>


Sony IMX274 sensor

</td>
</tr>
<tr>
<td>


imx290

</td>
<td>


Sony IMX290 sensor

</td>
</tr>
<tr>
<td>


imx319

</td>
<td>


Sony IMX319 sensor

</td>
</tr>
<tr>
<td>


imx334

</td>
<td>


Sony IMX334 sensor

</td>
</tr>
<tr>
<td>


imx355

</td>
<td>


Sony IMX355 sensor

</td>
</tr>
<tr>
<td>


imx412

</td>
<td>


Sony IMX412 sensor

</td>
</tr>
<tr>
<td>


mt9m001

</td>
<td>


mt9m001

</td>
</tr>
<tr>
<td>


mt9m111

</td>
<td>


mt9m111, mt9m112 and mt9m131

</td>
</tr>
<tr>
<td>


mt9p031

</td>
<td>


Aptina MT9P031

</td>
</tr>
<tr>
<td>


mt9t112

</td>
<td>


Aptina MT9T111/MT9T112

</td>
</tr>
<tr>
<td>


mt9v011

</td>
<td>


Micron mt9v011 sensor

</td>
</tr>
<tr>
<td>


mt9v032

</td>
<td>


Micron MT9V032 sensor

</td>
</tr>
<tr>
<td>


mt9v111

</td>
<td>


Aptina MT9V111 sensor

</td>
</tr>
<tr>
<td>


ov13858

</td>
<td>


OmniVision OV13858 sensor

</td>
</tr>
<tr>
<td>


ov13b10

</td>
<td>


OmniVision OV13B10 sensor

</td>
</tr>
<tr>
<td>


ov2640

</td>
<td>


OmniVision OV2640 sensor

</td>
</tr>
<tr>
<td>


ov2659

</td>
<td>


OmniVision OV2659 sensor

</td>
</tr>
<tr>
<td>


ov2680

</td>
<td>


OmniVision OV2680 sensor

</td>
</tr>
<tr>
<td>


ov2685

</td>
<td>


OmniVision OV2685 sensor

</td>
</tr>
<tr>
<td>


ov5640

</td>
<td>


OmniVision OV5640 sensor

</td>
</tr>
<tr>
<td>


ov5645

</td>
<td>


OmniVision OV5645 sensor

</td>
</tr>
<tr>
<td>


ov5647

</td>
<td>


OmniVision OV5647 sensor

</td>
</tr>
<tr>
<td>


ov5670

</td>
<td>


OmniVision OV5670 sensor

</td>
</tr>
<tr>
<td>


ov5675

</td>
<td>


OmniVision OV5675 sensor

</td>
</tr>
<tr>
<td>


ov5695

</td>
<td>


OmniVision OV5695 sensor

</td>
</tr>
<tr>
<td>


ov7251

</td>
<td>


OmniVision OV7251 sensor

</td>
</tr>
<tr>
<td>


ov7640

</td>
<td>


OmniVision OV7640 sensor

</td>
</tr>
<tr>
<td>


ov7670

</td>
<td>


OmniVision OV7670 sensor

</td>
</tr>
<tr>
<td>


ov772x

</td>
<td>


OmniVision OV772x sensor

</td>
</tr>
<tr>
<td>


ov7740

</td>
<td>


OmniVision OV7740 sensor

</td>
</tr>
<tr>
<td>


ov8856

</td>
<td>


OmniVision OV8856 sensor

</td>
</tr>
<tr>
<td>


ov9640

</td>
<td>


OmniVision OV9640 sensor

</td>
</tr>
<tr>
<td>


ov9650

</td>
<td>


OmniVision OV9650/OV9652 sensor

</td>
</tr>
<tr>
<td>


rj54n1cb0c

</td>
<td>


Sharp RJ54N1CB0C sensor

</td>
</tr>
<tr>
<td>


s5c73m3

</td>
<td>


Samsung S5C73M3 sensor

</td>
</tr>
<tr>
<td>


s5k4ecgx

</td>
<td>


Samsung S5K4ECGX sensor

</td>
</tr>
<tr>
<td>


s5k5baf

</td>
<td>


Samsung S5K5BAF sensor

</td>
</tr>
<tr>
<td>


s5k6a3

</td>
<td>


Samsung S5K6A3 sensor

</td>
</tr>
</tbody>
</table>

<a id="rst-flash-devices"></a>

## Flash devices


<table>
<thead>
<tr>
<th>


Driver

</th>
<th>


Name

</th>
</tr>
</thead>
<tbody>
<tr>
<td>


adp1653

</td>
<td>


ADP1653 flash

</td>
</tr>
<tr>
<td>


lm3560

</td>
<td>


LM3560 dual flash driver

</td>
</tr>
<tr>
<td>


lm3646

</td>
<td>


LM3646 dual flash driver

</td>
</tr>
</tbody>
</table>

<a id="rst-ir-i2c-driver"></a>

## IR I2C driver


<table>
<thead>
<tr>
<th>


Driver

</th>
<th>


Name

</th>
</tr>
</thead>
<tbody>
<tr>
<td>


ir-kbd-i2c

</td>
<td>


I2C module for IR

</td>
</tr>
</tbody>
</table>

<a id="rst-lens-drivers"></a>

## Lens drivers


<table>
<thead>
<tr>
<th>


Driver

</th>
<th>


Name

</th>
</tr>
</thead>
<tbody>
<tr>
<td>


ad5820

</td>
<td>


AD5820 lens voice coil

</td>
</tr>
<tr>
<td>


ak7375

</td>
<td>


AK7375 lens voice coil

</td>
</tr>
<tr>
<td>


dw9714

</td>
<td>


DW9714 lens voice coil

</td>
</tr>
<tr>
<td>


dw9768

</td>
<td>


DW9768 lens voice coil

</td>
</tr>
<tr>
<td>


dw9807-vcm

</td>
<td>


DW9807 lens voice coil

</td>
</tr>
</tbody>
</table>

<a id="rst-miscellaneous-helper-chips"></a>

## Miscellaneous helper chips


<table>
<thead>
<tr>
<th>


Driver

</th>
<th>


Name

</th>
</tr>
</thead>
<tbody>
<tr>
<td>


video-i2c

</td>
<td>


I2C transport video

</td>
</tr>
<tr>
<td>


m52790

</td>
<td>


Mitsubishi M52790 A/V switch

</td>
</tr>
<tr>
<td>


st-mipid02

</td>
<td>


STMicroelectronics MIPID02 CSI-2 to PARALLEL bridge

</td>
</tr>
<tr>
<td>


ths7303

</td>
<td>


THS7303/53 Video Amplifier

</td>
</tr>
</tbody>
</table>

<a id="rst-rds-decoders"></a>

## RDS decoders


<table>
<thead>
<tr>
<th>


Driver

</th>
<th>


Name

</th>
</tr>
</thead>
<tbody>
<tr>
<td>


saa6588

</td>
<td>


SAA6588 Radio Chip RDS decoder

</td>
</tr>
</tbody>
</table>

<a id="rst-sdr-tuner-chips"></a>

## SDR tuner chips


<table>
<thead>
<tr>
<th>


Driver

</th>
<th>


Name

</th>
</tr>
</thead>
<tbody>
<tr>
<td>


max2175

</td>
<td>


Maxim 2175 RF to Bits tuner

</td>
</tr>
</tbody>
</table>

<a id="rst-video-and-audio-decoders"></a>

## Video and audio decoders


<table>
<thead>
<tr>
<th>


Driver

</th>
<th>


Name

</th>
</tr>
</thead>
<tbody>
<tr>
<td>


cx25840

</td>
<td>


Conexant CX2584x audio/video decoders

</td>
</tr>
<tr>
<td>


saa717x

</td>
<td>


Philips SAA7171/3/4 audio/video decoders

</td>
</tr>
</tbody>
</table>

<a id="rst-video-decoders"></a>

## Video decoders


<table>
<thead>
<tr>
<th>


Driver

</th>
<th>


Name

</th>
</tr>
</thead>
<tbody>
<tr>
<td>


adv7180

</td>
<td>


Analog Devices ADV7180 decoder

</td>
</tr>
<tr>
<td>


adv7183

</td>
<td>


Analog Devices ADV7183 decoder

</td>
</tr>
<tr>
<td>


adv748x

</td>
<td>


Analog Devices ADV748x decoder

</td>
</tr>
<tr>
<td>


adv7604

</td>
<td>


Analog Devices ADV7604 decoder

</td>
</tr>
<tr>
<td>


adv7842

</td>
<td>


Analog Devices ADV7842 decoder

</td>
</tr>
<tr>
<td>


bt819

</td>
<td>


BT819A VideoStream decoder

</td>
</tr>
<tr>
<td>


bt856

</td>
<td>


BT856 VideoStream decoder

</td>
</tr>
<tr>
<td>


bt866

</td>
<td>


BT866 VideoStream decoder

</td>
</tr>
<tr>
<td>


ks0127

</td>
<td>


KS0127 video decoder

</td>
</tr>
<tr>
<td>


ml86v7667

</td>
<td>


OKI ML86V7667 video decoder

</td>
</tr>
<tr>
<td>


saa7110

</td>
<td>


Philips SAA7110 video decoder

</td>
</tr>
<tr>
<td>


saa7115

</td>
<td>


Philips SAA7111/3/4/5 video decoders

</td>
</tr>
<tr>
<td>


tc358743

</td>
<td>


Toshiba TC358743 decoder

</td>
</tr>
<tr>
<td>


tvp514x

</td>
<td>


Texas Instruments TVP514x video decoder

</td>
</tr>
<tr>
<td>


tvp5150

</td>
<td>


Texas Instruments TVP5150 video decoder

</td>
</tr>
<tr>
<td>


tvp7002

</td>
<td>


Texas Instruments TVP7002 video decoder

</td>
</tr>
<tr>
<td>


tw2804

</td>
<td>


Techwell TW2804 multiple video decoder

</td>
</tr>
<tr>
<td>


tw9903

</td>
<td>


Techwell TW9903 video decoder

</td>
</tr>
<tr>
<td>


tw9906

</td>
<td>


Techwell TW9906 video decoder

</td>
</tr>
<tr>
<td>


tw9910

</td>
<td>


Techwell TW9910 video decoder

</td>
</tr>
<tr>
<td>


vpx3220

</td>
<td>


vpx3220a, vpx3216b &amp; vpx3214c video decoders

</td>
</tr>
</tbody>
</table>

<a id="rst-video-encoders"></a>

## Video encoders


<table>
<thead>
<tr>
<th>


Driver

</th>
<th>


Name

</th>
</tr>
</thead>
<tbody>
<tr>
<td>


adv7170

</td>
<td>


Analog Devices ADV7170 video encoder

</td>
</tr>
<tr>
<td>


adv7175

</td>
<td>


Analog Devices ADV7175 video encoder

</td>
</tr>
<tr>
<td>


adv7343

</td>
<td>


ADV7343 video encoder

</td>
</tr>
<tr>
<td>


adv7393

</td>
<td>


ADV7393 video encoder

</td>
</tr>
<tr>
<td>


adv7511-v4l2

</td>
<td>


Analog Devices ADV7511 encoder

</td>
</tr>
<tr>
<td>


ak881x

</td>
<td>


AK8813/AK8814 video encoders

</td>
</tr>
<tr>
<td>


saa7127

</td>
<td>


Philips SAA7127/9 digital video encoders

</td>
</tr>
<tr>
<td>


saa7185

</td>
<td>


Philips SAA7185 video encoder

</td>
</tr>
<tr>
<td>


ths8200

</td>
<td>


Texas Instruments THS8200 video encoder

</td>
</tr>
</tbody>
</table>

<a id="rst-video-improvement-chips"></a>

## Video improvement chips


<table>
<thead>
<tr>
<th>


Driver

</th>
<th>


Name

</th>
</tr>
</thead>
<tbody>
<tr>
<td>


upd64031a

</td>
<td>


NEC Electronics uPD64031A Ghost Reduction

</td>
</tr>
<tr>
<td>


upd64083

</td>
<td>


NEC Electronics uPD64083 3-Dimensional Y/C separation

</td>
</tr>
</tbody>
</table>

<a id="rst-tuner-drivers"></a>

## Tuner drivers


<table>
<thead>
<tr>
<th>


Driver

</th>
<th>


Name

</th>
</tr>
</thead>
<tbody>
<tr>
<td>


e4000

</td>
<td>


Elonics E4000 silicon tuner

</td>
</tr>
<tr>
<td>


fc0011

</td>
<td>


Fitipower FC0011 silicon tuner

</td>
</tr>
<tr>
<td>


fc0012

</td>
<td>


Fitipower FC0012 silicon tuner

</td>
</tr>
<tr>
<td>


fc0013

</td>
<td>


Fitipower FC0013 silicon tuner

</td>
</tr>
<tr>
<td>


fc2580

</td>
<td>


FCI FC2580 silicon tuner

</td>
</tr>
<tr>
<td>


it913x

</td>
<td>


ITE Tech IT913x silicon tuner

</td>
</tr>
<tr>
<td>


m88rs6000t

</td>
<td>


Montage M88RS6000 internal tuner

</td>
</tr>
<tr>
<td>


max2165

</td>
<td>


Maxim MAX2165 silicon tuner

</td>
</tr>
<tr>
<td>


mc44s803

</td>
<td>


Freescale MC44S803 Low Power CMOS Broadband tuners

</td>
</tr>
<tr>
<td>


msi001

</td>
<td>


Mirics MSi001

</td>
</tr>
<tr>
<td>


mt2060

</td>
<td>


Microtune MT2060 silicon IF tuner

</td>
</tr>
<tr>
<td>


mt2063

</td>
<td>


Microtune MT2063 silicon IF tuner

</td>
</tr>
<tr>
<td>


mt20xx

</td>
<td>


Microtune 2032 / 2050 tuners

</td>
</tr>
<tr>
<td>


mt2131

</td>
<td>


Microtune MT2131 silicon tuner

</td>
</tr>
<tr>
<td>


mt2266

</td>
<td>


Microtune MT2266 silicon tuner

</td>
</tr>
<tr>
<td>


mxl301rf

</td>
<td>


MaxLinear MxL301RF tuner

</td>
</tr>
<tr>
<td>


mxl5005s

</td>
<td>


MaxLinear MSL5005S silicon tuner

</td>
</tr>
<tr>
<td>


mxl5007t

</td>
<td>


MaxLinear MxL5007T silicon tuner

</td>
</tr>
<tr>
<td>


qm1d1b0004

</td>
<td>


Sharp QM1D1B0004 tuner

</td>
</tr>
<tr>
<td>


qm1d1c0042

</td>
<td>


Sharp QM1D1C0042 tuner

</td>
</tr>
<tr>
<td>


qt1010

</td>
<td>


Quantek QT1010 silicon tuner

</td>
</tr>
<tr>
<td>


r820t

</td>
<td>


Rafael Micro R820T silicon tuner

</td>
</tr>
<tr>
<td>


si2157

</td>
<td>


Silicon Labs Si2157 silicon tuner

</td>
</tr>
<tr>
<td>


tuner-types

</td>
<td>


Simple tuner support

</td>
</tr>
<tr>
<td>


tda18212

</td>
<td>


NXP TDA18212 silicon tuner

</td>
</tr>
<tr>
<td>


tda18218

</td>
<td>


NXP TDA18218 silicon tuner

</td>
</tr>
<tr>
<td>


tda18250

</td>
<td>


NXP TDA18250 silicon tuner

</td>
</tr>
<tr>
<td>


tda18271

</td>
<td>


NXP TDA18271 silicon tuner

</td>
</tr>
<tr>
<td>


tda827x

</td>
<td>


Philips TDA827X silicon tuner

</td>
</tr>
<tr>
<td>


tda8290

</td>
<td>


TDA 8290/8295 + 8275(a)/18271 tuner combo

</td>
</tr>
<tr>
<td>


tda9887

</td>
<td>


TDA 9885/6/7 analog IF demodulator

</td>
</tr>
<tr>
<td>


tea5761

</td>
<td>


TEA 5761 radio tuner

</td>
</tr>
<tr>
<td>


tea5767

</td>
<td>


TEA 5767 radio tuner

</td>
</tr>
<tr>
<td>


tua9001

</td>
<td>


Infineon TUA9001 silicon tuner

</td>
</tr>
<tr>
<td>


xc2028

</td>
<td>


XCeive xc2028/xc3028 tuners

</td>
</tr>
<tr>
<td>


xc4000

</td>
<td>


Xceive XC4000 silicon tuner

</td>
</tr>
<tr>
<td>


xc5000

</td>
<td>


Xceive XC5000 silicon tuner

</td>
</tr>
</tbody>
</table>

- [Tuner cards list](</kernel/administration/admin-guide/media/tuner-cardlist.md>)
- [Frontend drivers](</kernel/administration/admin-guide/media/frontend-cardlist.md>)

---

# i.MX Video Capture Driver

_Peios Kernel / Administration / System administration / Media devices_

> The Freescale i.MX5/6 contains an Image Processing Unit (IPU), which handles the flow of image frames to and from capture devices and display devices.

<a id="rst-i-mx-video-capture-driver"></a>

<!-- SPDX-License-Identifier: GPL-2.0 -->

<a id="rst-introduction"></a>

## Introduction

The Freescale i.MX5/6 contains an Image Processing Unit (IPU), which handles the flow of image frames to and from capture devices and display devices.

For image capture, the IPU contains the following internal subunits:

- Image DMA Controller (IDMAC)

- Camera Serial Interface (CSI)

- Image Converter (IC)

- Sensor Multi-FIFO Controller (SMFC)

- Image Rotator (IRT)

- Video De-Interlacing or Combining Block (VDIC)

The IDMAC is the DMA controller for transfer of image frames to and from memory. Various dedicated DMA channels exist for both video capture and display paths. During transfer, the IDMAC is also capable of vertical image flip, 8x8 block transfer (see IRT description), pixel component re-ordering (for example UYVY to YUYV) within the same colorspace, and packed &lt;--&gt; planar conversion. The IDMAC can also perform a simple de-interlacing by interweaving even and odd lines during transfer (without motion compensation which requires the VDIC).

The CSI is the backend capture unit that interfaces directly with camera sensors over Parallel, BT.656/1120, and MIPI CSI-2 buses.

The IC handles color-space conversion, resizing (downscaling and upscaling), horizontal flip, and 90/270 degree rotation operations.

There are three independent "tasks" within the IC that can carry out conversions concurrently: pre-process encoding, pre-process viewfinder, and post-processing. Within each task, conversions are split into three sections: downsizing section, main section (upsizing, flip, colorspace conversion, and graphics plane combining), and rotation section.

The IPU time-shares the IC task operations. The time-slice granularity is one burst of eight pixels in the downsizing section, one image line in the main processing section, one image frame in the rotation section.

The SMFC is composed of four independent FIFOs that each can transfer captured frames from sensors directly to memory concurrently via four IDMAC channels.

The IRT carries out 90 and 270 degree image rotation operations. The rotation operation is carried out on 8x8 pixel blocks at a time. This operation is supported by the IDMAC which handles the 8x8 block transfer along with block reordering, in coordination with vertical flip.

The VDIC handles the conversion of interlaced video to progressive, with support for different motion compensation modes (low, medium, and high motion). The deinterlaced output frames from the VDIC can be sent to the IC pre-process viewfinder task for further conversions. The VDIC also contains a Combiner that combines two image planes, with alpha blending and color keying.

In addition to the IPU internal subunits, there are also two units outside the IPU that are also involved in video capture on i.MX:

- MIPI CSI-2 Receiver for camera sensors with the MIPI CSI-2 bus interface. This is a Synopsys DesignWare core.

- Two video multiplexers for selecting among multiple sensor inputs to send to a CSI.

For more info, refer to the latest versions of the i.MX5/6 reference manuals <a id="rst-footnote-reference-1"></a>[1](#rst-f1) and <a id="rst-footnote-reference-2"></a>[2](#rst-f2).

<a id="rst-features"></a>

## Features

Some of the features of this driver include:

- Many different pipelines can be configured via media controller API, that correspond to the hardware video capture pipelines supported in the i.MX.

- Supports parallel, BT.565, and MIPI CSI-2 interfaces.

- Concurrent independent streams, by configuring pipelines to multiple video capture interfaces using independent entities.

- Scaling, color-space conversion, horizontal and vertical flip, and image rotation via IC task subdevs.

- Many pixel formats supported (RGB, packed and planar YUV, partial planar YUV).

- The VDIC subdev supports motion compensated de-interlacing, with three motion compensation modes: low, medium, and high motion. Pipelines are defined that allow sending frames to the VDIC subdev directly from the CSI. There is also support in the future for sending frames to the VDIC from memory buffers via output/mem2mem devices.

- Includes a Frame Interval Monitor (FIM) that can correct vertical sync problems with the ADV718x video decoders.

<a id="rst-topology"></a>

## Topology

The following shows the media topologies for the i.MX6Q SabreSD and i.MX6Q SabreAuto. Refer to these diagrams in the entity descriptions in the next section.

The i.MX5/6 topologies can differ upstream from the IPUv3 CSI video multiplexers, but the internal IPUv3 topology downstream from there is common to all i.MX5/6 platforms. For example, the SabreSD, with the MIPI CSI-2 OV5640 sensor, requires the i.MX6 MIPI CSI-2 receiver. But the SabreAuto has only the ADV7180 decoder on a parallel bt.656 bus, and therefore does not require the MIPI CSI-2 receiver, so it is missing in its graph.

<a id="rst-imx6q-topology-graph"></a>

```mermaid
flowchart TB
  n0["pad 0<br/>ipu1_csi0<br/>/dev/v4l-subdev0<br/>pad 1<br/>pad 2"]
  n1["ipu1_csi0 capture<br/>/dev/video0"]
  n2["pad 0<br/>ipu1_ic_prp<br/>/dev/v4l-subdev2<br/>pad 1<br/>pad 2"]
  n3["pad 0<br/>pad 1<br/>ipu1_vdic<br/>/dev/v4l-subdev1<br/>pad 2"]
  n4["pad 0<br/>ipu1_ic_prpenc<br/>/dev/v4l-subdev3<br/>pad 1"]
  n5["pad 0<br/>ipu1_ic_prpvf<br/>/dev/v4l-subdev4<br/>pad 1"]
  n6["ipu1_ic_prpenc capture<br/>/dev/video1"]
  n7["ipu1_ic_prpvf capture<br/>/dev/video2"]
  n8["pad 0<br/>ipu1_csi1<br/>/dev/v4l-subdev5<br/>pad 1<br/>pad 2"]
  n9["ipu1_csi1 capture<br/>/dev/video3"]
  n10["pad 0<br/>ipu2_csi0<br/>/dev/v4l-subdev6<br/>pad 1<br/>pad 2"]
  n11["ipu2_csi0 capture<br/>/dev/video4"]
  n12["pad 0<br/>ipu2_ic_prp<br/>/dev/v4l-subdev8<br/>pad 1<br/>pad 2"]
  n13["pad 0<br/>pad 1<br/>ipu2_vdic<br/>/dev/v4l-subdev7<br/>pad 2"]
  n14["pad 0<br/>ipu2_ic_prpenc<br/>/dev/v4l-subdev9<br/>pad 1"]
  n15["pad 0<br/>ipu2_ic_prpvf<br/>/dev/v4l-subdev10<br/>pad 1"]
  n16["ipu2_ic_prpenc capture<br/>/dev/video5"]
  n17["ipu2_ic_prpvf capture<br/>/dev/video6"]
  n18["pad 0<br/>ipu2_csi1<br/>/dev/v4l-subdev11<br/>pad 1<br/>pad 2"]
  n19["ipu2_csi1 capture<br/>/dev/video7"]
  n20["pad 0<br/>imx6-mipi-csi2<br/>/dev/v4l-subdev12<br/>pad 1<br/>pad 2<br/>pad 3<br/>pad 4"]
  n21["pad 0<br/>pad 1<br/>ipu1_csi0_mux<br/>/dev/v4l-subdev13<br/>pad 2"]
  n22["pad 0<br/>pad 1<br/>ipu2_csi1_mux<br/>/dev/v4l-subdev14<br/>pad 2"]
  n23["ov5640 1-003c<br/>/dev/v4l-subdev15<br/>pad 0"]
  n0 -->|"from pad 2"| n1
  n0 -->|"pad 1 → pad 0"| n2
  n0 -->|"pad 1 → pad 0"| n3
  n3 -->|"pad 2 → pad 0"| n2
  n2 -->|"pad 1 → pad 0"| n4
  n2 -->|"pad 2 → pad 0"| n5
  n4 -->|"from pad 1"| n6
  n5 -->|"from pad 1"| n7
  n8 -->|"from pad 2"| n9
  n8 -->|"pad 1 → pad 0"| n2
  n8 -->|"pad 1 → pad 0"| n3
  n10 -->|"from pad 2"| n11
  n10 -->|"pad 1 → pad 0"| n12
  n10 -->|"pad 1 → pad 0"| n13
  n13 -->|"pad 2 → pad 0"| n12
  n12 -->|"pad 1 → pad 0"| n14
  n12 -->|"pad 2 → pad 0"| n15
  n14 -->|"from pad 1"| n16
  n15 -->|"from pad 1"| n17
  n18 -->|"from pad 2"| n19
  n18 -->|"pad 1 → pad 0"| n12
  n18 -->|"pad 1 → pad 0"| n13
  n20 -->|"pad 2 → pad 0"| n8
  n20 -->|"pad 3 → pad 0"| n10
  n20 -->|"pad 1 → pad 0"| n21
  n20 -->|"pad 4 → pad 0"| n22
  n21 -->|"pad 2 → pad 0"| n0
  n22 -->|"pad 2 → pad 0"| n18
  n23 -->|"pad 0 → pad 0"| n20
  style n0 fill:green,color:#111
  style n1 fill:yellow,color:#111
  style n2 fill:green,color:#111
  style n3 fill:green,color:#111
  style n4 fill:green,color:#111
  style n5 fill:green,color:#111
  style n6 fill:yellow,color:#111
  style n7 fill:yellow,color:#111
  style n8 fill:green,color:#111
  style n9 fill:yellow,color:#111
  style n10 fill:green,color:#111
  style n11 fill:yellow,color:#111
  style n12 fill:green,color:#111
  style n13 fill:green,color:#111
  style n14 fill:green,color:#111
  style n15 fill:green,color:#111
  style n16 fill:yellow,color:#111
  style n17 fill:yellow,color:#111
  style n18 fill:green,color:#111
  style n19 fill:yellow,color:#111
  style n20 fill:green,color:#111
  style n21 fill:green,color:#111
  style n22 fill:green,color:#111
  style n23 fill:green,color:#111
  linkStyle 0 stroke-dasharray:6 4
  linkStyle 1 stroke-dasharray:6 4
  linkStyle 2 stroke-dasharray:6 4
  linkStyle 3 stroke-dasharray:6 4
  linkStyle 4 stroke-dasharray:6 4
  linkStyle 5 stroke-dasharray:6 4
  linkStyle 6 stroke-dasharray:6 4
  linkStyle 7 stroke-dasharray:6 4
  linkStyle 8 stroke-dasharray:6 4
  linkStyle 9 stroke-dasharray:6 4
  linkStyle 10 stroke-dasharray:6 4
  linkStyle 11 stroke-dasharray:6 4
  linkStyle 12 stroke-dasharray:6 4
  linkStyle 13 stroke-dasharray:6 4
  linkStyle 14 stroke-dasharray:6 4
  linkStyle 15 stroke-dasharray:6 4
  linkStyle 16 stroke-dasharray:6 4
  linkStyle 17 stroke-dasharray:6 4
  linkStyle 18 stroke-dasharray:6 4
  linkStyle 19 stroke-dasharray:6 4
  linkStyle 20 stroke-dasharray:6 4
  linkStyle 21 stroke-dasharray:6 4
  linkStyle 22 stroke-dasharray:6 4
  linkStyle 23 stroke-dasharray:6 4
  linkStyle 24 stroke-dasharray:6 4
  linkStyle 25 stroke-dasharray:6 4
  linkStyle 26 stroke-dasharray:6 4
  linkStyle 27 stroke-dasharray:6 4
  linkStyle 28 stroke-dasharray:6 4
```

Diagram of the i.MX6Q SabreSD media pipeline topology

Media pipeline graph on i.MX6Q SabreSD

```mermaid
flowchart TB
  n0["pad 0<br/>ipu1_csi0<br/>/dev/v4l-subdev0<br/>pad 1<br/>pad 2"]
  n1["ipu1_csi0 capture<br/>/dev/video0"]
  n2["pad 0<br/>ipu1_ic_prp<br/>/dev/v4l-subdev2<br/>pad 1<br/>pad 2"]
  n3["pad 0<br/>pad 1<br/>ipu1_vdic<br/>/dev/v4l-subdev1<br/>pad 2"]
  n4["pad 0<br/>ipu1_ic_prpenc<br/>/dev/v4l-subdev3<br/>pad 1"]
  n5["pad 0<br/>ipu1_ic_prpvf<br/>/dev/v4l-subdev4<br/>pad 1"]
  n6["ipu1_ic_prpenc capture<br/>/dev/video1"]
  n7["ipu1_ic_prpvf capture<br/>/dev/video2"]
  n8["pad 0<br/>ipu1_csi1<br/>/dev/v4l-subdev5<br/>pad 1<br/>pad 2"]
  n9["ipu1_csi1 capture<br/>/dev/video3"]
  n10["pad 0<br/>ipu2_csi0<br/>/dev/v4l-subdev6<br/>pad 1<br/>pad 2"]
  n11["ipu2_csi0 capture<br/>/dev/video4"]
  n12["pad 0<br/>ipu2_ic_prp<br/>/dev/v4l-subdev8<br/>pad 1<br/>pad 2"]
  n13["pad 0<br/>pad 1<br/>ipu2_vdic<br/>/dev/v4l-subdev7<br/>pad 2"]
  n14["pad 0<br/>ipu2_ic_prpenc<br/>/dev/v4l-subdev9<br/>pad 1"]
  n15["pad 0<br/>ipu2_ic_prpvf<br/>/dev/v4l-subdev10<br/>pad 1"]
  n16["ipu2_ic_prpenc capture<br/>/dev/video5"]
  n17["ipu2_ic_prpvf capture<br/>/dev/video6"]
  n18["pad 0<br/>ipu2_csi1<br/>/dev/v4l-subdev11<br/>pad 1<br/>pad 2"]
  n19["ipu2_csi1 capture<br/>/dev/video7"]
  n20["pad 0<br/>pad 1<br/>ipu1_csi0_mux<br/>/dev/v4l-subdev12<br/>pad 2"]
  n21["pad 0<br/>pad 1<br/>ipu2_csi1_mux<br/>/dev/v4l-subdev13<br/>pad 2"]
  n22["adv7180 3-0021<br/>/dev/v4l-subdev14<br/>pad 0"]
  n0 -->|"from pad 2"| n1
  n0 -->|"pad 1 → pad 0"| n2
  n0 -->|"pad 1 → pad 0"| n3
  n3 -->|"pad 2 → pad 0"| n2
  n2 -->|"pad 1 → pad 0"| n4
  n2 -->|"pad 2 → pad 0"| n5
  n4 -->|"from pad 1"| n6
  n5 -->|"from pad 1"| n7
  n8 -->|"from pad 2"| n9
  n8 -->|"pad 1 → pad 0"| n2
  n8 -->|"pad 1 → pad 0"| n3
  n10 -->|"from pad 2"| n11
  n10 -->|"pad 1 → pad 0"| n12
  n10 -->|"pad 1 → pad 0"| n13
  n13 -->|"pad 2 → pad 0"| n12
  n12 -->|"pad 1 → pad 0"| n14
  n12 -->|"pad 2 → pad 0"| n15
  n14 -->|"from pad 1"| n16
  n15 -->|"from pad 1"| n17
  n18 -->|"from pad 2"| n19
  n18 -->|"pad 1 → pad 0"| n12
  n18 -->|"pad 1 → pad 0"| n13
  n20 -->|"pad 2 → pad 0"| n0
  n21 -->|"pad 2 → pad 0"| n18
  n22 -->|"pad 0 → pad 1"| n20
  style n0 fill:green,color:#111
  style n1 fill:yellow,color:#111
  style n2 fill:green,color:#111
  style n3 fill:green,color:#111
  style n4 fill:green,color:#111
  style n5 fill:green,color:#111
  style n6 fill:yellow,color:#111
  style n7 fill:yellow,color:#111
  style n8 fill:green,color:#111
  style n9 fill:yellow,color:#111
  style n10 fill:green,color:#111
  style n11 fill:yellow,color:#111
  style n12 fill:green,color:#111
  style n13 fill:green,color:#111
  style n14 fill:green,color:#111
  style n15 fill:green,color:#111
  style n16 fill:yellow,color:#111
  style n17 fill:yellow,color:#111
  style n18 fill:green,color:#111
  style n19 fill:yellow,color:#111
  style n20 fill:green,color:#111
  style n21 fill:green,color:#111
  style n22 fill:green,color:#111
  linkStyle 0 stroke-dasharray:6 4
  linkStyle 1 stroke-dasharray:6 4
  linkStyle 2 stroke-dasharray:6 4
  linkStyle 3 stroke-dasharray:6 4
  linkStyle 4 stroke-dasharray:6 4
  linkStyle 5 stroke-dasharray:6 4
  linkStyle 6 stroke-dasharray:6 4
  linkStyle 7 stroke-dasharray:6 4
  linkStyle 8 stroke-dasharray:6 4
  linkStyle 9 stroke-dasharray:6 4
  linkStyle 10 stroke-dasharray:6 4
  linkStyle 11 stroke-dasharray:6 4
  linkStyle 12 stroke-dasharray:6 4
  linkStyle 13 stroke-dasharray:6 4
  linkStyle 14 stroke-dasharray:6 4
  linkStyle 15 stroke-dasharray:6 4
  linkStyle 16 stroke-dasharray:6 4
  linkStyle 17 stroke-dasharray:6 4
  linkStyle 18 stroke-dasharray:6 4
  linkStyle 19 stroke-dasharray:6 4
  linkStyle 20 stroke-dasharray:6 4
  linkStyle 21 stroke-dasharray:6 4
  linkStyle 22 stroke-dasharray:6 4
  linkStyle 23 stroke-dasharray:6 4
  linkStyle 24 stroke-dasharray:6 4
```

Diagram of the i.MX6Q SabreAuto media pipeline topology

Media pipeline graph on i.MX6Q SabreAuto

<a id="rst-entities"></a>

## Entities

<a id="rst-imx6-mipi-csi2"></a>

## imx6-mipi-csi2

This is the MIPI CSI-2 receiver entity. It has one sink pad to receive the MIPI CSI-2 stream (usually from a MIPI CSI-2 camera sensor). It has four source pads, corresponding to the four MIPI CSI-2 demuxed virtual channel outputs. Multiple source pads can be enabled to independently stream from multiple virtual channels.

This entity actually consists of two sub-blocks. One is the MIPI CSI-2 core. This is a Synopsys Designware MIPI CSI-2 core. The other sub-block is a "CSI-2 to IPU gasket". The gasket acts as a demultiplexer of the four virtual channels streams, providing four separate parallel buses containing each virtual channel that are routed to CSIs or video multiplexers as described below.

On i.MX6 solo/dual-lite, all four virtual channel buses are routed to two video multiplexers. Both CSI0 and CSI1 can receive any virtual channel, as selected by the video multiplexers.

On i.MX6 Quad, virtual channel 0 is routed to IPU1-CSI0 (after selected by a video mux), virtual channels 1 and 2 are hard-wired to IPU1-CSI1 and IPU2-CSI0, respectively, and virtual channel 3 is routed to IPU2-CSI1 (again selected by a video mux).

<a id="rst-ipux-csiy-mux"></a>

## ipuX_csiY_mux

These are the video multiplexers. They have two or more sink pads to select from either camera sensors with a parallel interface, or from MIPI CSI-2 virtual channels from imx6-mipi-csi2 entity. They have a single source pad that routes to a CSI (ipuX_csiY entities).

On i.MX6 solo/dual-lite, there are two video mux entities. One sits in front of IPU1-CSI0 to select between a parallel sensor and any of the four MIPI CSI-2 virtual channels (a total of five sink pads). The other mux sits in front of IPU1-CSI1, and again has five sink pads to select between a parallel sensor and any of the four MIPI CSI-2 virtual channels.

On i.MX6 Quad, there are two video mux entities. One sits in front of IPU1-CSI0 to select between a parallel sensor and MIPI CSI-2 virtual channel 0 (two sink pads). The other mux sits in front of IPU2-CSI1 to select between a parallel sensor and MIPI CSI-2 virtual channel 3 (two sink pads).

<a id="rst-ipux-csiy"></a>

## ipuX_csiY

These are the CSI entities. They have a single sink pad receiving from either a video mux or from a MIPI CSI-2 virtual channel as described above.

This entity has two source pads. The first source pad can link directly to the ipuX_vdic entity or the ipuX_ic_prp entity, using hardware links that require no IDMAC memory buffer transfer.

When the direct source pad is routed to the ipuX_ic_prp entity, frames from the CSI can be processed by one or both of the IC pre-processing tasks.

When the direct source pad is routed to the ipuX_vdic entity, the VDIC will carry out motion-compensated de-interlace using "high motion" mode (see description of ipuX_vdic entity).

The second source pad sends video frames directly to memory buffers via the SMFC and an IDMAC channel, bypassing IC pre-processing. This source pad is routed to a capture device node, with a node name of the format "ipuX_csiY capture".

Note that since the IDMAC source pad makes use of an IDMAC channel, pixel reordering within the same colorspace can be carried out by the IDMAC channel. For example, if the CSI sink pad is receiving in UYVY order, the capture device linked to the IDMAC source pad can capture in YUYV order. Also, if the CSI sink pad is receiving a packed YUV format, the capture device can capture a planar YUV format such as YUV420.

The IDMAC channel at the IDMAC source pad also supports simple interweave without motion compensation, which is activated if the source pad's field type is sequential top-bottom or bottom-top, and the requested capture interface field type is set to interlaced (t-b, b-t, or unqualified interlaced). The capture interface will enforce the same field order as the source pad field order (interlaced-bt if source pad is seq-bt, interlaced-tb if source pad is seq-tb).

For events produced by ipuX_csiY, see ref:`imx_api_ipuX_csiY`.

<a id="rst-cropping-in-ipux-csiy"></a>

## Cropping in ipuX_csiY

The CSI supports cropping the incoming raw sensor frames. This is implemented in the ipuX_csiY entities at the sink pad, using the crop selection subdev API.

The CSI also supports fixed divide-by-two downscaling independently in width and height. This is implemented in the ipuX_csiY entities at the sink pad, using the compose selection subdev API.

The output rectangle at the ipuX_csiY source pad is the same as the compose rectangle at the sink pad. So the source pad rectangle cannot be negotiated, it must be set using the compose selection API at sink pad (if /2 downscale is desired, otherwise source pad rectangle is equal to incoming rectangle).

To give an example of crop and /2 downscale, this will crop a 1280x960 input frame to 640x480, and then /2 downscale in both dimensions to 320x240 (assumes ipu1_csi0 is linked to ipu1_csi0_mux):



```none
media-ctl -V "'ipu1_csi0_mux':2[fmt:UYVY2X8/1280x960]"
media-ctl -V "'ipu1_csi0':0[crop:(0,0)/640x480]"
media-ctl -V "'ipu1_csi0':0[compose:(0,0)/320x240]"
```

<a id="rst-frame-skipping-in-ipux-csiy"></a>

## Frame Skipping in ipuX_csiY

The CSI supports frame rate decimation, via frame skipping. Frame rate decimation is specified by setting the frame intervals at sink and source pads. The ipuX_csiY entity then applies the best frame skip setting to the CSI to achieve the desired frame rate at the source pad.

The following example reduces an assumed incoming 60 Hz frame rate by half at the IDMAC output source pad:



```none
media-ctl -V "'ipu1_csi0':0[fmt:UYVY2X8/640x480@1/60]"
media-ctl -V "'ipu1_csi0':2[fmt:UYVY2X8/640x480@1/30]"
```

<a id="rst-frame-interval-monitor-in-ipux-csiy"></a>

## Frame Interval Monitor in ipuX_csiY

See ref:`imx_api_FIM`.

<a id="rst-ipux-vdic"></a>

## ipuX_vdic

The VDIC carries out motion compensated de-interlacing, with three motion compensation modes: low, medium, and high motion. The mode is specified with the menu control V4L2_CID_DEINTERLACING_MODE. The VDIC has two sink pads and a single source pad.

The direct sink pad receives from an ipuX_csiY direct pad. With this link the VDIC can only operate in high motion mode.

When the IDMAC sink pad is activated, it receives from an output or mem2mem device node. With this pipeline, the VDIC can also operate in low and medium modes, because these modes require receiving frames from memory buffers. Note that an output or mem2mem device is not implemented yet, so this sink pad currently has no links.

The source pad routes to the IC pre-processing entity ipuX_ic_prp.

<a id="rst-ipux-ic-prp"></a>

## ipuX_ic_prp

This is the IC pre-processing entity. It acts as a router, routing data from its sink pad to one or both of its source pads.

This entity has a single sink pad. The sink pad can receive from the ipuX_csiY direct pad, or from ipuX_vdic.

This entity has two source pads. One source pad routes to the pre-process encode task entity (ipuX_ic_prpenc), the other to the pre-process viewfinder task entity (ipuX_ic_prpvf). Both source pads can be activated at the same time if the sink pad is receiving from ipuX_csiY. Only the source pad to the pre-process viewfinder task entity can be activated if the sink pad is receiving from ipuX_vdic (frames from the VDIC can only be processed by the pre-process viewfinder task).

<a id="rst-ipux-ic-prpenc"></a>

## ipuX_ic_prpenc

This is the IC pre-processing encode entity. It has a single sink pad from ipuX_ic_prp, and a single source pad. The source pad is routed to a capture device node, with a node name of the format "ipuX_ic_prpenc capture".

This entity performs the IC pre-process encode task operations: color-space conversion, resizing (downscaling and upscaling), horizontal and vertical flip, and 90/270 degree rotation. Flip and rotation are provided via standard V4L2 controls.

Like the ipuX_csiY IDMAC source, this entity also supports simple de-interlace without motion compensation, and pixel reordering.

<a id="rst-ipux-ic-prpvf"></a>

## ipuX_ic_prpvf

This is the IC pre-processing viewfinder entity. It has a single sink pad from ipuX_ic_prp, and a single source pad. The source pad is routed to a capture device node, with a node name of the format "ipuX_ic_prpvf capture".

This entity is identical in operation to ipuX_ic_prpenc, with the same resizing and CSC operations and flip/rotation controls. It will receive and process de-interlaced frames from the ipuX_vdic if ipuX_ic_prp is receiving from ipuX_vdic.

Like the ipuX_csiY IDMAC source, this entity supports simple interweaving without motion compensation. However, note that if the ipuX_vdic is included in the pipeline (ipuX_ic_prp is receiving from ipuX_vdic), it's not possible to use interweave in ipuX_ic_prpvf, since the ipuX_vdic has already carried out de-interlacing (with motion compensation) and therefore the field type output from ipuX_vdic can only be none (progressive).

<a id="rst-capture-pipelines"></a>

## Capture Pipelines

The following describe the various use-cases supported by the pipelines.

The links shown do not include the backend sensor, video mux, or mipi csi-2 receiver links. This depends on the type of sensor interface (parallel or mipi csi-2). So these pipelines begin with:

sensor -&gt; ipuX_csiY_mux -&gt; ...

for parallel sensors, or:

sensor -&gt; imx6-mipi-csi2 -&gt; (ipuX_csiY_mux) -&gt; ...

for mipi csi-2 sensors. The imx6-mipi-csi2 receiver may need to route to the video mux (ipuX_csiY_mux) before sending to the CSI, depending on the mipi csi-2 virtual channel, hence ipuX_csiY_mux is shown in parenthesis.

<a id="rst-unprocessed-video-capture"></a>

## Unprocessed Video Capture:

Send frames directly from sensor to camera device interface node, with no conversions, via ipuX_csiY IDMAC source pad:

-&gt; ipuX_csiY:2 -&gt; ipuX_csiY capture

<a id="rst-ic-direct-conversions"></a>

## IC Direct Conversions:

This pipeline uses the preprocess encode entity to route frames directly from the CSI to the IC, to carry out scaling up to 1024x1024 resolution, CSC, flipping, and image rotation:

-&gt; ipuX_csiY:1 -&gt; 0:ipuX_ic_prp:1 -&gt; 0:ipuX_ic_prpenc:1 -&gt; ipuX_ic_prpenc capture

<a id="rst-motion-compensated-de-interlace"></a>

## Motion Compensated De-interlace:

This pipeline routes frames from the CSI direct pad to the VDIC entity to support motion-compensated de-interlacing (high motion mode only), scaling up to 1024x1024, CSC, flip, and rotation:

-&gt; ipuX_csiY:1 -&gt; 0:ipuX_vdic:2 -&gt; 0:ipuX_ic_prp:2 -&gt; 0:ipuX_ic_prpvf:1 -&gt; ipuX_ic_prpvf capture

<a id="rst-usage-notes"></a>

## Usage Notes

To aid in configuration and for backward compatibility with V4L2 applications that access controls only from video device nodes, the capture device interfaces inherit controls from the active entities in the current pipeline, so controls can be accessed either directly from the subdev or from the active capture device interface. For example, the FIM controls are available either from the ipuX_csiY subdevs or from the active capture device.

The following are specific usage notes for the Sabre\* reference boards:

<a id="rst-i-mx6q-sabrelite-with-ov5642-and-ov5640"></a>

## i.MX6Q SabreLite with OV5642 and OV5640

This platform requires the OmniVision OV5642 module with a parallel camera interface, and the OV5640 module with a MIPI CSI-2 interface. Both modules are available from Boundary Devices:

- [https://boundarydevices.com/product/nit6x_5mp](<https://boundarydevices.com/product/nit6x_5mp>)

- [https://boundarydevices.com/product/nit6x_5mp_mipi](<https://boundarydevices.com/product/nit6x_5mp_mipi>)

Note that if only one camera module is available, the other sensor node can be disabled in the device tree.

The OV5642 module is connected to the parallel bus input on the i.MX internal video mux to IPU1 CSI0. It's i2c bus connects to i2c bus 2.

The MIPI CSI-2 OV5640 module is connected to the i.MX internal MIPI CSI-2 receiver, and the four virtual channel outputs from the receiver are routed as follows: vc0 to the IPU1 CSI0 mux, vc1 directly to IPU1 CSI1, vc2 directly to IPU2 CSI0, and vc3 to the IPU2 CSI1 mux. The OV5640 is also connected to i2c bus 2 on the SabreLite, therefore the OV5642 and OV5640 must not share the same i2c slave address.

The following basic example configures unprocessed video capture pipelines for both sensors. The OV5642 is routed to ipu1_csi0, and the OV5640, transmitting on MIPI CSI-2 virtual channel 1 (which is imx6-mipi-csi2 pad 2), is routed to ipu1_csi1. Both sensors are configured to output 640x480, and the OV5642 outputs YUYV2X8, the OV5640 UYVY2X8:



```none
# Setup links for OV5642
media-ctl -l "'ov5642 1-0042':0 -> 'ipu1_csi0_mux':1[1]"
media-ctl -l "'ipu1_csi0_mux':2 -> 'ipu1_csi0':0[1]"
media-ctl -l "'ipu1_csi0':2 -> 'ipu1_csi0 capture':0[1]"
# Setup links for OV5640
media-ctl -l "'ov5640 1-0040':0 -> 'imx6-mipi-csi2':0[1]"
media-ctl -l "'imx6-mipi-csi2':2 -> 'ipu1_csi1':0[1]"
media-ctl -l "'ipu1_csi1':2 -> 'ipu1_csi1 capture':0[1]"
# Configure pads for OV5642 pipeline
media-ctl -V "'ov5642 1-0042':0 [fmt:YUYV2X8/640x480 field:none]"
media-ctl -V "'ipu1_csi0_mux':2 [fmt:YUYV2X8/640x480 field:none]"
media-ctl -V "'ipu1_csi0':2 [fmt:AYUV32/640x480 field:none]"
# Configure pads for OV5640 pipeline
media-ctl -V "'ov5640 1-0040':0 [fmt:UYVY2X8/640x480 field:none]"
media-ctl -V "'imx6-mipi-csi2':2 [fmt:UYVY2X8/640x480 field:none]"
media-ctl -V "'ipu1_csi1':2 [fmt:AYUV32/640x480 field:none]"
```

Streaming can then begin independently on the capture device nodes "ipu1_csi0 capture" and "ipu1_csi1 capture". The v4l2-ctl tool can be used to select any supported YUV pixelformat on the capture device nodes, including planar.

<a id="rst-i-mx6q-sabreauto-with-adv7180-decoder"></a>

## i.MX6Q SabreAuto with ADV7180 decoder

On the i.MX6Q SabreAuto, an on-board ADV7180 SD decoder is connected to the parallel bus input on the internal video mux to IPU1 CSI0.

The following example configures a pipeline to capture from the ADV7180 video decoder, assuming NTSC 720x480 input signals, using simple interweave (unconverted and without motion compensation). The adv7180 must output sequential or alternating fields (field type 'seq-bt' for NTSC, or 'alternate'):



```none
# Setup links
media-ctl -l "'adv7180 3-0021':0 -> 'ipu1_csi0_mux':1[1]"
media-ctl -l "'ipu1_csi0_mux':2 -> 'ipu1_csi0':0[1]"
media-ctl -l "'ipu1_csi0':2 -> 'ipu1_csi0 capture':0[1]"
# Configure pads
media-ctl -V "'adv7180 3-0021':0 [fmt:UYVY2X8/720x480 field:seq-bt]"
media-ctl -V "'ipu1_csi0_mux':2 [fmt:UYVY2X8/720x480]"
media-ctl -V "'ipu1_csi0':2 [fmt:AYUV32/720x480]"
# Configure "ipu1_csi0 capture" interface (assumed at /dev/video4)
v4l2-ctl -d4 --set-fmt-video=field=interlaced_bt
```

Streaming can then begin on /dev/video4. The v4l2-ctl tool can also be used to select any supported YUV pixelformat on /dev/video4.

This example configures a pipeline to capture from the ADV7180 video decoder, assuming PAL 720x576 input signals, with Motion Compensated de-interlacing. The adv7180 must output sequential or alternating fields (field type 'seq-tb' for PAL, or 'alternate').



```none
# Setup links
media-ctl -l "'adv7180 3-0021':0 -> 'ipu1_csi0_mux':1[1]"
media-ctl -l "'ipu1_csi0_mux':2 -> 'ipu1_csi0':0[1]"
media-ctl -l "'ipu1_csi0':1 -> 'ipu1_vdic':0[1]"
media-ctl -l "'ipu1_vdic':2 -> 'ipu1_ic_prp':0[1]"
media-ctl -l "'ipu1_ic_prp':2 -> 'ipu1_ic_prpvf':0[1]"
media-ctl -l "'ipu1_ic_prpvf':1 -> 'ipu1_ic_prpvf capture':0[1]"
# Configure pads
media-ctl -V "'adv7180 3-0021':0 [fmt:UYVY2X8/720x576 field:seq-tb]"
media-ctl -V "'ipu1_csi0_mux':2 [fmt:UYVY2X8/720x576]"
media-ctl -V "'ipu1_csi0':1 [fmt:AYUV32/720x576]"
media-ctl -V "'ipu1_vdic':2 [fmt:AYUV32/720x576 field:none]"
media-ctl -V "'ipu1_ic_prp':2 [fmt:AYUV32/720x576 field:none]"
media-ctl -V "'ipu1_ic_prpvf':1 [fmt:AYUV32/720x576 field:none]"
# Configure "ipu1_ic_prpvf capture" interface (assumed at /dev/video2)
v4l2-ctl -d2 --set-fmt-video=field=none
```

Streaming can then begin on /dev/video2. The v4l2-ctl tool can also be used to select any supported YUV pixelformat on /dev/video2.

This platform accepts Composite Video analog inputs to the ADV7180 on Ain1 (connector J42).

<a id="rst-i-mx6dl-sabreauto-with-adv7180-decoder"></a>

## i.MX6DL SabreAuto with ADV7180 decoder

On the i.MX6DL SabreAuto, an on-board ADV7180 SD decoder is connected to the parallel bus input on the internal video mux to IPU1 CSI0.

The following example configures a pipeline to capture from the ADV7180 video decoder, assuming NTSC 720x480 input signals, using simple interweave (unconverted and without motion compensation). The adv7180 must output sequential or alternating fields (field type 'seq-bt' for NTSC, or 'alternate'):



```none
# Setup links
media-ctl -l "'adv7180 4-0021':0 -> 'ipu1_csi0_mux':4[1]"
media-ctl -l "'ipu1_csi0_mux':5 -> 'ipu1_csi0':0[1]"
media-ctl -l "'ipu1_csi0':2 -> 'ipu1_csi0 capture':0[1]"
# Configure pads
media-ctl -V "'adv7180 4-0021':0 [fmt:UYVY2X8/720x480 field:seq-bt]"
media-ctl -V "'ipu1_csi0_mux':5 [fmt:UYVY2X8/720x480]"
media-ctl -V "'ipu1_csi0':2 [fmt:AYUV32/720x480]"
# Configure "ipu1_csi0 capture" interface (assumed at /dev/video0)
v4l2-ctl -d0 --set-fmt-video=field=interlaced_bt
```

Streaming can then begin on /dev/video0. The v4l2-ctl tool can also be used to select any supported YUV pixelformat on /dev/video0.

This example configures a pipeline to capture from the ADV7180 video decoder, assuming PAL 720x576 input signals, with Motion Compensated de-interlacing. The adv7180 must output sequential or alternating fields (field type 'seq-tb' for PAL, or 'alternate').



```none
# Setup links
media-ctl -l "'adv7180 4-0021':0 -> 'ipu1_csi0_mux':4[1]"
media-ctl -l "'ipu1_csi0_mux':5 -> 'ipu1_csi0':0[1]"
media-ctl -l "'ipu1_csi0':1 -> 'ipu1_vdic':0[1]"
media-ctl -l "'ipu1_vdic':2 -> 'ipu1_ic_prp':0[1]"
media-ctl -l "'ipu1_ic_prp':2 -> 'ipu1_ic_prpvf':0[1]"
media-ctl -l "'ipu1_ic_prpvf':1 -> 'ipu1_ic_prpvf capture':0[1]"
# Configure pads
media-ctl -V "'adv7180 4-0021':0 [fmt:UYVY2X8/720x576 field:seq-tb]"
media-ctl -V "'ipu1_csi0_mux':5 [fmt:UYVY2X8/720x576]"
media-ctl -V "'ipu1_csi0':1 [fmt:AYUV32/720x576]"
media-ctl -V "'ipu1_vdic':2 [fmt:AYUV32/720x576 field:none]"
media-ctl -V "'ipu1_ic_prp':2 [fmt:AYUV32/720x576 field:none]"
media-ctl -V "'ipu1_ic_prpvf':1 [fmt:AYUV32/720x576 field:none]"
# Configure "ipu1_ic_prpvf capture" interface (assumed at /dev/video2)
v4l2-ctl -d2 --set-fmt-video=field=none
```

Streaming can then begin on /dev/video2. The v4l2-ctl tool can also be used to select any supported YUV pixelformat on /dev/video2.

This platform accepts Composite Video analog inputs to the ADV7180 on Ain1 (connector J42).

<a id="rst-i-mx6q-sabresd-with-mipi-csi-2-ov5640"></a>

## i.MX6Q SabreSD with MIPI CSI-2 OV5640

Similarly to i.MX6Q SabreLite, the i.MX6Q SabreSD supports a parallel interface OV5642 module on IPU1 CSI0, and a MIPI CSI-2 OV5640 module. The OV5642 connects to i2c bus 1 and the OV5640 to i2c bus 2.

The device tree for SabreSD includes OF graphs for both the parallel OV5642 and the MIPI CSI-2 OV5640, but as of this writing only the MIPI CSI-2 OV5640 has been tested, so the OV5642 node is currently disabled. The OV5640 module connects to MIPI connector J5. The NXP part number for the OV5640 module that connects to the SabreSD board is H120729.

The following example configures unprocessed video capture pipeline to capture from the OV5640, transmitting on MIPI CSI-2 virtual channel 0:



```none
# Setup links
media-ctl -l "'ov5640 1-003c':0 -> 'imx6-mipi-csi2':0[1]"
media-ctl -l "'imx6-mipi-csi2':1 -> 'ipu1_csi0_mux':0[1]"
media-ctl -l "'ipu1_csi0_mux':2 -> 'ipu1_csi0':0[1]"
media-ctl -l "'ipu1_csi0':2 -> 'ipu1_csi0 capture':0[1]"
# Configure pads
media-ctl -V "'ov5640 1-003c':0 [fmt:UYVY2X8/640x480]"
media-ctl -V "'imx6-mipi-csi2':1 [fmt:UYVY2X8/640x480]"
media-ctl -V "'ipu1_csi0_mux':0 [fmt:UYVY2X8/640x480]"
media-ctl -V "'ipu1_csi0':0 [fmt:AYUV32/640x480]"
```

Streaming can then begin on "ipu1_csi0 capture" node. The v4l2-ctl tool can be used to select any supported pixelformat on the capture device node.

To determine what is the /dev/video node correspondent to "ipu1_csi0 capture":



```none
media-ctl -e "ipu1_csi0 capture"
/dev/video0
```

/dev/video0 is the streaming element in this case.

Starting the streaming via v4l2-ctl:



```none
v4l2-ctl --stream-mmap -d /dev/video0
```

Starting the streaming via Gstreamer and sending the content to the display:



```none
gst-launch-1.0 v4l2src device=/dev/video0 ! kmssink
```

The following example configures a direct conversion pipeline to capture from the OV5640, transmitting on MIPI CSI-2 virtual channel 0. It also shows colorspace conversion and scaling at IC output.



```none
# Setup links
media-ctl -l "'ov5640 1-003c':0 -> 'imx6-mipi-csi2':0[1]"
media-ctl -l "'imx6-mipi-csi2':1 -> 'ipu1_csi0_mux':0[1]"
media-ctl -l "'ipu1_csi0_mux':2 -> 'ipu1_csi0':0[1]"
media-ctl -l "'ipu1_csi0':1 -> 'ipu1_ic_prp':0[1]"
media-ctl -l "'ipu1_ic_prp':1 -> 'ipu1_ic_prpenc':0[1]"
media-ctl -l "'ipu1_ic_prpenc':1 -> 'ipu1_ic_prpenc capture':0[1]"
# Configure pads
media-ctl -V "'ov5640 1-003c':0 [fmt:UYVY2X8/640x480]"
media-ctl -V "'imx6-mipi-csi2':1 [fmt:UYVY2X8/640x480]"
media-ctl -V "'ipu1_csi0_mux':2 [fmt:UYVY2X8/640x480]"
media-ctl -V "'ipu1_csi0':1 [fmt:AYUV32/640x480]"
media-ctl -V "'ipu1_ic_prp':1 [fmt:AYUV32/640x480]"
media-ctl -V "'ipu1_ic_prpenc':1 [fmt:ARGB8888_1X32/800x600]"
# Set a format at the capture interface
v4l2-ctl -d /dev/video1 --set-fmt-video=pixelformat=RGB3
```

Streaming can then begin on "ipu1_ic_prpenc capture" node.

To determine what is the /dev/video node correspondent to "ipu1_ic_prpenc capture":



```none
media-ctl -e "ipu1_ic_prpenc capture"
/dev/video1
```

/dev/video1 is the streaming element in this case.

Starting the streaming via v4l2-ctl:



```none
v4l2-ctl --stream-mmap -d /dev/video1
```

Starting the streaming via Gstreamer and sending the content to the display:



```none
gst-launch-1.0 v4l2src device=/dev/video1 ! kmssink
```

<a id="rst-known-issues"></a>

## Known Issues

1. When using 90 or 270 degree rotation control at capture resolutions near the IC resizer limit of 1024x1024, and combined with planar pixel formats (YUV420, YUV422p), frame capture will often fail with no end-of-frame interrupts from the IDMAC channel. To work around this, use lower resolution and/or packed formats (YUYV, RGB3, etc.) when 90 or 270 rotations are needed.

<a id="rst-file-list"></a>

## File list

drivers/staging/media/imx/ include/media/imx.h include/linux/imx-media.h

<a id="rst-references"></a>

## References

<a id="rst-f1"></a>



**[1]** [http://www.nxp.com/assets/documents/data/en/reference-manuals/IMX6DQRM.pdf](<http://www.nxp.com/assets/documents/data/en/reference-manuals/IMX6DQRM.pdf>)

<a id="rst-f2"></a>



**[2]** [http://www.nxp.com/assets/documents/data/en/reference-manuals/IMX6SDLRM.pdf](<http://www.nxp.com/assets/documents/data/en/reference-manuals/IMX6SDLRM.pdf>)

<a id="rst-authors"></a>

## Authors

- Steve Longerbeam &lt;[steve_longerbeam@mentor.com](<mailto:steve_longerbeam@mentor.com>)&gt;

- Philipp Zabel &lt;[kernel@pengutronix.de](<mailto:kernel@pengutronix.de>)&gt;

- Russell King &lt;[linux@armlinux.org.uk](<mailto:linux@armlinux.org.uk>)&gt;

Copyright (C) 2012-2017 Mentor Graphics Inc.

---

# i.MX7 Video Capture Driver

_Peios Kernel / Administration / System administration / Media devices_

> The i.MX7 contrary to the i.MX5/6 family does not contain an Image Processing Unit (IPU); because of that the capabilities to perform operations or manipulation of the capture frames are less feature rich.

<a id="rst-i-mx7-video-capture-driver"></a>

<!-- SPDX-License-Identifier: GPL-2.0 -->

<a id="rst-introduction"></a>

## Introduction

The i.MX7 contrary to the i.MX5/6 family does not contain an Image Processing Unit (IPU); because of that the capabilities to perform operations or manipulation of the capture frames are less feature rich.

For image capture the i.MX7 has three units: - CMOS Sensor Interface (CSI) - Video Multiplexer - MIPI CSI-2 Receiver



```none
MIPI Camera Input ---> MIPI CSI-2 --- > |\
                                        | \
                                        |  \
                                        | M |
                                        | U | ------>  CSI ---> Capture
                                        | X |
                                        |  /
Parallel Camera Input ----------------> | /
                                        |/
```

For additional information, please refer to the latest versions of the i.MX7 reference manual <a id="rst-footnote-reference-1"></a>[1](#rst-f1).

<a id="rst-entities"></a>

## Entities

<a id="rst-imx-mipi-csi2"></a>

## imx-mipi-csi2

This is the MIPI CSI-2 receiver entity. It has one sink pad to receive the pixel data from MIPI CSI-2 camera sensor. It has one source pad, corresponding to the virtual channel 0. This module is compliant to previous version of Samsung D-phy, and supports two D-PHY Rx Data lanes.

<a id="rst-csi-mux"></a>

## csi-mux

This is the video multiplexer. It has two sink pads to select from either camera sensor with a parallel interface or from MIPI CSI-2 virtual channel 0.  It has a single source pad that routes to the CSI.

<a id="rst-csi"></a>

## csi

The CSI enables the chip to connect directly to external CMOS image sensor. CSI can interface directly with Parallel and MIPI CSI-2 buses. It has 256 x 64 FIFO to store received image pixel data and embedded DMA controllers to transfer data from the FIFO through AHB bus.

This entity has one sink pad that receives from the csi-mux entity and a single source pad that routes video frames directly to memory buffers. This pad is routed to a capture device node.

<a id="rst-usage-notes"></a>

## Usage Notes

To aid in configuration and for backward compatibility with V4L2 applications that access controls only from video device nodes, the capture device interfaces inherit controls from the active entities in the current pipeline, so controls can be accessed either directly from the subdev or from the active capture device interface. For example, the sensor controls are available either from the sensor subdevs or from the active capture device.

<a id="rst-warp7-with-ov2680"></a>

## Warp7 with OV2680

On this platform an OV2680 MIPI CSI-2 module is connected to the internal MIPI CSI-2 receiver. The following example configures a video capture pipeline with an output of 800x600, and BGGR 10 bit bayer format:



```none
# Setup links
media-ctl -l "'ov2680 1-0036':0 -> 'imx7-mipi-csis.0':0[1]"
media-ctl -l "'imx7-mipi-csis.0':1 -> 'csi-mux':1[1]"
media-ctl -l "'csi-mux':2 -> 'csi':0[1]"
media-ctl -l "'csi':1 -> 'csi capture':0[1]"

# Configure pads for pipeline
media-ctl -V "'ov2680 1-0036':0 [fmt:SBGGR10_1X10/800x600 field:none]"
media-ctl -V "'csi-mux':1 [fmt:SBGGR10_1X10/800x600 field:none]"
media-ctl -V "'csi-mux':2 [fmt:SBGGR10_1X10/800x600 field:none]"
media-ctl -V "'imx7-mipi-csis.0':0 [fmt:SBGGR10_1X10/800x600 field:none]"
media-ctl -V "'csi':0 [fmt:SBGGR10_1X10/800x600 field:none]"
```

After this streaming can start. The v4l2-ctl tool can be used to select any of the resolutions supported by the sensor.



```none
# media-ctl -p
Media controller API version 5.2.0

Media device information
------------------------
driver          imx7-csi
model           imx-media
serial
bus info
hw revision     0x0
driver version  5.2.0

Device topology
- entity 1: csi (2 pads, 2 links)
            type V4L2 subdev subtype Unknown flags 0
            device node name /dev/v4l-subdev0
        pad0: Sink
                [fmt:SBGGR10_1X10/800x600 field:none colorspace:srgb xfer:srgb ycbcr:601 quantization:full-range]
                <- "csi-mux":2 [ENABLED]
        pad1: Source
                [fmt:SBGGR10_1X10/800x600 field:none colorspace:srgb xfer:srgb ycbcr:601 quantization:full-range]
                -> "csi capture":0 [ENABLED]

- entity 4: csi capture (1 pad, 1 link)
            type Node subtype V4L flags 0
            device node name /dev/video0
        pad0: Sink
                <- "csi":1 [ENABLED]

- entity 10: csi-mux (3 pads, 2 links)
             type V4L2 subdev subtype Unknown flags 0
             device node name /dev/v4l-subdev1
        pad0: Sink
                [fmt:Y8_1X8/1x1 field:none]
        pad1: Sink
               [fmt:SBGGR10_1X10/800x600 field:none]
                <- "imx7-mipi-csis.0":1 [ENABLED]
        pad2: Source
                [fmt:SBGGR10_1X10/800x600 field:none]
                -> "csi":0 [ENABLED]

- entity 14: imx7-mipi-csis.0 (2 pads, 2 links)
             type V4L2 subdev subtype Unknown flags 0
             device node name /dev/v4l-subdev2
        pad0: Sink
                [fmt:SBGGR10_1X10/800x600 field:none]
                <- "ov2680 1-0036":0 [ENABLED]
        pad1: Source
                [fmt:SBGGR10_1X10/800x600 field:none]
                -> "csi-mux":1 [ENABLED]

- entity 17: ov2680 1-0036 (1 pad, 1 link)
             type V4L2 subdev subtype Sensor flags 0
             device node name /dev/v4l-subdev3
        pad0: Source
                [fmt:SBGGR10_1X10/800x600@1/30 field:none colorspace:srgb]
                -> "imx7-mipi-csis.0":0 [ENABLED]
```

<a id="rst-i-mx6ull-evk-with-ov5640"></a>

## i.MX6ULL-EVK with OV5640

On this platform a parallel OV5640 sensor is connected to the CSI port. The following example configures a video capture pipeline with an output of 640x480 and UYVY8_2X8 format:



```none
# Setup links
media-ctl -l "'ov5640 1-003c':0 -> 'csi':0[1]"
media-ctl -l "'csi':1 -> 'csi capture':0[1]"

# Configure pads for pipeline
media-ctl -v -V "'ov5640 1-003c':0 [fmt:UYVY8_2X8/640x480 field:none]"
```

After this streaming can start:



```none
gst-launch-1.0 -v v4l2src device=/dev/video1 ! video/x-raw,format=UYVY,width=640,height=480 ! v4l2convert ! fbdevsink
```



```none
# media-ctl -p
Media controller API version 5.14.0

Media device information
------------------------
driver          imx7-csi
model           imx-media
serial
bus info
hw revision     0x0
driver version  5.14.0

Device topology
- entity 1: csi (2 pads, 2 links)
            type V4L2 subdev subtype Unknown flags 0
            device node name /dev/v4l-subdev0
        pad0: Sink
                [fmt:UYVY8_2X8/640x480 field:none colorspace:srgb xfer:srgb ycbcr:601 quantization:full-range]
                <- "ov5640 1-003c":0 [ENABLED,IMMUTABLE]
        pad1: Source
                [fmt:UYVY8_2X8/640x480 field:none colorspace:srgb xfer:srgb ycbcr:601 quantization:full-range]
                -> "csi capture":0 [ENABLED,IMMUTABLE]

- entity 4: csi capture (1 pad, 1 link)
            type Node subtype V4L flags 0
            device node name /dev/video1
        pad0: Sink
                <- "csi":1 [ENABLED,IMMUTABLE]

- entity 10: ov5640 1-003c (1 pad, 1 link)
             type V4L2 subdev subtype Sensor flags 0
             device node name /dev/v4l-subdev1
        pad0: Source
                [fmt:UYVY8_2X8/640x480@1/30 field:none colorspace:srgb xfer:srgb ycbcr:601 quantization:full-range]
                -> "csi":0 [ENABLED,IMMUTABLE]
```

<a id="rst-references"></a>

## References

<a id="rst-f1"></a>



**[1]** [https://www.nxp.com/docs/en/reference-manual/IMX7SRM.pdf](<https://www.nxp.com/docs/en/reference-manual/IMX7SRM.pdf>)

---

# Introduction

_Peios Kernel / Administration / System administration / Media devices_

> The media subsystem consists on Linux support for several different types of devices:

<a id="rst-introduction"></a>

<!-- SPDX-License-Identifier: GPL-2.0 -->

The media subsystem consists on Linux support for several different types of devices:

- Audio and video grabbers;

- PC and Laptop Cameras;

- Complex cameras found on Embedded hardware;

- Analog and digital TV;

- HDMI Customer Electronics Control (CEC);

- Multi-touch input devices;

- Remote Controllers;

- Media encoders and decoders.

Due to the diversity of devices, the subsystem provides several different APIs:

- Remote Controller API;

- HDMI CEC API;

- Video4Linux API;

- Media controller API;

- Video4Linux Request API (experimental);

- Digital TV API (also known as DVB API).

---

# Intel Image Processing Unit 3 (IPU3) Imaging Unit (ImgU) driver

_Peios Kernel / Administration / System administration / Media devices_

> Copyright © 2018 Intel Corporation

<a id="rst-intel-image-processing-unit-3-ipu3-imaging-unit-imgu-driver"></a>

<!-- SPDX-License-Identifier: GPL-2.0 -->

<!-- This data file has been placed in the public domain. -->

<!-- Derived from the Unicode character mappings available from
<http://www.w3.org/2003/entities/xml/>.
Processed by unicode2rstsubs.py, part of Docutils:
<https://docutils.sourceforge.io>. -->

Copyright © 2018 Intel Corporation

<a id="rst-introduction"></a>

## Introduction

This file documents the Intel IPU3 (3rd generation Image Processing Unit) Imaging Unit drivers located under drivers/media/pci/intel/ipu3 (CIO2) as well as under drivers/staging/media/ipu3 (ImgU).

The Intel IPU3 found in certain Kaby Lake (as well as certain Sky Lake) platforms (U/Y processor lines) is made up of two parts namely the Imaging Unit (ImgU) and the CIO2 device (MIPI CSI2 receiver).

The CIO2 device receives the raw Bayer data from the sensors and outputs the frames in a format that is specific to the IPU3 (for consumption by the IPU3 ImgU). The CIO2 driver is available as drivers/media/pci/intel/ipu3/ipu3-cio2\* and is enabled through the CONFIG\_VIDEO\_IPU3\_CIO2 config option.

The Imaging Unit (ImgU) is responsible for processing images captured by the IPU3 CIO2 device. The ImgU driver sources can be found under drivers/staging/media/ipu3 directory. The driver is enabled through the CONFIG\_VIDEO\_IPU3\_IMGU config option.

The two driver modules are named ipu3\_csi2 and ipu3\_imgu, respectively.

The drivers has been tested on Kaby Lake platforms (U/Y processor lines).

Both of the drivers implement V4L2, Media Controller and V4L2 sub-device interfaces. The IPU3 CIO2 driver supports camera sensors connected to the CIO2 MIPI CSI-2 interfaces through V4L2 sub-device sensor drivers.

<a id="rst-cio2"></a>

## CIO2

The CIO2 is represented as a single V4L2 subdev, which provides a V4L2 subdev interface to the user space. There is a video node for each CSI-2 receiver, with a single media controller interface for the entire device.

The CIO2 contains four independent capture channel, each with its own MIPI CSI-2 receiver and DMA engine. Each channel is modelled as a V4L2 sub-device exposed to userspace as a V4L2 sub-device node and has two pads:

<!-- tabularcolumns: |p{0.8cm}|p{4.0cm}|p{4.0cm}| -->


<table>
<thead>
<tr>
<th>


Pad

</th>
<th>


Direction

</th>
<th>


Purpose

</th>
</tr>
</thead>
<tbody>
<tr>
<td>


0

</td>
<td>


sink

</td>
<td>


MIPI CSI-2 input, connected to the sensor subdev

</td>
</tr>
<tr>
<td>


1

</td>
<td>


source

</td>
<td>


Raw video capture, connected to the V4L2 video interface

</td>
</tr>
</tbody>
</table>

The V4L2 video interfaces model the DMA engines. They are exposed to userspace as V4L2 video device nodes.

<a id="rst-capturing-frames-in-raw-bayer-format"></a>

### Capturing frames in raw Bayer format

CIO2 MIPI CSI2 receiver is used to capture frames (in packed raw Bayer format) from the raw sensors connected to the CSI2 ports. The captured frames are used as input to the ImgU driver.

Image processing using IPU3 ImgU requires tools such as raw2pnm <a id="rst-footnote-reference-1"></a>[1](#rst-f1), and yavta <a id="rst-footnote-reference-2"></a>[2](#rst-f2) due to the following unique requirements and / or features specific to IPU3.

\-- The IPU3 CSI2 receiver outputs the captured frames from the sensor in packed raw Bayer format that is specific to IPU3.

\-- Multiple video nodes have to be operated simultaneously.

Let us take the example of ov5670 sensor connected to CSI2 port 0, for a 2592x1944 image capture.

Using the media controller APIs, the ov5670 sensor is configured to send frames in packed raw Bayer format to IPU3 CSI2 receiver.



```none
# This example assumes /dev/media0 as the CIO2 media device
export MDEV=/dev/media0

# and that ov5670 sensor is connected to i2c bus 10 with address 0x36
export SDEV=$(media-ctl -d $MDEV -e "ov5670 10-0036")

# Establish the link for the media devices using media-ctl
media-ctl -d $MDEV -l "ov5670:0 -> ipu3-csi2 0:0[1]"

# Set the format for the media devices
media-ctl -d $MDEV -V "ov5670:0 [fmt:SGRBG10/2592x1944]"
media-ctl -d $MDEV -V "ipu3-csi2 0:0 [fmt:SGRBG10/2592x1944]"
media-ctl -d $MDEV -V "ipu3-csi2 0:1 [fmt:SGRBG10/2592x1944]"
```

Once the media pipeline is configured, desired sensor specific settings (such as exposure and gain settings) can be set, using the yavta tool.

e.g



```none
yavta -w 0x009e0903 444 $SDEV
yavta -w 0x009e0913 1024 $SDEV
yavta -w 0x009e0911 2046 $SDEV
```

Once the desired sensor settings are set, frame captures can be done as below.

e.g



```none
yavta --data-prefix -u -c10 -n5 -I -s2592x1944 --file=/tmp/frame-#.bin \
      -f IPU3_SGRBG10 $(media-ctl -d $MDEV -e "ipu3-cio2 0")
```

With the above command, 10 frames are captured at 2592x1944 resolution, with sGRBG10 format and output as IPU3\_SGRBG10 format.

The captured frames are available as /tmp/frame-\#.bin files.

<a id="rst-imgu"></a>

## ImgU

The ImgU is represented as two V4L2 subdevs, each of which provides a V4L2 subdev interface to the user space.

Each V4L2 subdev represents a pipe, which can support a maximum of 2 streams. This helps to support advanced camera features like Continuous View Finder (CVF) and Snapshot During Video(SDV).

The ImgU contains two independent pipes, each modelled as a V4L2 sub-device exposed to userspace as a V4L2 sub-device node.

Each pipe has two sink pads and three source pads for the following purpose:

<!-- tabularcolumns: |p{0.8cm}|p{4.0cm}|p{4.0cm}| -->


<table>
<thead>
<tr>
<th>


Pad

</th>
<th>


Direction

</th>
<th>


Purpose

</th>
</tr>
</thead>
<tbody>
<tr>
<td>


0

</td>
<td>


sink

</td>
<td>


Input raw video stream

</td>
</tr>
<tr>
<td>


1

</td>
<td>


sink

</td>
<td>


Processing parameters

</td>
</tr>
<tr>
<td>


2

</td>
<td>


source

</td>
<td>


Output processed video stream

</td>
</tr>
<tr>
<td>


3

</td>
<td>


source

</td>
<td>


Output viewfinder video stream

</td>
</tr>
<tr>
<td>


4

</td>
<td>


source

</td>
<td>


3A statistics

</td>
</tr>
</tbody>
</table>

Each pad is connected to a corresponding V4L2 video interface, exposed to userspace as a V4L2 video device node.

<a id="rst-device-operation"></a>

### Device operation

With ImgU, once the input video node ("ipu3-imgu 0/1":0, in &lt;entity&gt;:&lt;pad-number&gt; format) is queued with buffer (in packed raw Bayer format), ImgU starts processing the buffer and produces the video output in YUV format and statistics output on respective output nodes. The driver is expected to have buffers ready for all of parameter, output and statistics nodes, when input video node is queued with buffer.

At a minimum, all of input, main output, 3A statistics and viewfinder video nodes should be enabled for IPU3 to start image processing.

Each ImgU V4L2 subdev has the following set of video nodes.

<a id="rst-input-output-and-viewfinder-video-nodes"></a>

### input, output and viewfinder video nodes

The frames (in packed raw Bayer format specific to the IPU3) received by the input video node is processed by the IPU3 Imaging Unit and are output to 2 video nodes, with each targeting a different purpose (main output and viewfinder output).

Details onand the Bayer format specific to the IPU3 can be found in [v4l2-pix-fmt-ipu3-sbggr10](<https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/Documentation/userspace-api/media/v4l/pixfmt-srggb10-ipu3.rst?id=9021cc14f7d98b4a1d2c932f52c5343d4d0f6b92>).

The driver supports V4L2 Video Capture Interface as defined at [devices](</kernel/userspace/userspace-api/media-v4l/devices.md#rst-devices>).

Only the multi-planar API is supported. More details can be found at [planar-apis](</kernel/userspace/userspace-api/media-v4l/planar-apis.md#rst-planar-apis>).

<a id="rst-parameters-video-node"></a>

### Parameters video node

The parameters video node receives the ImgU algorithm parameters that are used to configure how the ImgU algorithms process the image.

Details on processing parameters specific to the IPU3 can be found in [v4l2-meta-fmt-params](</kernel/userspace/userspace-api/media-v4l/metafmt-intel-ipu3.md#rst-v4l2-meta-fmt-params>).

<a id="rst-a-statistics-video-node"></a>

### 3A statistics video node

3A statistics video node is used by the ImgU driver to output the 3A (auto focus, auto exposure and auto white balance) statistics for the frames that are being processed by the ImgU to user space applications. User space applications can use this statistics data to compute the desired algorithm parameters for the ImgU.

<a id="rst-configuring-the-intel-ipu3"></a>

## Configuring the Intel IPU3

The IPU3 ImgU pipelines can be configured using the Media Controller, defined at [media\_controller](</kernel/userspace/userspace-api/media-mediactl/media-controller.md#rst-media-controller>).

<a id="rst-running-mode-and-firmware-binary-selection"></a>

### Running mode and firmware binary selection

ImgU works based on firmware, currently the ImgU firmware support run 2 pipes in time-sharing with single input frame data. Each pipe can run at certain mode - "VIDEO" or "STILL", "VIDEO" mode is commonly used for video frames capture, and "STILL" is used for still frame capture. However, you can also select "VIDEO" to capture still frames if you want to capture images with less system load and power. For "STILL" mode, ImgU will try to use smaller BDS factor and output larger bayer frame for further YUV processing than "VIDEO" mode to get high quality images. Besides, "STILL" mode need XNR3 to do noise reduction, hence "STILL" mode will need more power and memory bandwidth than "VIDEO" mode. TNR will be enabled in "VIDEO" mode and bypassed by "STILL" mode. ImgU is running at "VIDEO" mode by default, the user can use v4l2 control V4L2\_CID\_INTEL\_IPU3\_MODE (currently defined in drivers/staging/media/ipu3/include/uapi/intel-ipu3.h) to query and set the running mode. For user, there is no difference for buffer queueing between the "VIDEO" and "STILL" mode, mandatory input and main output node should be enabled and buffers need be queued, the statistics and the view-finder queues are optional.

The firmware binary will be selected according to current running mode, such log "using binary if\_to\_osys\_striped " or "using binary if\_to\_osys\_primary\_striped" could be observed if you enable the ImgU dynamic debug, the binary if\_to\_osys\_striped is selected for "VIDEO" and the binary "if\_to\_osys\_primary\_striped" is selected for "STILL".

<a id="rst-processing-the-image-in-raw-bayer-format"></a>

### Processing the image in raw Bayer format

<a id="rst-configuring-imgu-v4l2-subdev-for-image-processing"></a>

#### Configuring ImgU V4L2 subdev for image processing

The ImgU V4L2 subdevs have to be configured with media controller APIs to have all the video nodes setup correctly.

Let us take "ipu3-imgu 0" subdev as an example.



```none
media-ctl -d $MDEV -r
media-ctl -d $MDEV -l "ipu3-imgu 0 input":0 -> "ipu3-imgu 0":0[1]
media-ctl -d $MDEV -l "ipu3-imgu 0":2 -> "ipu3-imgu 0 output":0[1]
media-ctl -d $MDEV -l "ipu3-imgu 0":3 -> "ipu3-imgu 0 viewfinder":0[1]
media-ctl -d $MDEV -l "ipu3-imgu 0":4 -> "ipu3-imgu 0 3a stat":0[1]
```

Also the pipe mode of the corresponding V4L2 subdev should be set as desired (e.g 0 for video mode or 1 for still mode) through the control id 0x009819a1 as below.



```none
yavta -w "0x009819A1 1" /dev/v4l-subdev7
```

Certain hardware blocks in ImgU pipeline can change the frame resolution by cropping or scaling, these hardware blocks include Input Feeder(IF), Bayer Down Scaler (BDS) and Geometric Distortion Correction (GDC). There is also a block which can change the frame resolution - YUV Scaler, it is only applicable to the secondary output.

RAW Bayer frames go through these ImgU pipeline hardware blocks and the final processed image output to the DDR memory.

![ipu3 resolution blocks image](/kernel/administration/admin-guide/media/asset-049a33f95a3e-ipu3-rcb.svg)

IPU3 resolution change hardware blocks

<strong>Input Feeder</strong>

Input Feeder gets the Bayer frame data from the sensor, it can enable cropping of lines and columns from the frame and then store pixels into device's internal pixel buffer which are ready to readout by following blocks.

<strong>Bayer Down Scaler</strong>

Bayer Down Scaler is capable of performing image scaling in Bayer domain, the downscale factor can be configured from 1X to 1/4X in each axis with configuration steps of 0.03125 (1/32).

<strong>Geometric Distortion Correction</strong>

Geometric Distortion Correction is used to perform correction of distortions and image filtering. It needs some extra filter and envelope padding pixels to work, so the input resolution of GDC should be larger than the output resolution.

<strong>YUV Scaler</strong>

YUV Scaler which similar with BDS, but it is mainly do image down scaling in YUV domain, it can support up to 1/12X down scaling, but it can not be applied to the main output.

The ImgU V4L2 subdev has to be configured with the supported resolutions in all the above hardware blocks, for a given input resolution. For a given supported resolution for an input frame, the Input Feeder, Bayer Down Scaler and GDC blocks should be configured with the supported resolutions as each hardware block has its own alignment requirement.

You must configure the output resolution of the hardware blocks smartly to meet the hardware requirement along with keeping the maximum field of view. The intermediate resolutions can be generated by specific tool -

[https://github.com/intel/intel-ipu3-pipecfg](<https://github.com/intel/intel-ipu3-pipecfg>)

This tool can be used to generate intermediate resolutions. More information can be obtained by looking at the following IPU3 ImgU configuration table.

[https://chromium.googlesource.com/chromiumos/overlays/board-overlays/+/master](<https://chromium.googlesource.com/chromiumos/overlays/board-overlays/+/master>)

Under baseboard-poppy/media-libs/cros-camera-hal-configs-poppy/files/gcss directory, graph\_settings\_ov5670.xml can be used as an example.

The following steps prepare the ImgU pipeline for the image processing.

1\. The ImgU V4L2 subdev data format should be set by using the VIDIOC\_SUBDEV\_S\_FMT on pad 0, using the GDC width and height obtained above.

2\. The ImgU V4L2 subdev cropping should be set by using the VIDIOC\_SUBDEV\_S\_SELECTION on pad 0, with V4L2\_SEL\_TGT\_CROP as the target, using the input feeder height and width.

3\. The ImgU V4L2 subdev composing should be set by using the VIDIOC\_SUBDEV\_S\_SELECTION on pad 0, with V4L2\_SEL\_TGT\_COMPOSE as the target, using the BDS height and width.

For the ov5670 example, for an input frame with a resolution of 2592x1944 (which is input to the ImgU subdev pad 0), the corresponding resolutions for input feeder, BDS and GDC are 2592x1944, 2592x1944 and 2560x1920 respectively.

Once this is done, the received raw Bayer frames can be input to the ImgU V4L2 subdev as below, using the open source application v4l2n <a id="rst-footnote-reference-3"></a>[1](#rst-f1).

For an image captured with 2592x1944 <a id="rst-footnote-reference-4"></a>[3](#rst-f4) resolution, with desired output resolution as 2560x1920 and viewfinder resolution as 2560x1920, the following v4l2n command can be used. This helps process the raw Bayer frames and produces the desired results for the main output image and the viewfinder output, in NV12 format.



```none
v4l2n --pipe=4 --load=/tmp/frame-#.bin --open=/dev/video4
      --fmt=type:VIDEO_OUTPUT_MPLANE,width=2592,height=1944,pixelformat=0X47337069 \
      --reqbufs=type:VIDEO_OUTPUT_MPLANE,count:1 --pipe=1 \
      --output=/tmp/frames.out --open=/dev/video5 \
      --fmt=type:VIDEO_CAPTURE_MPLANE,width=2560,height=1920,pixelformat=NV12 \
      --reqbufs=type:VIDEO_CAPTURE_MPLANE,count:1 --pipe=2 \
      --output=/tmp/frames.vf --open=/dev/video6 \
      --fmt=type:VIDEO_CAPTURE_MPLANE,width=2560,height=1920,pixelformat=NV12 \
      --reqbufs=type:VIDEO_CAPTURE_MPLANE,count:1 --pipe=3 --open=/dev/video7 \
      --output=/tmp/frames.3A --fmt=type:META_CAPTURE,? \
      --reqbufs=count:1,type:META_CAPTURE --pipe=1,2,3,4 --stream=5
```

You can also use yavta <a id="rst-footnote-reference-5"></a>[2](#rst-f2) command to do same thing as above:



```none
yavta --data-prefix -Bcapture-mplane -c10 -n5 -I -s2592x1944 \
      --file=frame-#.out-f NV12 /dev/video5 & \
yavta --data-prefix -Bcapture-mplane -c10 -n5 -I -s2592x1944 \
      --file=frame-#.vf -f NV12 /dev/video6 & \
yavta --data-prefix -Bmeta-capture -c10 -n5 -I \
      --file=frame-#.3a /dev/video7 & \
yavta --data-prefix -Boutput-mplane -c10 -n5 -I -s2592x1944 \
      --file=/tmp/frame-in.cio2 -f IPU3_SGRBG10 /dev/video4
```

where /dev/video4, /dev/video5, /dev/video6 and /dev/video7 devices point to input, output, viewfinder and 3A statistics video nodes respectively.

<a id="rst-converting-the-raw-bayer-image-into-yuv-domain"></a>

### Converting the raw Bayer image into YUV domain

The processed images after the above step, can be converted to YUV domain as below.

<a id="rst-main-output-frames"></a>

#### Main output frames



```none
raw2pnm -x2560 -y1920 -fNV12 /tmp/frames.out /tmp/frames.out.ppm
```

where 2560x1920 is output resolution, NV12 is the video format, followed by input frame and output PNM file.

<a id="rst-viewfinder-output-frames"></a>

#### Viewfinder output frames



```none
raw2pnm -x2560 -y1920 -fNV12 /tmp/frames.vf /tmp/frames.vf.ppm
```

where 2560x1920 is output resolution, NV12 is the video format, followed by input frame and output PNM file.

<a id="rst-example-user-space-code-for-ipu3"></a>

## Example user space code for IPU3

User space code that configures and uses IPU3 is available here.

[https://chromium.googlesource.com/chromiumos/platform/arc-camera/+/master/](<https://chromium.googlesource.com/chromiumos/platform/arc-camera/+/master/>)

The source can be located under hal/intel directory.

<a id="rst-overview-of-ipu3-pipeline"></a>

## Overview of IPU3 pipeline

IPU3 pipeline has a number of image processing stages, each of which takes a set of parameters as input. The major stages of pipelines are shown here:

```mermaid
flowchart LR
  n0["Raw pixels"]
  n1["Bayer Downscaling"]
  n2["Optical Black Correction"]
  n3["Linearization"]
  n4["Lens Shading Correction"]
  n5["White Balance / Exposure / Focus Apply"]
  n6["Bayer Noise Reduction"]
  n7["ANR"]
  n8["Demosaicing"]
  n9["Color Correction Matrix"]
  n10["Gamma correction"]
  n11["Color Space Conversion"]
  n12["Chroma Down Scaling"]
  n13["Chromatic Noise Reduction"]
  n14["Total Color Correction"]
  n15["XNR3"]
  n16["TNR"]
  n17[("DDR")]
  n18["YUV Downscaling"]
  n19[("DDR")]
  n0 --> n1
  n1 --> n2
  n2 --> n3
  n3 --> n4
  n4 --> n5
  n5 --> n6
  n6 --> n7
  n7 --> n8
  n9 --> n10
  n10 --> n11
  n11 --> n12
  n12 --> n13
  n13 --> n14
  n14 --> n15
  n15 --> n16
  n16 --> n18
  n18 --> n19
  n8 --> n9
  n16 --> n17
  style n17 fill:yellow,color:#111
  style n19 fill:yellow,color:#111
```

IPU3 ImgU Pipeline Diagram

The table below presents a description of the above algorithms.


<table>
<thead>
<tr>
<th>


Name

</th>
<th>


Description

</th>
</tr>
</thead>
<tbody>
<tr>
<td>


Optical Black Correction

</td>
<td>


Optical Black Correction block subtracts a pre-defined value from the respective pixel values to obtain better image quality. Defined in struct ipu3\_uapi\_obgrid\_param.

</td>
</tr>
<tr>
<td>


Linearization

</td>
<td>


This algo block uses linearization parameters to address non-linearity sensor effects. The Lookup table table is defined in struct ipu3\_uapi\_isp\_lin\_vmem\_params.

</td>
</tr>
<tr>
<td>


SHD

</td>
<td>


Lens shading correction is used to correct spatial non-uniformity of the pixel response due to optical lens shading. This is done by applying a different gain for each pixel. The gain, black level etc are configured in struct ipu3\_uapi\_shd\_config\_static.

</td>
</tr>
<tr>
<td>


BNR

</td>
<td>


Bayer noise reduction block removes image noise by applying a bilateral filter. See struct ipu3\_uapi\_bnr\_static\_config for details.

</td>
</tr>
<tr>
<td>


ANR

</td>
<td>


Advanced Noise Reduction is a block based algorithm that performs noise reduction in the Bayer domain. The convolution matrix etc can be found in struct ipu3\_uapi\_anr\_config.

</td>
</tr>
<tr>
<td>


DM

</td>
<td>


Demosaicing converts raw sensor data in Bayer format into RGB (Red, Green, Blue) presentation. Then add outputs of estimation of Y channel for following stream processing by Firmware. The struct is defined as struct ipu3\_uapi\_dm\_config.

</td>
</tr>
<tr>
<td>


Color Correction

</td>
<td>


Color Correction algo transforms sensor specific color space to the standard "sRGB" color space. This is done by applying 3x3 matrix defined in struct ipu3\_uapi\_ccm\_mat\_config.

</td>
</tr>
<tr>
<td>


Gamma correction

</td>
<td>


Gamma correction struct ipu3\_uapi\_gamma\_config is a basic non-linear tone mapping correction that is applied per pixel for each pixel component.

</td>
</tr>
<tr>
<td>


CSC

</td>
<td>


Color space conversion transforms each pixel from the RGB primary presentation to YUV (Y: brightness, UV: Luminance) presentation. This is done by applying a 3x3 matrix defined in struct ipu3\_uapi\_csc\_mat\_config

</td>
</tr>
<tr>
<td>


CDS

</td>
<td>


Chroma down sampling After the CSC is performed, the Chroma Down Sampling is applied for a UV plane down sampling by a factor of 2 in each direction for YUV 4:2:0 using a 4x2 configurable filter struct ipu3\_uapi\_cds\_params.

</td>
</tr>
<tr>
<td>


CHNR

</td>
<td>


Chroma noise reduction This block processes only the chrominance pixels and performs noise reduction by cleaning the high frequency noise. See struct struct ipu3\_uapi\_yuvp1\_chnr\_config.

</td>
</tr>
<tr>
<td>


TCC

</td>
<td>


Total color correction as defined in struct struct ipu3\_uapi\_yuvp2\_tcc\_static\_config.

</td>
</tr>
<tr>
<td>


XNR3

</td>
<td>


eXtreme Noise Reduction V3 is the third revision of noise reduction algorithm used to improve image quality. This removes the low frequency noise in the captured image. Two related structs are  being defined, struct ipu3\_uapi\_isp\_xnr3\_params for ISP data memory and struct ipu3\_uapi\_isp\_xnr3\_vmem\_params for vector memory.

</td>
</tr>
<tr>
<td>


TNR

</td>
<td>


Temporal Noise Reduction block compares successive frames in time to remove anomalies / noise in pixel values. struct ipu3\_uapi\_isp\_tnr3\_vmem\_params and struct ipu3\_uapi\_isp\_tnr3\_params are defined for ISP vector and data memory respectively.

</td>
</tr>
</tbody>
</table>

Other often encountered acronyms not listed in above table:

> - **ACC**
>
>   Accelerator cluster
>
> - **AWB\_FR**
>
>   Auto white balance filter response statistics
>
> - **BDS**
>
>   Bayer downscaler parameters
>
> - **CCM**
>
>   Color correction matrix coefficients
>
> - **IEFd**
>
>   Image enhancement filter directed
>
> - **Obgrid**
>
>   Optical black level compensation
>
> - **OSYS**
>
>   Output system configuration
>
> - **ROI**
>
>   Region of interest
>
> - **YDS**
>
>   Y down sampling
>
> - **YTM**
>
>   Y-tone mapping

A few stages of the pipeline will be executed by firmware running on the ISP processor, while many others will use a set of fixed hardware blocks also called accelerator cluster (ACC) to crunch pixel data and produce statistics.

ACC parameters of individual algorithms, as defined by struct ipu3\_uapi\_acc\_param, can be chosen to be applied by the user space through struct struct ipu3\_uapi\_flags embedded in struct ipu3\_uapi\_params structure. For parameters that are configured as not enabled by the user space, the corresponding structs are ignored by the driver, in which case the existing configuration of the algorithm will be preserved.

<a id="rst-references"></a>

## References

<a id="rst-f1"></a>



**[1]** [https://github.com/intel/nvt](<https://github.com/intel/nvt>)

<a id="rst-f2"></a>



**[2]** [http://git.ideasonboard.org/yavta.git](<http://git.ideasonboard.org/yavta.git>)

<a id="rst-f4"></a>



**[3]** ImgU limitation requires an additional 16x16 for all input resolutions

---

# Intel Image Processing Unit 6 (IPU6) Input System driver

_Peios Kernel / Administration / System administration / Media devices_

> Copyright © 2023--2024 Intel Corporation

<a id="rst-intel-image-processing-unit-6-ipu6-input-system-driver"></a>

<!-- SPDX-License-Identifier: GPL-2.0 -->

<!-- This data file has been placed in the public domain. -->

<!-- Derived from the Unicode character mappings available from
<http://www.w3.org/2003/entities/xml/>.
Processed by unicode2rstsubs.py, part of Docutils:
<https://docutils.sourceforge.io>. -->

Copyright © 2023--2024 Intel Corporation

<a id="rst-introduction"></a>

## Introduction

This file documents the Intel IPU6 (6th generation Image Processing Unit) Input System (MIPI CSI2 receiver) drivers located under drivers/media/pci/intel/ipu6.

The Intel IPU6 can be found in certain Intel SoCs but not in all SKUs:

- Tiger Lake

- Jasper Lake

- Alder Lake

- Raptor Lake

- Meteor Lake

Intel IPU6 is made up of two components - Input System (ISYS) and Processing System (PSYS).

The Input System mainly works as MIPI CSI-2 receiver which receives and processes the image data from the sensors and outputs the frames to memory.

There are 2 driver modules - intel-ipu6 and intel-ipu6-isys. intel-ipu6 is an IPU6 common driver which does PCI configuration, firmware loading and parsing, firmware authentication, DMA mapping and IPU-MMU (internal Memory mapping Unit) configuration. intel_ipu6_isys implements V4L2, Media Controller and V4L2 sub-device interfaces. The IPU6 ISYS driver supports camera sensors connected to the IPU6 ISYS through V4L2 sub-device sensor drivers.

> [!NOTE]
>
> See [Documentation/driver-api/media/drivers/ipu6.rst](/kernel/hardware/driver-api/media-drivers/ipu6.md) for more information about the IPU6 hardware.

<a id="rst-input-system-driver"></a>

## Input system driver

The Input System driver mainly configures CSI-2 D-PHY, constructs the firmware stream configuration, sends commands to firmware, gets response from hardware and firmware and then returns buffers to user.  The ISYS is represented as several V4L2 sub-devices as well as video nodes.

![ipu6 isys media graph with multiple streams support](/kernel/administration/admin-guide/media/asset-69231078919c-ipu6-isys-graph.svg)

IPU6 ISYS media graph with multiple streams support

The graph has been produced using the following command:



```none
fdp -Gsplines=true -Tsvg < dot > dot.svg
```

<a id="rst-capturing-frames-with-ipu6-isys"></a>

### Capturing frames with IPU6 ISYS

IPU6 ISYS is used to capture frames from the camera sensors connected to the CSI2 ports. The supported input formats of ISYS are listed in table below:

<!-- tabularcolumns: |p{0.8cm}|p{4.0cm}|p{4.0cm}| -->


<table>
<thead>
<tr>
<th>


IPU6 ISYS supported input formats

</th>
</tr>
</thead>
<tbody>
<tr>
<td>


RGB565, RGB888

</td>
</tr>
<tr>
<td>


UYVY8, YUYV8

</td>
</tr>
<tr>
<td>


RAW8, RAW10, RAW12

</td>
</tr>
</tbody>
</table>

<a id="rst-examples"></a>
<a id="rst-ipu6-isys-capture-examples"></a>

#### Examples

Here is an example of IPU6 ISYS raw capture on Dell XPS 9315 laptop. On this machine, ov01a10 sensor is connected to IPU ISYS CSI-2 port 2, which can generate images at sBGGR10 with resolution 1280x800.

Using the media controller APIs, we can configure ov01a10 sensor by media-ctl <a id="rst-footnote-reference-1"></a>[1](#rst-f1) and yavta <a id="rst-footnote-reference-2"></a>[2](#rst-f2) to transmit frames to IPU6 ISYS.



```none
# Example 1 capture frame from ov01a10 camera sensor
# This example assumes /dev/media0 as the IPU ISYS media device
export MDEV=/dev/media0

# Establish the link for the media devices using media-ctl
media-ctl -d $MDEV -l "\"ov01a10 3-0036\":0 -> \"Intel IPU6 CSI2 2\":0[1]"

# Set the format for the media devices
media-ctl -d $MDEV -V "ov01a10:0 [fmt:SBGGR10/1280x800]"
media-ctl -d $MDEV -V "Intel IPU6 CSI2 2:0 [fmt:SBGGR10/1280x800]"
media-ctl -d $MDEV -V "Intel IPU6 CSI2 2:1 [fmt:SBGGR10/1280x800]"
```

Once the media pipeline is configured, desired sensor specific settings (such as exposure and gain settings) can be set, using the yavta tool.

e.g



```none
# and that ov01a10 sensor is connected to i2c bus 3 with address 0x36
export SDEV=$(media-ctl -d $MDEV -e "ov01a10 3-0036")

yavta -w 0x009e0903 400 $SDEV
yavta -w 0x009e0913 1000 $SDEV
yavta -w 0x009e0911 2000 $SDEV
```

Once the desired sensor settings are set, frame captures can be done as below.

e.g



```none
yavta --data-prefix -u -c10 -n5 -I -s 1280x800 --file=/tmp/frame-#.bin \
        -f SBGGR10 $(media-ctl -d $MDEV -e "Intel IPU6 ISYS Capture 0")
```

With the above command, 10 frames are captured at 1280x800 resolution with sBGGR10 format. The captured frames are available as /tmp/frame-\#.bin files.

Here is another example of IPU6 ISYS RAW and metadata capture from camera sensor ov2740 on Lenovo X1 Yoga laptop.



```none
media-ctl -l "\"ov2740 14-0036\":0 -> \"Intel IPU6 CSI2 1\":0[1]"
media-ctl -l "\"Intel IPU6 CSI2 1\":1 -> \"Intel IPU6 ISYS Capture 0\":0[1]"
media-ctl -l "\"Intel IPU6 CSI2 1\":2 -> \"Intel IPU6 ISYS Capture 1\":0[1]"

# set routing
media-ctl -R "\"Intel IPU6 CSI2 1\" [0/0->1/0[1],0/1->2/1[1]]"

media-ctl -V "\"Intel IPU6 CSI2 1\":0/0 [fmt:SGRBG10/1932x1092]"
media-ctl -V "\"Intel IPU6 CSI2 1\":0/1 [fmt:GENERIC_8/97x1]"
media-ctl -V "\"Intel IPU6 CSI2 1\":1/0 [fmt:SGRBG10/1932x1092]"
media-ctl -V "\"Intel IPU6 CSI2 1\":2/1 [fmt:GENERIC_8/97x1]"

CAPTURE_DEV=$(media-ctl -e "Intel IPU6 ISYS Capture 0")
./yavta --data-prefix -c100 -n5 -I -s1932x1092 --file=/tmp/frame-#.bin \
    -f SGRBG10 ${CAPTURE_DEV}

CAPTURE_META=$(media-ctl -e "Intel IPU6 ISYS Capture 1")
./yavta --data-prefix -c100 -n5 -I -s97x1 -B meta-capture \
    --file=/tmp/meta-#.bin -f GENERIC_8 ${CAPTURE_META}
```

<a id="rst-references"></a>

## References

<a id="rst-f1"></a>



**[1]** [https://git.ideasonboard.org/media-ctl.git](<https://git.ideasonboard.org/media-ctl.git>)

<a id="rst-f2"></a>



**[2]** [https://git.ideasonboard.org/yavta.git](<https://git.ideasonboard.org/yavta.git>)

---

# IVTV cards list

_Peios Kernel / Administration / System administration / Media devices_

> Reference for IVTV cards list.

<a id="rst-ivtv-cards-list"></a>

<!-- SPDX-License-Identifier: GPL-2.0 -->

<!-- tabularcolumns: |p{1.4cm}|p{12.7cm}|p{3.4cm}| -->


<table>
<thead>
<tr>
<th>


Card number

</th>
<th>


Card name

</th>
<th>


PCI subsystem IDs

</th>
</tr>
</thead>
<tbody>
<tr>
<td>


0

</td>
<td>


Hauppauge WinTV PVR-250

</td>
<td>


IVTV16 104d:813d

</td>
</tr>
<tr>
<td>


1

</td>
<td>


Hauppauge WinTV PVR-350

</td>
<td>


IVTV16 104d:813d

</td>
</tr>
<tr>
<td>


2

</td>
<td>


Hauppauge WinTV PVR-150

</td>
<td>


IVTV16 104d:813d

</td>
</tr>
<tr>
<td>


3

</td>
<td>


AVerMedia M179

</td>
<td>


IVTV15 1461:a3cf, IVTV15 1461:a3ce

</td>
</tr>
<tr>
<td>


4

</td>
<td>


Yuan MPG600, Kuroutoshikou ITVC16-STVLP

</td>
<td>


IVTV16 12ab:fff3, IVTV16 12ab:ffff

</td>
</tr>
<tr>
<td>


5

</td>
<td>


YUAN MPG160, Kuroutoshikou ITVC15-STVLP, I/O Data GV-M2TV/PCI

</td>
<td>


IVTV15 10fc:40a0

</td>
</tr>
<tr>
<td>


6

</td>
<td>


Yuan PG600, Diamond PVR-550

</td>
<td>


IVTV16 ff92:0070, IVTV16 ffab:0600

</td>
</tr>
<tr>
<td>


7

</td>
<td>


Adaptec VideOh\! AVC-2410

</td>
<td>


IVTV16 9005:0093

</td>
</tr>
<tr>
<td>


8

</td>
<td>


Adaptec VideOh\! AVC-2010

</td>
<td>


IVTV16 9005:0092

</td>
</tr>
<tr>
<td>


9

</td>
<td>


Nagase Transgear 5000TV

</td>
<td>


IVTV16 1461:bfff

</td>
</tr>
<tr>
<td>


10

</td>
<td>


AOpen VA2000MAX-SNT6

</td>
<td>


IVTV16 0000:ff5f

</td>
</tr>
<tr>
<td>


11

</td>
<td>


Yuan MPG600GR, Kuroutoshikou CX23416GYC-STVLP

</td>
<td>


IVTV16 12ab:0600, IVTV16 fbab:0600, IVTV16 1154:0523

</td>
</tr>
<tr>
<td>


12

</td>
<td>


I/O Data GV-MVP/RX, GV-MVP/RX2W (dual tuner)

</td>
<td>


IVTV16 10fc:d01e, IVTV16 10fc:d038, IVTV16 10fc:d039

</td>
</tr>
<tr>
<td>


13

</td>
<td>


I/O Data GV-MVP/RX2E

</td>
<td>


IVTV16 10fc:d025

</td>
</tr>
<tr>
<td>


14

</td>
<td>


GotView PCI DVD

</td>
<td>


IVTV16 12ab:0600

</td>
</tr>
<tr>
<td>


15

</td>
<td>


GotView PCI DVD2 Deluxe

</td>
<td>


IVTV16 ffac:0600

</td>
</tr>
<tr>
<td>


16

</td>
<td>


Yuan MPC622

</td>
<td>


IVTV16 ff01:d998

</td>
</tr>
<tr>
<td>


17

</td>
<td>


Digital Cowboy DCT-MTVP1

</td>
<td>


IVTV16 1461:bfff

</td>
</tr>
<tr>
<td>


18

</td>
<td>


Yuan PG600-2, GotView PCI DVD Lite

</td>
<td>


IVTV16 ffab:0600, IVTV16 ffad:0600

</td>
</tr>
<tr>
<td>


19

</td>
<td>


Club3D ZAP-TV1x01

</td>
<td>


IVTV16 ffab:0600

</td>
</tr>
<tr>
<td>


20

</td>
<td>


AVerTV MCE 116 Plus

</td>
<td>


IVTV16 1461:c439

</td>
</tr>
<tr>
<td>


21

</td>
<td>


ASUS Falcon2

</td>
<td>


IVTV16 1043:4b66, IVTV16 1043:462e, IVTV16 1043:4b2e

</td>
</tr>
<tr>
<td>


22

</td>
<td>


AVerMedia PVR-150 Plus / AVerTV M113 Partsnic (Daewoo) Tuner

</td>
<td>


IVTV16 1461:c034, IVTV16 1461:c035

</td>
</tr>
<tr>
<td>


23

</td>
<td>


AVerMedia EZMaker PCI Deluxe

</td>
<td>


IVTV16 1461:c03f

</td>
</tr>
<tr>
<td>


24

</td>
<td>


AVerMedia M104

</td>
<td>


IVTV16 1461:c136

</td>
</tr>
<tr>
<td>


25

</td>
<td>


Buffalo PC-MV5L/PCI

</td>
<td>


IVTV16 1154:052b

</td>
</tr>
<tr>
<td>


26

</td>
<td>


AVerMedia UltraTV 1500 MCE / AVerTV M113 Philips Tuner

</td>
<td>


IVTV16 1461:c019, IVTV16 1461:c01b

</td>
</tr>
<tr>
<td>


27

</td>
<td>


Sony VAIO Giga Pocket (ENX Kikyou)

</td>
<td>


IVTV16 104d:813d

</td>
</tr>
<tr>
<td>


28

</td>
<td>


Hauppauge WinTV PVR-350 (V1)

</td>
<td>


IVTV16 104d:813d

</td>
</tr>
<tr>
<td>


29

</td>
<td>


Yuan MPG600GR, Kuroutoshikou CX23416GYC-STVLP (no GR)

</td>
<td>


IVTV16 104d:813d

</td>
</tr>
<tr>
<td>


30

</td>
<td>


Yuan MPG600GR, Kuroutoshikou CX23416GYC-STVLP (no GR/YCS)

</td>
<td>


IVTV16 104d:813d

</td>
</tr>
</tbody>
</table>

---

# The ivtv driver

_Peios Kernel / Administration / System administration / Media devices_

> Author: Hans Verkuil <hverkuil@kernel.org>

<a id="rst-the-ivtv-driver"></a>

<!-- SPDX-License-Identifier: GPL-2.0 -->

Author: Hans Verkuil &lt;[hverkuil@kernel.org](<mailto:hverkuil@kernel.org>)&gt;

This is a v4l2 device driver for the Conexant cx23415/6 MPEG encoder/decoder. The cx23415 can do both encoding and decoding, the cx23416 can only do MPEG encoding. Currently the only card featuring full decoding support is the Hauppauge PVR-350.

> [!NOTE]
>
> 1. This driver requires the latest encoder firmware (version 2.06.039, size 376836 bytes). Get the firmware from here:
>
>    [https://linuxtv.org/downloads/firmware/\#conexant](<https://linuxtv.org/downloads/firmware/#conexant>)
>
> 2. 'normal' TV applications do not work with this driver, you need an application that can handle MPEG input such as mplayer, xine, MythTV, etc.

The primary goal of the IVTV project is to provide a "clean room" Linux Open Source driver implementation for video capture cards based on the iCompression iTVC15 or Conexant CX23415/CX23416 MPEG Codec.

<a id="rst-features"></a>

## Features

> - Hardware mpeg2 capture of broadcast video (and sound) via the tuner or S-Video/Composite and audio line-in.
>
> - Hardware mpeg2 capture of FM radio where hardware support exists
>
> - Supports NTSC, PAL, SECAM with stereo sound
>
> - Supports SAP and bilingual transmissions.
>
> - Supports raw VBI (closed captions and teletext).
>
> - Supports sliced VBI (closed captions and teletext) and is able to insert this into the captured MPEG stream.
>
> - Supports raw YUV and PCM input.

<a id="rst-additional-features-for-the-pvr-350-cx23415-based"></a>

## Additional features for the PVR-350 (CX23415 based)

> - Provides hardware mpeg2 playback
>
> - Provides comprehensive OSD (On Screen Display: ie. graphics overlaying the video signal)
>
> - Provides a framebuffer (allowing X applications to appear on the video device)
>
> - Supports raw YUV output.

- **IMPORTANT: In case of problems first read this page:**

  [https://help.ubuntu.com/community/Install_IVTV_Troubleshooting](<https://help.ubuntu.com/community/Install_IVTV_Troubleshooting>)

<a id="rst-see-also"></a>

## See also

[https://linuxtv.org](<https://linuxtv.org>)

<a id="rst-irc"></a>

## IRC

[irc://irc.freenode.net/\#v4l](<irc://irc.freenode.net/#v4l>)

---

<a id="rst-devices"></a>

## Devices

A maximum of 12 ivtv boards are allowed at the moment.

Cards that don't have a video output capability (i.e. non PVR350 cards) lack the vbi8, vbi16, video16 and video48 devices. They also do not support the framebuffer device /dev/fbx for OSD.

The radio0 device may or may not be present, depending on whether the card has a radio tuner or not.

Here is a list of the base v4l devices:



```none
crw-rw----    1 root     video     81,   0 Jun 19 22:22 /dev/video0
crw-rw----    1 root     video     81,  16 Jun 19 22:22 /dev/video16
crw-rw----    1 root     video     81,  24 Jun 19 22:22 /dev/video24
crw-rw----    1 root     video     81,  32 Jun 19 22:22 /dev/video32
crw-rw----    1 root     video     81,  48 Jun 19 22:22 /dev/video48
crw-rw----    1 root     video     81,  64 Jun 19 22:22 /dev/radio0
crw-rw----    1 root     video     81, 224 Jun 19 22:22 /dev/vbi0
crw-rw----    1 root     video     81, 228 Jun 19 22:22 /dev/vbi8
crw-rw----    1 root     video     81, 232 Jun 19 22:22 /dev/vbi16
```

<a id="rst-base-devices"></a>

## Base devices

For every extra card you have the numbers increased by one. For example, /dev/video0 is listed as the 'base' encoding capture device so we have:

- /dev/video0  is the encoding capture device for the first card (card 0)

- /dev/video1  is the encoding capture device for the second card (card 1)

- /dev/video2  is the encoding capture device for the third card (card 2)

Note that if the first card doesn't have a feature (eg no decoder, so no video16, the second card will still use video17. The simple rule is 'add the card number to the base device number'. If you have other capture cards (e.g. WinTV PCI) that are detected first, then you have to tell the ivtv module about it so that it will start counting at 1 (or 2, or whatever). Otherwise the device numbers can get confusing. The ivtv 'ivtv_first_minor' module option can be used for that.

- /dev/video0

  The encoding capture device(s).

  Read-only.

  Reading from this device gets you the MPEG1/2 program stream. Example:



  ```none
  cat /dev/video0 > my.mpg (you need to hit ctrl-c to exit)
  ```

- /dev/video16

  The decoder output device(s)

  Write-only. Only present if the MPEG decoder (i.e. CX23415) exists.

  An mpeg2 stream sent to this device will appear on the selected video display, audio will appear on the line-out/audio out.  It is only available for cards that support video out. Example:



  ```none
  cat my.mpg >/dev/video16
  ```

- /dev/video24

  The raw audio capture device(s).

  Read-only

  The raw audio PCM stereo stream from the currently selected tuner or audio line-in.  Reading from this device results in a raw (signed 16 bit Little Endian, 48000 Hz, stereo pcm) capture. This device only captures audio. This should be replaced by an ALSA device in the future. Note that there is no corresponding raw audio output device, this is not supported in the decoder firmware.

- /dev/video32

  The raw video capture device(s)

  Read-only

  The raw YUV video output from the current video input. The YUV format is a 16x16 linear tiled NV12 format (V4L2_PIX_FMT_NV12_16L16)

  Note that the YUV and PCM streams are not synchronized, so they are of limited use.

- /dev/video48

  The raw video display device(s)

  Write-only. Only present if the MPEG decoder (i.e. CX23415) exists.

  Writes a YUV stream to the decoder of the card.

- /dev/radio0

  The radio tuner device(s)

  Cannot be read or written.

  Used to enable the radio tuner and tune to a frequency. You cannot read or write audio streams with this device.  Once you use this device to tune the radio, use /dev/video24 to read the raw pcm stream or /dev/video0 to get an mpeg2 stream with black video.

- /dev/vbi0

  The 'vertical blank interval' (Teletext, CC, WSS etc) capture device(s)

  Read-only

  Captures the raw (or sliced) video data sent during the Vertical Blank Interval. This data is used to encode teletext, closed captions, VPS, widescreen signalling, electronic program guide information, and other services.

- /dev/vbi8

  Processed vbi feedback device(s)

  Read-only. Only present if the MPEG decoder (i.e. CX23415) exists.

  The sliced VBI data embedded in an MPEG stream is reproduced on this device. So while playing back a recording on /dev/video16, you can read the embedded VBI data from /dev/vbi8.

- /dev/vbi16

  The vbi 'display' device(s)

  Write-only. Only present if the MPEG decoder (i.e. CX23415) exists.

  Can be used to send sliced VBI data to the video-out connector.

---

# Firmware files for lmedm04 cards

_Peios Kernel / Administration / System administration / Media devices_

> To extract firmware for the DM04/QQBOX you need to copy the following file(s) to this directory.

<a id="rst-firmware-files-for-lmedm04-cards"></a>

<!-- SPDX-License-Identifier: GPL-2.0 -->

To extract firmware for the DM04/QQBOX you need to copy the following file(s) to this directory.

<a id="rst-for-dm04-qqbox-lme2510c-sharp-7395-tuner"></a>

## For DM04+/QQBOX LME2510C (Sharp 7395 Tuner)

The Sharp 7395 driver can be found in windows/system32/drivers

US2A0D.sys (dated 17 Mar 2009)

and run:



```none
scripts/get_dvb_firmware lme2510c_s7395
```

will produce dvb-usb-lme2510c-s7395.fw

An alternative but older firmware can be found on the driver disk DVB-S_EN_3.5A in BDADriver/driver

LMEBDA_DVBS7395C.sys (dated 18 Jan 2008)

and run:



```none
./get_dvb_firmware lme2510c_s7395_old
```

will produce dvb-usb-lme2510c-s7395.fw

The LG firmware can be found on the driver disk DM04+\_5.1A\[LG\] in BDADriver/driver

<a id="rst-for-dm04-lme2510-lg-tuner"></a>

## For DM04 LME2510 (LG Tuner)

LMEBDA_DVBS.sys (dated 13 Nov 2007)

and run:



```none
./get_dvb_firmware lme2510_lg
```

will produce dvb-usb-lme2510-lg.fw

Other LG firmware can be extracted manually from US280D.sys only found in windows/system32/drivers

dd if=US280D.sys ibs=1 skip=42360 count=3924 of=dvb-usb-lme2510-lg.fw

<a id="rst-for-dm04-lme2510c-lg-tuner"></a>

## For DM04 LME2510C (LG Tuner)



```none
dd if=US280D.sys ibs=1 skip=35200 count=3850 of=dvb-usb-lme2510c-lg.fw
```

The Sharp 0194 tuner driver can be found in windows/system32/drivers

US290D.sys (dated 09 Apr 2009)

<a id="rst-for-lme2510"></a>

## For LME2510



```none
dd if=US290D.sys ibs=1 skip=36856 count=3976 of=dvb-usb-lme2510-s0194.fw
```

<a id="rst-for-lme2510c"></a>

## For LME2510C



```none
dd if=US290D.sys ibs=1 skip=33152 count=3697 of=dvb-usb-lme2510c-s0194.fw
```

The m88rs2000 tuner driver can be found in windows/system32/drivers

US2B0D.sys (dated 29 Jun 2010)



```none
dd if=US2B0D.sys ibs=1 skip=34432 count=3871 of=dvb-usb-lme2510c-rs2000.fw
```

We need to modify id of rs2000 firmware or it will warm boot id 3344:1120.



```none
echo -ne \\xF0\\x22 | dd conv=notrunc bs=1 count=2 seek=266 of=dvb-usb-lme2510c-rs2000.fw
```

Copy the firmware file(s) to /lib/firmware

---

# ARM Mali-C55 Image Signal Processor driver

_Peios Kernel / Administration / System administration / Media devices_

> This file documents the driver for ARM's Mali-C55 Image Signal Processor. The driver is located under drivers/media/platform/arm/mali-c55.

<a id="rst-arm-mali-c55-image-signal-processor-driver"></a>

<!-- SPDX-License-Identifier: GPL-2.0 -->

<a id="rst-introduction"></a>

## Introduction

This file documents the driver for ARM's Mali-C55 Image Signal Processor. The driver is located under drivers/media/platform/arm/mali-c55.

The Mali-C55 ISP receives data in either raw Bayer format or RGB/YUV format from sensors through either a parallel interface or a memory bus before processing it and outputting it through an internal DMA engine. Two output pipelines are possible (though one may not be fitted, depending on the implementation). These are referred to as "Full resolution" and "Downscale", but the naming is historic and both pipes are capable of cropping/scaling operations. The full resolution pipe is also capable of outputting RAW data, bypassing much of the ISP's processing. The downscale pipe cannot output RAW data. An integrated test pattern generator can be used to drive the ISP and produce image data in the absence of a connected camera sensor. The driver module is named mali_c55, and is enabled through the CONFIG_VIDEO_MALI_C55 config option.

The driver implements V4L2, Media Controller and V4L2 Subdevice interfaces and expects camera sensors connected to the ISP to have V4L2 subdevice interfaces.

<a id="rst-mali-c55-isp-hardware"></a>

## Mali-C55 ISP hardware

A high level functional view of the Mali-C55 ISP is presented below. The ISP takes input from either a live source or through a DMA engine for memory input, depending on the SoC integration.:



```text
+---------+    +----------+                                     +--------+
| Sensor  |--->| CSI-2 Rx |                "Full Resolution"    |  DMA   |
+---------+    +----------+   |\                 Output    +--->| Writer |
                     |        | \                          |    +--------+
                     |        |  \    +----------+  +------+---> Streaming I/O
+------------+       +------->|   |   |          |  |
|            |                |   |-->| Mali-C55 |--+
| DMA Reader |--------------->|   |   |    ISP   |  |
|            |                |  /    |          |  |      +---> Streaming I/O
+------------+                | /     +----------+  |      |
                              |/                    +------+
                                                           |    +--------+
                                                           +--->|  DMA   |
                                             "Downscaled"       | Writer |
                                                Output          +--------+
```

<a id="rst-media-controller-topology"></a>

## Media Controller Topology

An example of the ISP's topology (as implemented in a system with an IMX415 camera sensor and generic CSI-2 receiver) is below:

```mermaid
flowchart TB
  n0["mali-c55 tpg<br/>/dev/v4l-subdev0<br/>pad 0"]
  n1["pad 0<br/>mali-c55 isp<br/>/dev/v4l-subdev1<br/>pad 1<br/>pad 2"]
  n2["pad 0<br/>pad 2<br/>mali-c55 resizer fr<br/>/dev/v4l-subdev2<br/>pad 1"]
  n3["pad 0<br/>mali-c55 resizer ds<br/>/dev/v4l-subdev3<br/>pad 1"]
  n4["mali-c55 fr<br/>/dev/video0"]
  n5["mali-c55 ds<br/>/dev/video1"]
  n6["pad 0<br/>csi2-rx<br/>/dev/v4l-subdev4<br/>pad 1"]
  n7["imx415 1-001a<br/>/dev/v4l-subdev5<br/>pad 0"]
  n0 -->|"pad 0 → pad 0"| n1
  n1 -->|"pad 1 → pad 0"| n2
  n1 -->|"pad 2 → pad 2"| n2
  n1 -->|"pad 1 → pad 0"| n3
  n2 -->|"from pad 1"| n4
  n3 -->|"from pad 1"| n5
  n6 -->|"pad 1 → pad 0"| n1
  n7 -->|"pad 0 → pad 0"| n6
  style n0 fill:green,color:#111
  style n1 fill:green,color:#111
  style n2 fill:green,color:#111
  style n3 fill:green,color:#111
  style n4 fill:yellow,color:#111
  style n5 fill:yellow,color:#111
  style n6 fill:green,color:#111
  style n7 fill:green,color:#111
  linkStyle 0 stroke-dasharray:6 4
  linkStyle 1 stroke-width:3px
  linkStyle 2 stroke-width:3px
  linkStyle 3 stroke-width:3px
  linkStyle 4 stroke-width:3px
  linkStyle 5 stroke-width:3px
  linkStyle 7 stroke-width:3px
```

mali-c55-graph.dot

The driver has 4 V4L2 subdevices:

- - **`mali_c55 isp`: Responsible for configuring input crop and color space**

    conversion

- `mali_c55 tpg`: The test pattern generator, emulating a camera sensor.

- `mali_c55 resizer fr`: The Full-Resolution pipe resizer

- `mali_c55 resizer ds`: The Downscale pipe resizer

The driver has 3 V4L2 video devices:

- `mali-c55 fr`: The full-resolution pipe's capture device

- `mali-c55 ds`: The downscale pipe's capture device

- `mali-c55 3a stats`: The 3A statistics capture device

Frame sequences are synchronised across to two capture devices, meaning if one pipe is started later than the other the sequence numbers returned in its buffers will match those of the other pipe rather than starting from zero.

<a id="rst-idiosyncrasies"></a>

### Idiosyncrasies

**mali-c55 isp** The `mali-c55 isp` subdevice has a single sink pad to which all sources of data should be connected. The active source is selected by enabling the appropriate media link and disabling all others. The ISP has two source pads, reflecting the different paths through which it can internally route data. Tap points within the ISP allow users to divert data to avoid processing by some or all of the hardware's processing steps. The diagram below is intended only to highlight how the bypassing works and is not a true reflection of those processing steps; for a high-level functional block diagram see ARM's developer page for the ISP <a id="rst-footnote-reference-1"></a>[3](#rst-footnote-3):



```text
+--------------------------------------------------------------+
|                Possible Internal ISP Data Routes             |
|          +------------+  +----------+  +------------+        |
+---+      |            |  |          |  |  Colour    |    +---+
| 0 |--+-->| Processing |->| Demosaic |->|   Space    |--->| 1 |
+---+  |   |            |  |          |  | Conversion |    +---+
|      |   +------------+  +----------+  +------------+        |
|      |                                                   +---+
|      +---------------------------------------------------| 2 |
|                                                          +---+
|                                                              |
+--------------------------------------------------------------+
```


<table>
<thead>
<tr>
<th>


Pad

</th>
<th>


Direction

</th>
<th>


Purpose

</th>
</tr>
</thead>
<tbody>
<tr>
<td>


0

</td>
<td>


sink

</td>
<td>


Data input, connected to the TPG and camera sensors

</td>
</tr>
<tr>
<td>


1

</td>
<td>


source

</td>
<td>


RGB/YUV data, connected to the FR and DS V4L2 subdevices

</td>
</tr>
<tr>
<td>


2

</td>
<td>


source

</td>
<td>


RAW bayer data, connected to the FR V4L2 subdevices

</td>
</tr>
</tbody>
</table>

The ISP is limited to both input and output resolutions between 640x480 and 8192x8192, and this is reflected in the ISP and resizer subdevice's .set_fmt() operations.

**mali-c55 resizer fr** The `mali-c55 resizer fr` subdevice has two \_sink\_ pads to reflect the different insertion points in the hardware (either RAW or demosaiced data):


<table>
<thead>
<tr>
<th>


Pad

</th>
<th>


Direction

</th>
<th>


Purpose

</th>
</tr>
</thead>
<tbody>
<tr>
<td>


0

</td>
<td>


sink

</td>
<td>


Data input connected to the ISP's demosaiced stream.

</td>
</tr>
<tr>
<td>


1

</td>
<td>


source

</td>
<td>


Data output connected to the capture video device

</td>
</tr>
<tr>
<td>


2

</td>
<td>


sink

</td>
<td>


Data input connected to the ISP's raw data stream

</td>
</tr>
</tbody>
</table>

The data source in use is selected through the routing API; two routes each of a single stream are available:


<table>
<thead>
<tr>
<th>


Sink Pad

</th>
<th>


Source Pad

</th>
<th>


Purpose

</th>
</tr>
</thead>
<tbody>
<tr>
<td>


0

</td>
<td>


1

</td>
<td>


Demosaiced data route

</td>
</tr>
<tr>
<td>


2

</td>
<td>


1

</td>
<td>


Raw data route

</td>
</tr>
</tbody>
</table>

If the demosaiced route is active then the FR pipe is only capable of output in RGB/YUV formats. If the raw route is active then the output reflects the input (which may be either Bayer or RGB/YUV data).

<a id="rst-using-the-driver-to-capture-video"></a>

## Using the driver to capture video

Using the media controller APIs we can configure the input source and ISP to capture images in a variety of formats. In the examples below, configuring the media graph is done with the v4l-utils <a id="rst-footnote-reference-2"></a>[1](#rst-footnote-1) package's media-ctl utility. Capturing the images is done with yavta <a id="rst-footnote-reference-3"></a>[2](#rst-footnote-2).

<a id="rst-configuring-the-input-source"></a>

### Configuring the input source

The first step is to set the input source that we wish by enabling the correct media link. Using the example topology above, we can select the TPG as follows:



```none
media-ctl -l "'lte-csi2-rx':1->'mali-c55 isp':0[0]"
media-ctl -l "'mali-c55 tpg':0->'mali-c55 isp':0[1]"
```

<a id="rst-configuring-which-video-devices-will-stream-data"></a>

### Configuring which video devices will stream data

The driver will wait for all video devices to have their VIDIOC_STREAMON ioctl called before it tells the sensor to start streaming. To facilitate this we need to enable links to the video devices that we want to use. In the example below we enable the links to both of the image capture video devices



```none
media-ctl -l "'mali-c55 resizer fr':1->'mali-c55 fr':0[1]"
media-ctl -l "'mali-c55 resizer ds':1->'mali-c55 ds':0[1]"
```

<a id="rst-capturing-bayer-data-from-the-source-and-processing-to-rgb-yuv"></a>

### Capturing bayer data from the source and processing to RGB/YUV

To capture 1920x1080 bayer data from the source and push it through the ISP's full processing pipeline, we configure the data formats appropriately on the source, ISP and resizer subdevices and set the FR resizer's routing to select processed data. The media bus format on the resizer's source pad will be either RGB121212_1X36 or YUV10_1X30, depending on whether you want to capture RGB or YUV. The ISP's debayering block outputs RGB data natively, setting the source pad format to YUV10_1X30 enables the colour space conversion block.

In this example we target RGB565 output, so select RGB121212_1X36 as the resizer source pad's format:



```none
# Set formats on the TPG and ISP
media-ctl -V "'mali-c55 tpg':0[fmt:SRGGB20_1X20/1920x1080]"
media-ctl -V "'mali-c55 isp':0[fmt:SRGGB20_1X20/1920x1080]"
media-ctl -V "'mali-c55 isp':1[fmt:SRGGB20_1X20/1920x1080]"

# Set routing on the FR resizer
media-ctl -R "'mali-c55 resizer fr'[0/0->1/0[1],2/0->1/0[0]]"

# Set format on the resizer, must be done AFTER the routing.
media-ctl -V "'mali-c55 resizer fr':1[fmt:RGB121212_1X36/1920x1080]"
```

The downscale output can also be used to stream data at the same time. In this case since only processed data can be captured through the downscale output no routing need be set:



```none
# Set format on the resizer
media-ctl -V "'mali-c55 resizer ds':1[fmt:RGB121212_1X36/1920x1080]"
```

Following which images can be captured from both the FR and DS output's video devices (simultaneously, if desired):



```none
yavta -f RGB565 -s 1920x1080 -c10 /dev/video0
yavta -f RGB565 -s 1920x1080 -c10 /dev/video1
```

<a id="rst-cropping-the-image"></a>

#### Cropping the image

Both the full resolution and downscale pipes can crop to a minimum resolution of 640x480. To crop the image simply configure the resizer's sink pad's crop and compose rectangles and set the format on the video device:



```none
media-ctl -V "'mali-c55 resizer fr':0[fmt:RGB121212_1X36/1920x1080 crop:(480,270)/640x480 compose:(0,0)/640x480]"
media-ctl -V "'mali-c55 resizer fr':1[fmt:RGB121212_1X36/640x480]"
yavta -f RGB565 -s 640x480 -c10 /dev/video0
```

<a id="rst-downscaling-the-image"></a>

#### Downscaling the image

Both the full resolution and downscale pipes can downscale the image by up to 8x provided the minimum 640x480 output resolution is adhered to. For the best image result the scaling ratio for each direction should be the same. To configure scaling we use the compose rectangle on the resizer's sink pad:



```none
media-ctl -V "'mali-c55 resizer fr':0[fmt:RGB121212_1X36/1920x1080 crop:(0,0)/1920x1080 compose:(0,0)/640x480]"
media-ctl -V "'mali-c55 resizer fr':1[fmt:RGB121212_1X36/640x480]"
yavta -f RGB565 -s 640x480 -c10 /dev/video0
```

<a id="rst-capturing-images-in-yuv-formats"></a>

#### Capturing images in YUV formats

If we need to output YUV data rather than RGB the color space conversion block needs to be active, which is achieved by setting MEDIA_BUS_FMT_YUV10_1X30 on the resizer's source pad. We can then configure a capture format like NV12 (here in its multi-planar variant)



```none
media-ctl -V "'mali-c55 resizer fr':1[fmt:YUV10_1X30/1920x1080]"
yavta -f NV12M -s 1920x1080 -c10 /dev/video0
```

<a id="rst-capturing-rgb-data-from-the-source-and-processing-it-with-the-resizers"></a>

### Capturing RGB data from the source and processing it with the resizers

The Mali-C55 ISP can work with sensors capable of outputting RGB data. In this case although none of the image quality blocks would be used it can still crop/scale the data in the usual way. For this reason RGB data input to the ISP still goes through the ISP subdevice's pad 1 to the resizer.

To achieve this, the ISP's sink pad's format is set to MEDIA_BUS_FMT_RGB202020_1X60 - this reflects the format that data must be in to work with the ISP. Converting the camera sensor's output to that format is the responsibility of external hardware.

In this example we ask the test pattern generator to give us RGB data instead of bayer.



```none
media-ctl -V "'mali-c55 tpg':0[fmt:RGB202020_1X60/1920x1080]"
media-ctl -V "'mali-c55 isp':0[fmt:RGB202020_1X60/1920x1080]"
```

Cropping or scaling the data can be done in exactly the same way as outlined earlier.

<a id="rst-capturing-raw-data-from-the-source-and-outputting-it-unmodified"></a>

### Capturing raw data from the source and outputting it unmodified

The ISP can additionally capture raw data from the source and output it on the full resolution pipe only, completely unmodified. In this case the downscale pipe can still process the data normally and be used at the same time.

To configure raw bypass the FR resizer's subdevice's routing table needs to be configured, followed by formats in the appropriate places:



```none
media-ctl -R "'mali-c55 resizer fr'[0/0->1/0[0],2/0->1/0[1]]"
media-ctl -V "'mali-c55 isp':0[fmt:RGB202020_1X60/1920x1080]"
media-ctl -V "'mali-c55 resizer fr':2[fmt:RGB202020_1X60/1920x1080]"
media-ctl -V "'mali-c55 resizer fr':1[fmt:RGB202020_1X60/1920x1080]"

# Set format on the video device and stream
yavta -f RGB565 -s 1920x1080 -c10 /dev/video0
```

<a id="rst-capturing-isp-statistics"></a>
<a id="rst-mali-c55-3a-stats"></a>

## Capturing ISP Statistics

The ISP is capable of producing statistics for consumption by image processing algorithms running in userspace. These statistics can be captured by queueing buffers to the `mali-c55 3a stats` V4L2 Device whilst the ISP is streaming. Only the [V4L2_META_FMT_MALI_C55_STATS](</kernel/userspace/userspace-api/media-v4l/metafmt-arm-mali-c55.md#rst-v4l2-meta-fmt-mali-c55-stats>) format is supported, so no format-setting need be done:



```none
# We assume the media graph has been configured to support RGB565 capture
# from the mali-c55 fr V4L2 Device, which is at /dev/video0. The statistics
# V4L2 device is at /dev/video3

yavta -f RGB565 -s 1920x1080 -c32 /dev/video0 && \
yavta -c10 -F /dev/video3
```

The layout of the buffer is described by `mali_c55_stats_buffer`, but broadly statistics are generated to support three image processing algorithms; AEXP (Auto-Exposure), AWB (Auto-White Balance) and AF (Auto-Focus). These stats can be drawn from various places in the Mali C55 ISP pipeline, known as "tap points". This high-level block diagram is intended to explain where in the processing flow the statistics can be drawn from:



```text
                +--> AEXP-2            +----> AEXP-1          +--> AF-0
                |                      +----> AF-1            |
                |                      |                      |
    +---------+ |   +--------------+   |   +--------------+   |
    |  Input  +-+-->+ Digital Gain +---+-->+ Black Level  +---+---+
    +---------+     +--------------+       +--------------+       |
+-----------------------------------------------------------------+
|
|   +--------------+ +---------+       +----------------+
+-->| Sinter Noise +-+  White  +--+--->|  Lens Shading  +--+---------------+
    |   Reduction  | | Balance |  |    |                |  |               |
    +--------------+ +---------+  |    +----------------+  |               |
                                  +---> AEXP-0 (A)         +--> AEXP-0 (B) |
+--------------------------------------------------------------------------+
|
|   +----------------+      +--------------+  +----------------+
+-->|  Tone mapping  +-+--->| Demosaicing  +->+ Purple Fringe  +-+-----------+
    |                | |    +--------------+  |   Correction   | |           |
    +----------------+ +-> AEXP-IRIDIX        +----------------+ +---> AWB-0 |
+----------------------------------------------------------------------------+
|                    +-------------+        +-------------+
+------------------->|   Colour    +---+--->|    Output   |
                     | Correction  |   |    |  Pipelines  |
                     +-------------+   |    +-------------+
                                       +-->  AWB-1
```

By default all statistics are drawn from the 0th tap point for each algorithm; I.E. AEXP statistics from AEXP-0 (A), AWB statistics from AWB-0 and AF statistics from AF-0. This is configurable for AEXP and AWB statsistics through programming the ISP's parameters.

<a id="rst-programming-isp-parameters"></a>
<a id="rst-mali-c55-3a-params"></a>

## Programming ISP Parameters

The ISP can be programmed with various parameters from userspace to apply to the hardware before and during video stream. This allows userspace to dynamically change values such as black level, white balance and lens shading gains and so on.

The buffer format and how to populate it are described by the [V4L2_META_FMT_MALI_C55_PARAMS](</kernel/userspace/userspace-api/media-v4l/metafmt-arm-mali-c55.md#rst-v4l2-meta-fmt-mali-c55-params>) format, which should be set as the data format for the `mali-c55 3a params` video node.

<a id="rst-references"></a>

## References

<a id="rst-footnote-1"></a>



**[1]** [https://git.linuxtv.org/v4l-utils.git/](<https://git.linuxtv.org/v4l-utils.git/>)

<a id="rst-footnote-2"></a>



**[2]** [https://git.ideasonboard.org/yavta.git](<https://git.ideasonboard.org/yavta.git>)

<a id="rst-footnote-3"></a>



**[3]** [https://developer.arm.com/Processors/Mali-C55](<https://developer.arm.com/Processors/Mali-C55>)

---

# The mgb4 driver

_Peios Kernel / Administration / System administration / Media devices_

> author: Martin Tůma <martin.tuma@digiteqautomotive.com>

<a id="rst-the-mgb4-driver"></a>

<!-- SPDX-License-Identifier: GPL-2.0 -->

<!-- This data file has been placed in the public domain. -->

<!-- Derived from the Unicode character mappings available from
<http://www.w3.org/2003/entities/xml/>.
Processed by unicode2rstsubs.py, part of Docutils:
<https://docutils.sourceforge.io>. -->

- **Copyright © 2023 - 2025 Digiteq Automotive**

  author: Martin Tůma &lt;[martin.tuma@digiteqautomotive.com](<mailto:martin.tuma@digiteqautomotive.com>)&gt;

This is a v4l2 device driver for the Digiteq Automotive FrameGrabber 4, a PCIe card capable of capturing and generating FPD-Link III and GMSL2/3 video streams as used in the automotive industry.

<a id="rst-sysfs-interface"></a>

## sysfs interface

The mgb4 driver provides a sysfs interface, that is used to configure video stream related parameters (some of them must be set properly before the v4l2 device can be opened) and obtain the video device/stream status.

There are two types of parameters - global / PCI card related, found under `/sys/class/video4linux/videoX/device` and module specific found under `/sys/class/video4linux/videoX`.

<a id="rst-global-pci-card-parameters"></a>

### Global (PCI card) parameters

- ****module_type** (R):**

  Module type.

  0 - No module present  
  1 - FPDL3  
  2 - GMSL3 (one serializer, two daisy chained deserializers)  
  3 - GMSL3 (one serializer, two deserializers)  
  4 - GMSL3 (two deserializers with two daisy chain outputs)  
  6 - GMSL1  
  8 - GMSL3 coax

- ****module_version** (R):**

  Module version number. Zero in case of a missing module.

- ****fw_type** (R):**

  Firmware type.

  1 - FPDL3  
  2 - GMSL3  
  3 - GMSL1

- ****fw_version** (R):**

  Firmware version number.

- ****serial_number** (R):**

  Card serial number. The format is:



  ```text
  PRODUCT-REVISION-SERIES-SERIAL
  ```

  where each component is a 8b number.

<a id="rst-common-fpdl3-gmsl-input-parameters"></a>

### Common FPDL3/GMSL input parameters

- ****input_id** (R):**

  Input number ID, zero based.

- ****oldi_lane_width** (RW):**

  Number of deserializer output lanes.

  0 - single  
  1 - dual (default)

- ****color_mapping** (RW):**

  Mapping of the incoming bits in the signal to the colour bits of the pixels.

  0 - OLDI/JEIDA  
  1 - SPWG/VESA (default)

- ****link_status** (R):**

  Video link status. If the link is locked, chips are properly connected and communicating at the same speed and protocol. The link can be locked without an active video stream.

  A value of 0 is equivalent to the V4L2_IN_ST_NO_SYNC flag of the V4L2 VIDIOC_ENUMINPUT status bits.

  0 - unlocked  
  1 - locked

- ****stream_status** (R):**

  Video stream status. A stream is detected if the link is locked, the input pixel clock is running and the DE signal is moving.

  A value of 0 is equivalent to the V4L2_IN_ST_NO_SIGNAL flag of the V4L2 VIDIOC_ENUMINPUT status bits.

  0 - not detected  
  1 - detected

- ****video_width** (R):**

  Video stream width. This is the actual width as detected by the HW.

  The value is identical to what VIDIOC_QUERY_DV_TIMINGS returns in the width field of the v4l2_bt_timings struct.

- ****video_height** (R):**

  Video stream height. This is the actual height as detected by the HW.

  The value is identical to what VIDIOC_QUERY_DV_TIMINGS returns in the height field of the v4l2_bt_timings struct.

- ****vsync_status** (R):**

  The type of VSYNC pulses as detected by the video format detector.

  The value is equivalent to the flags returned by VIDIOC_QUERY_DV_TIMINGS in the polarities field of the v4l2_bt_timings struct.

  0 - active low  
  1 - active high  
  2 - not available

- ****hsync_status** (R):**

  The type of HSYNC pulses as detected by the video format detector.

  The value is equivalent to the flags returned by VIDIOC_QUERY_DV_TIMINGS in the polarities field of the v4l2_bt_timings struct.

  0 - active low  
  1 - active high  
  2 - not available

- ****vsync_gap_length** (RW):**

  If the incoming video signal does not contain synchronization VSYNC and HSYNC pulses, these must be generated internally in the FPGA to achieve the correct frame ordering. This value indicates, how many "empty" pixels (pixels with deasserted Data Enable signal) are necessary to generate the internal VSYNC pulse.

- ****hsync_gap_length** (RW):**

  If the incoming video signal does not contain synchronization VSYNC and HSYNC pulses, these must be generated internally in the FPGA to achieve the correct frame ordering. This value indicates, how many "empty" pixels (pixels with deasserted Data Enable signal) are necessary to generate the internal HSYNC pulse. The value must be greater than 1 and smaller than vsync_gap_length.

- ****pclk_frequency** (R):**

  Input pixel clock frequency in kHz.

  The value is identical to what VIDIOC_QUERY_DV_TIMINGS returns in the pixelclock field of the v4l2_bt_timings struct.

  *Note: The frequency_range parameter must be set properly first to get a valid frequency here.*

- ****hsync_width** (R):**

  Width of the HSYNC signal in PCLK clock ticks.

  The value is identical to what VIDIOC_QUERY_DV_TIMINGS returns in the hsync field of the v4l2_bt_timings struct.

- ****vsync_width** (R):**

  Width of the VSYNC signal in PCLK clock ticks.

  The value is identical to what VIDIOC_QUERY_DV_TIMINGS returns in the vsync field of the v4l2_bt_timings struct.

- ****hback_porch** (R):**

  Number of PCLK pulses between deassertion of the HSYNC signal and the first valid pixel in the video line (marked by DE=1).

  The value is identical to what VIDIOC_QUERY_DV_TIMINGS returns in the hbackporch field of the v4l2_bt_timings struct.

- ****hfront_porch** (R):**

  Number of PCLK pulses between the end of the last valid pixel in the video line (marked by DE=1) and assertion of the HSYNC signal.

  The value is identical to what VIDIOC_QUERY_DV_TIMINGS returns in the hfrontporch field of the v4l2_bt_timings struct.

- ****vback_porch** (R):**

  Number of video lines between deassertion of the VSYNC signal and the video line with the first valid pixel (marked by DE=1).

  The value is identical to what VIDIOC_QUERY_DV_TIMINGS returns in the vbackporch field of the v4l2_bt_timings struct.

- ****vfront_porch** (R):**

  Number of video lines between the end of the last valid pixel line (marked by DE=1) and assertion of the VSYNC signal.

  The value is identical to what VIDIOC_QUERY_DV_TIMINGS returns in the vfrontporch field of the v4l2_bt_timings struct.

- ****frequency_range** (RW)**

  PLL frequency range of the OLDI input clock generator. The PLL frequency is derived from the Pixel Clock Frequency (PCLK) and is equal to PCLK if oldi_lane_width is set to "single" and PCLK/2 if oldi_lane_width is set to "dual".

  0 - PLL &lt; 50MHz (default)  
  1 - PLL &gt;= 50MHz

  *Note: This parameter can not be changed while the input v4l2 device is open.*

<a id="rst-common-fpdl3-gmsl-output-parameters"></a>

### Common FPDL3/GMSL output parameters

- ****output_id** (R):**

  Output number ID, zero based.

- ****video_source** (RW):**

  Output video source. If set to 0 or 1, the source is the corresponding card input and the v4l2 output devices are disabled. If set to 2 or 3, the source is the corresponding v4l2 video output device. The default is the corresponding v4l2 output, i.e. 2 for OUT1 and 3 for OUT2.

  0 - input 0  
  1 - input 1  
  2 - v4l2 output 0  
  3 - v4l2 output 1

  *Note: This parameter can not be changed while ANY of the input/output v4l2 devices is open.*

- ****display_width** (RW):**

  Display width. There is no autodetection of the connected display, so the proper value must be set before the start of streaming. The default width is 1280.

  *Note: This parameter can not be changed while the output v4l2 device is open.*

- ****display_height** (RW):**

  Display height. There is no autodetection of the connected display, so the proper value must be set before the start of streaming. The default height is 640.

  *Note: This parameter can not be changed while the output v4l2 device is open.*

- ****frame_rate** (RW):**

  Output video signal frame rate limit in frames per second. Due to the limited output pixel clock steps, the card can not always generate a frame rate perfectly matching the value required by the connected display. Using this parameter one can limit the frame rate by "crippling" the signal so that the lines are not equal (the porches of the last line differ) but the signal appears like having the exact frame rate to the connected display. The default frame rate limit is 60Hz.

- ****hsync_polarity** (RW):**

  HSYNC signal polarity.

  0 - active low (default)  
  1 - active high

- ****vsync_polarity** (RW):**

  VSYNC signal polarity.

  0 - active low (default)  
  1 - active high

- ****de_polarity** (RW):**

  DE signal polarity.

  0 - active low  
  1 - active high (default)

- ****pclk_frequency** (RW):**

  Output pixel clock frequency. Allowed values are between 25000-190000(kHz) and there is a non-linear stepping between two consecutive allowed frequencies. The driver finds the nearest allowed frequency to the given value and sets it. When reading this property, you get the exact frequency set by the driver. The default frequency is 61150kHz.

  *Note: This parameter can not be changed while the output v4l2 device is open.*

- ****hsync_width** (RW):**

  Width of the HSYNC signal in pixels. The default value is 40.

- ****vsync_width** (RW):**

  Width of the VSYNC signal in video lines. The default value is 20.

- ****hback_porch** (RW):**

  Number of PCLK pulses between deassertion of the HSYNC signal and the first valid pixel in the video line (marked by DE=1). The default value is 50.

- ****hfront_porch** (RW):**

  Number of PCLK pulses between the end of the last valid pixel in the video line (marked by DE=1) and assertion of the HSYNC signal. The default value is 50.

- ****vback_porch** (RW):**

  Number of video lines between deassertion of the VSYNC signal and the video line with the first valid pixel (marked by DE=1). The default value is 31.

- ****vfront_porch** (RW):**

  Number of video lines between the end of the last valid pixel line (marked by DE=1) and assertion of the VSYNC signal. The default value is 30.

<a id="rst-fpdl3-specific-input-parameters"></a>

### FPDL3 specific input parameters

- ****fpdl3_input_width** (RW):**

  Number of deserializer input lines.

  0 - auto (default)  
  1 - single  
  2 - dual

<a id="rst-fpdl3-specific-output-parameters"></a>

### FPDL3 specific output parameters

- ****fpdl3_output_width** (RW):**

  Number of serializer output lines.

  0 - auto (default)  
  1 - single  
  2 - dual

<a id="rst-gmsl-specific-input-parameters"></a>

### GMSL specific input parameters

- ****gmsl_mode** (RW):**

  GMSL speed mode.

  0 - 12Gb/s (default)  
  1 - 6Gb/s  
  2 - 3Gb/s  
  3 - 1.5Gb/s

- ****gmsl_stream_id** (RW):**

  The GMSL multi-stream contains up to four video streams. This parameter selects which stream is captured by the video input. The value is the zero-based index of the stream. The default stream id is 0.

  *Note: This parameter can not be changed while the input v4l2 device is open.*

- ****gmsl_fec** (RW):**

  GMSL Forward Error Correction (FEC).

  0 - disabled  
  1 - enabled (default)

<a id="rst-mtd-partitions"></a>

## MTD partitions

- **The mgb4 driver creates a MTD device with two partitions:**

  - mgb4-fw.X - FPGA firmware.

  - mgb4-data.X - Factory settings, e.g. card serial number.

The *mgb4-fw* partition is writable and is used for FW updates, *mgb4-data* is read-only. The *X* attached to the partition name represents the card number. Depending on the CONFIG_MTD_PARTITIONED_MASTER kernel configuration, you may also have a third partition named *mgb4-flash* available in the system. This partition represents the whole, unpartitioned, card's FLASH memory and one should not fiddle with it...

<a id="rst-iio-triggers"></a>

## IIO (triggers)

The mgb4 driver creates an Industrial I/O (IIO) device that provides trigger and signal level status capability. The following scan elements are available:

- ****activity**:**

  The trigger levels and pending status.

  bit 1 - trigger 1 pending  
  bit 2 - trigger 2 pending  
  bit 5 - trigger 1 level  
  bit 6 - trigger 2 level

- ****timestamp**:**

  The trigger event timestamp.

The iio device can operate either in "raw" mode where you can fetch the signal levels (activity bits 5 and 6) using sysfs access or in triggered buffer mode. In the triggered buffer mode you can follow the signal level changes (activity bits 1 and 2) using the iio device in /dev. If you enable the timestamps, you will also get the exact trigger event time that can be matched to a video frame (every mgb4 video frame has a timestamp with the same clock source).

*Note: although the activity sample always contains all the status bits, it makes no sense to get the pending bits in raw mode or the level bits in the triggered buffer mode - the values do not represent valid data in such case.*

---

# Firewire driver

_Peios Kernel / Administration / System administration / Media devices_

> The media subsystem also provides a firewire driver for digital TV:

<!-- SPDX-License-Identifier: GPL-2.0 -->

<a id="rst-firewire-driver"></a>

## Firewire driver

The media subsystem also provides a firewire driver for digital TV:


<table>
<thead>
<tr>
<th>


Driver

</th>
<th>


Name

</th>
</tr>
</thead>
<tbody>
<tr>
<td>


firedtv

</td>
<td>


FireDTV and FloppyDTV

</td>
</tr>
</tbody>
</table>

<a id="rst-test-drivers"></a>

## Test drivers

In order to test userspace applications, there's a number of virtual drivers, with provide test functionality, simulating real hardware devices:


<table>
<thead>
<tr>
<th>


Driver

</th>
<th>


Name

</th>
</tr>
</thead>
<tbody>
<tr>
<td>


vicodec

</td>
<td>


Virtual Codec Driver

</td>
</tr>
<tr>
<td>


vim2m

</td>
<td>


Virtual Memory-to-Memory Driver

</td>
</tr>
<tr>
<td>


vimc

</td>
<td>


Virtual Media Controller Driver (VIMC)

</td>
</tr>
<tr>
<td>


vivid

</td>
<td>


Virtual Video Test Driver

</td>
</tr>
</tbody>
</table>

---

# OMAP 3 Image Signal Processor (ISP) driver

_Peios Kernel / Administration / System administration / Media devices_

> Copyright © 2010 Nokia Corporation

<a id="rst-omap-3-image-signal-processor-isp-driver"></a>

<!-- SPDX-License-Identifier: GPL-2.0 -->

<!-- This data file has been placed in the public domain. -->

<!-- Derived from the Unicode character mappings available from
<http://www.w3.org/2003/entities/xml/>.
Processed by unicode2rstsubs.py, part of Docutils:
<https://docutils.sourceforge.io>. -->

Copyright © 2010 Nokia Corporation

Copyright © 2009 Texas Instruments, Inc.

Contacts: Laurent Pinchart &lt;[laurent.pinchart@ideasonboard.com](<mailto:laurent.pinchart@ideasonboard.com>)&gt;, Sakari Ailus &lt;[sakari.ailus@iki.fi](<mailto:sakari.ailus@iki.fi>)&gt;, David Cohen &lt;[dacohen@gmail.com](<mailto:dacohen@gmail.com>)&gt;

<a id="rst-introduction"></a>

## Introduction

This file documents the Texas Instruments OMAP 3 Image Signal Processor (ISP) driver located under drivers/media/platform/ti/omap3isp. The original driver was written by Texas Instruments but since that it has been rewritten (twice) at Nokia.

The driver has been successfully used on the following versions of OMAP 3:

- 3430

- 3530

- 3630

The driver implements V4L2, Media controller and v4l2_subdev interfaces. Sensor, lens and flash drivers using the v4l2_subdev interface in the kernel are supported.

<a id="rst-split-to-subdevs"></a>

## Split to subdevs

The OMAP 3 ISP is split into V4L2 subdevs, each of the blocks inside the ISP having one subdev to represent it. Each of the subdevs provide a V4L2 subdev interface to userspace.

- OMAP3 ISP CCP2

- OMAP3 ISP CSI2a

- OMAP3 ISP CCDC

- OMAP3 ISP preview

- OMAP3 ISP resizer

- OMAP3 ISP AEWB

- OMAP3 ISP AF

- OMAP3 ISP histogram

Each possible link in the ISP is modelled by a link in the Media controller interface. For an example program see <a id="rst-footnote-reference-1"></a>[1](#rst-footnote-1).

<a id="rst-controlling-the-omap-3-isp"></a>

## Controlling the OMAP 3 ISP

In general, the settings given to the OMAP 3 ISP take effect at the beginning of the following frame. This is done when the module becomes idle during the vertical blanking period on the sensor. In memory-to-memory operation the pipe is run one frame at a time. Applying the settings is done between the frames.

All the blocks in the ISP, excluding the CSI-2 and possibly the CCP2 receiver, insist on receiving complete frames. Sensors must thus never send the ISP partial frames.

Autoidle does have issues with some ISP blocks on the 3430, at least. Autoidle is only enabled on 3630 when the omap3isp module parameter autoidle is non-zero.

<a id="rst-technical-reference-manuals-trms-and-other-documentation"></a>

## Technical reference manuals (TRMs) and other documentation

OMAP 3430 TRM: &lt;URL:http://focus.ti.com/pdfs/wtbu/OMAP34xx_ES3.1.x_PUBLIC_TRM_vZM.zip&gt; Referenced 2011-03-05.

OMAP 35xx TRM: &lt;URL:http://www.ti.com/litv/pdf/spruf98o&gt; Referenced 2011-03-05.

OMAP 3630 TRM: &lt;URL:http://focus.ti.com/pdfs/wtbu/OMAP36xx_ES1.x_PUBLIC_TRM_vQ.zip&gt; Referenced 2011-03-05.

DM 3730 TRM: &lt;URL:http://www.ti.com/litv/pdf/sprugn4h&gt; Referenced 2011-03-06.

<a id="rst-references"></a>

## References

<a id="rst-footnote-1"></a>



**[1]** [http://git.ideasonboard.org/?p=media-ctl.git;a=summary](<http://git.ideasonboard.org/?p=media-ctl.git;a=summary>)

---

# Opera firmware

_Peios Kernel / Administration / System administration / Media devices_

> Author: Marco Gittler <g.marco@freenet.de>

<a id="rst-opera-firmware"></a>

<!-- SPDX-License-Identifier: GPL-2.0 -->

Author: Marco Gittler &lt;[g.marco@freenet.de](<mailto:g.marco@freenet.de>)&gt;

To extract the firmware for the Opera DVB-S1 USB-Box you need to copy the files:

2830SCap2.sys 2830SLoad2.sys

from the windriver disk into this directory.

Then run:



```none
scripts/get_dvb_firmware opera1
```

and after that you have 2 files:

dvb-usb-opera-01.fw dvb-usb-opera1-fpga-01.fw

in here.

Copy them into /lib/firmware/ .

After that the driver can load the firmware (if you have enabled firmware loading in kernel config and have hotplug running).

---

# Other USB cards list

_Peios Kernel / Administration / System administration / Media devices_

> Reference for Other USB cards list.

<a id="rst-other-usb-cards-list"></a>

<!-- SPDX-License-Identifier: GPL-2.0 -->


<table>
<thead>
<tr>
<th>


Driver

</th>
<th>


Card name

</th>
<th>


USB IDs

</th>
</tr>
</thead>
<tbody>
<tr>
<td>


airspy

</td>
<td>


Airspy

</td>
<td>


1d50:60a1

</td>
</tr>
<tr>
<td>


dvb-as102

</td>
<td>


Abilis Systems DVB-Titan

</td>
<td>


1BA6:0001

</td>
</tr>
<tr>
<td>


dvb-as102

</td>
<td>


PCTV Systems picoStick (74e)

</td>
<td>


2013:0246

</td>
</tr>
<tr>
<td>


dvb-as102

</td>
<td>


Elgato EyeTV DTT Deluxe

</td>
<td>


0fd9:002c

</td>
</tr>
<tr>
<td>


dvb-as102

</td>
<td>


nBox DVB-T Dongle

</td>
<td>


0b89:0007

</td>
</tr>
<tr>
<td>


dvb-as102

</td>
<td>


Sky IT Digital Key (green led)

</td>
<td>


2137:0001

</td>
</tr>
<tr>
<td>


b2c2-flexcop-usb

</td>
<td>


Technisat/B2C2 FlexCop II/IIb/III Digital TV

</td>
<td>


0af7:0101

</td>
</tr>
<tr>
<td>


go7007

</td>
<td>


WIS GO7007 MPEG encoder

</td>
<td>


1943:a250, 093b:a002, 093b:a004, 0eb1:6666, 0eb1:6668

</td>
</tr>
<tr>
<td>


hackrf

</td>
<td>


HackRF Software Decoder Radio

</td>
<td>


1d50:6089

</td>
</tr>
<tr>
<td>


hdpvr

</td>
<td>


Hauppauge HD PVR

</td>
<td>


2040:4900, 2040:4901, 2040:4902, 2040:4982, 2040:4903

</td>
</tr>
<tr>
<td>


msi2500

</td>
<td>


Mirics MSi3101 SDR Dongle

</td>
<td>


1df7:2500, 2040:d300

</td>
</tr>
<tr>
<td>


pvrusb2

</td>
<td>


Hauppauge WinTV-PVR USB2

</td>
<td>


2040:2900, 2040:2950, 2040:2400, 1164:0622, 1164:0602, 11ba:1003, 11ba:1001, 2040:7300, 2040:7500, 2040:7501, 0ccd:0039, 2040:7502, 2040:7510

</td>
</tr>
<tr>
<td>


pwc

</td>
<td>


Creative Webcam 5

</td>
<td>


041E:400C

</td>
</tr>
<tr>
<td>


pwc

</td>
<td>


Creative Webcam Pro Ex

</td>
<td>


041E:4011

</td>
</tr>
<tr>
<td>


pwc

</td>
<td>


Logitech QuickCam 3000 Pro

</td>
<td>


046D:08B0

</td>
</tr>
<tr>
<td>


pwc

</td>
<td>


Logitech QuickCam Notebook Pro

</td>
<td>


046D:08B1

</td>
</tr>
<tr>
<td>


pwc

</td>
<td>


Logitech QuickCam 4000 Pro

</td>
<td>


046D:08B2

</td>
</tr>
<tr>
<td>


pwc

</td>
<td>


Logitech QuickCam Zoom (old model)

</td>
<td>


046D:08B3

</td>
</tr>
<tr>
<td>


pwc

</td>
<td>


Logitech QuickCam Zoom (new model)

</td>
<td>


046D:08B4

</td>
</tr>
<tr>
<td>


pwc

</td>
<td>


Logitech QuickCam Orbit/Sphere

</td>
<td>


046D:08B5

</td>
</tr>
<tr>
<td>


pwc

</td>
<td>


Logitech/Cisco VT Camera

</td>
<td>


046D:08B6

</td>
</tr>
<tr>
<td>


pwc

</td>
<td>


Logitech ViewPort AV 100

</td>
<td>


046D:08B7

</td>
</tr>
<tr>
<td>


pwc

</td>
<td>


Logitech QuickCam

</td>
<td>


046D:08B8

</td>
</tr>
<tr>
<td>


pwc

</td>
<td>


Philips PCA645VC

</td>
<td>


0471:0302

</td>
</tr>
<tr>
<td>


pwc

</td>
<td>


Philips PCA646VC

</td>
<td>


0471:0303

</td>
</tr>
<tr>
<td>


pwc

</td>
<td>


Askey VC010 type 2

</td>
<td>


0471:0304

</td>
</tr>
<tr>
<td>


pwc

</td>
<td>


Philips PCVC675K (Vesta)

</td>
<td>


0471:0307

</td>
</tr>
<tr>
<td>


pwc

</td>
<td>


Philips PCVC680K (Vesta Pro)

</td>
<td>


0471:0308

</td>
</tr>
<tr>
<td>


pwc

</td>
<td>


Philips PCVC690K (Vesta Pro Scan)

</td>
<td>


0471:030C

</td>
</tr>
<tr>
<td>


pwc

</td>
<td>


Philips PCVC730K (ToUCam Fun), PCVC830 (ToUCam II)

</td>
<td>


0471:0310

</td>
</tr>
<tr>
<td>


pwc

</td>
<td>


Philips PCVC740K (ToUCam Pro), PCVC840 (ToUCam II)

</td>
<td>


0471:0311

</td>
</tr>
<tr>
<td>


pwc

</td>
<td>


Philips PCVC750K (ToUCam Pro Scan)

</td>
<td>


0471:0312

</td>
</tr>
<tr>
<td>


pwc

</td>
<td>


Philips PCVC720K/40 (ToUCam XS)

</td>
<td>


0471:0313

</td>
</tr>
<tr>
<td>


pwc

</td>
<td>


Philips SPC 900NC

</td>
<td>


0471:0329

</td>
</tr>
<tr>
<td>


pwc

</td>
<td>


Philips SPC 880NC

</td>
<td>


0471:032C

</td>
</tr>
<tr>
<td>


pwc

</td>
<td>


Sotec Afina Eye

</td>
<td>


04CC:8116

</td>
</tr>
<tr>
<td>


pwc

</td>
<td>


Samsung MPC-C10

</td>
<td>


055D:9000

</td>
</tr>
<tr>
<td>


pwc

</td>
<td>


Samsung MPC-C30

</td>
<td>


055D:9001

</td>
</tr>
<tr>
<td>


pwc

</td>
<td>


Samsung SNC-35E (Ver3.0)

</td>
<td>


055D:9002

</td>
</tr>
<tr>
<td>


pwc

</td>
<td>


Askey VC010 type 1

</td>
<td>


069A:0001

</td>
</tr>
<tr>
<td>


pwc

</td>
<td>


AME Co. Afina Eye

</td>
<td>


06BE:8116

</td>
</tr>
<tr>
<td>


pwc

</td>
<td>


Visionite VCS-UC300

</td>
<td>


0d81:1900

</td>
</tr>
<tr>
<td>


pwc

</td>
<td>


Visionite VCS-UM100

</td>
<td>


0d81:1910

</td>
</tr>
<tr>
<td>


s2255drv

</td>
<td>


Sensoray 2255

</td>
<td>


1943:2255, 1943:2257

</td>
</tr>
<tr>
<td>


stk1160

</td>
<td>


STK1160 USB video capture dongle

</td>
<td>


05e1:0408

</td>
</tr>
<tr>
<td>


dvb-ttusb-budget

</td>
<td>


Technotrend/Hauppauge Nova-USB devices

</td>
<td>


0b48:1003, 0b48:1004, 0b48:1005

</td>
</tr>
<tr>
<td>


dvb-ttusb_dec

</td>
<td>


Technotrend/Hauppauge MPEG decoder DEC3000-s

</td>
<td>


0b48:1006

</td>
</tr>
<tr>
<td>


dvb-ttusb_dec

</td>
<td>


Technotrend/Hauppauge MPEG decoder

</td>
<td>


0b48:1007

</td>
</tr>
<tr>
<td>


dvb-ttusb_dec

</td>
<td>


Technotrend/Hauppauge MPEG decoder DEC2000-t

</td>
<td>


0b48:1008

</td>
</tr>
<tr>
<td>


dvb-ttusb_dec

</td>
<td>


Technotrend/Hauppauge MPEG decoder DEC2540-t

</td>
<td>


0b48:1009

</td>
</tr>
<tr>
<td>


usbtv

</td>
<td>


Fushicai USBTV007 Audio-Video Grabber

</td>
<td>


1b71:3002, 1f71:3301, 1f71:3306

</td>
</tr>
</tbody>
</table>

---

# PCI drivers

_Peios Kernel / Administration / System administration / Media devices_

> The PCI boards are identified by an identification called PCI ID. The PCI ID is actually composed by two parts:

<a id="rst-pci-drivers"></a>

<!-- SPDX-License-Identifier: GPL-2.0 -->

The PCI boards are identified by an identification called PCI ID. The PCI ID is actually composed by two parts:

> - Vendor ID and device ID;
>
> - Subsystem ID and Subsystem device ID;

The `lspci -nn` command allows identifying the vendor/device PCI IDs:



```none
 $ 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)
 ...
```

The subsystem IDs can be obtained using `lspci -vn`



```none
 $ 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
 ...
```

At the above example, the first card uses the `saa7134` driver, and has a vendor/device PCI ID equal to `1131:7133` and a PCI subsystem ID equal to `1461:f01d` (see [Saa7134 card list](</kernel/administration/admin-guide/media/saa7134-cardlist.md>)).

Unfortunately, sometimes the same PCI subsystem ID is used by different products. So, several media drivers allow passing a `card=` parameter, in order to setup a card number that would match the correct settings for an specific board.

The current supported PCI/PCIe cards (not including staging drivers) are listed below<a id="rst-footnote-reference-1"></a>[1](#rst-footnote-1).

<a id="rst-footnote-1"></a>



**[1]** some of the drivers have sub-drivers, not shown at this table


<table>
<thead>
<tr>
<th>



Driver

</th>
<th>



Name

</th>
</tr>
</thead>
<tbody>
<tr>
<td>



altera-ci

</td>
<td>



Altera FPGA based CI module

</td>
</tr>
<tr>
<td>



b2c2-flexcop-pci

</td>
<td>



Technisat/B2C2 Air/Sky/Cable2PC PCI

</td>
</tr>
<tr>
<td>



bt878

</td>
<td>



DVB/ATSC Support for bt878 based TV cards

</td>
</tr>
<tr>
<td>



bttv

</td>
<td>



BT8x8 Video For Linux

</td>
</tr>
<tr>
<td>



cobalt

</td>
<td>



Cisco Cobalt

</td>
</tr>
<tr>
<td>



cx18

</td>
<td>



Conexant cx23418 MPEG encoder

</td>
</tr>
<tr>
<td>



cx23885

</td>
<td>



Conexant cx23885 (2388x successor)

</td>
</tr>
<tr>
<td>



cx25821

</td>
<td>



Conexant cx25821

</td>
</tr>
<tr>
<td>



cx88xx

</td>
<td>



Conexant 2388x (bt878 successor)

</td>
</tr>
<tr>
<td>



ddbridge

</td>
<td>



Digital Devices bridge

</td>
</tr>
<tr>
<td>



dm1105

</td>
<td>



SDMC DM1105 based PCI cards

</td>
</tr>
<tr>
<td>



dt3155

</td>
<td>



DT3155 frame grabber

</td>
</tr>
<tr>
<td>



dvb-ttpci

</td>
<td>



AV7110 cards

</td>
</tr>
<tr>
<td>



earth-pt1

</td>
<td>



PT1 cards

</td>
</tr>
<tr>
<td>



earth-pt3

</td>
<td>



Earthsoft PT3 cards

</td>
</tr>
<tr>
<td>



hexium\_gemini

</td>
<td>



Hexium Gemini frame grabber

</td>
</tr>
<tr>
<td>



hexium\_orion

</td>
<td>



Hexium HV-PCI6 and Orion frame grabber

</td>
</tr>
<tr>
<td>



hopper

</td>
<td>



HOPPER based cards

</td>
</tr>
<tr>
<td>



ipu3-cio2

</td>
<td>



Intel ipu3-cio2 driver

</td>
</tr>
<tr>
<td>



ivtv

</td>
<td>



Conexant cx23416/cx23415 MPEG encoder/decoder

</td>
</tr>
<tr>
<td>



ivtvfb

</td>
<td>



Conexant cx23415 framebuffer

</td>
</tr>
<tr>
<td>



mantis

</td>
<td>



MANTIS based cards

</td>
</tr>
<tr>
<td>



mgb4

</td>
<td>



Digiteq Automotive MGB4 frame grabber

</td>
</tr>
<tr>
<td>



mxb

</td>
<td>



Siemens-Nixdorf 'Multimedia eXtension Board'

</td>
</tr>
<tr>
<td>



netup-unidvb

</td>
<td>



NetUP Universal DVB card

</td>
</tr>
<tr>
<td>



ngene

</td>
<td>



Micronas nGene

</td>
</tr>
<tr>
<td>



pluto2

</td>
<td>



Pluto2 cards

</td>
</tr>
<tr>
<td>



saa7134

</td>
<td>



Philips SAA7134

</td>
</tr>
<tr>
<td>



saa7164

</td>
<td>



NXP SAA7164

</td>
</tr>
<tr>
<td>



smipcie

</td>
<td>



SMI PCIe DVBSky cards

</td>
</tr>
<tr>
<td>



solo6x10

</td>
<td>



Bluecherry / Softlogic 6x10 capture cards (MPEG-4/H.264)

</td>
</tr>
<tr>
<td>



tw5864

</td>
<td>



Techwell TW5864 video/audio grabber and encoder

</td>
</tr>
<tr>
<td>



tw686x

</td>
<td>



Intersil/Techwell TW686x

</td>
</tr>
<tr>
<td>



tw68

</td>
<td>



Techwell tw68x Video For Linux

</td>
</tr>
<tr>
<td>



zoran

</td>
<td>



Zoran-36057/36067 JPEG codec

</td>
</tr>
</tbody>
</table>

Some of those drivers support multiple devices, as shown at the card lists below:

- [BTTV cards list](</kernel/administration/admin-guide/media/bttv-cardlist.md>)
- [CX18 cards list](</kernel/administration/admin-guide/media/cx18-cardlist.md>)
- [cx23885 cards list](</kernel/administration/admin-guide/media/cx23885-cardlist.md>)
- [CX88 cards list](</kernel/administration/admin-guide/media/cx88-cardlist.md>)
- [IVTV cards list](</kernel/administration/admin-guide/media/ivtv-cardlist.md>)
- [SAA7134 cards list](</kernel/administration/admin-guide/media/saa7134-cardlist.md>)
- [SAA7164 cards list](</kernel/administration/admin-guide/media/saa7164-cardlist.md>)
- [Zoran cards list](</kernel/administration/admin-guide/media/zoran-cardlist.md>)

---

# Philips webcams (pwc driver)

_Peios Kernel / Administration / System administration / Media devices_

> This file contains some additional information for the Philips and OEM webcams. E-mail: webcam@smcc.demon.nl Last updated: 2004-01-19 Site: http://www.smcc.demon.nl/webcam/

<a id="rst-philips-webcams-pwc-driver"></a>

<!-- SPDX-License-Identifier: GPL-2.0 -->

This file contains some additional information for the Philips and OEM webcams. E-mail: [webcam@smcc.demon.nl](<mailto:webcam@smcc.demon.nl>)                        Last updated: 2004-01-19 Site: [http://www.smcc.demon.nl/webcam/](<http://www.smcc.demon.nl/webcam/>)

As of this moment, the following cameras are supported:

> - Philips PCA645
>
> - Philips PCA646
>
> - Philips PCVC675
>
> - Philips PCVC680
>
> - Philips PCVC690
>
> - Philips PCVC720/40
>
> - Philips PCVC730
>
> - Philips PCVC740
>
> - Philips PCVC750
>
> - Askey VC010
>
> - Creative Labs Webcam 5
>
> - Creative Labs Webcam Pro Ex
>
> - Logitech QuickCam 3000 Pro
>
> - Logitech QuickCam 4000 Pro
>
> - Logitech QuickCam Notebook Pro
>
> - Logitech QuickCam Zoom
>
> - Logitech QuickCam Orbit
>
> - Logitech QuickCam Sphere
>
> - Samsung MPC-C10
>
> - Samsung MPC-C30
>
> - Sotec Afina Eye
>
> - AME CU-001
>
> - Visionite VCS-UM100
>
> - Visionite VCS-UC300

The main webpage for the Philips driver is at the address above. It contains a lot of extra information, a FAQ, and the binary plugin 'PWCX'. This plugin contains decompression routines that allow you to use higher image sizes and framerates; in addition the webcam uses less bandwidth on the USB bus (handy if you want to run more than 1 camera simultaneously). These routines fall under a NDA, and may therefore not be distributed as source; however, its use is completely optional.

You can build this code either into your kernel, or as a module. I recommend the latter, since it makes troubleshooting a lot easier. The built-in microphone is supported through the USB Audio class.

When you load the module you can set some default settings for the camera; some programs depend on a particular image-size or -format and don't know how to set it properly in the driver. The options are:

- **size**

  Can be one of 'sqcif', 'qsif', 'qcif', 'sif', 'cif' or 'vga', for an image size of resp. 128x96, 160x120, 176x144, 320x240, 352x288 and 640x480 (of course, only for those cameras that support these resolutions).

- **fps**

  Specifies the desired framerate. Is an integer in the range of 4-30.

- **fbufs**

  This parameter specifies the number of internal buffers to use for storing frames from the cam. This will help if the process that reads images from the cam is a bit slow or momentarily busy. However, on slow machines it only introduces lag, so choose carefully. The default is 3, which is reasonable. You can set it between 2 and 5.

- **mbufs**

  This is an integer between 1 and 10. It will tell the module the number of buffers to reserve for mmap(), VIDIOCCGMBUF, VIDIOCMCAPTURE and friends. The default is 2, which is adequate for most applications (double buffering).

  Should you experience a lot of 'Dumping frame...' messages during grabbing with a tool that uses mmap(), you might want to increase if. However, it doesn't really buffer images, it just gives you a bit more slack when your program is behind. But you need a multi-threaded or forked program to really take advantage of these buffers.

  The absolute maximum is 10, but don't set it too high\!  Every buffer takes up 460 KB of RAM, so unless you have a lot of memory setting this to something more than 4 is an absolute waste.  This memory is only allocated during open(), so nothing is wasted when the camera is not in use.

- **power_save**

  When power_save is enabled (set to 1), the module will try to shut down the cam on close() and re-activate on open(). This will save power and turn off the LED. Not all cameras support this though (the 645 and 646 don't have power saving at all), and some models don't work either (they will shut down, but never wake up). Consider this experimental. By default this option is disabled.

- **compression (only useful with the plugin)**

  With this option you can control the compression factor that the camera uses to squeeze the image through the USB bus. You can set the parameter between 0 and 3:



  ```text
  0 = prefer uncompressed images; if the requested mode is not available
      in an uncompressed format, the driver will silently switch to low
      compression.
  1 = low compression.
  2 = medium compression.
  3 = high compression.
  ```

  High compression takes less bandwidth of course, but it could also introduce some unwanted artefacts. The default is 2, medium compression. See the FAQ on the website for an overview of which modes require compression.

  The compression parameter does not apply to the 645 and 646 cameras and OEM models derived from those (only a few). Most cams honour this parameter.

- **leds**

  This settings takes 2 integers, that define the on/off time for the LED (in milliseconds). One of the interesting things that you can do with this is let the LED blink while the camera is in use. This:



  ```text
  leds=500,500
  ```

  will blink the LED once every second. But with:



  ```text
  leds=0,0
  ```

  the LED never goes on, making it suitable for silent surveillance.

  By default the camera's LED is on solid while in use, and turned off when the camera is not used anymore.

  This parameter works only with the ToUCam range of cameras (720, 730, 740, 750) and OEMs. For other cameras this command is silently ignored, and the LED cannot be controlled.

  Finally: this parameters does not take effect UNTIL the first time you open the camera device. Until then, the LED remains on.

- **dev_hint**

  A long standing problem with USB devices is their dynamic nature: you never know what device a camera gets assigned; it depends on module load order, the hub configuration, the order in which devices are plugged in, and the phase of the moon (i.e. it can be random). With this option you can give the driver a hint as to what video device node (/dev/videoX) it should use with a specific camera. This is also handy if you have two cameras of the same model.

  A camera is specified by its type (the number from the camera model, like PCA645, PCVC750VC, etc) and optionally the serial number (visible in /sys/kernel/debug/usb/devices). A hint consists of a string with the following format:



  ```text
  [type[.serialnumber]:]node
  ```

  The square brackets mean that both the type and the serialnumber are optional, but a serialnumber cannot be specified without a type (which would be rather pointless). The serialnumber is separated from the type by a '.'; the node number by a ':'.

  This somewhat cryptic syntax is best explained by a few examples:



  ```text
  dev_hint=3,5              The first detected cam gets assigned
                            /dev/video3, the second /dev/video5. Any
                            other cameras will get the first free
                            available slot (see below).

  dev_hint=645:1,680:2      The PCA645 camera will get /dev/video1,
                            and a PCVC680 /dev/video2.

  dev_hint=645.0123:3,645.4567:0     The PCA645 camera with serialnumber
                                     0123 goes to /dev/video3, the same
                                     camera model with the 4567 serial
                                     gets /dev/video0.

  dev_hint=750:1,4,5,6       The PCVC750 camera will get /dev/video1, the
                             next 3 Philips cams will use /dev/video4
                             through /dev/video6.
  ```

  Some points worth knowing:

  - Serialnumbers are case sensitive and must be written full, including leading zeroes (it's treated as a string).

  - If a device node is already occupied, registration will fail and the webcam is not available.

  - You can have up to 64 video devices; be sure to make enough device nodes in /dev if you want to spread the numbers. After /dev/video9 comes /dev/video10 (not /dev/videoA).

  - If a camera does not match any dev_hint, it will simply get assigned the first available device node, just as it used to be.

- **trace**

  In order to better detect problems, it is now possible to turn on a 'trace' of some of the calls the module makes; it logs all items in your kernel log at debug level.

  The trace variable is a bitmask; each bit represents a certain feature. If you want to trace something, look up the bit value(s) in the table below, add the values together and supply that to the trace variable.


  <table>
  <thead>
  <tr>
  <th>


  Value

  </th>
  <th>


  Value

  </th>
  <th>


  Description

  </th>
  <th>


  Default

  </th>
  </tr>
  <tr>
  <th>


  (dec)

  </th>
  <th>


  (hex)

  </th>
  <th>




  </th>
  <th>




  </th>
  </tr>
  </thead>
  <tbody>
  <tr>
  <td>


  1

  </td>
  <td>


  0x1

  </td>
  <td>


  Module initialization; this will log messages while loading and unloading the module

  </td>
  <td>


  On

  </td>
  </tr>
  <tr>
  <td>


  2

  </td>
  <td>


  0x2

  </td>
  <td>


  probe() and disconnect() traces

  </td>
  <td>


  On

  </td>
  </tr>
  <tr>
  <td>


  4

  </td>
  <td>


  0x4

  </td>
  <td>


  Trace open() and close() calls

  </td>
  <td>


  Off

  </td>
  </tr>
  <tr>
  <td>


  8

  </td>
  <td>


  0x8

  </td>
  <td>


  read(), mmap() and associated ioctl() calls

  </td>
  <td>


  Off

  </td>
  </tr>
  <tr>
  <td>


  16

  </td>
  <td>


  0x10

  </td>
  <td>


  Memory allocation of buffers, etc.

  </td>
  <td>


  Off

  </td>
  </tr>
  <tr>
  <td>


  32

  </td>
  <td>


  0x20

  </td>
  <td>


  Showing underflow, overflow and Dumping frame messages

  </td>
  <td>


  On

  </td>
  </tr>
  <tr>
  <td>


  64

  </td>
  <td>


  0x40

  </td>
  <td>


  Show viewport and image sizes

  </td>
  <td>


  Off

  </td>
  </tr>
  <tr>
  <td>


  128

  </td>
  <td>


  0x80

  </td>
  <td>


  PWCX debugging

  </td>
  <td>


  Off

  </td>
  </tr>
  </tbody>
  </table>

  For example, to trace the open() &amp; read() functions, sum 8 + 4 = 12, so you would supply trace=12 during insmod or modprobe. If you want to turn the initialization and probing tracing off, set trace=0. The default value for trace is 35 (0x23).

Example:



```text
# modprobe pwc size=cif fps=15 power_save=1
```

The fbufs, mbufs and trace parameters are global and apply to all connected cameras. Each camera has its own set of buffers.

size and fps only specify defaults when you open() the device; this is to accommodate some tools that don't set the size. You can change these settings after open() with the Video4Linux ioctl() calls. The default of defaults is QCIF size at 10 fps.

The compression parameter is semiglobal; it sets the initial compression preference for all camera's, but this parameter can be set per camera with the VIDIOCPWCSCQUAL ioctl() call.

All parameters are optional.

---

# Platform drivers

_Peios Kernel / Administration / System administration / Media devices_

> There are several drivers that are focused on providing support for functionality that are already included at the main board, and don't use neither USB nor PCI bus. Those drivers are called platform drivers, and are very popular on…

<a id="rst-platform-drivers"></a>

<!-- SPDX-License-Identifier: GPL-2.0 -->

There are several drivers that are focused on providing support for functionality that are already included at the main board, and don't use neither USB nor PCI bus. Those drivers are called platform drivers, and are very popular on embedded devices.

The current supported of platform drivers (not including staging drivers) are listed below


<table>
<thead>
<tr>
<th>


Driver

</th>
<th>


Name

</th>
</tr>
</thead>
<tbody>
<tr>
<td>


am437x-vpfe

</td>
<td>


TI AM437x VPFE

</td>
</tr>
<tr>
<td>


aspeed-video

</td>
<td>


Aspeed AST2400 and AST2500

</td>
</tr>
<tr>
<td>


atmel-isc

</td>
<td>


ATMEL Image Sensor Controller (ISC)

</td>
</tr>
<tr>
<td>


atmel-isi

</td>
<td>


ATMEL Image Sensor Interface (ISI)

</td>
</tr>
<tr>
<td>


cafe_ccic

</td>
<td>


Marvell 88ALP01 (Cafe) CMOS Camera Controller

</td>
</tr>
<tr>
<td>


cdns-csi2rx

</td>
<td>


Cadence MIPI-CSI2 RX Controller

</td>
</tr>
<tr>
<td>


cdns-csi2tx

</td>
<td>


Cadence MIPI-CSI2 TX Controller

</td>
</tr>
<tr>
<td>


coda-vpu

</td>
<td>


Chips&amp;Media Coda multi-standard codec IP

</td>
</tr>
<tr>
<td>


dm355_ccdc

</td>
<td>


TI DM355 CCDC video capture

</td>
</tr>
<tr>
<td>


dm644x_ccdc

</td>
<td>


TI DM6446 CCDC video capture

</td>
</tr>
<tr>
<td>


exynos-fimc-is

</td>
<td>


EXYNOS4x12 FIMC-IS (Imaging Subsystem)

</td>
</tr>
<tr>
<td>


exynos-fimc-lite

</td>
<td>


EXYNOS FIMC-LITE camera interface

</td>
</tr>
<tr>
<td>


exynos-gsc

</td>
<td>


Samsung Exynos G-Scaler

</td>
</tr>
<tr>
<td>


exy

</td>
<td>


Samsung S5P/EXYNOS4 SoC series Camera Subsystem

</td>
</tr>
<tr>
<td>


imx-pxp

</td>
<td>


i.MX Pixel Pipeline (PXP)

</td>
</tr>
<tr>
<td>


isdf

</td>
<td>


TI DM365 ISIF video capture

</td>
</tr>
<tr>
<td>


mmp_camera

</td>
<td>


Marvell Armada 610 integrated camera controller

</td>
</tr>
<tr>
<td>


mtk_jpeg

</td>
<td>


Mediatek JPEG Codec

</td>
</tr>
<tr>
<td>


mtk-mdp

</td>
<td>


Mediatek MDP

</td>
</tr>
<tr>
<td>


mtk-vcodec-dec

</td>
<td>


Mediatek Video Codec

</td>
</tr>
<tr>
<td>


mtk-vpu

</td>
<td>


Mediatek Video Processor Unit

</td>
</tr>
<tr>
<td>


mx2_emmaprp

</td>
<td>


MX2 eMMa-PrP

</td>
</tr>
<tr>
<td>


omap3-isp

</td>
<td>


OMAP 3 Camera

</td>
</tr>
<tr>
<td>


omap-vout

</td>
<td>


OMAP2/OMAP3 V4L2-Display

</td>
</tr>
<tr>
<td>


pxa_camera

</td>
<td>


PXA27x Quick Capture Interface

</td>
</tr>
<tr>
<td>


qcom-camss

</td>
<td>


Qualcomm V4L2 Camera Subsystem

</td>
</tr>
<tr>
<td>


rcar-csi2

</td>
<td>


R-Car MIPI CSI-2 Receiver

</td>
</tr>
<tr>
<td>


rcar_drif

</td>
<td>


Renesas Digital Radio Interface (DRIF)

</td>
</tr>
<tr>
<td>


rcar-fcp

</td>
<td>


Renesas Frame Compression Processor

</td>
</tr>
<tr>
<td>


rcar_fdp1

</td>
<td>


Renesas Fine Display Processor

</td>
</tr>
<tr>
<td>


rcar_jpu

</td>
<td>


Renesas JPEG Processing Unit

</td>
</tr>
<tr>
<td>


rcar-vin

</td>
<td>


R-Car Video Input (VIN)

</td>
</tr>
<tr>
<td>


renesas-ceu

</td>
<td>


Renesas Capture Engine Unit (CEU)

</td>
</tr>
<tr>
<td>


rockchip-rga

</td>
<td>


Rockchip Raster 2d Graphic Acceleration Unit

</td>
</tr>
<tr>
<td>


s3c-camif

</td>
<td>


Samsung S3C24XX/S3C64XX SoC Camera Interface

</td>
</tr>
<tr>
<td>


s5p-csis

</td>
<td>


S5P/EXYNOS MIPI-CSI2 receiver (MIPI-CSIS)

</td>
</tr>
<tr>
<td>


s5p-fimc

</td>
<td>


S5P/EXYNOS4 FIMC/CAMIF camera interface

</td>
</tr>
<tr>
<td>


s5p-g2d

</td>
<td>


Samsung S5P and EXYNOS4 G2D 2d graphics accelerator

</td>
</tr>
<tr>
<td>


s5p-jpeg

</td>
<td>


Samsung S5P/Exynos3250/Exynos4 JPEG codec

</td>
</tr>
<tr>
<td>


s5p-mfc

</td>
<td>


Samsung S5P MFC Video Codec

</td>
</tr>
<tr>
<td>


sh_veu

</td>
<td>


SuperH VEU mem2mem video processing

</td>
</tr>
<tr>
<td>


sh_vou

</td>
<td>


SuperH VOU video output

</td>
</tr>
<tr>
<td>


stm32-dcmi

</td>
<td>


STM32 Digital Camera Memory Interface (DCMI)

</td>
</tr>
<tr>
<td>


stm32-dma2d

</td>
<td>


STM32 Chrom-Art Accelerator Unit

</td>
</tr>
<tr>
<td>


sun4i-csi

</td>
<td>


Allwinner A10 CMOS Sensor Interface Support

</td>
</tr>
<tr>
<td>


sun6i-csi

</td>
<td>


Allwinner V3s Camera Sensor Interface

</td>
</tr>
<tr>
<td>


sun8i-di

</td>
<td>


Allwinner Deinterlace

</td>
</tr>
<tr>
<td>


sun8i-rotate

</td>
<td>


Allwinner DE2 rotation

</td>
</tr>
<tr>
<td>


ti-cal

</td>
<td>


TI Memory-to-memory multimedia devices

</td>
</tr>
<tr>
<td>


ti-csc

</td>
<td>


TI DVB platform devices

</td>
</tr>
<tr>
<td>


ti-vpe

</td>
<td>


TI VPE (Video Processing Engine)

</td>
</tr>
<tr>
<td>


venus-enc

</td>
<td>


Qualcomm Venus V4L2 encoder/decoder

</td>
</tr>
<tr>
<td>


via-camera

</td>
<td>


VIAFB camera controller

</td>
</tr>
<tr>
<td>


video-mux

</td>
<td>


Video Multiplexer

</td>
</tr>
<tr>
<td>


vpif_display

</td>
<td>


TI DaVinci VPIF V4L2-Display

</td>
</tr>
<tr>
<td>


vpif_capture

</td>
<td>


TI DaVinci VPIF video capture

</td>
</tr>
<tr>
<td>


vsp1

</td>
<td>


Renesas VSP1 Video Processing Engine

</td>
</tr>
<tr>
<td>


xilinx-tpg

</td>
<td>


Xilinx Video Test Pattern Generator

</td>
</tr>
<tr>
<td>


xilinx-video

</td>
<td>


Xilinx Video IP (EXPERIMENTAL)

</td>
</tr>
<tr>
<td>


xilinx-vtc

</td>
<td>


Xilinx Video Timing Controller

</td>
</tr>
</tbody>
</table>

<a id="rst-mmc-sdio-dvb-adapters"></a>

## MMC/SDIO DVB adapters


<table>
<thead>
<tr>
<th>


Driver

</th>
<th>


Name

</th>
</tr>
</thead>
<tbody>
<tr>
<td>


smssdio

</td>
<td>


Siano SMS1xxx based MDTV via SDIO interface

</td>
</tr>
</tbody>
</table>

---

# Qualcomm Camera Subsystem driver

_Peios Kernel / Administration / System administration / Media devices_

> This file documents the Qualcomm Camera Subsystem driver located under drivers/media/platform/qcom/camss.

<a id="rst-qualcomm-camera-subsystem-driver"></a>

<!-- SPDX-License-Identifier: GPL-2.0 -->

<!-- This data file has been placed in the public domain. -->

<!-- Derived from the Unicode character mappings available from
<http://www.w3.org/2003/entities/xml/>.
Processed by unicode2rstsubs.py, part of Docutils:
<https://docutils.sourceforge.io>. -->

<a id="rst-introduction"></a>

## Introduction

This file documents the Qualcomm Camera Subsystem driver located under drivers/media/platform/qcom/camss.

The current version of the driver supports the Camera Subsystem found on Qualcomm MSM8916/APQ8016 and MSM8996/APQ8096 processors.

The driver implements V4L2, Media controller and V4L2 subdev interfaces. Camera sensor using V4L2 subdev interface in the kernel is supported.

The driver is implemented using as a reference the Qualcomm Camera Subsystem driver for Android as found in Code Linaro <a id="rst-footnote-reference-1"></a>[1](#rst-f1) <a id="rst-footnote-reference-2"></a>[2](#rst-f2).

<a id="rst-qualcomm-camera-subsystem-hardware"></a>

## Qualcomm Camera Subsystem hardware

The Camera Subsystem hardware found on 8x16 / 8x96 processors and supported by the driver consists of:

- 2 / 3 CSIPHY modules. They handle the Physical layer of the CSI2 receivers. A separate camera sensor can be connected to each of the CSIPHY module;

- 2 / 4 CSID (CSI Decoder) modules. They handle the Protocol and Application layer of the CSI2 receivers. A CSID can decode data stream from any of the CSIPHY. Each CSID also contains a TG (Test Generator) block which can generate artificial input data for test purposes;

- ISPIF (ISP Interface) module. Handles the routing of the data streams from the CSIDs to the inputs of the VFE;

- 1 / 2 VFE (Video Front End) module(s). Contain a pipeline of image processing hardware blocks. The VFE has different input interfaces. The PIX (Pixel) input interface feeds the input data to the image processing pipeline. The image processing pipeline contains also a scale and crop module at the end. Three RDI (Raw Dump Interface) input interfaces bypass the image processing pipeline. The VFE also contains the AXI bus interface which writes the output data to memory.

<a id="rst-supported-functionality"></a>

## Supported functionality

The current version of the driver supports:

- Input from camera sensor via CSIPHY;

- Generation of test input data by the TG in CSID;

- RDI interface of VFE

  - Raw dump of the input data to memory.

    Supported formats:

    - YUYV/UYVY/YVYU/VYUY (packed YUV 4:2:2 - V4L2_PIX_FMT_YUYV / V4L2_PIX_FMT_UYVY / V4L2_PIX_FMT_YVYU / V4L2_PIX_FMT_VYUY);

    - MIPI RAW8 (8bit Bayer RAW - V4L2_PIX_FMT_SRGGB8 / V4L2_PIX_FMT_SGRBG8 / V4L2_PIX_FMT_SGBRG8 / V4L2_PIX_FMT_SBGGR8);

    - MIPI RAW10 (10bit packed Bayer RAW - V4L2_PIX_FMT_SBGGR10P / V4L2_PIX_FMT_SGBRG10P / V4L2_PIX_FMT_SGRBG10P / V4L2_PIX_FMT_SRGGB10P / V4L2_PIX_FMT_Y10P);

    - MIPI RAW12 (12bit packed Bayer RAW - V4L2_PIX_FMT_SRGGB12P / V4L2_PIX_FMT_SGBRG12P / V4L2_PIX_FMT_SGRBG12P / V4L2_PIX_FMT_SRGGB12P).

    - (8x96 only) MIPI RAW14 (14bit packed Bayer RAW - V4L2_PIX_FMT_SRGGB14P / V4L2_PIX_FMT_SGBRG14P / V4L2_PIX_FMT_SGRBG14P / V4L2_PIX_FMT_SRGGB14P).

  - (8x96 only) Format conversion of the input data.

    Supported input formats:

    - MIPI RAW10 (10bit packed Bayer RAW - V4L2_PIX_FMT_SBGGR10P / V4L2_PIX_FMT_Y10P).

    Supported output formats:

    - Plain16 RAW10 (10bit unpacked Bayer RAW - V4L2_PIX_FMT_SBGGR10 / V4L2_PIX_FMT_Y10).

- PIX interface of VFE

  - Format conversion of the input data.

    Supported input formats:

    - YUYV/UYVY/YVYU/VYUY (packed YUV 4:2:2 - V4L2_PIX_FMT_YUYV / V4L2_PIX_FMT_UYVY / V4L2_PIX_FMT_YVYU / V4L2_PIX_FMT_VYUY).

    Supported output formats:

    - NV12/NV21 (two plane YUV 4:2:0 - V4L2_PIX_FMT_NV12 / V4L2_PIX_FMT_NV21);

    - NV16/NV61 (two plane YUV 4:2:2 - V4L2_PIX_FMT_NV16 / V4L2_PIX_FMT_NV61).

    - (8x96 only) YUYV/UYVY/YVYU/VYUY (packed YUV 4:2:2 - V4L2_PIX_FMT_YUYV / V4L2_PIX_FMT_UYVY / V4L2_PIX_FMT_YVYU / V4L2_PIX_FMT_VYUY).

  - Scaling support. Configuration of the VFE Encoder Scale module for downscalling with ratio up to 16x.

  - Cropping support. Configuration of the VFE Encoder Crop module.

- Concurrent and independent usage of two (8x96: three) data inputs - could be camera sensors and/or TG.

<a id="rst-driver-architecture-and-design"></a>

## Driver Architecture and Design

The driver implements the V4L2 subdev interface. With the goal to model the hardware links between the modules and to expose a clean, logical and usable interface, the driver is split into V4L2 sub-devices as follows (8x16 / 8x96):

- 2 / 3 CSIPHY sub-devices - each CSIPHY is represented by a single sub-device;

- 2 / 4 CSID sub-devices - each CSID is represented by a single sub-device;

- 2 / 4 ISPIF sub-devices - ISPIF is represented by a number of sub-devices equal to the number of CSID sub-devices;

- 4 / 8 VFE sub-devices - VFE is represented by a number of sub-devices equal to the number of the input interfaces (3 RDI and 1 PIX for each VFE).

The considerations to split the driver in this particular way are as follows:

- representing CSIPHY and CSID modules by a separate sub-device for each module allows to model the hardware links between these modules;

- representing VFE by a separate sub-devices for each input interface allows to use the input interfaces concurrently and independently as this is supported by the hardware;

- representing ISPIF by a number of sub-devices equal to the number of CSID sub-devices allows to create linear media controller pipelines when using two cameras simultaneously. This avoids branches in the pipelines which otherwise will require a) userspace and b) media framework (e.g. power on/off operations) to  make assumptions about the data flow from a sink pad to a source pad on a single media entity.

Each VFE sub-device is linked to a separate video device node.

The media controller pipeline graph is as follows (with connected two / three OV5645 camera sensors):

<a id="rst-qcom-camss-graph"></a>

```mermaid
flowchart TB
  n0["pad 0<br/>msm_csiphy0<br/>/dev/v4l-subdev0<br/>pad 1"]
  n1["pad 0<br/>msm_csid0<br/>/dev/v4l-subdev2<br/>pad 1"]
  n2["pad 0<br/>msm_csid1<br/>/dev/v4l-subdev3<br/>pad 1"]
  n3["pad 0<br/>msm_csiphy1<br/>/dev/v4l-subdev1<br/>pad 1"]
  n4["pad 0<br/>msm_ispif0<br/>/dev/v4l-subdev4<br/>pad 1"]
  n5["pad 0<br/>msm_ispif1<br/>/dev/v4l-subdev5<br/>pad 1"]
  n6["pad 0<br/>msm_vfe0_rdi0<br/>/dev/v4l-subdev6<br/>pad 1"]
  n7["pad 0<br/>msm_vfe0_rdi1<br/>/dev/v4l-subdev7<br/>pad 1"]
  n8["pad 0<br/>msm_vfe0_rdi2<br/>/dev/v4l-subdev8<br/>pad 1"]
  n9["pad 0<br/>msm_vfe0_pix<br/>/dev/v4l-subdev9<br/>pad 1"]
  n10["msm_vfe0_video0<br/>/dev/video0"]
  n11["msm_vfe0_video1<br/>/dev/video1"]
  n12["msm_vfe0_video2<br/>/dev/video2"]
  n13["msm_vfe0_video3<br/>/dev/video3"]
  n14["ov5645 1-0076<br/>/dev/v4l-subdev10<br/>pad 0"]
  n15["ov5645 1-0074<br/>/dev/v4l-subdev11<br/>pad 0"]
  n0 -->|"pad 1 → pad 0"| n1
  n0 -->|"pad 1 → pad 0"| n2
  n3 -->|"pad 1 → pad 0"| n1
  n3 -->|"pad 1 → pad 0"| n2
  n1 -->|"pad 1 → pad 0"| n4
  n1 -->|"pad 1 → pad 0"| n5
  n2 -->|"pad 1 → pad 0"| n4
  n2 -->|"pad 1 → pad 0"| n5
  n4 -->|"pad 1 → pad 0"| n6
  n4 -->|"pad 1 → pad 0"| n7
  n4 -->|"pad 1 → pad 0"| n8
  n4 -->|"pad 1 → pad 0"| n9
  n5 -->|"pad 1 → pad 0"| n6
  n5 -->|"pad 1 → pad 0"| n7
  n5 -->|"pad 1 → pad 0"| n8
  n5 -->|"pad 1 → pad 0"| n9
  n6 -->|"from pad 1"| n10
  n7 -->|"from pad 1"| n11
  n8 -->|"from pad 1"| n12
  n9 -->|"from pad 1"| n13
  n14 -->|"pad 0 → pad 0"| n0
  n15 -->|"pad 0 → pad 0"| n3
  style n0 fill:green,color:#111
  style n1 fill:green,color:#111
  style n2 fill:green,color:#111
  style n3 fill:green,color:#111
  style n4 fill:green,color:#111
  style n5 fill:green,color:#111
  style n6 fill:green,color:#111
  style n7 fill:green,color:#111
  style n8 fill:green,color:#111
  style n9 fill:green,color:#111
  style n10 fill:yellow,color:#111
  style n11 fill:yellow,color:#111
  style n12 fill:yellow,color:#111
  style n13 fill:yellow,color:#111
  style n14 fill:green,color:#111
  style n15 fill:green,color:#111
  linkStyle 0 stroke-dasharray:6 4
  linkStyle 1 stroke-dasharray:6 4
  linkStyle 2 stroke-dasharray:6 4
  linkStyle 3 stroke-dasharray:6 4
  linkStyle 4 stroke-dasharray:6 4
  linkStyle 5 stroke-dasharray:6 4
  linkStyle 6 stroke-dasharray:6 4
  linkStyle 7 stroke-dasharray:6 4
  linkStyle 8 stroke-dasharray:6 4
  linkStyle 9 stroke-dasharray:6 4
  linkStyle 10 stroke-dasharray:6 4
  linkStyle 11 stroke-dasharray:6 4
  linkStyle 12 stroke-dasharray:6 4
  linkStyle 13 stroke-dasharray:6 4
  linkStyle 14 stroke-dasharray:6 4
  linkStyle 15 stroke-dasharray:6 4
  linkStyle 16 stroke-width:3px
  linkStyle 17 stroke-width:3px
  linkStyle 18 stroke-width:3px
  linkStyle 19 stroke-width:3px
  linkStyle 20 stroke-width:3px
  linkStyle 21 stroke-width:3px
```

qcom_camss_graph.dot

Media pipeline graph 8x16

```mermaid
flowchart TB
  n0["pad 0<br/>msm_csiphy0<br/>/dev/v4l-subdev0<br/>pad 1"]
  n1["pad 0<br/>msm_csid0<br/>/dev/v4l-subdev3<br/>pad 1"]
  n2["pad 0<br/>msm_csid1<br/>/dev/v4l-subdev4<br/>pad 1"]
  n3["pad 0<br/>msm_csid2<br/>/dev/v4l-subdev5<br/>pad 1"]
  n4["pad 0<br/>msm_csid3<br/>/dev/v4l-subdev6<br/>pad 1"]
  n5["pad 0<br/>msm_csiphy1<br/>/dev/v4l-subdev1<br/>pad 1"]
  n6["pad 0<br/>msm_csiphy2<br/>/dev/v4l-subdev2<br/>pad 1"]
  n7["pad 0<br/>msm_ispif0<br/>/dev/v4l-subdev7<br/>pad 1"]
  n8["pad 0<br/>msm_ispif1<br/>/dev/v4l-subdev8<br/>pad 1"]
  n9["pad 0<br/>msm_ispif2<br/>/dev/v4l-subdev9<br/>pad 1"]
  n10["pad 0<br/>msm_ispif3<br/>/dev/v4l-subdev10<br/>pad 1"]
  n11["pad 0<br/>msm_vfe0_rdi0<br/>/dev/v4l-subdev11<br/>pad 1"]
  n12["pad 0<br/>msm_vfe0_rdi1<br/>/dev/v4l-subdev12<br/>pad 1"]
  n13["pad 0<br/>msm_vfe0_rdi2<br/>/dev/v4l-subdev13<br/>pad 1"]
  n14["pad 0<br/>msm_vfe0_pix<br/>/dev/v4l-subdev14<br/>pad 1"]
  n15["pad 0<br/>msm_vfe1_rdi0<br/>/dev/v4l-subdev15<br/>pad 1"]
  n16["pad 0<br/>msm_vfe1_rdi1<br/>/dev/v4l-subdev16<br/>pad 1"]
  n17["pad 0<br/>msm_vfe1_rdi2<br/>/dev/v4l-subdev17<br/>pad 1"]
  n18["pad 0<br/>msm_vfe1_pix<br/>/dev/v4l-subdev18<br/>pad 1"]
  n19["msm_vfe0_video0<br/>/dev/video0"]
  n20["msm_vfe0_video1<br/>/dev/video1"]
  n21["msm_vfe0_video2<br/>/dev/video2"]
  n22["msm_vfe0_video3<br/>/dev/video3"]
  n23["msm_vfe1_video0<br/>/dev/video4"]
  n24["msm_vfe1_video1<br/>/dev/video5"]
  n25["msm_vfe1_video2<br/>/dev/video6"]
  n26["msm_vfe1_video3<br/>/dev/video7"]
  n27["ov5645 3-0039<br/>/dev/v4l-subdev19<br/>pad 0"]
  n28["ov5645 3-003a<br/>/dev/v4l-subdev20<br/>pad 0"]
  n29["ov5645 3-003b<br/>/dev/v4l-subdev21<br/>pad 0"]
  n0 -->|"pad 1 → pad 0"| n1
  n0 -->|"pad 1 → pad 0"| n2
  n0 -->|"pad 1 → pad 0"| n3
  n0 -->|"pad 1 → pad 0"| n4
  n5 -->|"pad 1 → pad 0"| n1
  n5 -->|"pad 1 → pad 0"| n2
  n5 -->|"pad 1 → pad 0"| n3
  n5 -->|"pad 1 → pad 0"| n4
  n6 -->|"pad 1 → pad 0"| n1
  n6 -->|"pad 1 → pad 0"| n2
  n6 -->|"pad 1 → pad 0"| n3
  n6 -->|"pad 1 → pad 0"| n4
  n1 -->|"pad 1 → pad 0"| n7
  n1 -->|"pad 1 → pad 0"| n8
  n1 -->|"pad 1 → pad 0"| n9
  n1 -->|"pad 1 → pad 0"| n10
  n2 -->|"pad 1 → pad 0"| n7
  n2 -->|"pad 1 → pad 0"| n8
  n2 -->|"pad 1 → pad 0"| n9
  n2 -->|"pad 1 → pad 0"| n10
  n3 -->|"pad 1 → pad 0"| n7
  n3 -->|"pad 1 → pad 0"| n8
  n3 -->|"pad 1 → pad 0"| n9
  n3 -->|"pad 1 → pad 0"| n10
  n4 -->|"pad 1 → pad 0"| n7
  n4 -->|"pad 1 → pad 0"| n8
  n4 -->|"pad 1 → pad 0"| n9
  n4 -->|"pad 1 → pad 0"| n10
  n7 -->|"pad 1 → pad 0"| n11
  n7 -->|"pad 1 → pad 0"| n12
  n7 -->|"pad 1 → pad 0"| n13
  n7 -->|"pad 1 → pad 0"| n14
  n7 -->|"pad 1 → pad 0"| n15
  n7 -->|"pad 1 → pad 0"| n16
  n7 -->|"pad 1 → pad 0"| n17
  n7 -->|"pad 1 → pad 0"| n18
  n8 -->|"pad 1 → pad 0"| n11
  n8 -->|"pad 1 → pad 0"| n12
  n8 -->|"pad 1 → pad 0"| n13
  n8 -->|"pad 1 → pad 0"| n14
  n8 -->|"pad 1 → pad 0"| n15
  n8 -->|"pad 1 → pad 0"| n16
  n8 -->|"pad 1 → pad 0"| n17
  n8 -->|"pad 1 → pad 0"| n18
  n9 -->|"pad 1 → pad 0"| n11
  n9 -->|"pad 1 → pad 0"| n12
  n9 -->|"pad 1 → pad 0"| n13
  n9 -->|"pad 1 → pad 0"| n14
  n9 -->|"pad 1 → pad 0"| n15
  n9 -->|"pad 1 → pad 0"| n16
  n9 -->|"pad 1 → pad 0"| n17
  n9 -->|"pad 1 → pad 0"| n18
  n10 -->|"pad 1 → pad 0"| n11
  n10 -->|"pad 1 → pad 0"| n12
  n10 -->|"pad 1 → pad 0"| n13
  n10 -->|"pad 1 → pad 0"| n14
  n10 -->|"pad 1 → pad 0"| n15
  n10 -->|"pad 1 → pad 0"| n16
  n10 -->|"pad 1 → pad 0"| n17
  n10 -->|"pad 1 → pad 0"| n18
  n11 -->|"from pad 1"| n19
  n12 -->|"from pad 1"| n20
  n13 -->|"from pad 1"| n21
  n14 -->|"from pad 1"| n22
  n15 -->|"from pad 1"| n23
  n16 -->|"from pad 1"| n24
  n17 -->|"from pad 1"| n25
  n18 -->|"from pad 1"| n26
  n27 -->|"pad 0 → pad 0"| n5
  n28 -->|"pad 0 → pad 0"| n6
  n29 -->|"pad 0 → pad 0"| n0
  style n0 fill:green,color:#111
  style n1 fill:green,color:#111
  style n2 fill:green,color:#111
  style n3 fill:green,color:#111
  style n4 fill:green,color:#111
  style n5 fill:green,color:#111
  style n6 fill:green,color:#111
  style n7 fill:green,color:#111
  style n8 fill:green,color:#111
  style n9 fill:green,color:#111
  style n10 fill:green,color:#111
  style n11 fill:green,color:#111
  style n12 fill:green,color:#111
  style n13 fill:green,color:#111
  style n14 fill:green,color:#111
  style n15 fill:green,color:#111
  style n16 fill:green,color:#111
  style n17 fill:green,color:#111
  style n18 fill:green,color:#111
  style n19 fill:yellow,color:#111
  style n20 fill:yellow,color:#111
  style n21 fill:yellow,color:#111
  style n22 fill:yellow,color:#111
  style n23 fill:yellow,color:#111
  style n24 fill:yellow,color:#111
  style n25 fill:yellow,color:#111
  style n26 fill:yellow,color:#111
  style n27 fill:green,color:#111
  style n28 fill:green,color:#111
  style n29 fill:green,color:#111
  linkStyle 0 stroke-dasharray:6 4
  linkStyle 1 stroke-dasharray:6 4
  linkStyle 2 stroke-dasharray:6 4
  linkStyle 3 stroke-dasharray:6 4
  linkStyle 4 stroke-dasharray:6 4
  linkStyle 5 stroke-dasharray:6 4
  linkStyle 6 stroke-dasharray:6 4
  linkStyle 7 stroke-dasharray:6 4
  linkStyle 8 stroke-dasharray:6 4
  linkStyle 9 stroke-dasharray:6 4
  linkStyle 10 stroke-dasharray:6 4
  linkStyle 11 stroke-dasharray:6 4
  linkStyle 12 stroke-dasharray:6 4
  linkStyle 13 stroke-dasharray:6 4
  linkStyle 14 stroke-dasharray:6 4
  linkStyle 15 stroke-dasharray:6 4
  linkStyle 16 stroke-dasharray:6 4
  linkStyle 17 stroke-dasharray:6 4
  linkStyle 18 stroke-dasharray:6 4
  linkStyle 19 stroke-dasharray:6 4
  linkStyle 20 stroke-dasharray:6 4
  linkStyle 21 stroke-dasharray:6 4
  linkStyle 22 stroke-dasharray:6 4
  linkStyle 23 stroke-dasharray:6 4
  linkStyle 24 stroke-dasharray:6 4
  linkStyle 25 stroke-dasharray:6 4
  linkStyle 26 stroke-dasharray:6 4
  linkStyle 27 stroke-dasharray:6 4
  linkStyle 28 stroke-dasharray:6 4
  linkStyle 29 stroke-dasharray:6 4
  linkStyle 30 stroke-dasharray:6 4
  linkStyle 31 stroke-dasharray:6 4
  linkStyle 32 stroke-dasharray:6 4
  linkStyle 33 stroke-dasharray:6 4
  linkStyle 34 stroke-dasharray:6 4
  linkStyle 35 stroke-dasharray:6 4
  linkStyle 36 stroke-dasharray:6 4
  linkStyle 37 stroke-dasharray:6 4
  linkStyle 38 stroke-dasharray:6 4
  linkStyle 39 stroke-dasharray:6 4
  linkStyle 40 stroke-dasharray:6 4
  linkStyle 41 stroke-dasharray:6 4
  linkStyle 42 stroke-dasharray:6 4
  linkStyle 43 stroke-dasharray:6 4
  linkStyle 44 stroke-dasharray:6 4
  linkStyle 45 stroke-dasharray:6 4
  linkStyle 46 stroke-dasharray:6 4
  linkStyle 47 stroke-dasharray:6 4
  linkStyle 48 stroke-dasharray:6 4
  linkStyle 49 stroke-dasharray:6 4
  linkStyle 50 stroke-dasharray:6 4
  linkStyle 51 stroke-dasharray:6 4
  linkStyle 52 stroke-dasharray:6 4
  linkStyle 53 stroke-dasharray:6 4
  linkStyle 54 stroke-dasharray:6 4
  linkStyle 55 stroke-dasharray:6 4
  linkStyle 56 stroke-dasharray:6 4
  linkStyle 57 stroke-dasharray:6 4
  linkStyle 58 stroke-dasharray:6 4
  linkStyle 59 stroke-dasharray:6 4
  linkStyle 60 stroke-width:3px
  linkStyle 61 stroke-width:3px
  linkStyle 62 stroke-width:3px
  linkStyle 63 stroke-width:3px
  linkStyle 64 stroke-width:3px
  linkStyle 65 stroke-width:3px
  linkStyle 66 stroke-width:3px
  linkStyle 67 stroke-width:3px
  linkStyle 68 stroke-width:3px
  linkStyle 69 stroke-width:3px
  linkStyle 70 stroke-width:3px
```

qcom_camss_8x96_graph.dot

Media pipeline graph 8x96

<a id="rst-implementation"></a>

## Implementation

Runtime configuration of the hardware (updating settings while streaming) is not required to implement the currently supported functionality. The complete configuration on each hardware module is applied on STREAMON ioctl based on the current active media links, formats and controls set.

The output size of the scaler module in the VFE is configured with the actual compose selection rectangle on the sink pad of the 'msm_vfe0_pix' entity.

The crop output area of the crop module in the VFE is configured with the actual crop selection rectangle on the source pad of the 'msm_vfe0_pix' entity.

<a id="rst-documentation"></a>

## Documentation

APQ8016 Specification: [https://developer.qualcomm.com/download/sd410/snapdragon-410-processor-device-specification.pdf](<https://developer.qualcomm.com/download/sd410/snapdragon-410-processor-device-specification.pdf>) Referenced 2016-11-24.

APQ8096 Specification: [https://developer.qualcomm.com/download/sd820e/qualcomm-snapdragon-820e-processor-apq8096sge-device-specification.pdf](<https://developer.qualcomm.com/download/sd820e/qualcomm-snapdragon-820e-processor-apq8096sge-device-specification.pdf>) Referenced 2018-06-22.

<a id="rst-references"></a>

## References

<a id="rst-f1"></a>



**[1]** [https://git.codelinaro.org/clo/la/kernel/msm-3.10/](<https://git.codelinaro.org/clo/la/kernel/msm-3.10/>)

<a id="rst-f2"></a>



**[2]** [https://git.codelinaro.org/clo/la/kernel/msm-3.18/](<https://git.codelinaro.org/clo/la/kernel/msm-3.18/>)

---

# Radio drivers

_Peios Kernel / Administration / System administration / Media devices_

> There is also support for pure AM/FM radio, and even for some FM radio transmitters:

<a id="rst-radio-drivers"></a>

<!-- SPDX-License-Identifier: GPL-2.0 -->

There is also support for pure AM/FM radio, and even for some FM radio transmitters:


<table>
<thead>
<tr>
<th>


Driver

</th>
<th>


Name

</th>
</tr>
</thead>
<tbody>
<tr>
<td>


si4713

</td>
<td>


Silicon Labs Si4713 FM Radio Transmitter

</td>
</tr>
<tr>
<td>


radio-aztech

</td>
<td>


Aztech/Packard Bell Radio

</td>
</tr>
<tr>
<td>


radio-cadet

</td>
<td>


ADS Cadet AM/FM Tuner

</td>
</tr>
<tr>
<td>


radio-gemtek

</td>
<td>


GemTek Radio card (or compatible)

</td>
</tr>
<tr>
<td>


radio-maxiradio

</td>
<td>


Guillemot MAXI Radio FM 2000 radio

</td>
</tr>
<tr>
<td>


radio-miropcm20

</td>
<td>


miroSOUND PCM20 radio

</td>
</tr>
<tr>
<td>


radio-aimslab

</td>
<td>


AIMSlab RadioTrack (aka RadioReveal)

</td>
</tr>
<tr>
<td>


radio-rtrack2

</td>
<td>


AIMSlab RadioTrack II

</td>
</tr>
<tr>
<td>


saa7706h

</td>
<td>


SAA7706H Car Radio DSP

</td>
</tr>
<tr>
<td>


radio-sf16fmi

</td>
<td>


SF16-FMI/SF16-FMP/SF16-FMD Radio

</td>
</tr>
<tr>
<td>


radio-sf16fmr2

</td>
<td>


SF16-FMR2/SF16-FMD2 Radio

</td>
</tr>
<tr>
<td>


radio-shark

</td>
<td>


Griffin radioSHARK USB radio receiver

</td>
</tr>
<tr>
<td>


shark2

</td>
<td>


Griffin radioSHARK2 USB radio receiver

</td>
</tr>
<tr>
<td>


radio-si470x-common

</td>
<td>


Silicon Labs Si470x FM Radio Receiver

</td>
</tr>
<tr>
<td>


radio-si476x

</td>
<td>


Silicon Laboratories Si476x I2C FM Radio

</td>
</tr>
<tr>
<td>


radio-tea5764

</td>
<td>


TEA5764 I2C FM radio

</td>
</tr>
<tr>
<td>


tef6862

</td>
<td>


TEF6862 Car Radio Enhanced Selectivity Tuner

</td>
</tr>
<tr>
<td>


radio-terratec

</td>
<td>


TerraTec ActiveRadio ISA Standalone

</td>
</tr>
<tr>
<td>


radio-timb

</td>
<td>


Enable the Timberdale radio driver

</td>
</tr>
<tr>
<td>


radio-trust

</td>
<td>


Trust FM radio card

</td>
</tr>
<tr>
<td>


radio-typhoon

</td>
<td>


Typhoon Radio (a.k.a. EcoRadio)

</td>
</tr>
<tr>
<td>


fm_drv

</td>
<td>


ISA radio devices

</td>
</tr>
<tr>
<td>


fm_drv

</td>
<td>


ISA radio devices

</td>
</tr>
<tr>
<td>


radio-zoltrix

</td>
<td>


Zoltrix Radio

</td>
</tr>
<tr>
<td>


dsbr100

</td>
<td>


D-Link/GemTek USB FM radio

</td>
</tr>
<tr>
<td>


radio-keene

</td>
<td>


Keene FM Transmitter USB

</td>
</tr>
<tr>
<td>


radio-ma901

</td>
<td>


Masterkit MA901 USB FM radio

</td>
</tr>
<tr>
<td>


radio-mr800

</td>
<td>


AverMedia MR 800 USB FM radio

</td>
</tr>
<tr>
<td>


radio-raremono

</td>
<td>


Thanko's Raremono AM/FM/SW radio

</td>
</tr>
<tr>
<td>


radio-si470x-usb

</td>
<td>


Silicon Labs Si470x FM Radio Receiver support with USB

</td>
</tr>
<tr>
<td>


radio-usb-si4713

</td>
<td>


Silicon Labs Si4713 FM Radio Transmitter support with USB

</td>
</tr>
</tbody>
</table>

---

# Raspberry Pi PiSP Back End Memory-to-Memory ISP (pisp-be)

_Peios Kernel / Administration / System administration / Media devices_

> The PiSP Back End is a memory-to-memory Image Signal Processor (ISP) which reads image data from DRAM memory and performs image processing as specified by the application through the parameters in a configuration buffer, before writing…

<a id="rst-raspberry-pi-pisp-back-end-memory-to-memory-isp-pisp-be"></a>

<!-- SPDX-License-Identifier: GPL-2.0 -->

<a id="rst-the-pisp-back-end"></a>

## The PiSP Back End

The PiSP Back End is a memory-to-memory Image Signal Processor (ISP) which reads image data from DRAM memory and performs image processing as specified by the application through the parameters in a configuration buffer, before writing pixel data back to memory through two distinct output channels.

The ISP registers and programming model are documented in the [Raspberry Pi Image Signal Processor (PiSP) Specification document](<https://datasheets.raspberrypi.com/camera/raspberry-pi-image-signal-processor-specification.pdf>)

The PiSP Back End ISP processes images in tiles. The handling of image tessellation and the computation of low-level configuration parameters is realized by a free software library called [libpisp](<https://github.com/raspberrypi/libpisp>)<a id="rst-libpisp"></a>.

The full image processing pipeline, which involves capturing RAW Bayer data from an image sensor through a MIPI CSI-2 compatible capture interface, storing them in DRAM memory and processing them in the PiSP Back End to obtain images usable by an application is implemented in [libcamera](<https://libcamera.org>)<a id="rst-libcamera"></a> as part of the Raspberry Pi platform support.

<a id="rst-the-pisp-be-driver"></a>

## The pisp-be driver

The Raspberry Pi PiSP Back End (pisp-be) driver is located under drivers/media/platform/raspberrypi/pisp-be. It uses the `V4L2 API` to register a number of video capture and output devices, the `V4L2 subdev API` to register a subdevice for the ISP that connects the video devices in a single media graph realized using the `Media Controller (MC) API`.

The media topology registered by the `pisp-be` driver is represented below:

<a id="rst-pips-be-topology"></a>

```mermaid
flowchart TB
  n0["pad 0<br/>pad 1<br/>pad 2<br/>pad 7<br/>pispbe<br/>pad 3<br/>pad 4<br/>pad 5<br/>pad 6"]
  n1["pispbe-output0<br/>/dev/video3"]
  n2["pispbe-output1<br/>/dev/video4"]
  n3["pispbe-tdn_output<br/>/dev/video5"]
  n4["pispbe-stitch_output<br/>/dev/video6"]
  n5["pispbe-input<br/>/dev/video0"]
  n6["pispbe-tdn_input<br/>/dev/video1"]
  n7["pispbe-stitch_input<br/>/dev/video2"]
  n8["pispbe-config<br/>/dev/video7"]
  n0 -->|"from pad 3"| n1
  n0 -->|"from pad 4"| n2
  n0 -->|"from pad 5"| n3
  n0 -->|"from pad 6"| n4
  n5 -->|"to pad 0"| n0
  n6 -->|"to pad 1"| n0
  n7 -->|"to pad 2"| n0
  n8 -->|"to pad 7"| n0
  style n0 fill:green,color:#111
  style n1 fill:yellow,color:#111
  style n2 fill:yellow,color:#111
  style n3 fill:yellow,color:#111
  style n4 fill:yellow,color:#111
  style n5 fill:yellow,color:#111
  style n6 fill:yellow,color:#111
  style n7 fill:yellow,color:#111
  style n8 fill:yellow,color:#111
  linkStyle 0 stroke-width:3px
  linkStyle 1 stroke-width:3px
  linkStyle 2 stroke-width:3px
  linkStyle 3 stroke-width:3px
  linkStyle 4 stroke-width:3px
  linkStyle 5 stroke-width:3px
  linkStyle 6 stroke-width:3px
  linkStyle 7 stroke-width:3px
```

Diagram of the default media pipeline topology

The media graph registers the following video device nodes:

- pispbe-input: output device for images to be submitted to the ISP for processing.

- pispbe-tdn_input: output device for temporal denoise.

- pispbe-stitch_input: output device for image stitching (HDR).

- pispbe-output0: first capture device for processed images.

- pispbe-output1: second capture device for processed images.

- pispbe-tdn_output: capture device for temporal denoise.

- pispbe-stitch_output: capture device for image stitching (HDR).

- pispbe-config: output device for ISP configuration parameters.

<a id="rst-pispbe-input"></a>

### pispbe-input

Images to be processed by the ISP are queued to the `pispbe-input` output device node. For a list of image formats supported as input to the ISP refer to the [Raspberry Pi Image Signal Processor (PiSP) Specification document](<https://datasheets.raspberrypi.com/camera/raspberry-pi-image-signal-processor-specification.pdf>).

<a id="rst-pispbe-tdn-input-pispbe-tdn-output"></a>

### pispbe-tdn_input, pispbe-tdn_output

The `pispbe-tdn_input` output video device receives images to be processed by the temporal denoise block which are captured from the `pispbe-tdn_output` capture video device. Userspace is responsible for maintaining queues on both devices, and ensuring that buffers completed on the output are queued to the input.

<a id="rst-pispbe-stitch-input-pispbe-stitch-output"></a>

### pispbe-stitch_input, pispbe-stitch_output

To realize HDR (high dynamic range) image processing the image stitching and tonemapping blocks are used. The `pispbe-stitch_output` writes images to memory and the `pispbe-stitch_input` receives the previously written frame to process it along with the current input image. Userspace is responsible for maintaining queues on both devices, and ensuring that buffers completed on the output are queued to the input.

<a id="rst-pispbe-output0-pispbe-output1"></a>

### pispbe-output0, pispbe-output1

The two capture devices write to memory the pixel data as processed by the ISP.

<a id="rst-pispbe-config"></a>

### pispbe-config

The `pispbe-config` output video devices receives a buffer of configuration parameters that define the desired image processing to be performed by the ISP.

The format of the ISP configuration parameter is defined by `pisp_be_tiles_config` C structure and the meaning of each parameter is described in the [Raspberry Pi Image Signal Processor (PiSP) Specification document](<https://datasheets.raspberrypi.com/camera/raspberry-pi-image-signal-processor-specification.pdf>).

<a id="rst-isp-configuration"></a>

## ISP configuration

The ISP configuration is described solely by the content of the parameters buffer. The only parameter that userspace needs to configure using the V4L2 API is the image format on the output and capture video devices for validation of the content of the parameters buffer.

<a id="rst-raspberry-pi-image-signal-processor-pisp-specification-document"></a>

---

# Raspberry Pi PiSP Camera Front End (rp1-cfe)

_Peios Kernel / Administration / System administration / Media devices_

> The PiSP Camera Front End (CFE) is a module which combines a CSI-2 receiver with a simple ISP, called the Front End (FE).

<a id="rst-raspberry-pi-pisp-camera-front-end-rp1-cfe"></a>

<!-- SPDX-License-Identifier: GPL-2.0 -->

<a id="rst-the-pisp-camera-front-end"></a>

## The PiSP Camera Front End

The PiSP Camera Front End (CFE) is a module which combines a CSI-2 receiver with a simple ISP, called the Front End (FE).

The CFE has four DMA engines and can write frames from four separate streams received from the CSI-2 to the memory. One of those streams can also be routed directly to the FE, which can do minimal image processing, write two versions (e.g. non-scaled and downscaled versions) of the received frames to memory and provide statistics of the received frames.

The FE registers are documented in the [Raspberry Pi Image Signal Processor (ISP) Specification document](<https://datasheets.raspberrypi.com/camera/raspberry-pi-image-signal-processor-specification.pdf>)<a id="rst-raspberry-pi-image-signal-processor-isp-specification-document"></a>, and example code for FE can be found in [libpisp](<https://github.com/raspberrypi/libpisp>)<a id="rst-libpisp"></a>.

<a id="rst-the-rp1-cfe-driver"></a>

## The rp1-cfe driver

The Raspberry Pi PiSP Camera Front End (rp1-cfe) driver is located under drivers/media/platform/raspberrypi/rp1-cfe. It uses the `V4L2 API` to register a number of video capture and output devices, the `V4L2 subdev API` to register subdevices for the CSI-2 received and the FE that connects the video devices in a single media graph realized using the `Media Controller (MC) API`.

The media topology registered by the `rp1-cfe` driver, in this particular example connected to an imx219 sensor, is the following one:

<a id="rst-rp1-cfe-topology"></a>

```mermaid
flowchart TB
  n0["pad 0<br/>csi2<br/>/dev/v4l-subdev0<br/>pad 1<br/>pad 2<br/>pad 3<br/>pad 4"]
  n1["rp1-cfe-csi2-ch0<br/>/dev/video0"]
  n2["pad 0<br/>pad 1<br/>pisp-fe<br/>/dev/v4l-subdev1<br/>pad 2<br/>pad 3<br/>pad 4"]
  n3["rp1-cfe-csi2-ch1<br/>/dev/video1"]
  n4["rp1-cfe-csi2-ch2<br/>/dev/video2"]
  n5["rp1-cfe-csi2-ch3<br/>/dev/video3"]
  n6["rp1-cfe-fe-image0<br/>/dev/video4"]
  n7["rp1-cfe-fe-image1<br/>/dev/video5"]
  n8["rp1-cfe-fe-stats<br/>/dev/video6"]
  n9["imx219 6-0010<br/>/dev/v4l-subdev2<br/>pad 0"]
  n10["rp1-cfe-fe-config<br/>/dev/video7"]
  n0 -->|"from pad 1"| n1
  n0 -->|"pad 1 → pad 0"| n2
  n0 -->|"from pad 2"| n3
  n0 -->|"pad 2 → pad 0"| n2
  n0 -->|"from pad 3"| n4
  n0 -->|"pad 3 → pad 0"| n2
  n0 -->|"from pad 4"| n5
  n0 -->|"pad 4 → pad 0"| n2
  n2 -->|"from pad 2"| n6
  n2 -->|"from pad 3"| n7
  n2 -->|"from pad 4"| n8
  n9 -->|"pad 0 → pad 0"| n0
  n10 -->|"to pad 1"| n2
  style n0 fill:green,color:#111
  style n1 fill:yellow,color:#111
  style n2 fill:green,color:#111
  style n3 fill:yellow,color:#111
  style n4 fill:yellow,color:#111
  style n5 fill:yellow,color:#111
  style n6 fill:yellow,color:#111
  style n7 fill:yellow,color:#111
  style n8 fill:yellow,color:#111
  style n9 fill:green,color:#111
  style n10 fill:yellow,color:#111
  linkStyle 0 stroke-dasharray:6 4
  linkStyle 3 stroke-dasharray:6 4
  linkStyle 4 stroke-dasharray:6 4
  linkStyle 5 stroke-dasharray:6 4
  linkStyle 6 stroke-dasharray:6 4
  linkStyle 7 stroke-dasharray:6 4
  linkStyle 9 stroke-dasharray:6 4
  linkStyle 11 stroke-width:3px
```

Diagram of an example media pipeline topology

The media graph contains the following video device nodes:

- rp1-cfe-csi2-ch0: capture device for the first CSI-2 stream

- rp1-cfe-csi2-ch1: capture device for the second CSI-2 stream

- rp1-cfe-csi2-ch2: capture device for the third CSI-2 stream

- rp1-cfe-csi2-ch3: capture device for the fourth CSI-2 stream

- rp1-cfe-fe-image0: capture device for the first FE output

- rp1-cfe-fe-image1: capture device for the second FE output

- rp1-cfe-fe-stats: capture device for the FE statistics

- rp1-cfe-fe-config: output device for FE configuration

<a id="rst-rp1-cfe-csi2-chx"></a>

### rp1-cfe-csi2-chX

The rp1-cfe-csi2-chX capture devices are normal V4L2 capture devices which can be used to capture video frames or metadata received from the CSI-2.

<a id="rst-rp1-cfe-fe-image0-rp1-cfe-fe-image1"></a>

### rp1-cfe-fe-image0, rp1-cfe-fe-image1

The rp1-cfe-fe-image0 and rp1-cfe-fe-image1 capture devices are used to write the processed frames to memory.

<a id="rst-rp1-cfe-fe-stats"></a>

### rp1-cfe-fe-stats

The format of the FE statistics buffer is defined by `pisp_statistics` C structure and the meaning of each parameter is described in the `PiSP specification` document.

<a id="rst-rp1-cfe-fe-config"></a>

### rp1-cfe-fe-config

The format of the FE configuration buffer is defined by `pisp_fe_config` C structure and the meaning of each parameter is described in the `PiSP specification` document.

---

# Renesas R-Car Fine Display Processor (FDP1) Driver

_Peios Kernel / Administration / System administration / Media devices_

> The R-Car FDP1 driver implements driver-specific controls as follows.

<a id="rst-renesas-r-car-fine-display-processor-fdp1-driver"></a>

<!-- SPDX-License-Identifier: GPL-2.0 -->

The R-Car FDP1 driver implements driver-specific controls as follows.

- **`V4L2_CID_DEINTERLACING_MODE (menu)`**

  The video deinterlacing mode (such as Bob, Weave, ...). The R-Car FDP1 driver implements the following modes.


<table>
<tbody>
<tr>
<td>


`"Progressive" (0)`

</td>
<td>


The input image video stream is progressive (not interlaced). No deinterlacing is performed. Apart from (optional) format and encoding conversion output frames are identical to the input frames.

</td>
</tr>
<tr>
<td>


`"Adaptive 2D/3D" (1)`

</td>
<td>


Motion adaptive version of 2D and 3D deinterlacing. Use 3D deinterlacing in the presence of fast motion and 2D deinterlacing with diagonal interpolation otherwise.

</td>
</tr>
<tr>
<td>


`"Fixed 2D" (2)`

</td>
<td>


The current field is scaled vertically by averaging adjacent lines to recover missing lines. This method is also known as blending or Line Averaging (LAV).

</td>
</tr>
<tr>
<td>


`"Fixed 3D" (3)`

</td>
<td>


The previous and next fields are averaged to recover lines missing from the current field. This method is also known as Field Averaging (FAV).

</td>
</tr>
<tr>
<td>


`"Previous field" (4)`

</td>
<td>


The current field is weaved with the previous field, i.e. the previous field is used to fill missing lines from the current field. This method is also known as weave deinterlacing.

</td>
</tr>
<tr>
<td>


`"Next field" (5)`

</td>
<td>


The current field is weaved with the next field, i.e. the next field is used to fill missing lines from the current field. This method is also known as weave deinterlacing.

</td>
</tr>
</tbody>
</table>

---

# Infrared remote control support in video4linux drivers

_Peios Kernel / Administration / System administration / Media devices_

> Authors: Gerd Hoffmann, Mauro Carvalho Chehab

<a id="rst-infrared-remote-control-support-in-video4linux-drivers"></a>

<!-- SPDX-License-Identifier: GPL-2.0 -->

Authors: Gerd Hoffmann, Mauro Carvalho Chehab

<a id="rst-basics"></a>

## Basics

Most analog and digital TV boards support remote controllers. Several of them have a microprocessor that receives the IR carriers, convert into pulse/space sequences and then to scan codes, returning such codes to userspace ("scancode mode"). Other boards return just the pulse/space sequences ("raw mode").

The support for remote controller in scancode mode is provided by the standard Linux input layer. The support for raw mode is provided via LIRC.

In order to check the support and test it, it is suggested to download the [v4l-utils](<https://git.linuxtv.org/v4l-utils.git/>)<a id="rst-v4l-utils"></a>. It provides two tools to handle remote controllers:

- ir-keytable: provides a way to query the remote controller, list the protocols it supports, enable in-kernel support for IR decoder or switch the protocol and to test the reception of scan codes;

- ir-ctl: provide tools to handle remote controllers that support raw mode via LIRC interface.

Usually, the remote controller module is auto-loaded when the TV card is detected. However, for a few devices, you need to manually load the ir-kbd-i2c module.

<a id="rst-how-it-works"></a>

## How it works

The modules register the remote as keyboard within the linux input layer, i.e. you'll see the keys of the remote as normal key strokes (if CONFIG_INPUT_KEYBOARD is enabled).

Using the event devices (CONFIG_INPUT_EVDEV) it is possible for applications to access the remote via /dev/input/event&lt;n&gt; devices. The udev/systemd will automatically create the devices. If you install the [v4l-utils](<https://git.linuxtv.org/v4l-utils.git/>)<a id="rst-v4l-utils-1"></a>, it may also automatically load a different keytable than the default one. Please see [v4l-utils](<https://git.linuxtv.org/v4l-utils.git/>)<a id="rst-v4l-utils-2"></a> ir-keytable.1 man page for details.

The ir-keytable tool is nice for trouble shooting, i.e. to check whenever the input device is really present, which of the devices it is, check whenever pressing keys on the remote actually generates events and the like.  You can also use any other input utility that changes the keymaps, like the input kbd utility.

<a id="rst-using-with-lircd"></a>

### Using with lircd

The latest versions of the lircd daemon supports reading events from the linux input layer (via event device). It also supports receiving IR codes in lirc mode.

<a id="rst-using-without-lircd"></a>

### Using without lircd

Xorg recognizes several IR keycodes that have its numerical value lower than 247. With the advent of Wayland, the input driver got updated too, and should now accept all keycodes. Yet, you may want to just reassign the keycodes to something that your favorite media application likes.

This can be done by setting [v4l-utils](<https://git.linuxtv.org/v4l-utils.git/>)<a id="rst-v4l-utils-3"></a> to load your own keytable in runtime. Please read  ir-keytable.1 man page for details.

---

# Rockchip Camera Interface (CIF)

_Peios Kernel / Administration / System administration / Media devices_

> The Rockchip Camera Interface (CIF) is featured in many Rockchip SoCs in different variants. The different variants are combinations of common building blocks, such as

<a id="rst-rockchip-camera-interface-cif"></a>

<!-- SPDX-License-Identifier: GPL-2.0 -->

<a id="rst-introduction"></a>

## Introduction

The Rockchip Camera Interface (CIF) is featured in many Rockchip SoCs in different variants. The different variants are combinations of common building blocks, such as

- INTERFACE blocks of different types, namely

  - the Digital Video Port (DVP, a parallel data interface)

  - the interface block for the MIPI CSI-2 receiver

- CROP units

- MIPI CSI-2 receiver (not available on all variants): This unit is referred to as MIPI CSI HOST in the Rockchip documentation. Technically, it is a separate hardware block, but it is strongly coupled to the CIF and therefore included here.

- MUX units (not available on all variants) that pass the video data to an image signal processor (ISP)

- SCALE units (not available on all variants)

- DMA engines that transfer video data into system memory using a double-buffering mechanism called ping-pong mode

- Support for four streams per INTERFACE block (not available on all variants), e.g., for MIPI CSI-2 Virtual Channels (VCs)

This document describes the different variants of the CIF, their hardware layout, as well as their representation in the media controller centric rkcif device driver, which is located under drivers/media/platform/rockchip/rkcif.

<a id="rst-variants"></a>

## Variants

<a id="rst-rockchip-px30-video-input-processor-vip"></a>

### Rockchip PX30 Video Input Processor (VIP)

The PX30 Video Input Processor (VIP) features a digital video port that accepts parallel video data or BT.656. Since these protocols do not feature multiple streams, the VIP has one DMA engine that transfers the input video data into system memory.

The rkcif driver represents this hardware variant by exposing one V4L2 subdevice (the DVP INTERFACE/CROP block) and one V4L2 device (the DVP DMA engine).

<a id="rst-rockchip-rk3568-video-capture-vicap"></a>

### Rockchip RK3568 Video Capture (VICAP)

The RK3568 Video Capture (VICAP) unit features a digital video port and a MIPI CSI-2 receiver that can receive video data independently. The DVP accepts parallel video data, BT.656 and BT.1120. Since the BT.1120 protocol may feature more than one stream, the RK3568 VICAP DVP features four DMA engines that can capture different streams. Similarly, the RK3568 VICAP MIPI CSI-2 receiver features four DMA engines to handle different Virtual Channels (VCs).

The rkcif driver represents this hardware variant by exposing up the following V4L2 subdevices:

- rkcif-dvp0: INTERFACE/CROP block for the DVP

and the following video devices:

- rkcif-dvp0-id0: The support for multiple streams on the DVP is not yet implemented, as it is hard to find test hardware. Thus, this video device represents the first DMA engine of the RK3568 DVP.

```mermaid
flowchart TB
  n0["pad 0<br/>rkcif-dvp0<br/>/dev/v4l-subdev0<br/>pad 1"]
  n1["rkcif-dvp0-id0<br/>/dev/video0"]
  n2["it6801 2-0048<br/>/dev/v4l-subdev1<br/>pad 0"]
  n0 -->|"from pad 1"| n1
  n2 -->|"pad 0 → pad 0"| n0
  style n0 fill:green,color:#111
  style n1 fill:yellow,color:#111
  style n2 fill:green,color:#111
```

Topology of the RK3568 Video Capture (VICAP) unit

---

# Rockchip Image Signal Processor (rkisp1)

_Peios Kernel / Administration / System administration / Media devices_

> This file documents the driver for the Rockchip ISP1 that is part of RK3288 and RK3399 SoCs. The driver is located under drivers/media/platform/rockchip/ rkisp1 and uses the Media-Controller API.

<a id="rst-rockchip-image-signal-processor-rkisp1"></a>

<!-- SPDX-License-Identifier: GPL-2.0 -->

<!-- This data file has been placed in the public domain. -->

<!-- Derived from the Unicode character mappings available from
<http://www.w3.org/2003/entities/xml/>.
Processed by unicode2rstsubs.py, part of Docutils:
<https://docutils.sourceforge.io>. -->

<a id="rst-introduction"></a>

## Introduction

This file documents the driver for the Rockchip ISP1 that is part of RK3288 and RK3399 SoCs. The driver is located under drivers/media/platform/rockchip/ rkisp1 and uses the Media-Controller API.

<a id="rst-revisions"></a>

## Revisions

There exist multiple smaller revisions to this ISP that got introduced in later SoCs. Revisions can be found in the enum `rkisp1_cif_isp_version` in the UAPI and the revision of the ISP inside the running SoC can be read in the field hw_revision of struct media_device_info as returned by ioctl MEDIA_IOC_DEVICE_INFO.

Versions in use are:

- RKISP1_V10: used at least in rk3288 and rk3399

- RKISP1_V11: declared in the original vendor code, but not used

- RKISP1_V12: used at least in rk3326 and px30

- RKISP1_V13: used at least in rk1808

<a id="rst-topology"></a>

## Topology

<a id="rst-rkisp1-topology-graph"></a>

```mermaid
flowchart TB
  n0["pad 0<br/>pad 1<br/>rkisp1_isp<br/>/dev/v4l-subdev0<br/>pad 2<br/>pad 3"]
  n1["pad 0<br/>rkisp1_resizer_mainpath<br/>/dev/v4l-subdev1<br/>pad 1"]
  n2["pad 0<br/>rkisp1_resizer_selfpath<br/>/dev/v4l-subdev2<br/>pad 1"]
  n3["rkisp1_stats<br/>/dev/video2"]
  n4["rkisp1_mainpath<br/>/dev/video0"]
  n5["rkisp1_selfpath<br/>/dev/video1"]
  n6["rkisp1_params<br/>/dev/video3"]
  n7["imx219 4-0010<br/>/dev/v4l-subdev3<br/>pad 0"]
  n0 -->|"pad 2 → pad 0"| n1
  n0 -->|"pad 2 → pad 0"| n2
  n0 -->|"from pad 3"| n3
  n1 -->|"from pad 1"| n4
  n2 -->|"from pad 1"| n5
  n6 -->|"to pad 1"| n0
  n7 -->|"pad 0 → pad 0"| n0
  style n0 fill:green,color:#111
  style n1 fill:green,color:#111
  style n2 fill:green,color:#111
  style n3 fill:yellow,color:#111
  style n4 fill:yellow,color:#111
  style n5 fill:yellow,color:#111
  style n6 fill:yellow,color:#111
  style n7 fill:green,color:#111
  linkStyle 2 stroke-width:3px
  linkStyle 3 stroke-width:3px
  linkStyle 4 stroke-width:3px
  linkStyle 5 stroke-width:3px
```

Diagram of the default media pipeline topology

The driver has 4 video devices:

- rkisp1_mainpath: capture device for retrieving images, usually in higher resolution.

- rkisp1_selfpath: capture device for retrieving images.

- rkisp1_stats: a metadata capture device that sends statistics.

- rkisp1_params: a metadata output device that receives parameters configurations from userspace.

The driver has 3 subdevices:

- rkisp1_resizer_mainpath: used to resize and downsample frames for the mainpath capture device.

- rkisp1_resizer_selfpath: used to resize and downsample frames for the selfpath capture device.

- rkisp1_isp: is connected to the sensor and is responsible for all the isp operations.

<a id="rst-rkisp1-mainpath-rkisp1-selfpath-frames-capture-video-nodes"></a>

### rkisp1_mainpath, rkisp1_selfpath - Frames Capture Video Nodes

Those are the `mainpath` and `selfpath` capture devices to capture frames. Those entities are the DMA engines that write the frames to memory. The selfpath video device can capture YUV/RGB formats. Its input is YUV encoded stream and it is able to convert it to RGB. The selfpath is not able to capture bayer formats. The mainpath can capture both bayer and YUV formats but it is not able to capture RGB formats. Both capture videos support the `V4L2_CAP_IO_MC` [capability](</kernel/userspace/userspace-api/media-v4l/vidioc-querycap.md#rst-device-capabilities>).

<a id="rst-rkisp1-resizer-mainpath-rkisp1-resizer-selfpath-resizers-subdevices-nodes"></a>

### rkisp1_resizer_mainpath, rkisp1_resizer_selfpath - Resizers Subdevices Nodes

Those are resizer entities for the mainpath and the selfpath. Those entities can scale the frames up and down and also change the YUV sampling (for example YUV4:2:2 -&gt; YUV4:2:0). They also have cropping capability on the sink pad. The resizers entities can only operate on YUV:4:2:2 format (MEDIA_BUS_FMT_YUYV8_2X8). The mainpath capture device supports capturing video in bayer formats. In that case the resizer of the mainpath is set to 'bypass' mode - it just forward the frame without operating on it.

<a id="rst-rkisp1-isp-image-signal-processing-subdevice-node"></a>

### rkisp1_isp - Image Signal Processing Subdevice Node

This is the isp entity. It is connected to the sensor on sink pad 0 and receives the frames using the CSI-2 protocol. It is responsible of configuring the CSI-2 protocol. It has a cropping capability on sink pad 0 that is connected to the sensor and on source pad 2 connected to the resizer entities. Cropping on sink pad 0 defines the image region from the sensor. Cropping on source pad 2 defines the region for the Image Stabilizer (IS).

<a id="rst-rkisp1-stats-statistics-video-node"></a>
<a id="rst-rkisp1-stats"></a>

### rkisp1_stats - Statistics Video Node

The statistics video node outputs the 3A (auto focus, auto exposure and auto white balance) statistics, and also histogram statistics for the frames that are being processed by the rkisp1 to userspace applications. Using these data, applications can implement algorithms and re-parameterize the driver through the rkisp_params node to improve image quality during a video stream. The buffer format is defined by struct `rkisp1_stat_buffer`, and userspace should set [V4L2_META_FMT_RK_ISP1_STAT_3A](</kernel/userspace/userspace-api/media-v4l/metafmt-rkisp1.md#rst-v4l2-meta-fmt-rk-isp1-stat-3a>) as the dataformat.

<a id="rst-rkisp1-params-parameters-video-node"></a>
<a id="rst-rkisp1-params"></a>

### rkisp1_params - Parameters Video Node

The rkisp1_params video node receives a set of parameters from userspace to be applied to the hardware during a video stream, allowing userspace to dynamically modify values such as black level, cross talk corrections and others.

The ISP driver supports two different parameters configuration methods, the `fixed parameters format` or the `extensible parameters format`.

When using the `fixed parameters` method the buffer format is defined by struct `rkisp1_params_cfg`, and userspace should set [V4L2_META_FMT_RK_ISP1_PARAMS](</kernel/userspace/userspace-api/media-v4l/metafmt-rkisp1.md#rst-v4l2-meta-fmt-rk-isp1-params>) as the dataformat.

When using the `extensible parameters` method the buffer format is defined by struct `rkisp1_ext_params_cfg`, and userspace should set [V4L2_META_FMT_RK_ISP1_EXT_PARAMS](</kernel/userspace/userspace-api/media-v4l/metafmt-rkisp1.md#rst-v4l2-meta-fmt-rk-isp1-ext-params>) as the dataformat.

<a id="rst-capturing-video-frames-example"></a>

## Capturing Video Frames Example

In the following example, the sensor connected to pad 0 of 'rkisp1_isp' is imx219.

The following commands can be used to capture video from the selfpath video node with dimension 900x800 planar format YUV 4:2:2. It uses all cropping capabilities possible, (see explanation right below)



```bash
# set the links
"media-ctl" "-d" "platform:rkisp1" "-r"
"media-ctl" "-d" "platform:rkisp1" "-l" "'imx219 4-0010':0 -> 'rkisp1_isp':0 [1]"
"media-ctl" "-d" "platform:rkisp1" "-l" "'rkisp1_isp':2 -> 'rkisp1_resizer_selfpath':0 [1]"
"media-ctl" "-d" "platform:rkisp1" "-l" "'rkisp1_isp':2 -> 'rkisp1_resizer_mainpath':0 [0]"

# set format for imx219 4-0010:0
"media-ctl" "-d" "platform:rkisp1" "--set-v4l2" '"imx219 4-0010":0 [fmt:SRGGB10_1X10/1640x1232]'

# set format for rkisp1_isp pads:
"media-ctl" "-d" "platform:rkisp1" "--set-v4l2" '"rkisp1_isp":0 [fmt:SRGGB10_1X10/1640x1232 crop: (0,0)/1600x1200]'
"media-ctl" "-d" "platform:rkisp1" "--set-v4l2" '"rkisp1_isp":2 [fmt:YUYV8_2X8/1600x1200 crop: (0,0)/1500x1100]'

# set format for rkisp1_resizer_selfpath pads:
"media-ctl" "-d" "platform:rkisp1" "--set-v4l2" '"rkisp1_resizer_selfpath":0 [fmt:YUYV8_2X8/1500x1100 crop: (300,400)/1400x1000]'
"media-ctl" "-d" "platform:rkisp1" "--set-v4l2" '"rkisp1_resizer_selfpath":1 [fmt:YUYV8_2X8/900x800]'

# set format for rkisp1_selfpath:
"v4l2-ctl" "-z" "platform:rkisp1" "-d" "rkisp1_selfpath" "-v" "width=900,height=800,"
"v4l2-ctl" "-z" "platform:rkisp1" "-d" "rkisp1_selfpath" "-v" "pixelformat=422P"

# start streaming:
v4l2-ctl "-z" "platform:rkisp1" "-d" "rkisp1_selfpath" "--stream-mmap" "--stream-count" "10"
```

In the above example the sensor is configured to bayer format: `SRGGB10_1X10/1640x1232`. The rkisp1_isp:0 pad should be configured to the same mbus format and dimensions as the sensor, otherwise streaming will fail with 'EPIPE' error. So it is also configured to `SRGGB10_1X10/1640x1232`. In addition, the rkisp1_isp:0 pad is configured to cropping `(0,0)/1600x1200`.

The cropping dimensions are automatically propagated to be the format of the isp source pad `rkisp1_isp:2`. Another cropping operation is configured on the isp source pad: `(0,0)/1500x1100`.

The resizer's sink pad `rkisp1_resizer_selfpath` should be configured to format `YUYV8_2X8/1500x1100` in order to match the format on the other side of the link. In addition a cropping `(300,400)/1400x1000` is configured on it.

The source pad of the resizer, `rkisp1_resizer_selfpath:1` is configured to format `YUYV8_2X8/900x800`. That means that the resizer first crop a window of `(300,400)/1400x100` from the received frame and then scales this window to dimension `900x800`.

Note that the above example does not uses the stats-params control loop. Therefore the capture frames will not go through the 3A algorithms and probably won't have a good quality, and can even look dark and greenish.

<a id="rst-configuring-quantization"></a>

## Configuring Quantization

The driver supports limited and full range quantization on YUV formats, where limited is the default. To switch between one or the other, userspace should use the Colorspace Conversion API (CSC) for subdevices on source pad 2 of the isp (`rkisp1_isp:2`). The quantization configured on this pad is the quantization of the captured video frames on the mainpath and selfpath video nodes. Note that the resizer and capture entities will always report `V4L2_QUANTIZATION_DEFAULT` even if the quantization is configured to full range on `rkisp1_isp:2`. So in order to get the configured quantization, application should get it from pad `rkisp1_isp:2`.

---

# SAA7134 cards list

_Peios Kernel / Administration / System administration / Media devices_

> Reference for SAA7134 cards list.

<a id="rst-saa7134-cards-list"></a>

<!-- SPDX-License-Identifier: GPL-2.0 -->

<!-- tabularcolumns: |p{1.4cm}|p{11.1cm}|p{4.2cm}| -->


<table>
<thead>
<tr>
<th>


Card number

</th>
<th>


Card name

</th>
<th>


PCI subsystem IDs

</th>
</tr>
</thead>
<tbody>
<tr>
<td>


0

</td>
<td>


UNKNOWN/GENERIC

</td>
<td>




</td>
</tr>
<tr>
<td>


1

</td>
<td>


Proteus Pro \[philips reference design\]

</td>
<td>


1131:2001, 1131:2001

</td>
</tr>
<tr>
<td>


2

</td>
<td>


LifeView FlyVIDEO3000

</td>
<td>


5168:0138, 4e42:0138

</td>
</tr>
<tr>
<td>


3

</td>
<td>


LifeView/Typhoon FlyVIDEO2000

</td>
<td>


5168:0138, 4e42:0138

</td>
</tr>
<tr>
<td>


4

</td>
<td>


EMPRESS

</td>
<td>


1131:6752

</td>
</tr>
<tr>
<td>


5

</td>
<td>


SKNet Monster TV

</td>
<td>


1131:4e85

</td>
</tr>
<tr>
<td>


6

</td>
<td>


Tevion MD 9717

</td>
<td>




</td>
</tr>
<tr>
<td>


7

</td>
<td>


KNC One TV-Station RDS / Typhoon TV Tuner RDS

</td>
<td>


1131:fe01, 1894:fe01

</td>
</tr>
<tr>
<td>


8

</td>
<td>


Terratec Cinergy 400 TV

</td>
<td>


153b:1142

</td>
</tr>
<tr>
<td>


9

</td>
<td>


Medion 5044

</td>
<td>




</td>
</tr>
<tr>
<td>


10

</td>
<td>


Kworld/KuroutoShikou SAA7130-TVPCI

</td>
<td>




</td>
</tr>
<tr>
<td>


11

</td>
<td>


Terratec Cinergy 600 TV

</td>
<td>


153b:1143

</td>
</tr>
<tr>
<td>


12

</td>
<td>


Medion 7134

</td>
<td>


16be:0003, 16be:5000

</td>
</tr>
<tr>
<td>


13

</td>
<td>


Typhoon TV+Radio 90031

</td>
<td>




</td>
</tr>
<tr>
<td>


14

</td>
<td>


ELSA EX-VISION 300TV

</td>
<td>


1048:226b

</td>
</tr>
<tr>
<td>


15

</td>
<td>


ELSA EX-VISION 500TV

</td>
<td>


1048:226a

</td>
</tr>
<tr>
<td>


16

</td>
<td>


ASUS TV-FM 7134

</td>
<td>


1043:4842, 1043:4830, 1043:4840

</td>
</tr>
<tr>
<td>


17

</td>
<td>


AOPEN VA1000 POWER

</td>
<td>


1131:7133

</td>
</tr>
<tr>
<td>


18

</td>
<td>


BMK MPEX No Tuner

</td>
<td>




</td>
</tr>
<tr>
<td>


19

</td>
<td>


Compro VideoMate TV

</td>
<td>


185b:c100

</td>
</tr>
<tr>
<td>


20

</td>
<td>


Matrox CronosPlus

</td>
<td>


102B:48d0

</td>
</tr>
<tr>
<td>


21

</td>
<td>


10MOONS PCI TV CAPTURE CARD

</td>
<td>


1131:2001

</td>
</tr>
<tr>
<td>


22

</td>
<td>


AverMedia M156 / Medion 2819

</td>
<td>


1461:a70b

</td>
</tr>
<tr>
<td>


23

</td>
<td>


BMK MPEX Tuner

</td>
<td>




</td>
</tr>
<tr>
<td>


24

</td>
<td>


KNC One TV-Station DVR

</td>
<td>


1894:a006

</td>
</tr>
<tr>
<td>


25

</td>
<td>


ASUS TV-FM 7133

</td>
<td>


1043:4843

</td>
</tr>
<tr>
<td>


26

</td>
<td>


Pinnacle PCTV Stereo (saa7134)

</td>
<td>


11bd:002b

</td>
</tr>
<tr>
<td>


27

</td>
<td>


Manli MuchTV M-TV002

</td>
<td>




</td>
</tr>
<tr>
<td>


28

</td>
<td>


Manli MuchTV M-TV001

</td>
<td>




</td>
</tr>
<tr>
<td>


29

</td>
<td>


Nagase Sangyo TransGear 3000TV

</td>
<td>


1461:050c

</td>
</tr>
<tr>
<td>


30

</td>
<td>


Elitegroup ECS TVP3XP FM1216 Tuner Card(PAL-BG,FM)

</td>
<td>


1019:4cb4

</td>
</tr>
<tr>
<td>


31

</td>
<td>


Elitegroup ECS TVP3XP FM1236 Tuner Card (NTSC,FM)

</td>
<td>


1019:4cb5

</td>
</tr>
<tr>
<td>


32

</td>
<td>


AVACS SmartTV

</td>
<td>




</td>
</tr>
<tr>
<td>


33

</td>
<td>


AVerMedia DVD EZMaker

</td>
<td>


1461:10ff

</td>
</tr>
<tr>
<td>


34

</td>
<td>


Noval Prime TV 7133

</td>
<td>




</td>
</tr>
<tr>
<td>


35

</td>
<td>


AverMedia AverTV Studio 305

</td>
<td>


1461:2115

</td>
</tr>
<tr>
<td>


36

</td>
<td>


UPMOST PURPLE TV

</td>
<td>


12ab:0800

</td>
</tr>
<tr>
<td>


37

</td>
<td>


Items MuchTV Plus / IT-005

</td>
<td>




</td>
</tr>
<tr>
<td>


38

</td>
<td>


Terratec Cinergy 200 TV

</td>
<td>


153b:1152

</td>
</tr>
<tr>
<td>


39

</td>
<td>


LifeView FlyTV Platinum Mini

</td>
<td>


5168:0212, 4e42:0212, 5169:1502

</td>
</tr>
<tr>
<td>


40

</td>
<td>


Compro VideoMate TV PVR/FM

</td>
<td>


185b:c100

</td>
</tr>
<tr>
<td>


41

</td>
<td>


Compro VideoMate TV Gold+

</td>
<td>


185b:c100

</td>
</tr>
<tr>
<td>


42

</td>
<td>


Sabrent SBT-TVFM (saa7130)

</td>
<td>




</td>
</tr>
<tr>
<td>


43

</td>
<td>


:Zolid Xpert TV7134

</td>
<td>




</td>
</tr>
<tr>
<td>


44

</td>
<td>


Empire PCI TV-Radio LE

</td>
<td>




</td>
</tr>
<tr>
<td>


45

</td>
<td>


Avermedia AVerTV Studio 307

</td>
<td>


1461:9715

</td>
</tr>
<tr>
<td>


46

</td>
<td>


AVerMedia Cardbus TV/Radio (E500)

</td>
<td>


1461:d6ee

</td>
</tr>
<tr>
<td>


47

</td>
<td>


Terratec Cinergy 400 mobile

</td>
<td>


153b:1162

</td>
</tr>
<tr>
<td>


48

</td>
<td>


Terratec Cinergy 600 TV MK3

</td>
<td>


153b:1158

</td>
</tr>
<tr>
<td>


49

</td>
<td>


Compro VideoMate Gold+ Pal

</td>
<td>


185b:c200

</td>
</tr>
<tr>
<td>


50

</td>
<td>


Pinnacle PCTV 300i DVB-T + PAL

</td>
<td>


11bd:002d

</td>
</tr>
<tr>
<td>


51

</td>
<td>


ProVideo PV952

</td>
<td>


1540:9524

</td>
</tr>
<tr>
<td>


52

</td>
<td>


AverMedia AverTV/305

</td>
<td>


1461:2108

</td>
</tr>
<tr>
<td>


53

</td>
<td>


ASUS TV-FM 7135

</td>
<td>


1043:4845

</td>
</tr>
<tr>
<td>


54

</td>
<td>


LifeView FlyTV Platinum FM / Gold

</td>
<td>


5168:0214, 5168:5214, 1489:0214, 5168:0304

</td>
</tr>
<tr>
<td>


55

</td>
<td>


LifeView FlyDVB-T DUO / MSI [TV@nywhere](<mailto:TV@nywhere>) Duo

</td>
<td>


5168:0306, 4E42:0306

</td>
</tr>
<tr>
<td>


56

</td>
<td>


Avermedia AVerTV 307

</td>
<td>


1461:a70a

</td>
</tr>
<tr>
<td>


57

</td>
<td>


Avermedia AVerTV GO 007 FM

</td>
<td>


1461:f31f

</td>
</tr>
<tr>
<td>


58

</td>
<td>


ADS Tech Instant TV (saa7135)

</td>
<td>


1421:0350, 1421:0351, 1421:0370, 1421:1370

</td>
</tr>
<tr>
<td>


59

</td>
<td>


Kworld/Tevion V-Stream Xpert TV PVR7134

</td>
<td>




</td>
</tr>
<tr>
<td>


60

</td>
<td>


LifeView/Typhoon/Genius FlyDVB-T Duo Cardbus

</td>
<td>


5168:0502, 4e42:0502, 1489:0502

</td>
</tr>
<tr>
<td>


61

</td>
<td>


Philips TOUGH DVB-T reference design

</td>
<td>


1131:2004

</td>
</tr>
<tr>
<td>


62

</td>
<td>


Compro VideoMate TV Gold+II

</td>
<td>




</td>
</tr>
<tr>
<td>


63

</td>
<td>


Kworld Xpert TV PVR7134

</td>
<td>




</td>
</tr>
<tr>
<td>


64

</td>
<td>


FlyTV mini Asus Digimatrix

</td>
<td>


1043:0210

</td>
</tr>
<tr>
<td>


65

</td>
<td>


V-Stream Studio TV Terminator

</td>
<td>




</td>
</tr>
<tr>
<td>


66

</td>
<td>


Yuan TUN-900 (saa7135)

</td>
<td>




</td>
</tr>
<tr>
<td>


67

</td>
<td>


Beholder BeholdTV 409 FM

</td>
<td>


0000:4091

</td>
</tr>
<tr>
<td>


68

</td>
<td>


GoTView 7135 PCI

</td>
<td>


5456:7135

</td>
</tr>
<tr>
<td>


69

</td>
<td>


Philips EUROPA V3 reference design

</td>
<td>


1131:2004

</td>
</tr>
<tr>
<td>


70

</td>
<td>


Compro Videomate DVB-T300

</td>
<td>


185b:c900

</td>
</tr>
<tr>
<td>


71

</td>
<td>


Compro Videomate DVB-T200

</td>
<td>


185b:c901

</td>
</tr>
<tr>
<td>


72

</td>
<td>


RTD Embedded Technologies VFG7350

</td>
<td>


1435:7350

</td>
</tr>
<tr>
<td>


73

</td>
<td>


RTD Embedded Technologies VFG7330

</td>
<td>


1435:7330

</td>
</tr>
<tr>
<td>


74

</td>
<td>


LifeView FlyTV Platinum Mini2

</td>
<td>


14c0:1212

</td>
</tr>
<tr>
<td>


75

</td>
<td>


AVerMedia AVerTVHD MCE A180

</td>
<td>


1461:1044

</td>
</tr>
<tr>
<td>


76

</td>
<td>


SKNet MonsterTV Mobile

</td>
<td>


1131:4ee9

</td>
</tr>
<tr>
<td>


77

</td>
<td>


Pinnacle PCTV 40i/50i/110i (saa7133)

</td>
<td>


11bd:002e

</td>
</tr>
<tr>
<td>


78

</td>
<td>


ASUSTeK P7131 Dual

</td>
<td>


1043:4862

</td>
</tr>
<tr>
<td>


79

</td>
<td>


Sedna/MuchTV PC TV Cardbus TV/Radio (ITO25 Rev:2B)

</td>
<td>




</td>
</tr>
<tr>
<td>


80

</td>
<td>


ASUS Digimatrix TV

</td>
<td>


1043:0210

</td>
</tr>
<tr>
<td>


81

</td>
<td>


Philips Tiger reference design

</td>
<td>


1131:2018

</td>
</tr>
<tr>
<td>


82

</td>
<td>


MSI [TV@Anywhere](<mailto:TV@Anywhere>) plus

</td>
<td>


1462:6231, 1462:8624

</td>
</tr>
<tr>
<td>


83

</td>
<td>


Terratec Cinergy 250 PCI TV

</td>
<td>


153b:1160

</td>
</tr>
<tr>
<td>


84

</td>
<td>


LifeView FlyDVB Trio

</td>
<td>


5168:0319

</td>
</tr>
<tr>
<td>


85

</td>
<td>


AverTV DVB-T 777

</td>
<td>


1461:2c05, 1461:2c05

</td>
</tr>
<tr>
<td>


86

</td>
<td>


LifeView FlyDVB-T / Genius VideoWonder DVB-T

</td>
<td>


5168:0301, 1489:0301

</td>
</tr>
<tr>
<td>


87

</td>
<td>


ADS Instant TV Duo Cardbus PTV331

</td>
<td>


0331:1421

</td>
</tr>
<tr>
<td>


88

</td>
<td>


Tevion/KWorld DVB-T 220RF

</td>
<td>


17de:7201

</td>
</tr>
<tr>
<td>


89

</td>
<td>


ELSA EX-VISION 700TV

</td>
<td>


1048:226c

</td>
</tr>
<tr>
<td>


90

</td>
<td>


Kworld ATSC110/115

</td>
<td>


17de:7350, 17de:7352

</td>
</tr>
<tr>
<td>


91

</td>
<td>


AVerMedia A169 B

</td>
<td>


1461:7360

</td>
</tr>
<tr>
<td>


92

</td>
<td>


AVerMedia A169 B1

</td>
<td>


1461:6360

</td>
</tr>
<tr>
<td>


93

</td>
<td>


Medion 7134 Bridge \#2

</td>
<td>


16be:0005

</td>
</tr>
<tr>
<td>


94

</td>
<td>


LifeView FlyDVB-T Hybrid Cardbus/MSI TV @nywhere A/D NB

</td>
<td>


5168:3306, 5168:3502, 5168:3307, 4e42:3502

</td>
</tr>
<tr>
<td>


95

</td>
<td>


LifeView FlyVIDEO3000 (NTSC)

</td>
<td>


5169:0138

</td>
</tr>
<tr>
<td>


96

</td>
<td>


Medion Md8800 Quadro

</td>
<td>


16be:0007, 16be:0008, 16be:000d

</td>
</tr>
<tr>
<td>


97

</td>
<td>


LifeView FlyDVB-S /Acorp TV134DS

</td>
<td>


5168:0300, 4e42:0300

</td>
</tr>
<tr>
<td>


98

</td>
<td>


Proteus Pro 2309

</td>
<td>


0919:2003

</td>
</tr>
<tr>
<td>


99

</td>
<td>


AVerMedia TV Hybrid A16AR

</td>
<td>


1461:2c00

</td>
</tr>
<tr>
<td>


100

</td>
<td>


Asus Europa2 OEM

</td>
<td>


1043:4860

</td>
</tr>
<tr>
<td>


101

</td>
<td>


Pinnacle PCTV 310i

</td>
<td>


11bd:002f

</td>
</tr>
<tr>
<td>


102

</td>
<td>


Avermedia AVerTV Studio 507

</td>
<td>


1461:9715

</td>
</tr>
<tr>
<td>


103

</td>
<td>


Compro Videomate DVB-T200A

</td>
<td>




</td>
</tr>
<tr>
<td>


104

</td>
<td>


Hauppauge WinTV-HVR1110 DVB-T/Hybrid

</td>
<td>


0070:6700, 0070:6701, 0070:6702, 0070:6703, 0070:6704, 0070:6705

</td>
</tr>
<tr>
<td>


105

</td>
<td>


Terratec Cinergy HT PCMCIA

</td>
<td>


153b:1172

</td>
</tr>
<tr>
<td>


106

</td>
<td>


Encore ENLTV

</td>
<td>


1131:2342, 1131:2341, 3016:2344

</td>
</tr>
<tr>
<td>


107

</td>
<td>


Encore ENLTV-FM

</td>
<td>


1131:230f

</td>
</tr>
<tr>
<td>


108

</td>
<td>


Terratec Cinergy HT PCI

</td>
<td>


153b:1175

</td>
</tr>
<tr>
<td>


109

</td>
<td>


Philips Tiger - S Reference design

</td>
<td>




</td>
</tr>
<tr>
<td>


110

</td>
<td>


Avermedia M102

</td>
<td>


1461:f31e

</td>
</tr>
<tr>
<td>


111

</td>
<td>


ASUS P7131 4871

</td>
<td>


1043:4871

</td>
</tr>
<tr>
<td>


112

</td>
<td>


ASUSTeK P7131 Hybrid

</td>
<td>


1043:4876

</td>
</tr>
<tr>
<td>


113

</td>
<td>


Elitegroup ECS TVP3XP FM1246 Tuner Card (PAL,FM)

</td>
<td>


1019:4cb6

</td>
</tr>
<tr>
<td>


114

</td>
<td>


KWorld DVB-T 210

</td>
<td>


17de:7250

</td>
</tr>
<tr>
<td>


115

</td>
<td>


Sabrent PCMCIA TV-PCB05

</td>
<td>


0919:2003

</td>
</tr>
<tr>
<td>


116

</td>
<td>


10MOONS TM300 TV Card

</td>
<td>


1131:2304

</td>
</tr>
<tr>
<td>


117

</td>
<td>


Avermedia Super 007

</td>
<td>


1461:f01d

</td>
</tr>
<tr>
<td>


118

</td>
<td>


Beholder BeholdTV 401

</td>
<td>


0000:4016

</td>
</tr>
<tr>
<td>


119

</td>
<td>


Beholder BeholdTV 403

</td>
<td>


0000:4036

</td>
</tr>
<tr>
<td>


120

</td>
<td>


Beholder BeholdTV 403 FM

</td>
<td>


0000:4037

</td>
</tr>
<tr>
<td>


121

</td>
<td>


Beholder BeholdTV 405

</td>
<td>


0000:4050

</td>
</tr>
<tr>
<td>


122

</td>
<td>


Beholder BeholdTV 405 FM

</td>
<td>


0000:4051

</td>
</tr>
<tr>
<td>


123

</td>
<td>


Beholder BeholdTV 407

</td>
<td>


0000:4070

</td>
</tr>
<tr>
<td>


124

</td>
<td>


Beholder BeholdTV 407 FM

</td>
<td>


0000:4071

</td>
</tr>
<tr>
<td>


125

</td>
<td>


Beholder BeholdTV 409

</td>
<td>


0000:4090

</td>
</tr>
<tr>
<td>


126

</td>
<td>


Beholder BeholdTV 505 FM

</td>
<td>


5ace:5050

</td>
</tr>
<tr>
<td>


127

</td>
<td>


Beholder BeholdTV 507 FM / BeholdTV 509 FM

</td>
<td>


5ace:5070, 5ace:5090

</td>
</tr>
<tr>
<td>


128

</td>
<td>


Beholder BeholdTV Columbus TV/FM

</td>
<td>


0000:5201

</td>
</tr>
<tr>
<td>


129

</td>
<td>


Beholder BeholdTV 607 FM

</td>
<td>


5ace:6070

</td>
</tr>
<tr>
<td>


130

</td>
<td>


Beholder BeholdTV M6

</td>
<td>


5ace:6190

</td>
</tr>
<tr>
<td>


131

</td>
<td>


Twinhan Hybrid DTV-DVB 3056 PCI

</td>
<td>


1822:0022

</td>
</tr>
<tr>
<td>


132

</td>
<td>


Genius TVGO AM11MCE

</td>
<td>




</td>
</tr>
<tr>
<td>


133

</td>
<td>


NXP Snake DVB-S reference design

</td>
<td>




</td>
</tr>
<tr>
<td>


134

</td>
<td>


Medion/Creatix CTX953 Hybrid

</td>
<td>


16be:0010

</td>
</tr>
<tr>
<td>


135

</td>
<td>


MSI [TV@nywhere](<mailto:TV@nywhere>) A/D v1.1

</td>
<td>


1462:8625

</td>
</tr>
<tr>
<td>


136

</td>
<td>


AVerMedia Cardbus TV/Radio (E506R)

</td>
<td>


1461:f436

</td>
</tr>
<tr>
<td>


137

</td>
<td>


AVerMedia Hybrid TV/Radio (A16D)

</td>
<td>


1461:f936

</td>
</tr>
<tr>
<td>


138

</td>
<td>


Avermedia M115

</td>
<td>


1461:a836

</td>
</tr>
<tr>
<td>


139

</td>
<td>


Compro VideoMate T750

</td>
<td>


185b:c900

</td>
</tr>
<tr>
<td>


140

</td>
<td>


Avermedia DVB-S Pro A700

</td>
<td>


1461:a7a1

</td>
</tr>
<tr>
<td>


141

</td>
<td>


Avermedia DVB-S Hybrid+FM A700

</td>
<td>


1461:a7a2

</td>
</tr>
<tr>
<td>


142

</td>
<td>


Beholder BeholdTV H6

</td>
<td>


5ace:6290

</td>
</tr>
<tr>
<td>


143

</td>
<td>


Beholder BeholdTV M63

</td>
<td>


5ace:6191

</td>
</tr>
<tr>
<td>


144

</td>
<td>


Beholder BeholdTV M6 Extra

</td>
<td>


5ace:6193

</td>
</tr>
<tr>
<td>


145

</td>
<td>


AVerMedia MiniPCI DVB-T Hybrid M103

</td>
<td>


1461:f636, 1461:f736

</td>
</tr>
<tr>
<td>


146

</td>
<td>


ASUSTeK P7131 Analog

</td>
<td>




</td>
</tr>
<tr>
<td>


147

</td>
<td>


Asus Tiger 3in1

</td>
<td>


1043:4878

</td>
</tr>
<tr>
<td>


148

</td>
<td>


Encore ENLTV-FM v5.3

</td>
<td>


1a7f:2008

</td>
</tr>
<tr>
<td>


149

</td>
<td>


Avermedia PCI pure analog (M135A)

</td>
<td>


1461:f11d

</td>
</tr>
<tr>
<td>


150

</td>
<td>


Zogis Real Angel 220

</td>
<td>




</td>
</tr>
<tr>
<td>


151

</td>
<td>


ADS Tech Instant HDTV

</td>
<td>


1421:0380

</td>
</tr>
<tr>
<td>


152

</td>
<td>


Asus Tiger Rev:1.00

</td>
<td>


1043:4857

</td>
</tr>
<tr>
<td>


153

</td>
<td>


Kworld Plus TV Analog Lite PCI

</td>
<td>


17de:7128

</td>
</tr>
<tr>
<td>


154

</td>
<td>


Avermedia AVerTV GO 007 FM Plus

</td>
<td>


1461:f31d

</td>
</tr>
<tr>
<td>


155

</td>
<td>


Hauppauge WinTV-HVR1150 ATSC/QAM-Hybrid

</td>
<td>


0070:6706, 0070:6708

</td>
</tr>
<tr>
<td>


156

</td>
<td>


Hauppauge WinTV-HVR1120 DVB-T/Hybrid

</td>
<td>


0070:6707, 0070:6709, 0070:670a

</td>
</tr>
<tr>
<td>


157

</td>
<td>


Avermedia AVerTV Studio 507UA

</td>
<td>


1461:a11b

</td>
</tr>
<tr>
<td>


158

</td>
<td>


AVerMedia Cardbus TV/Radio (E501R)

</td>
<td>


1461:b7e9

</td>
</tr>
<tr>
<td>


159

</td>
<td>


Beholder BeholdTV 505 RDS

</td>
<td>


0000:505B

</td>
</tr>
<tr>
<td>


160

</td>
<td>


Beholder BeholdTV 507 RDS

</td>
<td>


0000:5071

</td>
</tr>
<tr>
<td>


161

</td>
<td>


Beholder BeholdTV 507 RDS

</td>
<td>


0000:507B

</td>
</tr>
<tr>
<td>


162

</td>
<td>


Beholder BeholdTV 607 FM

</td>
<td>


5ace:6071

</td>
</tr>
<tr>
<td>


163

</td>
<td>


Beholder BeholdTV 609 FM

</td>
<td>


5ace:6090

</td>
</tr>
<tr>
<td>


164

</td>
<td>


Beholder BeholdTV 609 FM

</td>
<td>


5ace:6091

</td>
</tr>
<tr>
<td>


165

</td>
<td>


Beholder BeholdTV 607 RDS

</td>
<td>


5ace:6072

</td>
</tr>
<tr>
<td>


166

</td>
<td>


Beholder BeholdTV 607 RDS

</td>
<td>


5ace:6073

</td>
</tr>
<tr>
<td>


167

</td>
<td>


Beholder BeholdTV 609 RDS

</td>
<td>


5ace:6092

</td>
</tr>
<tr>
<td>


168

</td>
<td>


Beholder BeholdTV 609 RDS

</td>
<td>


5ace:6093

</td>
</tr>
<tr>
<td>


169

</td>
<td>


Compro VideoMate S350/S300

</td>
<td>


185b:c900

</td>
</tr>
<tr>
<td>


170

</td>
<td>


AverMedia AverTV Studio 505

</td>
<td>


1461:a115

</td>
</tr>
<tr>
<td>


171

</td>
<td>


Beholder BeholdTV X7

</td>
<td>


5ace:7595

</td>
</tr>
<tr>
<td>


172

</td>
<td>


RoverMedia TV Link Pro FM

</td>
<td>


19d1:0138

</td>
</tr>
<tr>
<td>


173

</td>
<td>


Zolid Hybrid TV Tuner PCI

</td>
<td>


1131:2004

</td>
</tr>
<tr>
<td>


174

</td>
<td>


Asus Europa Hybrid OEM

</td>
<td>


1043:4847

</td>
</tr>
<tr>
<td>


175

</td>
<td>


Leadtek Winfast DTV1000S

</td>
<td>


107d:6655

</td>
</tr>
<tr>
<td>


176

</td>
<td>


Beholder BeholdTV 505 RDS

</td>
<td>


0000:5051

</td>
</tr>
<tr>
<td>


177

</td>
<td>


Hawell HW-404M7

</td>
<td>




</td>
</tr>
<tr>
<td>


178

</td>
<td>


Beholder BeholdTV H7

</td>
<td>


5ace:7190

</td>
</tr>
<tr>
<td>


179

</td>
<td>


Beholder BeholdTV A7

</td>
<td>


5ace:7090

</td>
</tr>
<tr>
<td>


180

</td>
<td>


Avermedia PCI M733A

</td>
<td>


1461:4155, 1461:4255

</td>
</tr>
<tr>
<td>


181

</td>
<td>


TechoTrend TT-budget T-3000

</td>
<td>


13c2:2804

</td>
</tr>
<tr>
<td>


182

</td>
<td>


Kworld PCI SBTVD/ISDB-T Full-Seg Hybrid

</td>
<td>


17de:b136

</td>
</tr>
<tr>
<td>


183

</td>
<td>


Compro VideoMate Vista M1F

</td>
<td>


185b:c900

</td>
</tr>
<tr>
<td>


184

</td>
<td>


Encore ENLTV-FM 3

</td>
<td>


1a7f:2108

</td>
</tr>
<tr>
<td>


185

</td>
<td>


MagicPro ProHDTV Pro2 DMB-TH/Hybrid

</td>
<td>


17de:d136

</td>
</tr>
<tr>
<td>


186

</td>
<td>


Beholder BeholdTV 501

</td>
<td>


5ace:5010

</td>
</tr>
<tr>
<td>


187

</td>
<td>


Beholder BeholdTV 503 FM

</td>
<td>


5ace:5030

</td>
</tr>
<tr>
<td>


188

</td>
<td>


Sensoray 811/911

</td>
<td>


6000:0811, 6000:0911

</td>
</tr>
<tr>
<td>


189

</td>
<td>


Kworld PC150-U

</td>
<td>


17de:a134

</td>
</tr>
<tr>
<td>


190

</td>
<td>


Asus My Cinema PS3-100

</td>
<td>


1043:48cd

</td>
</tr>
<tr>
<td>


191

</td>
<td>


Hawell HW-9004V1

</td>
<td>




</td>
</tr>
<tr>
<td>


192

</td>
<td>


AverMedia AverTV Satellite Hybrid+FM A706

</td>
<td>


1461:2055

</td>
</tr>
<tr>
<td>


193

</td>
<td>


WIS Voyager or compatible

</td>
<td>


1905:7007

</td>
</tr>
<tr>
<td>


194

</td>
<td>


AverMedia AverTV/505

</td>
<td>


1461:a10a

</td>
</tr>
<tr>
<td>


195

</td>
<td>


Leadtek Winfast TV2100 FM

</td>
<td>


107d:6f3a

</td>
</tr>
<tr>
<td>


196

</td>
<td>


SnaZio\* TVPVR PRO

</td>
<td>


1779:13cf

</td>
</tr>
</tbody>
</table>

---

# The saa7134 driver

_Peios Kernel / Administration / System administration / Media devices_

> Author Gerd Hoffmann

<a id="rst-the-saa7134-driver"></a>

<!-- SPDX-License-Identifier: GPL-2.0 -->

Author Gerd Hoffmann

This is a v4l2/oss device driver for saa7130/33/34/35 based capture / TV boards.

<a id="rst-status"></a>

## Status

Almost everything is working.  video, sound, tuner, radio, mpeg ts, ...

As with bttv, card-specific tweaks are needed.  Check CARDLIST for a list of known TV cards and saa7134-cards.c for the drivers card configuration info.

<a id="rst-build"></a>

## Build

Once you pick up a Kernel source, you should configure, build, install and boot the new kernel.  You'll need at least these config options:



```text
./scripts/config -e PCI
./scripts/config -e INPUT
./scripts/config -m I2C
./scripts/config -m MEDIA_SUPPORT
./scripts/config -e MEDIA_PCI_SUPPORT
./scripts/config -e MEDIA_ANALOG_TV_SUPPORT
./scripts/config -e MEDIA_DIGITAL_TV_SUPPORT
./scripts/config -e MEDIA_RADIO_SUPPORT
./scripts/config -e RC_CORE
./scripts/config -e MEDIA_SUBDRV_AUTOSELECT
./scripts/config -m VIDEO_SAA7134
./scripts/config -e SAA7134_ALSA
./scripts/config -e VIDEO_SAA7134_RC
./scripts/config -e VIDEO_SAA7134_DVB
./scripts/config -e VIDEO_SAA7134_GO7007
```

To build and install, you should run:



```text
make && make modules_install && make install
```

Once the new Kernel is booted, saa7134 driver should be loaded automatically.

Depending on the card you might have to pass `card=<nr>` as insmod option. If so, please check [Documentation/admin-guide/media/saa7134-cardlist.rst](/kernel/administration/admin-guide/media/saa7134-cardlist.md) for valid choices.

Once you have your card type number, you can pass a modules configuration via a file (usually, it is either `/etc/modules.conf` or some file at `/etc/modules-load.d/`, but the actual place depends on your distribution), with this content:



```text
options saa7134 card=13 # Assuming that your card type is #13
```

<a id="rst-changes-fixes"></a>

## Changes / Fixes

Please mail to linux-media AT vger.kernel.org unified diffs against the linux media git tree:

> [https://git.linuxtv.org/media.git/](<https://git.linuxtv.org/media.git/>)

This is done by committing a patch at a clone of the git tree and submitting the patch using `git send-email`. Don't forget to describe at the lots  what it changes / which problem it fixes / whatever it is good for ...

<a id="rst-known-problems"></a>

## Known Problems

- The tuner for the flyvideos isn't detected automatically and the default might not work for you depending on which version you have. There is a `tuner=` insmod option to override the driver's default.

<a id="rst-credits"></a>

## Credits

[andrew.stevens@philips.com](<mailto:andrew.stevens@philips.com>) + [werner.leeb@philips.com](<mailto:werner.leeb@philips.com>) for providing saa7134 hardware specs and sample board.

---

# SAA7164 cards list

_Peios Kernel / Administration / System administration / Media devices_

> Reference for SAA7164 cards list.

<a id="rst-saa7164-cards-list"></a>

<!-- SPDX-License-Identifier: GPL-2.0 -->

<!-- tabularcolumns: |p{1.4cm}|p{11.1cm}|p{4.2cm}| -->


<table>
<thead>
<tr>
<th>


Card number

</th>
<th>


Card name

</th>
<th>


PCI subsystem IDs

</th>
</tr>
</thead>
<tbody>
<tr>
<td>


0

</td>
<td>


Unknown

</td>
<td>




</td>
</tr>
<tr>
<td>


1

</td>
<td>


Generic Rev2

</td>
<td>




</td>
</tr>
<tr>
<td>


2

</td>
<td>


Generic Rev3

</td>
<td>




</td>
</tr>
<tr>
<td>


3

</td>
<td>


Hauppauge WinTV-HVR2250

</td>
<td>


0070:8880, 0070:8810

</td>
</tr>
<tr>
<td>


4

</td>
<td>


Hauppauge WinTV-HVR2200

</td>
<td>


0070:8980

</td>
</tr>
<tr>
<td>


5

</td>
<td>


Hauppauge WinTV-HVR2200

</td>
<td>


0070:8900

</td>
</tr>
<tr>
<td>


6

</td>
<td>


Hauppauge WinTV-HVR2200

</td>
<td>


0070:8901

</td>
</tr>
<tr>
<td>


7

</td>
<td>


Hauppauge WinTV-HVR2250

</td>
<td>


0070:8891, 0070:8851

</td>
</tr>
<tr>
<td>


8

</td>
<td>


Hauppauge WinTV-HVR2250

</td>
<td>


0070:88A1

</td>
</tr>
<tr>
<td>


9

</td>
<td>


Hauppauge WinTV-HVR2200

</td>
<td>


0070:8940

</td>
</tr>
<tr>
<td>


10

</td>
<td>


Hauppauge WinTV-HVR2200

</td>
<td>


0070:8953

</td>
</tr>
<tr>
<td>


11

</td>
<td>


Hauppauge WinTV-HVR2255(proto)

</td>
<td>


0070:f111

</td>
</tr>
<tr>
<td>


12

</td>
<td>


Hauppauge WinTV-HVR2255

</td>
<td>


0070:f111

</td>
</tr>
<tr>
<td>


13

</td>
<td>


Hauppauge WinTV-HVR2205

</td>
<td>


0070:f123, 0070:f120

</td>
</tr>
</tbody>
</table>

---

# The Silicon Labs Si470x FM Radio Receivers driver

_Peios Kernel / Administration / System administration / Media devices_

> Copyright © 2009 Tobias Lorenz <tobias.lorenz@gmx.net>

<a id="rst-the-silicon-labs-si470x-fm-radio-receivers-driver"></a>

<!-- SPDX-License-Identifier: GPL-2.0 -->

<!-- This data file has been placed in the public domain. -->

<!-- Derived from the Unicode character mappings available from
<http://www.w3.org/2003/entities/xml/>.
Processed by unicode2rstsubs.py, part of Docutils:
<https://docutils.sourceforge.io>. -->

Copyright © 2009 Tobias Lorenz &lt;[tobias.lorenz@gmx.net](<mailto:tobias.lorenz@gmx.net>)&gt;

<a id="rst-information-from-silicon-labs"></a>

## Information from Silicon Labs

Silicon Laboratories is the manufacturer of the radio ICs, that nowadays are the most often used radio receivers in cell phones. Usually they are connected with I2C. But SiLabs also provides a reference design, which integrates this IC, together with a small microcontroller C8051F321, to form a USB radio. Part of this reference design is also a radio application in binary and source code. The software also contains an automatic firmware upgrade to the most current version. Information on these can be downloaded here: [http://www.silabs.com/usbradio](<http://www.silabs.com/usbradio>)

<a id="rst-supported-ics"></a>

## Supported ICs

The following ICs have a very similar register set, so that they are or will be supported somewhen by the driver:

- Si4700: FM radio receiver

- Si4701: FM radio receiver, RDS Support

- Si4702: FM radio receiver

- Si4703: FM radio receiver, RDS Support

- Si4704: FM radio receiver, no external antenna required

- Si4705: FM radio receiver, no external antenna required, RDS support, Dig I/O

- - **Si4706: Enhanced FM RDS/TMC radio receiver, no external antenna required, RDS**

    Support

- Si4707: Dedicated weather band radio receiver with SAME decoder, RDS Support

- Si4708: Smallest FM receivers

- Si4709: Smallest FM receivers, RDS Support

More information on these can be downloaded here: [http://www.silabs.com/products/mcu/Pages/USBFMRadioRD.aspx](<http://www.silabs.com/products/mcu/Pages/USBFMRadioRD.aspx>)

<a id="rst-supported-usb-devices"></a>

## Supported USB devices

Currently the following USB radios (vendor:product) with the Silicon Labs si470x chips are known to work:

- 10c4:818a: Silicon Labs USB FM Radio Reference Design

- 06e1:a155: ADS/Tech FM Radio Receiver (formerly Instant FM Music) (RDX-155-EF)

- 1b80:d700: KWorld USB FM Radio SnapMusic Mobile 700 (FM700)

- 10c5:819a: Sanei Electric, Inc. FM USB Radio (sold as DealExtreme.com PCear)

<a id="rst-software"></a>

## Software

Testing is usually done with most application under Debian/testing:

- fmtools - Utility for managing FM tuner cards

- gnomeradio - FM-radio tuner for the GNOME desktop

- gradio - GTK FM radio tuner

- kradio - Comfortable Radio Application for KDE

- radio - ncurses-based radio application

- mplayer - The Ultimate Movie Player For Linux

- v4l2-ctl - Collection of command line video4linux utilities

For example, you can use:



```none
v4l2-ctl -d /dev/radio0 --set-ctrl=volume=10,mute=0 --set-freq=95.21 --all
```

There is also a library libv4l, which can be used. It's going to have a function for frequency seeking, either by using hardware functionality as in radio-si470x or by implementing a function as we currently have in every of the mentioned programs. Somewhen the radio programs should make use of libv4l.

For processing RDS information, there is a project ongoing at: [http://rdsd.berlios.de/](<http://rdsd.berlios.de/>)

There is currently no project for making TMC sentences human readable.

<a id="rst-audio-listing"></a>

## Audio Listing

USB Audio is provided by the ALSA snd_usb_audio module. It is recommended to also select SND_USB_AUDIO, as this is required to get sound from the radio. For listing you have to redirect the sound, for example using one of the following commands. Please adjust the audio devices to your needs (/dev/dsp\* and hw:x,x).

If you just want to test audio (very poor quality):



```none
cat /dev/dsp1 > /dev/dsp
```

If you use sox + OSS try:



```none
sox -2 --endian little -r 96000 -t oss /dev/dsp1 -t oss /dev/dsp
```

or using sox + alsa:



```none
sox --endian little -c 2 -S -r 96000 -t alsa hw:1 -t alsa -r 96000 hw:0
```

If you use arts try:



```none
arecord -D hw:1,0 -r96000 -c2 -f S16_LE | artsdsp aplay -B -
```

If you use mplayer try:



```none
mplayer -radio adevice=hw=1.0:arate=96000 \
        -rawaudio rate=96000 \
        radio://<frequency>/capture
```

<a id="rst-module-parameters"></a>

## Module Parameters

After loading the module, you still have access to some of them in the sysfs mount under /sys/module/radio_si470x/parameters. The contents of read-only files (0444) are not updated, even if space, band and de are changed using private video controls. The others are runtime changeable.

<a id="rst-errors"></a>

## Errors

Increase tune_timeout, if you often get -EIO errors.

When timed out or band limit is reached, hw_freq_seek returns -EAGAIN.

If you get any errors from snd_usb_audio, please report them to the ALSA people.

<a id="rst-open-issues"></a>

## Open Issues

V4L minor device allocation and parameter setting is not perfect. A solution is currently under discussion.

There is an USB interface for downloading/uploading new firmware images. Support for it can be implemented using the request_firmware interface.

There is a RDS interrupt mode. The driver is already using the same interface for polling RDS information, but is currently not using the interrupt mode.

There is a LED interface, which can be used to override the LED control programmed in the firmware. This can be made available using the LED support functions in the kernel.

<a id="rst-other-useful-information-and-links"></a>

## Other useful information and links

[http://www.silabs.com/usbradio](<http://www.silabs.com/usbradio>)

---

# The Silicon Labs Si4713 FM Radio Transmitter Driver

_Peios Kernel / Administration / System administration / Media devices_

> Copyright © 2009 Nokia Corporation

<a id="rst-the-silicon-labs-si4713-fm-radio-transmitter-driver"></a>

<!-- SPDX-License-Identifier: GPL-2.0 -->

<!-- This data file has been placed in the public domain. -->

<!-- Derived from the Unicode character mappings available from
<http://www.w3.org/2003/entities/xml/>.
Processed by unicode2rstsubs.py, part of Docutils:
<https://docutils.sourceforge.io>. -->

Copyright © 2009 Nokia Corporation

Contact: Eduardo Valentin &lt;[eduardo.valentin@nokia.com](<mailto:eduardo.valentin@nokia.com>)&gt;

<a id="rst-information-about-the-device"></a>

## Information about the Device

This chip is a Silicon Labs product. It is an I2C device, currently on 0x63 address. Basically, it has transmission and signal noise level measurement features.

The Si4713 integrates transmit functions for FM broadcast stereo transmission. The chip also allows integrated receive power scanning to identify low signal power FM channels.

The chip is programmed using commands and responses. There are also several properties which can change the behavior of this chip.

Users must comply with local regulations on radio frequency (RF) transmission.

<a id="rst-device-driver-description"></a>

## Device driver description

There are two modules to handle this device. One is an I2C device driver and the other is a platform driver.

The I2C device driver exports a v4l2-subdev interface to the kernel. All properties can also be accessed by v4l2 extended controls interface, by using the v4l2-subdev calls (g_ext_ctrls, s_ext_ctrls).

The platform device driver exports a v4l2 radio device interface to user land. So, it uses the I2C device driver as a sub device in order to send the user commands to the actual device. Basically it is a wrapper to the I2C device driver.

Applications can use v4l2 radio API to specify frequency of operation, mute state, etc. But mostly of its properties will be present in the extended controls.

When the v4l2 mute property is set to 1 (true), the driver will turn the chip off.

<a id="rst-properties-description"></a>

## Properties description

The properties can be accessed using v4l2 extended controls. Here is an output from v4l2-ctl util:



```none
/ # v4l2-ctl -d /dev/radio0 --all -L
Driver Info:
        Driver name   : radio-si4713
        Card type     : Silicon Labs Si4713 Modulator
        Bus info      :
        Driver version: 0
        Capabilities  : 0x00080800
                RDS Output
                Modulator
Audio output: 0 (FM Modulator Audio Out)
Frequency: 1408000 (88.000000 MHz)
Video Standard = 0x00000000
Modulator:
        Name                 : FM Modulator
        Capabilities         : 62.5 Hz stereo rds
        Frequency range      : 76.0 MHz - 108.0 MHz
        Subchannel modulation: stereo+rds

User Controls

                        mute (bool) : default=1 value=0

FM Radio Modulator Controls

        rds_signal_deviation (int)  : min=0 max=90000 step=10 default=200 value=200 flags=slider
                rds_program_id (int)  : min=0 max=65535 step=1 default=0 value=0
        rds_program_type (int)  : min=0 max=31 step=1 default=0 value=0
                rds_ps_name (str)  : min=0 max=96 step=8 value='si4713  '
                rds_radio_text (str)  : min=0 max=384 step=32 value=''
audio_limiter_feature_enabled (bool) : default=1 value=1
audio_limiter_release_time (int)  : min=250 max=102390 step=50 default=5010 value=5010 flags=slider
        audio_limiter_deviation (int)  : min=0 max=90000 step=10 default=66250 value=66250 flags=slider
audio_compression_feature_enabl (bool) : default=1 value=1
        audio_compression_gain (int)  : min=0 max=20 step=1 default=15 value=15 flags=slider
audio_compression_threshold (int)  : min=-40 max=0 step=1 default=-40 value=-40 flags=slider
audio_compression_attack_time (int)  : min=0 max=5000 step=500 default=0 value=0 flags=slider
audio_compression_release_time (int)  : min=100000 max=1000000 step=100000 default=1000000 value=1000000 flags=slider
pilot_tone_feature_enabled (bool) : default=1 value=1
        pilot_tone_deviation (int)  : min=0 max=90000 step=10 default=6750 value=6750 flags=slider
        pilot_tone_frequency (int)  : min=0 max=19000 step=1 default=19000 value=19000 flags=slider
        pre_emphasis_settings (menu) : min=0 max=2 default=1 value=1
        tune_power_level (int)  : min=0 max=120 step=1 default=88 value=88 flags=slider
        tune_antenna_capacitor (int)  : min=0 max=191 step=1 default=0 value=110 flags=slider
```

Here is a summary of them:

- Pilot is an audible tone sent by the device.

- pilot_frequency - Configures the frequency of the stereo pilot tone.

- pilot_deviation - Configures pilot tone frequency deviation level.

- pilot_enabled - Enables or disables the pilot tone feature.

- The si4713 device is capable of applying audio compression to the transmitted signal.

- acomp_enabled - Enables or disables the audio dynamic range control feature.

- acomp_gain - Sets the gain for audio dynamic range control.

- acomp_threshold - Sets the threshold level for audio dynamic range control.

- acomp_attack_time - Sets the attack time for audio dynamic range control.

- acomp_release_time - Sets the release time for audio dynamic range control.

- Limiter sets up the audio deviation limiter feature. Once an over deviation occurs, it is possible to adjust the front-end gain of the audio input and always prevent over deviation.

- limiter_enabled - Enables or disables the limiter feature.

- limiter_deviation - Configures audio frequency deviation level.

- limiter_release_time - Sets the limiter release time.

- Tuning power

- power_level - Sets the output power level for signal transmission. antenna_capacitor - This selects the value of antenna tuning capacitor manually or automatically if set to zero.

- RDS related

- rds_ps_name - Sets the RDS ps name field for transmission.

- rds_radio_text - Sets the RDS radio text for transmission.

- rds_pi - Sets the RDS PI field for transmission.

- rds_pty - Sets the RDS PTY field for transmission.

- Region related

- preemphasis - sets the preemphasis to be applied for transmission.

<a id="rst-rnl"></a>

## RNL

This device also has an interface to measure received noise level. To do that, you should ioctl the device node. Here is an code of example:



```none
int main (int argc, char *argv[])
{
        struct si4713_rnl rnl;
        int fd = open("/dev/radio0", O_RDWR);
        int rval;

        if (argc < 2)
                return -EINVAL;

        if (fd < 0)
                return fd;

        sscanf(argv[1], "%d", &rnl.frequency);

        rval = ioctl(fd, SI4713_IOC_MEASURE_RNL, &rnl);
        if (rval < 0)
                return rval;

        printf("received noise level: %d\n", rnl.rnl);

        close(fd);
}
```

The struct si4713_rnl and SI4713_IOC_MEASURE_RNL are defined under include/linux/platform_data/media/si4713.h.

<a id="rst-stereo-mono-and-rds-subchannels"></a>

## Stereo/Mono and RDS subchannels

The device can also be configured using the available sub channels for transmission. To do that use S/G_MODULATOR ioctl and configure txsubchans properly. Refer to the V4L2 API specification for proper use of this ioctl.

<a id="rst-testing"></a>

## Testing

Testing is usually done with v4l2-ctl utility for managing FM tuner cards. The tool can be found in v4l-dvb repository under v4l2-apps/util directory.

Example for setting rds ps name:



```none
# v4l2-ctl -d /dev/radio0 --set-ctrl=rds_ps_name="Dummy"
```

---

# The SI476x Driver

_Peios Kernel / Administration / System administration / Media devices_

> Copyright © 2013 Andrey Smirnov <andrew.smirnov@gmail.com>

<a id="rst-the-si476x-driver"></a>

<!-- SPDX-License-Identifier: GPL-2.0 -->

<!-- This data file has been placed in the public domain. -->

<!-- Derived from the Unicode character mappings available from
<http://www.w3.org/2003/entities/xml/>.
Processed by unicode2rstsubs.py, part of Docutils:
<https://docutils.sourceforge.io>. -->

Copyright © 2013 Andrey Smirnov &lt;[andrew.smirnov@gmail.com](<mailto:andrew.smirnov@gmail.com>)&gt;

<a id="rst-todo-for-the-driver"></a>

## TODO for the driver

- According to the SiLabs' datasheet it is possible to update the firmware of the radio chip in the run-time, thus bringing it to the most recent version. Unfortunately I couldn't find any mentioning of the said firmware update for the old chips that I tested the driver against, so for chips like that the driver only exposes the old functionality.

<a id="rst-parameters-exposed-over-debugfs"></a>

## Parameters exposed over debugfs

SI476x allow user to get multiple characteristics that can be very useful for EoL testing/RF performance estimation, parameters that have very little to do with V4L2 subsystem. Such parameters are exposed via debugfs and can be accessed via regular file I/O operations.

The drivers exposes following files:

- /sys/kernel/debug/&lt;device-name&gt;/acf This file contains ACF(Automatically Controlled Features) status information. The contents of the file is binary data of the following layout:

  <!-- tabularcolumns: |p{7ex}|p{12ex}|L| -->


  <table>
  <thead>
  <tr>
  <th>


  Offset

  </th>
  <th>


  Name

  </th>
  <th>


  Description

  </th>
  </tr>
  </thead>
  <tbody>
  <tr>
  <td>


  0x00

  </td>
  <td>


  blend_int

  </td>
  <td>


  Flag, set when stereo separation has crossed below the blend threshold

  </td>
  </tr>
  <tr>
  <td>


  0x01

  </td>
  <td>


  hblend_int

  </td>
  <td>


  Flag, set when HiBlend cutoff frequency is lower than threshold

  </td>
  </tr>
  <tr>
  <td>


  0x02

  </td>
  <td>


  hicut_int

  </td>
  <td>


  Flag, set when HiCut cutoff frequency is lower than threshold

  </td>
  </tr>
  <tr>
  <td>


  0x03

  </td>
  <td>


  chbw_int

  </td>
  <td>


  Flag, set when channel filter bandwidth is less than threshold

  </td>
  </tr>
  <tr>
  <td>


  0x04

  </td>
  <td>


  softmute_int

  </td>
  <td>


  Flag indicating that softmute attenuation has increased above softmute threshold

  </td>
  </tr>
  <tr>
  <td>


  0x05

  </td>
  <td>


  smute

  </td>
  <td>


  0 - Audio is not soft muted 1 - Audio is soft muted

  </td>
  </tr>
  <tr>
  <td>


  0x06

  </td>
  <td>


  smattn

  </td>
  <td>


  Soft mute attenuation level in dB

  </td>
  </tr>
  <tr>
  <td>


  0x07

  </td>
  <td>


  chbw

  </td>
  <td>


  Channel filter bandwidth in kHz

  </td>
  </tr>
  <tr>
  <td>


  0x08

  </td>
  <td>


  hicut

  </td>
  <td>


  HiCut cutoff frequency in units of 100Hz

  </td>
  </tr>
  <tr>
  <td>


  0x09

  </td>
  <td>


  hiblend

  </td>
  <td>


  HiBlend cutoff frequency in units of 100 Hz

  </td>
  </tr>
  <tr>
  <td>


  0x10

  </td>
  <td>


  pilot

  </td>
  <td>


  0 - Stereo pilot is not present 1 - Stereo pilot is present

  </td>
  </tr>
  <tr>
  <td>


  0x11

  </td>
  <td>


  stblend

  </td>
  <td>


  Stereo blend in %

  </td>
  </tr>
  </tbody>
  </table>

- /sys/kernel/debug/&lt;device-name&gt;/rds_blckcnt This file contains statistics about RDS receptions. It's binary data has the following layout:

  <!-- tabularcolumns: |p{7ex}|p{12ex}|L| -->


  <table>
  <thead>
  <tr>
  <th>


  Offset

  </th>
  <th>


  Name

  </th>
  <th>


  Description

  </th>
  </tr>
  </thead>
  <tbody>
  <tr>
  <td>


  0x00

  </td>
  <td>


  expected

  </td>
  <td>


  Number of expected RDS blocks

  </td>
  </tr>
  <tr>
  <td>


  0x02

  </td>
  <td>


  received

  </td>
  <td>


  Number of received RDS blocks

  </td>
  </tr>
  <tr>
  <td>


  0x04

  </td>
  <td>


  uncorrectable

  </td>
  <td>


  Number of uncorrectable RDS blocks

  </td>
  </tr>
  </tbody>
  </table>

- /sys/kernel/debug/&lt;device-name&gt;/agc This file contains information about parameters pertaining to AGC(Automatic Gain Control)

  The layout is:

  <!-- tabularcolumns: |p{7ex}|p{12ex}|L| -->


  <table>
  <thead>
  <tr>
  <th>


  Offset

  </th>
  <th>


  Name

  </th>
  <th>


  Description

  </th>
  </tr>
  </thead>
  <tbody>
  <tr>
  <td>


  0x00

  </td>
  <td>


  mxhi

  </td>
  <td>


  0 - FM Mixer PD high threshold is not tripped 1 - FM Mixer PD high threshold is tripped

  </td>
  </tr>
  <tr>
  <td>


  0x01

  </td>
  <td>


  mxlo

  </td>
  <td>


  ditto for FM Mixer PD low

  </td>
  </tr>
  <tr>
  <td>


  0x02

  </td>
  <td>


  lnahi

  </td>
  <td>


  ditto for FM LNA PD high

  </td>
  </tr>
  <tr>
  <td>


  0x03

  </td>
  <td>


  lnalo

  </td>
  <td>


  ditto for FM LNA PD low

  </td>
  </tr>
  <tr>
  <td>


  0x04

  </td>
  <td>


  fmagc1

  </td>
  <td>


  FMAGC1 attenuator resistance (see datasheet for more detail)

  </td>
  </tr>
  <tr>
  <td>


  0x05

  </td>
  <td>


  fmagc2

  </td>
  <td>


  ditto for FMAGC2

  </td>
  </tr>
  <tr>
  <td>


  0x06

  </td>
  <td>


  pgagain

  </td>
  <td>


  PGA gain in dB

  </td>
  </tr>
  <tr>
  <td>


  0x07

  </td>
  <td>


  fmwblang

  </td>
  <td>


  FM/WB LNA Gain in dB

  </td>
  </tr>
  </tbody>
  </table>

- /sys/kernel/debug/&lt;device-name&gt;/rsq This file contains information about parameters pertaining to RSQ(Received Signal Quality)

  The layout is:

  <!-- tabularcolumns: |p{7ex}|p{12ex}|p{60ex}| -->


  <table>
  <thead>
  <tr>
  <th>


  Offset

  </th>
  <th>


  Name

  </th>
  <th>


  Description

  </th>
  </tr>
  </thead>
  <tbody>
  <tr>
  <td>


  0x00

  </td>
  <td>


  multhint

  </td>
  <td>


  0 - multipath value has not crossed the Multipath high threshold 1 - multipath value has crossed the Multipath high threshold

  </td>
  </tr>
  <tr>
  <td>


  0x01

  </td>
  <td>


  multlint

  </td>
  <td>


  ditto for Multipath low threshold

  </td>
  </tr>
  <tr>
  <td>


  0x02

  </td>
  <td>


  snrhint

  </td>
  <td>


  0 - received signal's SNR has not crossed high threshold 1 - received signal's SNR has crossed high threshold

  </td>
  </tr>
  <tr>
  <td>


  0x03

  </td>
  <td>


  snrlint

  </td>
  <td>


  ditto for low threshold

  </td>
  </tr>
  <tr>
  <td>


  0x04

  </td>
  <td>


  rssihint

  </td>
  <td>


  ditto for RSSI high threshold

  </td>
  </tr>
  <tr>
  <td>


  0x05

  </td>
  <td>


  rssilint

  </td>
  <td>


  ditto for RSSI low threshold

  </td>
  </tr>
  <tr>
  <td>


  0x06

  </td>
  <td>


  bltf

  </td>
  <td>


  Flag indicating if seek command reached/wrapped seek band limit

  </td>
  </tr>
  <tr>
  <td>


  0x07

  </td>
  <td>


  snr_ready

  </td>
  <td>


  Indicates that SNR metrics is ready

  </td>
  </tr>
  <tr>
  <td>


  0x08

  </td>
  <td>


  rssiready

  </td>
  <td>


  ditto for RSSI metrics

  </td>
  </tr>
  <tr>
  <td>


  0x09

  </td>
  <td>


  injside

  </td>
  <td>


  0 - Low-side injection is being used 1 - High-side injection is used

  </td>
  </tr>
  <tr>
  <td>


  0x10

  </td>
  <td>


  afcrl

  </td>
  <td>


  Flag indicating if AFC rails

  </td>
  </tr>
  <tr>
  <td>


  0x11

  </td>
  <td>


  valid

  </td>
  <td>


  Flag indicating if channel is valid

  </td>
  </tr>
  <tr>
  <td>


  0x12

  </td>
  <td>


  readfreq

  </td>
  <td>


  Current tuned frequency

  </td>
  </tr>
  <tr>
  <td>


  0x14

  </td>
  <td>


  freqoff

  </td>
  <td>


  Signed frequency offset in units of 2ppm

  </td>
  </tr>
  <tr>
  <td>


  0x15

  </td>
  <td>


  rssi

  </td>
  <td>


  Signed value of RSSI in dBuV

  </td>
  </tr>
  <tr>
  <td>


  0x16

  </td>
  <td>


  snr

  </td>
  <td>


  Signed RF SNR in dB

  </td>
  </tr>
  <tr>
  <td>


  0x17

  </td>
  <td>


  issi

  </td>
  <td>


  Signed Image Strength Signal indicator

  </td>
  </tr>
  <tr>
  <td>


  0x18

  </td>
  <td>


  lassi

  </td>
  <td>


  Signed Low side adjacent Channel Strength indicator

  </td>
  </tr>
  <tr>
  <td>


  0x19

  </td>
  <td>


  hassi

  </td>
  <td>


  ditto for High side

  </td>
  </tr>
  <tr>
  <td>


  0x20

  </td>
  <td>


  mult

  </td>
  <td>


  Multipath indicator

  </td>
  </tr>
  <tr>
  <td>


  0x21

  </td>
  <td>


  dev

  </td>
  <td>


  Frequency deviation

  </td>
  </tr>
  <tr>
  <td>


  0x24

  </td>
  <td>


  assi

  </td>
  <td>


  Adjacent channel SSI

  </td>
  </tr>
  <tr>
  <td>


  0x25

  </td>
  <td>


  usn

  </td>
  <td>


  Ultrasonic noise indicator

  </td>
  </tr>
  <tr>
  <td>


  0x26

  </td>
  <td>


  pilotdev

  </td>
  <td>


  Pilot deviation in units of 100 Hz

  </td>
  </tr>
  <tr>
  <td>


  0x27

  </td>
  <td>


  rdsdev

  </td>
  <td>


  ditto for RDS

  </td>
  </tr>
  <tr>
  <td>


  0x28

  </td>
  <td>


  assidev

  </td>
  <td>


  ditto for ASSI

  </td>
  </tr>
  <tr>
  <td>


  0x29

  </td>
  <td>


  strongdev

  </td>
  <td>


  Frequency deviation

  </td>
  </tr>
  <tr>
  <td>


  0x30

  </td>
  <td>


  rdspi

  </td>
  <td>


  RDS PI code

  </td>
  </tr>
  </tbody>
  </table>

- /sys/kernel/debug/&lt;device-name&gt;/rsq_primary This file contains information about parameters pertaining to RSQ(Received Signal Quality) for primary tuner only. Layout is as the one above.

---

# Siano cards list

_Peios Kernel / Administration / System administration / Media devices_

> Reference for Siano cards list.

<a id="rst-siano-cards-list"></a>

<!-- SPDX-License-Identifier: GPL-2.0 -->

<!-- tabularcolumns: p{13.3cm}|p{4.2cm}| -->


<table>
<thead>
<tr>
<th>


Card name

</th>
<th>


USB IDs

</th>
</tr>
</thead>
<tbody>
<tr>
<td>


Hauppauge Catamount

</td>
<td>


2040:1700

</td>
</tr>
<tr>
<td>


Hauppauge Okemo-A

</td>
<td>


2040:1800

</td>
</tr>
<tr>
<td>


Hauppauge Okemo-B

</td>
<td>


2040:1801

</td>
</tr>
<tr>
<td>


Hauppauge WinTV MiniCard

</td>
<td>


2040:2000, 2040:200a, 2040:2010, 2040:2011, 2040:2019

</td>
</tr>
<tr>
<td>


Hauppauge WinTV MiniCard Rev 2

</td>
<td>


2040:2009

</td>
</tr>
<tr>
<td>


Hauppauge WinTV MiniStick

</td>
<td>


2040:5500, 2040:5510, 2040:5520, 2040:5530, 2040:5580, 2040:5590, 2040:b900, 2040:b910, 2040:b980, 2040:b990, 2040:c000, 2040:c010, 2040:c080, 2040:c090, 2040:c0a0, 2040:f5a0

</td>
</tr>
<tr>
<td>


Hauppauge microStick 77e

</td>
<td>


2013:0257

</td>
</tr>
<tr>
<td>


ONDA Data Card Digital Receiver

</td>
<td>


19D2:0078

</td>
</tr>
<tr>
<td>


Siano Denver (ATSC-M/H) Digital Receiver

</td>
<td>


187f:0800

</td>
</tr>
<tr>
<td>


Siano Denver (TDMB) Digital Receiver

</td>
<td>


187f:0700

</td>
</tr>
<tr>
<td>


Siano Ming Digital Receiver

</td>
<td>


187f:0310

</td>
</tr>
<tr>
<td>


Siano Nice Digital Receiver

</td>
<td>


187f:0202, 187f:0202

</td>
</tr>
<tr>
<td>


Siano Nova A Digital Receiver

</td>
<td>


187f:0200

</td>
</tr>
<tr>
<td>


Siano Nova B Digital Receiver

</td>
<td>


187f:0201

</td>
</tr>
<tr>
<td>


Siano Pele Digital Receiver

</td>
<td>


187f:0500

</td>
</tr>
<tr>
<td>


Siano Rio Digital Receiver

</td>
<td>


187f:0600, 3275:0080

</td>
</tr>
<tr>
<td>


Siano Stellar Digital Receiver

</td>
<td>


187f:0100

</td>
</tr>
<tr>
<td>


Siano Stellar Digital Receiver ROM

</td>
<td>


187f:0010

</td>
</tr>
<tr>
<td>


Siano Vega Digital Receiver

</td>
<td>


187f:0300

</td>
</tr>
<tr>
<td>


Siano Venice Digital Receiver

</td>
<td>


187f:0301, 187f:0301, 187f:0302

</td>
</tr>
<tr>
<td>


ZTE Data Card Digital Receiver

</td>
<td>


19D2:0086

</td>
</tr>
</tbody>
</table>

---

# Starfive Camera Subsystem driver

_Peios Kernel / Administration / System administration / Media devices_

> This file documents the driver for the Starfive Camera Subsystem found on Starfive JH7110 SoC. The driver is located under drivers/staging/media/starfive/ camss.

<a id="rst-starfive-camera-subsystem-driver"></a>

<!-- SPDX-License-Identifier: GPL-2.0 -->

<!-- This data file has been placed in the public domain. -->

<!-- Derived from the Unicode character mappings available from
<http://www.w3.org/2003/entities/xml/>.
Processed by unicode2rstsubs.py, part of Docutils:
<https://docutils.sourceforge.io>. -->

<a id="rst-introduction"></a>

## Introduction

This file documents the driver for the Starfive Camera Subsystem found on Starfive JH7110 SoC. The driver is located under drivers/staging/media/starfive/ camss.

The driver implements V4L2, Media controller and v4l2_subdev interfaces. Camera sensor using V4L2 subdev interface in the kernel is supported.

The driver has been successfully used on the Gstreamer 1.18.5 with v4l2src plugin.

<a id="rst-starfive-camera-subsystem-hardware"></a>

## Starfive Camera Subsystem hardware

The Starfive Camera Subsystem hardware consists of:



```text
                  |\         +---------------+      +-----------+
+----------+      |  \       |               |      |           |
|          |      |   |      |               |      |           |
|   MIPI   |----->|   |----->|      ISP      |----->|           |
|          |      |   |      |               |      |           |
+----------+      |   |      |               |      |  Memory   |
                  |MUX|      +---------------+      | Interface |
+----------+      |   |                             |           |
|          |      |   |---------------------------->|           |
| Parallel |----->|   |                             |           |
|          |      |   |                             |           |
+----------+      |  /                              |           |
                  |/                                +-----------+
```

- MIPI: The MIPI interface, receiving data from a MIPI CSI-2 camera sensor.

- Parallel: The parallel interface,  receiving data from a parallel sensor.

- ISP: The ISP, processing raw Bayer data from an image sensor and producing YUV frames.

<a id="rst-topology"></a>

## Topology

The media controller pipeline graph is as follows:

<a id="rst-starfive-camss-graph"></a>

```mermaid
flowchart TB
  n0["pad 0<br/>stf_isp<br/>/dev/v4l-subdev0<br/>pad 1"]
  n1["capture_yuv<br/>/dev/video1"]
  n2["capture_raw<br/>/dev/video0"]
  n3["pad 0<br/>cdns_csi2rx.19800000.csi-bridge<br/>pad 1<br/>pad 2<br/>pad 3<br/>pad 4"]
  n4["imx219 6-0010<br/>/dev/v4l-subdev1<br/>pad 0"]
  n0 -->|"from pad 1"| n1
  n3 -->|"pad 1 → pad 0"| n0
  n3 -->|"from pad 1"| n2
  n4 -->|"pad 0 → pad 0"| n3
  style n0 fill:green,color:#111
  style n1 fill:yellow,color:#111
  style n2 fill:yellow,color:#111
  style n3 fill:green,color:#111
  style n4 fill:green,color:#111
  linkStyle 0 stroke-dasharray:6 4
  linkStyle 1 stroke-dasharray:6 4
  linkStyle 2 stroke-dasharray:6 4
  linkStyle 3 stroke-width:3px
```

starfive_camss_graph.dot

The driver has 2 video devices:

- capture_raw: The capture device, capturing image data directly from a sensor.

- capture_yuv: The capture device, capturing YUV frame data processed by the ISP module

The driver has 3 subdevices:

- stf_isp: is responsible for all the isp operations, outputs YUV frames.

- cdns_csi2rx: a CSI-2 bridge supporting up to 4 CSI lanes in input, and 4 different pixel streams in output.

- imx219: an image sensor, image data is sent through MIPI CSI-2.

---

# How to set up the Technisat/B2C2 Flexcop devices

_Peios Kernel / Administration / System administration / Media devices_

> Author: Uwe Bugla <uwe.bugla@gmx.de> August 2009

<a id="rst-how-to-set-up-the-technisat-b2c2-flexcop-devices"></a>

<!-- SPDX-License-Identifier: GPL-2.0 -->

> [!NOTE]
>
> This documentation is outdated.

Author: Uwe Bugla &lt;[uwe.bugla@gmx.de](<mailto:uwe.bugla@gmx.de>)&gt; August 2009

<a id="rst-find-out-what-device-you-have"></a>

## Find out what device you have

Important Notice: The driver does NOT support Technisat USB 2 devices\!

First start your linux box with a shipped kernel:



```none
lspci -vvv for a PCI device (lsusb -vvv for an USB device) will show you for example:
02:0b.0 Network controller: Techsan Electronics Co Ltd B2C2 FlexCopII DVB chip /
Technisat SkyStar2 DVB card (rev 02)

dmesg | grep frontend may show you for example:
DVB: registering frontend 0 (Conexant CX24123/CX24109)...
```

<a id="rst-kernel-compilation"></a>

## Kernel compilation:

If the Flexcop / Technisat is the only DVB / TV / Radio device in your box get rid of unnecessary modules and check this one:

`Multimedia support` =&gt; `Customise analog and hybrid tuner modules to build`

In this directory uncheck every driver which is activated there (except `Simple tuner support` for ATSC 3rd generation only -&gt; see case 9 please).

Then please activate:

- Main module part:

  `Multimedia support` =&gt; `DVB/ATSC adapters` =&gt; `Technisat/B2C2 FlexcopII(b) and FlexCopIII adapters`

  1. =&gt; `Technisat/B2C2 Air/Sky/Cable2PC PCI` (PCI card) or

  2. =&gt; `Technisat/B2C2 Air/Sky/Cable2PC USB` (USB 1.1 adapter) and for troubleshooting purposes:

  3. =&gt; `Enable debug for the B2C2 FlexCop drivers`

- Frontend / Tuner / Demodulator module part:

  - **`Multimedia support` =&gt; `DVB/ATSC adapters`**

    =&gt; `Customise the frontend modules to build` `Customise DVB frontends` =&gt;

  - SkyStar DVB-S Revision 2.3:

    1. =&gt; `Zarlink VP310/MT312/ZL10313 based`

    2. =&gt; `Generic I2C PLL based tuners`

  - SkyStar DVB-S Revision 2.6:

    1. =&gt; `ST STV0299 based`

    2. =&gt; `Generic I2C PLL based tuners`

  - SkyStar DVB-S Revision 2.7:

    1. =&gt; `Samsung S5H1420 based`

    2. =&gt; `Integrant ITD1000 Zero IF tuner for DVB-S/DSS`

    3. =&gt; `ISL6421 SEC controller`

  - SkyStar DVB-S Revision 2.8:

    1. =&gt; `Conexant CX24123 based`

    2. =&gt; `Conexant CX24113/CX24128 tuner for DVB-S/DSS`

    3. =&gt; `ISL6421 SEC controller`

  - AirStar DVB-T card:

    1. =&gt; `Zarlink MT352 based`

    2. =&gt; `Generic I2C PLL based tuners`

  - CableStar DVB-C card:

    1. =&gt; `ST STV0297 based`

    2. =&gt; `Generic I2C PLL based tuners`

  - AirStar ATSC card 1st generation:

    1. =&gt; `Broadcom BCM3510`

  - AirStar ATSC card 2nd generation:

    1. =&gt; `NxtWave Communications NXT2002/NXT2004 based`

    2. =&gt; `Generic I2C PLL based tuners`

  - AirStar ATSC card 3rd generation:

    1. =&gt; `LG Electronics LGDT3302/LGDT3303 based`

    2. `Multimedia support` =&gt; `Customise analog and hybrid tuner modules to build` =&gt; `Simple tuner support`

---

# TechnoTrend/Hauppauge DEC USB Driver

_Peios Kernel / Administration / System administration / Media devices_

> Supported:

<a id="rst-technotrend-hauppauge-dec-usb-driver"></a>

<!-- SPDX-License-Identifier: GPL-2.0 -->

<a id="rst-driver-status"></a>

## Driver Status

Supported:

> - DEC2000-t
>
> - DEC2450-t
>
> - DEC3000-s
>
> - Video Streaming
>
> - Audio Streaming
>
> - Section Filters
>
> - Channel Zapping
>
> - Hotplug firmware loader

To Do:

> - Tuner status information
>
> - DVB network interface
>
> - Streaming video PC-&gt;DEC
>
> - Conax support for 2450-t

<a id="rst-getting-the-firmware"></a>

## Getting the Firmware

To download the firmware, use the following commands:



```none
scripts/get_dvb_firmware dec2000t
scripts/get_dvb_firmware dec2540t
scripts/get_dvb_firmware dec3000s
```

<a id="rst-hotplug-firmware-loading"></a>

## Hotplug Firmware Loading

Since 2.6 kernels, the firmware is loaded at the point that the driver module is loaded.

Copy the three files downloaded above into the /usr/lib/hotplug/firmware or /lib/firmware directory (depending on configuration of firmware hotplug).

---

# Tuner cards list

_Peios Kernel / Administration / System administration / Media devices_

> Reference for Tuner cards list.

<a id="rst-tuner-cards-list"></a>

<!-- SPDX-License-Identifier: GPL-2.0 -->


<table>
<thead>
<tr>
<th>


Tuner number

</th>
<th>


Card name

</th>
</tr>
</thead>
<tbody>
<tr>
<td>


0

</td>
<td>


Temic PAL (4002 FH5)

</td>
</tr>
<tr>
<td>


1

</td>
<td>


Philips PAL_I (FI1246 and compatibles)

</td>
</tr>
<tr>
<td>


2

</td>
<td>


Philips NTSC (FI1236,FM1236 and compatibles)

</td>
</tr>
<tr>
<td>


3

</td>
<td>


Philips (SECAM+PAL_BG) (FI1216MF, FM1216MF, FR1216MF)

</td>
</tr>
<tr>
<td>


4

</td>
<td>


NoTuner

</td>
</tr>
<tr>
<td>


5

</td>
<td>


Philips PAL_BG (FI1216 and compatibles)

</td>
</tr>
<tr>
<td>


6

</td>
<td>


Temic NTSC (4032 FY5)

</td>
</tr>
<tr>
<td>


7

</td>
<td>


Temic PAL_I (4062 FY5)

</td>
</tr>
<tr>
<td>


8

</td>
<td>


Temic NTSC (4036 FY5)

</td>
</tr>
<tr>
<td>


9

</td>
<td>


Alps HSBH1

</td>
</tr>
<tr>
<td>


10

</td>
<td>


Alps TSBE1

</td>
</tr>
<tr>
<td>


11

</td>
<td>


Alps TSBB5

</td>
</tr>
<tr>
<td>


12

</td>
<td>


Alps TSBE5

</td>
</tr>
<tr>
<td>


13

</td>
<td>


Alps TSBC5

</td>
</tr>
<tr>
<td>


14

</td>
<td>


Temic PAL_BG (4006FH5)

</td>
</tr>
<tr>
<td>


15

</td>
<td>


Alps TSCH6

</td>
</tr>
<tr>
<td>


16

</td>
<td>


Temic PAL_DK (4016 FY5)

</td>
</tr>
<tr>
<td>


17

</td>
<td>


Philips NTSC_M (MK2)

</td>
</tr>
<tr>
<td>


18

</td>
<td>


Temic PAL_I (4066 FY5)

</td>
</tr>
<tr>
<td>


19

</td>
<td>


Temic PAL\* auto (4006 FN5)

</td>
</tr>
<tr>
<td>


20

</td>
<td>


Temic PAL_BG (4009 FR5) or PAL_I (4069 FR5)

</td>
</tr>
<tr>
<td>


21

</td>
<td>


Temic NTSC (4039 FR5)

</td>
</tr>
<tr>
<td>


22

</td>
<td>


Temic PAL/SECAM multi (4046 FM5)

</td>
</tr>
<tr>
<td>


23

</td>
<td>


Philips PAL_DK (FI1256 and compatibles)

</td>
</tr>
<tr>
<td>


24

</td>
<td>


Philips PAL/SECAM multi (FQ1216ME)

</td>
</tr>
<tr>
<td>


25

</td>
<td>


LG PAL_I+FM (TAPC-I001D)

</td>
</tr>
<tr>
<td>


26

</td>
<td>


LG PAL_I (TAPC-I701D)

</td>
</tr>
<tr>
<td>


27

</td>
<td>


LG NTSC+FM (TPI8NSR01F)

</td>
</tr>
<tr>
<td>


28

</td>
<td>


LG PAL_BG+FM (TPI8PSB01D)

</td>
</tr>
<tr>
<td>


29

</td>
<td>


LG PAL_BG (TPI8PSB11D)

</td>
</tr>
<tr>
<td>


30

</td>
<td>


Temic PAL\* auto + FM (4009 FN5)

</td>
</tr>
<tr>
<td>


31

</td>
<td>


SHARP NTSC_JP (2U5JF5540)

</td>
</tr>
<tr>
<td>


32

</td>
<td>


Samsung PAL TCPM9091PD27

</td>
</tr>
<tr>
<td>


33

</td>
<td>


MT20xx universal

</td>
</tr>
<tr>
<td>


34

</td>
<td>


Temic PAL_BG (4106 FH5)

</td>
</tr>
<tr>
<td>


35

</td>
<td>


Temic PAL_DK/SECAM_L (4012 FY5)

</td>
</tr>
<tr>
<td>


36

</td>
<td>


Temic NTSC (4136 FY5)

</td>
</tr>
<tr>
<td>


37

</td>
<td>


LG PAL (newer TAPC series)

</td>
</tr>
<tr>
<td>


38

</td>
<td>


Philips PAL/SECAM multi (FM1216ME MK3)

</td>
</tr>
<tr>
<td>


39

</td>
<td>


LG NTSC (newer TAPC series)

</td>
</tr>
<tr>
<td>


40

</td>
<td>


HITACHI V7-J180AT

</td>
</tr>
<tr>
<td>


41

</td>
<td>


Philips PAL_MK (FI1216 MK)

</td>
</tr>
<tr>
<td>


42

</td>
<td>


Philips FCV1236D ATSC/NTSC dual in

</td>
</tr>
<tr>
<td>


43

</td>
<td>


Philips NTSC MK3 (FM1236MK3 or FM1236/F)

</td>
</tr>
<tr>
<td>


44

</td>
<td>


Philips 4 in 1 (ATI TV Wonder Pro/Conexant)

</td>
</tr>
<tr>
<td>


45

</td>
<td>


Microtune 4049 FM5

</td>
</tr>
<tr>
<td>


46

</td>
<td>


Panasonic VP27s/ENGE4324D

</td>
</tr>
<tr>
<td>


47

</td>
<td>


LG NTSC (TAPE series)

</td>
</tr>
<tr>
<td>


48

</td>
<td>


Tenna TNF 8831 BGFF)

</td>
</tr>
<tr>
<td>


49

</td>
<td>


Microtune 4042 FI5 ATSC/NTSC dual in

</td>
</tr>
<tr>
<td>


50

</td>
<td>


TCL 2002N

</td>
</tr>
<tr>
<td>


51

</td>
<td>


Philips PAL/SECAM_D (FM 1256 I-H3)

</td>
</tr>
<tr>
<td>


52

</td>
<td>


Thomson DTT 7610 (ATSC/NTSC)

</td>
</tr>
<tr>
<td>


53

</td>
<td>


Philips FQ1286

</td>
</tr>
<tr>
<td>


54

</td>
<td>


Philips/NXP TDA 8290/8295 + 8275/8275A/18271

</td>
</tr>
<tr>
<td>


55

</td>
<td>


TCL 2002MB

</td>
</tr>
<tr>
<td>


56

</td>
<td>


Philips PAL/SECAM multi (FQ1216AME MK4)

</td>
</tr>
<tr>
<td>


57

</td>
<td>


Philips FQ1236A MK4

</td>
</tr>
<tr>
<td>


58

</td>
<td>


Ymec TVision TVF-8531MF/8831MF/8731MF

</td>
</tr>
<tr>
<td>


59

</td>
<td>


Ymec TVision TVF-5533MF

</td>
</tr>
<tr>
<td>


60

</td>
<td>


Thomson DTT 761X (ATSC/NTSC)

</td>
</tr>
<tr>
<td>


61

</td>
<td>


Tena TNF9533-D/IF/TNF9533-B/DF

</td>
</tr>
<tr>
<td>


62

</td>
<td>


Philips TEA5767HN FM Radio

</td>
</tr>
<tr>
<td>


63

</td>
<td>


Philips FMD1216ME MK3 Hybrid Tuner

</td>
</tr>
<tr>
<td>


64

</td>
<td>


LG TDVS-H06xF

</td>
</tr>
<tr>
<td>


65

</td>
<td>


Ymec TVF66T5-B/DFF

</td>
</tr>
<tr>
<td>


66

</td>
<td>


LG TALN series

</td>
</tr>
<tr>
<td>


67

</td>
<td>


Philips TD1316 Hybrid Tuner

</td>
</tr>
<tr>
<td>


68

</td>
<td>


Philips TUV1236D ATSC/NTSC dual in

</td>
</tr>
<tr>
<td>


69

</td>
<td>


Tena TNF 5335 and similar models

</td>
</tr>
<tr>
<td>


70

</td>
<td>


Samsung TCPN 2121P30A

</td>
</tr>
<tr>
<td>


71

</td>
<td>


Xceive xc2028/xc3028 tuner

</td>
</tr>
<tr>
<td>


72

</td>
<td>


Thomson FE6600

</td>
</tr>
<tr>
<td>


73

</td>
<td>


Samsung TCPG 6121P30A

</td>
</tr>
<tr>
<td>


75

</td>
<td>


Philips TEA5761 FM Radio

</td>
</tr>
<tr>
<td>


76

</td>
<td>


Xceive 5000 tuner

</td>
</tr>
<tr>
<td>


77

</td>
<td>


TCL tuner MF02GIP-5N-E

</td>
</tr>
<tr>
<td>


78

</td>
<td>


Philips FMD1216MEX MK3 Hybrid Tuner

</td>
</tr>
<tr>
<td>


79

</td>
<td>


Philips PAL/SECAM multi (FM1216 MK5)

</td>
</tr>
<tr>
<td>


80

</td>
<td>


Philips FQ1216LME MK3 PAL/SECAM w/active loopthrough

</td>
</tr>
<tr>
<td>


81

</td>
<td>


Partsnic (Daewoo) PTI-5NF05

</td>
</tr>
<tr>
<td>


82

</td>
<td>


Philips CU1216L

</td>
</tr>
<tr>
<td>


83

</td>
<td>


NXP TDA18271

</td>
</tr>
<tr>
<td>


84

</td>
<td>


Sony BTF-Pxn01Z

</td>
</tr>
<tr>
<td>


85

</td>
<td>


Philips FQ1236 MK5

</td>
</tr>
<tr>
<td>


86

</td>
<td>


Tena TNF5337 MFD

</td>
</tr>
<tr>
<td>


87

</td>
<td>


Xceive 4000 tuner

</td>
</tr>
<tr>
<td>


88

</td>
<td>


Xceive 5000C tuner

</td>
</tr>
<tr>
<td>


89

</td>
<td>


Sony BTF-PG472Z PAL/SECAM

</td>
</tr>
<tr>
<td>


90

</td>
<td>


Sony BTF-PK467Z NTSC-M-JP

</td>
</tr>
<tr>
<td>


91

</td>
<td>


Sony BTF-PB463Z NTSC-M

</td>
</tr>
<tr>
<td>


92

</td>
<td>


Silicon Labs Si2157 tuner

</td>
</tr>
<tr>
<td>


93

</td>
<td>


Tena TNF931D-DFDR1

</td>
</tr>
</tbody>
</table>

---

# USB drivers

_Peios Kernel / Administration / System administration / Media devices_

> The USB boards are identified by an identification called USB ID.

<a id="rst-usb-drivers"></a>

<!-- SPDX-License-Identifier: GPL-2.0 -->

The USB boards are identified by an identification called USB ID.

The `lsusb` command allows identifying the USB IDs:



```text
$ lsusb
...
Bus 001 Device 015: ID 046d:082d Logitech, Inc. HD Pro Webcam C920
Bus 001 Device 074: ID 2040:b131 Hauppauge
Bus 001 Device 075: ID 2013:024f PCTV Systems nanoStick T2 290e
...
```

Newer camera devices use a standard way to expose themselves as such, via USB Video Class. Those cameras are automatically supported by the `uvc-driver`.

Older cameras and TV USB devices uses USB Vendor Classes: each vendor defines its own way to access the device. This section contains card lists for such vendor-class devices.

While this is not as common as on PCI, sometimes the same USB ID is used by different products. So, several media drivers allow passing a `card=` parameter, in order to setup a card number that would match the correct settings for an specific product type.

The current supported USB cards (not including staging drivers) are listed below<a id="rst-footnote-reference-1"></a>[1](#rst-footnote-1).

<a id="rst-footnote-1"></a>



**[1]** some of the drivers have sub-drivers, not shown at this table. In particular, gspca driver has lots of sub-drivers, for cameras not supported by the USB Video Class (UVC) driver, as shown at [gspca card list](</kernel/administration/admin-guide/media/gspca-cardlist.md>).


<table>
<thead>
<tr>
<th>


Driver

</th>
<th>


Name

</th>
</tr>
</thead>
<tbody>
<tr>
<td>


airspy

</td>
<td>


AirSpy

</td>
</tr>
<tr>
<td>


au0828

</td>
<td>


Auvitek AU0828

</td>
</tr>
<tr>
<td>


b2c2-flexcop-usb

</td>
<td>


Technisat/B2C2 Air/Sky/Cable2PC USB

</td>
</tr>
<tr>
<td>


cx231xx

</td>
<td>


Conexant cx231xx USB video capture

</td>
</tr>
<tr>
<td>


dvb-as102

</td>
<td>


Abilis AS102 DVB receiver

</td>
</tr>
<tr>
<td>


dvb-ttusb-budget

</td>
<td>


Technotrend/Hauppauge Nova - USB devices

</td>
</tr>
<tr>
<td>


dvb-usb-a800

</td>
<td>


AVerMedia AverTV DVB-T USB 2.0 (A800)

</td>
</tr>
<tr>
<td>


dvb-usb-af9005

</td>
<td>


Afatech AF9005 DVB-T USB1.1

</td>
</tr>
<tr>
<td>


dvb-usb-af9015

</td>
<td>


Afatech AF9015 DVB-T USB2.0

</td>
</tr>
<tr>
<td>


dvb-usb-af9035

</td>
<td>


Afatech AF9035 DVB-T USB2.0

</td>
</tr>
<tr>
<td>


dvb-usb-anysee

</td>
<td>


Anysee DVB-T/C USB2.0

</td>
</tr>
<tr>
<td>


dvb-usb-au6610

</td>
<td>


Alcor Micro AU6610 USB2.0

</td>
</tr>
<tr>
<td>


dvb-usb-az6007

</td>
<td>


AzureWave 6007 and clones DVB-T/C USB2.0

</td>
</tr>
<tr>
<td>


dvb-usb-az6027

</td>
<td>


Azurewave DVB-S/S2 USB2.0 AZ6027

</td>
</tr>
<tr>
<td>


dvb-usb-ce6230

</td>
<td>


Intel CE6230 DVB-T USB2.0

</td>
</tr>
<tr>
<td>


dvb-usb-cinergyT2

</td>
<td>


Terratec CinergyT2/qanu USB 2.0 DVB-T

</td>
</tr>
<tr>
<td>


dvb-usb-cxusb

</td>
<td>


Conexant USB2.0 hybrid

</td>
</tr>
<tr>
<td>


dvb-usb-dib0700

</td>
<td>


DiBcom DiB0700

</td>
</tr>
<tr>
<td>


dvb-usb-dibusb-common

</td>
<td>


DiBcom DiB3000M-B

</td>
</tr>
<tr>
<td>


dvb-usb-dibusb-mc

</td>
<td>


DiBcom DiB3000M-C/P

</td>
</tr>
<tr>
<td>


dvb-usb-digitv

</td>
<td>


Nebula Electronics uDigiTV DVB-T USB2.0

</td>
</tr>
<tr>
<td>


dvb-usb-dtt200u

</td>
<td>


WideView WT-200U and WT-220U (pen) DVB-T

</td>
</tr>
<tr>
<td>


dvb-usb-dtv5100

</td>
<td>


AME DTV-5100 USB2.0 DVB-T

</td>
</tr>
<tr>
<td>


dvb-usb-dvbsky

</td>
<td>


DVBSky USB

</td>
</tr>
<tr>
<td>


dvb-usb-dw2102

</td>
<td>


DvbWorld &amp; TeVii DVB-S/S2 USB2.0

</td>
</tr>
<tr>
<td>


dvb-usb-ec168

</td>
<td>


E3C EC168 DVB-T USB2.0

</td>
</tr>
<tr>
<td>


dvb-usb-gl861

</td>
<td>


Genesys Logic GL861 USB2.0

</td>
</tr>
<tr>
<td>


dvb-usb-gp8psk

</td>
<td>


GENPIX 8PSK-&gt;USB module

</td>
</tr>
<tr>
<td>


dvb-usb-lmedm04

</td>
<td>


LME DM04/QQBOX DVB-S USB2.0

</td>
</tr>
<tr>
<td>


dvb-usb-m920x

</td>
<td>


Uli m920x DVB-T USB2.0

</td>
</tr>
<tr>
<td>


dvb-usb-nova-t-usb2

</td>
<td>


Hauppauge WinTV-NOVA-T usb2 DVB-T USB2.0

</td>
</tr>
<tr>
<td>


dvb-usb-opera

</td>
<td>


Opera1 DVB-S USB2.0 receiver

</td>
</tr>
<tr>
<td>


dvb-usb-pctv452e

</td>
<td>


Pinnacle PCTV HDTV Pro USB device/TT Connect S2-3600

</td>
</tr>
<tr>
<td>


dvb-usb-rtl28xxu

</td>
<td>


Realtek RTL28xxU DVB USB

</td>
</tr>
<tr>
<td>


dvb-usb-technisat-usb2

</td>
<td>


Technisat DVB-S/S2 USB2.0

</td>
</tr>
<tr>
<td>


dvb-usb-ttusb2

</td>
<td>


Pinnacle 400e DVB-S USB2.0

</td>
</tr>
<tr>
<td>


dvb-usb-umt-010

</td>
<td>


HanfTek UMT-010 DVB-T USB2.0

</td>
</tr>
<tr>
<td>


dvb_usb_v2

</td>
<td>


Support for various USB DVB devices v2

</td>
</tr>
<tr>
<td>


dvb-usb-vp702x

</td>
<td>


TwinhanDTV StarBox and clones DVB-S USB2.0

</td>
</tr>
<tr>
<td>


dvb-usb-vp7045

</td>
<td>


TwinhanDTV Alpha/MagicBoxII, DNTV tinyUSB2, Beetle USB2.0

</td>
</tr>
<tr>
<td>


em28xx

</td>
<td>


Empia EM28xx USB devices

</td>
</tr>
<tr>
<td>


go7007

</td>
<td>


WIS GO7007 MPEG encoder

</td>
</tr>
<tr>
<td>


gspca

</td>
<td>


Drivers for several USB Cameras

</td>
</tr>
<tr>
<td>


hackrf

</td>
<td>


HackRF

</td>
</tr>
<tr>
<td>


hdpvr

</td>
<td>


Hauppauge HD PVR

</td>
</tr>
<tr>
<td>


msi2500

</td>
<td>


Mirics MSi2500

</td>
</tr>
<tr>
<td>


mxl111sf-tuner

</td>
<td>


MxL111SF DTV USB2.0

</td>
</tr>
<tr>
<td>


pvrusb2

</td>
<td>


Hauppauge WinTV-PVR USB2

</td>
</tr>
<tr>
<td>


pwc

</td>
<td>


USB Philips Cameras

</td>
</tr>
<tr>
<td>


s2250

</td>
<td>


Sensoray 2250/2251

</td>
</tr>
<tr>
<td>


s2255drv

</td>
<td>


USB Sensoray 2255 video capture device

</td>
</tr>
<tr>
<td>


smsusb

</td>
<td>


Siano SMS1xxx based MDTV receiver

</td>
</tr>
<tr>
<td>


ttusb_dec

</td>
<td>


Technotrend/Hauppauge USB DEC devices

</td>
</tr>
<tr>
<td>


usbtv

</td>
<td>


USBTV007 video capture

</td>
</tr>
<tr>
<td>


uvcvideo

</td>
<td>


USB Video Class (UVC)

</td>
</tr>
<tr>
<td>


zd1301

</td>
<td>


ZyDAS ZD1301

</td>
</tr>
</tbody>
</table>

- [AU0828 cards list](</kernel/administration/admin-guide/media/au0828-cardlist.md>)
- [cx231xx cards list](</kernel/administration/admin-guide/media/cx231xx-cardlist.md>)
- [EM28xx cards list](</kernel/administration/admin-guide/media/em28xx-cardlist.md>)
- [Siano cards list](</kernel/administration/admin-guide/media/siano-cardlist.md>)
- [The gspca cards list](</kernel/administration/admin-guide/media/gspca-cardlist.md>)
- [dvb-usb-dib0700 cards list](</kernel/administration/admin-guide/media/dvb-usb-dib0700-cardlist.md>)
- [dvb-usb-dibusb-mb cards list](</kernel/administration/admin-guide/media/dvb-usb-dibusb-mb-cardlist.md>)
- [dvb-usb-dibusb-mc cards list](</kernel/administration/admin-guide/media/dvb-usb-dibusb-mc-cardlist.md>)
- [dvb-usb-a800 cards list](</kernel/administration/admin-guide/media/dvb-usb-a800-cardlist.md>)
- [dvb-usb-af9005 cards list](</kernel/administration/admin-guide/media/dvb-usb-af9005-cardlist.md>)
- [dvb-usb-az6027 cards list](</kernel/administration/admin-guide/media/dvb-usb-az6027-cardlist.md>)
- [dvb-usb-cinergyT2 cards list](</kernel/administration/admin-guide/media/dvb-usb-cinergyt2-cardlist.md>)
- [dvb-usb-cxusb cards list](</kernel/administration/admin-guide/media/dvb-usb-cxusb-cardlist.md>)
- [dvb-usb-digitv cards list](</kernel/administration/admin-guide/media/dvb-usb-digitv-cardlist.md>)
- [dvb-usb-dtt200u cards list](</kernel/administration/admin-guide/media/dvb-usb-dtt200u-cardlist.md>)
- [dvb-usb-dtv5100 cards list](</kernel/administration/admin-guide/media/dvb-usb-dtv5100-cardlist.md>)
- [dvb-usb-dw2102 cards list](</kernel/administration/admin-guide/media/dvb-usb-dw2102-cardlist.md>)
- [dvb-usb-gp8psk cards list](</kernel/administration/admin-guide/media/dvb-usb-gp8psk-cardlist.md>)
- [dvb-usb-m920x cards list](</kernel/administration/admin-guide/media/dvb-usb-m920x-cardlist.md>)
- [dvb-usb-nova-t-usb2 cards list](</kernel/administration/admin-guide/media/dvb-usb-nova-t-usb2-cardlist.md>)
- [dvb-usb-opera1 cards list](</kernel/administration/admin-guide/media/dvb-usb-opera1-cardlist.md>)
- [dvb-usb-pctv452e cards list](</kernel/administration/admin-guide/media/dvb-usb-pctv452e-cardlist.md>)
- [dvb-usb-technisat-usb2 cards list](</kernel/administration/admin-guide/media/dvb-usb-technisat-usb2-cardlist.md>)
- [dvb-usb-ttusb2 cards list](</kernel/administration/admin-guide/media/dvb-usb-ttusb2-cardlist.md>)
- [dvb-usb-umt-010 cards list](</kernel/administration/admin-guide/media/dvb-usb-umt-010-cardlist.md>)
- [dvb-usb-vp702x cards list](</kernel/administration/admin-guide/media/dvb-usb-vp702x-cardlist.md>)
- [dvb-usb-vp7045 cards list](</kernel/administration/admin-guide/media/dvb-usb-vp7045-cardlist.md>)
- [dvb-usb-af9015 cards list](</kernel/administration/admin-guide/media/dvb-usb-af9015-cardlist.md>)
- [dvb-usb-af9035 cards list](</kernel/administration/admin-guide/media/dvb-usb-af9035-cardlist.md>)
- [dvb-usb-anysee cards list](</kernel/administration/admin-guide/media/dvb-usb-anysee-cardlist.md>)
- [dvb-usb-au6610 cards list](</kernel/administration/admin-guide/media/dvb-usb-au6610-cardlist.md>)
- [dvb-usb-az6007 cards list](</kernel/administration/admin-guide/media/dvb-usb-az6007-cardlist.md>)
- [dvb-usb-ce6230 cards list](</kernel/administration/admin-guide/media/dvb-usb-ce6230-cardlist.md>)
- [dvb-usb-dvbsky cards list](</kernel/administration/admin-guide/media/dvb-usb-dvbsky-cardlist.md>)
- [dvb-usb-ec168 cards list](</kernel/administration/admin-guide/media/dvb-usb-ec168-cardlist.md>)
- [dvb-usb-gl861 cards list](</kernel/administration/admin-guide/media/dvb-usb-gl861-cardlist.md>)
- [dvb-usb-lmedm04 cards list](</kernel/administration/admin-guide/media/dvb-usb-lmedm04-cardlist.md>)
- [dvb-usb-mxl111sf cards list](</kernel/administration/admin-guide/media/dvb-usb-mxl111sf-cardlist.md>)
- [dvb-usb-rtl28xxu cards list](</kernel/administration/admin-guide/media/dvb-usb-rtl28xxu-cardlist.md>)
- [dvb-usb-zd1301 cards list](</kernel/administration/admin-guide/media/dvb-usb-zd1301-cardlist.md>)
- [Other USB cards list](</kernel/administration/admin-guide/media/other-usb-cardlist.md>)

---

# Video4Linux (V4L) driver-specific documentation

_Peios Kernel / Administration / System administration / Media devices_

> Reference for Video4Linux (V4L) driver-specific documentation.

<a id="rst-video4linux-v4l-driver-specific-documentation"></a>
<a id="rst-uapi-v4l-drivers"></a>

<!-- SPDX-License-Identifier: GPL-2.0 -->

- [The bttv driver](</kernel/administration/admin-guide/media/bttv.md>)
- [Amlogic C3 Image Signal Processing (C3ISP) driver](</kernel/administration/admin-guide/media/c3-isp.md>)
- [The cafe_ccic driver](</kernel/administration/admin-guide/media/cafe-ccic.md>)
- [The cx88 driver](</kernel/administration/admin-guide/media/cx88.md>)
- [The Samsung S5P/Exynos4 FIMC driver](</kernel/administration/admin-guide/media/fimc.md>)
- [i.MX Video Capture Driver](</kernel/administration/admin-guide/media/imx.md>)
- [i.MX7 Video Capture Driver](</kernel/administration/admin-guide/media/imx7.md>)
- [Intel Image Processing Unit 3 (IPU3) Imaging Unit (ImgU) driver](<https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/tree/Documentation/admin-guide/media/ipu3.rst?id=9021cc14f7d98b4a1d2c932f52c5343d4d0f6b92>)
- [Intel Image Processing Unit 6 (IPU6) Input System driver](</kernel/administration/admin-guide/media/ipu6-isys.md>)
- [The ivtv driver](</kernel/administration/admin-guide/media/ivtv.md>)
- [ARM Mali-C55 Image Signal Processor driver](</kernel/administration/admin-guide/media/mali-c55.md>)
- [The mgb4 driver](</kernel/administration/admin-guide/media/mgb4.md>)
- [OMAP 3 Image Signal Processor (ISP) driver](</kernel/administration/admin-guide/media/omap3isp.md>)
- [Philips webcams (pwc driver)](</kernel/administration/admin-guide/media/philips.md>)
- [Qualcomm Camera Subsystem driver](</kernel/administration/admin-guide/media/qcom-camss.md>)
- [Raspberry Pi PiSP Back End Memory-to-Memory ISP (pisp-be)](</kernel/administration/admin-guide/media/raspberrypi-pisp-be.md>)
- [Renesas R-Car Fine Display Processor (FDP1) Driver](</kernel/administration/admin-guide/media/rcar-fdp1.md>)
- [Rockchip Camera Interface (CIF)](</kernel/administration/admin-guide/media/rkcif.md>)
- [Rockchip Image Signal Processor (rkisp1)](</kernel/administration/admin-guide/media/rkisp1.md>)
- [Raspberry Pi PiSP Camera Front End (rp1-cfe)](</kernel/administration/admin-guide/media/raspberrypi-rp1-cfe.md>)
- [The saa7134 driver](</kernel/administration/admin-guide/media/saa7134.md>)
- [The Silicon Labs Si470x FM Radio Receivers driver](</kernel/administration/admin-guide/media/si470x.md>)
- [The Silicon Labs Si4713 FM Radio Transmitter Driver](</kernel/administration/admin-guide/media/si4713.md>)
- [The SI476x Driver](</kernel/administration/admin-guide/media/si476x.md>)
- [Starfive Camera Subsystem driver](</kernel/administration/admin-guide/media/starfive-camss.md>)
- [The Virtual Media Controller Driver (vimc)](</kernel/administration/admin-guide/media/vimc.md>)
- [The Virtual Stateless Decoder Driver (visl)](</kernel/administration/admin-guide/media/visl.md>)
- [The Virtual Video Test Driver (vivid)](</kernel/administration/admin-guide/media/vivid.md>)

---

# The Virtual Media Controller Driver (vimc)

_Peios Kernel / Administration / System administration / Media devices_

> The vimc driver emulates complex video hardware using the V4L2 API and the Media API. It has a capture device and three subdevices: sensor, debayer and scaler.

<a id="rst-the-virtual-media-controller-driver-vimc"></a>

<!-- SPDX-License-Identifier: GPL-2.0 -->

The vimc driver emulates complex video hardware using the V4L2 API and the Media API. It has a capture device and three subdevices: sensor, debayer and scaler.

<a id="rst-topology"></a>

## Topology

The topology is hardcoded, although you could modify it in vimc-core and recompile the driver to achieve your own topology. This is the default topology:

<a id="rst-vimc-topology-graph"></a>

```mermaid
flowchart TB
  n0["Sensor A<br/>/dev/v4l-subdev0<br/>pad 0"]
  n1["pad 0<br/>Debayer A<br/>/dev/v4l-subdev2<br/>pad 1"]
  n2["Raw Capture 0<br/>/dev/video0"]
  n3["Lens A<br/>/dev/v4l-subdev5<br/>pad"]
  n4["Sensor B<br/>/dev/v4l-subdev1<br/>pad 0"]
  n5["pad 0<br/>Debayer B<br/>/dev/v4l-subdev3<br/>pad 1"]
  n6["Raw Capture 1<br/>/dev/video1"]
  n7["Lens B<br/>/dev/v4l-subdev6<br/>pad"]
  n8["pad 0<br/>Scaler<br/>/dev/v4l-subdev5<br/>pad 1"]
  n9["RGB/YUV Input<br/>/dev/v4l-subdev4<br/>pad 0"]
  n10["RGB/YUV Capture<br/>/dev/video2"]
  n0 -->|"pad 0 → pad 0"| n1
  n0 -->|"from pad 0"| n2
  n0 --> n3
  n4 -->|"pad 0 → pad 0"| n5
  n4 -->|"from pad 0"| n6
  n4 --> n7
  n1 -->|"pad 1 → pad 0"| n8
  n5 -->|"pad 1 → pad 0"| n8
  n9 -->|"pad 0 → pad 0"| n8
  n8 -->|"from pad 1"| n10
  style n0 fill:green,color:#111
  style n1 fill:green,color:#111
  style n2 fill:yellow,color:#111
  style n3 fill:green,color:#111
  style n4 fill:green,color:#111
  style n5 fill:green,color:#111
  style n6 fill:yellow,color:#111
  style n7 fill:green,color:#111
  style n8 fill:green,color:#111
  style n9 fill:green,color:#111
  style n10 fill:yellow,color:#111
  linkStyle 0 stroke-width:3px
  linkStyle 1 stroke-width:3px
  linkStyle 3 stroke-width:3px
  linkStyle 4 stroke-width:3px
  linkStyle 7 stroke-dasharray:6 4
  linkStyle 8 stroke-dasharray:6 4
  linkStyle 9 stroke-width:3px
```

Diagram of the default media pipeline topology

Media pipeline graph on vimc

<a id="rst-configuring-the-topology"></a>

### Configuring the topology

Each subdevice will come with its default configuration (pixelformat, height, width, ...). One needs to configure the topology in order to match the configuration on each linked subdevice to stream frames through the pipeline. If the configuration doesn't match, the stream will fail. The `v4l-utils` package is a bundle of user-space applications, that comes with `media-ctl` and `v4l2-ctl` that can be used to configure the vimc configuration. This sequence of commands fits for the default topology:



```bash
media-ctl -d platform:vimc -V '"Sensor A":0[fmt:SBGGR8_1X8/640x480]'
media-ctl -d platform:vimc -V '"Debayer A":0[fmt:SBGGR8_1X8/640x480]'
media-ctl -d platform:vimc -V '"Scaler":0[fmt:RGB888_1X24/640x480]'
media-ctl -d platform:vimc -V '"Scaler":0[crop:(100,50)/400x150]'
media-ctl -d platform:vimc -V '"Scaler":1[fmt:RGB888_1X24/300x700]'
v4l2-ctl -z platform:vimc -d "RGB/YUV Capture" -v width=300,height=700
v4l2-ctl -z platform:vimc -d "Raw Capture 0" -v pixelformat=BA81
```

<a id="rst-subdevices"></a>

## Subdevices

Subdevices define the behavior of an entity in the topology. Depending on the subdevice, the entity can have multiple pads of type source or sink.

- **vimc-sensor:**

  Generates images in several formats using video test pattern generator. Exposes:

  - 1 Pad source

- **vimc-lens:**

  Ancillary lens for a sensor. Supports auto focus control. Linked to a vimc-sensor using an ancillary link. The lens supports FOCUS_ABSOLUTE control.



```bash
media-ctl -p
...
- entity 28: Lens A (0 pad, 0 link)
                type V4L2 subdev subtype Lens flags 0
                device node name /dev/v4l-subdev6
- entity 29: Lens B (0 pad, 0 link)
                type V4L2 subdev subtype Lens flags 0
                device node name /dev/v4l-subdev7
v4l2-ctl -d /dev/v4l-subdev7 -C focus_absolute
focus_absolute: 0
```

- **vimc-debayer:**

  Transforms images in bayer format into a non-bayer format. Exposes:

  - 1 Pad sink

  - 1 Pad source

- **vimc-scaler:**

  Re-size the image to meet the source pad resolution. E.g.: if the sync pad is configured to 360x480 and the source to 1280x720, the image will be stretched to fit the source resolution. Works for any resolution within the vimc limitations (even shrinking the image if necessary). Exposes:

  - 1 Pad sink

  - 1 Pad source

- **vimc-capture:**

  Exposes node /dev/videoX to allow userspace to capture the stream. Exposes:

  - 1 Pad sink

  - 1 Pad source

<a id="rst-module-options"></a>

## Module options

Vimc has a module parameter to configure the driver.

- `allocator=<unsigned int>`

  > memory allocator selection, default is 0. It specifies the way buffers will be allocated.
  >
  > > - 0: vmalloc
  > >
  > > - 1: dma-contig

---

# The Virtual Stateless Decoder Driver (visl)

_Peios Kernel / Administration / System administration / Media devices_

> A virtual stateless decoder device for stateless uAPI development purposes.

<a id="rst-the-virtual-stateless-decoder-driver-visl"></a>

<!-- SPDX-License-Identifier: GPL-2.0 -->

A virtual stateless decoder device for stateless uAPI development purposes.

This tool's objective is to help the development and testing of userspace applications that use the V4L2 stateless API to decode media.

A userspace implementation can use visl to run a decoding loop even when no hardware is available or when the kernel uAPI for the codec has not been upstreamed yet. This can reveal bugs at an early stage.

This driver can also trace the contents of the V4L2 controls submitted to it.  It can also dump the contents of the vb2 buffers through a debugfs interface. This is in many ways similar to the tracing infrastructure available for other popular encode/decode APIs out there and can help develop a userspace application by using another (working) one as a reference.

> [!NOTE]
>
> No actual decoding of video frames is performed by visl. The V4L2 test pattern generator is used to write various debug information to the capture buffers instead.

<a id="rst-module-parameters"></a>

## Module parameters

- visl_debug: Activates debug info, printing various debug messages through dprintk. Also controls whether per-frame debug info is shown. Defaults to off. Note that enabling this feature can result in slow performance through serial.

- visl_transtime_ms: Simulated process time in milliseconds. Slowing down the decoding speed can be useful for debugging.

- visl_dprintk_frame_start, visl_dprintk_frame_nframes: Dictates a range of frames where dprintk is activated. This only controls the dprintk tracing on a per-frame basis. Note that printing a lot of data can be slow through serial.

- keep_bitstream_buffers: Controls whether bitstream (i.e. OUTPUT) buffers are kept after a decoding session. Defaults to false so as to reduce the amount of clutter. keep_bitstream_buffers == false works well when live debugging the client program with GDB.

- bitstream_trace_frame_start, bitstream_trace_nframes: Similar to visl_dprintk_frame_start, visl_dprintk_nframes, but controls the dumping of buffer data through debugfs instead.

- tpg_verbose: Write extra information on each output frame to ease debugging the API. When set to true, the output frames are not stable for a given input as some information like pointers or queue status will be added to them.

<a id="rst-what-is-the-default-use-case-for-this-driver"></a>

## What is the default use case for this driver?

This driver can be used as a way to compare different userspace implementations. This assumes that a working client is run against visl and that the ftrace and OUTPUT buffer data is subsequently used to debug a work-in-progress implementation.

Even though no video decoding is actually done, the output frames can be used against a reference for a given input, except if tpg_verbose is set to true.

Depending on the tpg_verbose parameter value, information on reference frames, their timestamps, the status of the OUTPUT and CAPTURE queues and more can be read directly from the CAPTURE buffers.

<a id="rst-supported-codecs"></a>

## Supported codecs

The following codecs are supported:

- FWHT

- MPEG2

- VP8

- VP9

- H.264

- HEVC

- AV1

<a id="rst-visl-trace-events"></a>

## visl trace events

The trace events are defined on a per-codec basis, e.g.:



```bash
$ ls /sys/kernel/tracing/events/ | grep visl
visl_av1_controls
visl_fwht_controls
visl_h264_controls
visl_hevc_controls
visl_mpeg2_controls
visl_vp8_controls
visl_vp9_controls
```

For example, in order to dump HEVC SPS data:



```bash
$ echo 1 >  /sys/kernel/tracing/events/visl_hevc_controls/v4l2_ctrl_hevc_sps/enable
```

The SPS data will be dumped to the trace buffer, i.e.:



```bash
$ cat /sys/kernel/tracing/trace
video_parameter_set_id 0
seq_parameter_set_id 0
pic_width_in_luma_samples 1920
pic_height_in_luma_samples 1080
bit_depth_luma_minus8 0
bit_depth_chroma_minus8 0
log2_max_pic_order_cnt_lsb_minus4 4
sps_max_dec_pic_buffering_minus1 6
sps_max_num_reorder_pics 2
sps_max_latency_increase_plus1 0
log2_min_luma_coding_block_size_minus3 0
log2_diff_max_min_luma_coding_block_size 3
log2_min_luma_transform_block_size_minus2 0
log2_diff_max_min_luma_transform_block_size 3
max_transform_hierarchy_depth_inter 2
max_transform_hierarchy_depth_intra 2
pcm_sample_bit_depth_luma_minus1 0
pcm_sample_bit_depth_chroma_minus1 0
log2_min_pcm_luma_coding_block_size_minus3 0
log2_diff_max_min_pcm_luma_coding_block_size 0
num_short_term_ref_pic_sets 0
num_long_term_ref_pics_sps 0
chroma_format_idc 1
sps_max_sub_layers_minus1 0
flags AMP_ENABLED|SAMPLE_ADAPTIVE_OFFSET|TEMPORAL_MVP_ENABLED|STRONG_INTRA_SMOOTHING_ENABLED
```

<a id="rst-dumping-output-buffer-data-through-debugfs"></a>

## Dumping OUTPUT buffer data through debugfs

If the **VISL_DEBUGFS** Kconfig is enabled, visl will populate **/sys/kernel/debug/visl/bitstream** with OUTPUT buffer data according to the values of bitstream_trace_frame_start and bitstream_trace_nframes. This can highlight errors as broken clients may fail to fill the buffers properly.

A single file is created for each processed OUTPUT buffer. Its name contains an integer that denotes the buffer sequence, i.e.:



```c
snprintf(name, 32, "bitstream%d", run->src->sequence);
```

Dumping the values is simply a matter of reading from the file, i.e.:

For the buffer with sequence == 0:



```bash
$ xxd /sys/kernel/debug/visl/bitstream/bitstream0
00000000: 2601 af04 d088 bc25 a173 0e41 a4f2 3274  &......%.s.A..2t
00000010: c668 cb28 e775 b4ac f53a ba60 f8fd 3aa1  .h.(.u...:.`..:.
00000020: 46b4 bcfc 506c e227 2372 e5f5 d7ea 579f  F...Pl.'#r....W.
00000030: 6371 5eb5 0eb8 23b5 ca6a 5de5 983a 19e4  cq^...#..j]..:..
00000040: e8c3 4320 b4ba a226 cbc1 4138 3a12 32d6  ..C ...&..A8:.2.
00000050: fef3 247b 3523 4e90 9682 ac8e eb0c a389  ..${5#N.........
00000060: ddd0 6cfc 0187 0e20 7aae b15b 1812 3d33  ..l.... z..[..=3
00000070: e1c5 f425 a83a 00b7 4f18 8127 3c4c aefb  ...%.:..O..'<L..
```

For the buffer with sequence == 1:



```bash
$ xxd /sys/kernel/debug/visl/bitstream/bitstream1
00000000: 0201 d021 49e1 0c40 aa11 1449 14a6 01dc  ...!I..@...I....
00000010: 7023 889a c8cd 2cd0 13b4 dab0 e8ca 21fe  p#....,.......!.
00000020: c4c8 ab4c 486e 4e2f b0df 96cc c74e 8dde  ...LHnN/.....N..
00000030: 8ce7 ee36 d880 4095 4d64 30a0 ff4f 0c5e  ...6..@.Md0..O.^
00000040: f16b a6a1 d806 ca2a 0ece a673 7bea 1f37  .k.....*...s{..7
00000050: 370f 5bb9 1dc4 ba21 6434 bc53 0173 cba0  7.[....!d4.S.s..
00000060: dfe6 bc99 01ea b6e0 346b 92b5 c8de 9f5d  ........4k.....]
00000070: e7cc 3484 1769 fef2 a693 a945 2c8b 31da  ..4..i.....E,.1.
```

And so on.

By default, the files are removed during STREAMOFF. This is to reduce the amount of clutter.

---

# The Virtual Video Test Driver (vivid)

_Peios Kernel / Administration / System administration / Media devices_

> This driver emulates video4linux hardware of various types: video capture, video output, vbi capture and output, metadata capture and output, radio receivers and transmitters, touch capture and a software defined radio receiver. In…

<a id="rst-the-virtual-video-test-driver-vivid"></a>

<!-- SPDX-License-Identifier: GPL-2.0 -->

This driver emulates video4linux hardware of various types: video capture, video output, vbi capture and output, metadata capture and output, radio receivers and transmitters, touch capture and a software defined radio receiver. In addition a simple framebuffer device is available for testing capture and output overlays.

Up to 64 vivid instances can be created, each with up to 16 inputs and 16 outputs.

Each input can be a webcam, TV capture device, S-Video capture device or an HDMI capture device. Each output can be an S-Video output device or an HDMI output device.

These inputs and outputs act exactly as a real hardware device would behave. This allows you to use this driver as a test input for application development, since you can test the various features without requiring special hardware.

This document describes the features implemented by this driver:

- Support for read()/write(), MMAP, USERPTR and DMABUF streaming I/O.

- A large list of test patterns and variations thereof

- Working brightness, contrast, saturation and hue controls

- Support for the alpha color component

- Full colorspace support, including limited/full RGB range

- All possible control types are present

- Support for various pixel aspect ratios and video aspect ratios

- Error injection to test what happens if errors occur

- Supports crop/compose/scale in any combination for both input and output

- Can emulate up to 4K resolutions

- All Field settings are supported for testing interlaced capturing

- Supports all standard YUV and RGB formats, including two multiplanar YUV formats

- Raw and Sliced VBI capture and output support

- Radio receiver and transmitter support, including RDS support

- Software defined radio (SDR) support

- Capture and output overlay support

- Metadata capture and output support

- Touch capture support

These features will be described in more detail below.

<a id="rst-configuring-the-driver"></a>

## Configuring the driver

By default the driver will create a single instance that has a video capture device with webcam, TV, S-Video and HDMI inputs, a video output device with S-Video and HDMI outputs, one vbi capture device, one vbi output device, one radio receiver device, one radio transmitter device and one SDR device.

The number of instances, devices, video inputs and outputs and their types are all configurable using the following module options:

- n_devs:

  > number of driver instances to create. By default set to 1. Up to 64 instances can be created.

- node_types:

  > which devices should each driver instance create. An array of hexadecimal values, one for each instance. The default is 0xe1d3d. Each value is a bitmask with the following meaning:
  >
  > > - bit 0: Video Capture node
  > >
  > > - bit 2-3: VBI Capture node: 0 = none, 1 = raw vbi, 2 = sliced vbi, 3 = both
  > >
  > > - bit 4: Radio Receiver node
  > >
  > > - bit 5: Software Defined Radio Receiver node
  > >
  > > - bit 8: Video Output node
  > >
  > > - bit 10-11: VBI Output node: 0 = none, 1 = raw vbi, 2 = sliced vbi, 3 = both
  > >
  > > - bit 12: Radio Transmitter node
  > >
  > > - bit 16: Framebuffer for testing overlays
  > >
  > > - bit 17: Metadata Capture node
  > >
  > > - bit 18: Metadata Output node
  > >
  > > - bit 19: Touch Capture node
  >
  > So to create four instances, the first two with just one video capture device, the second two with just one video output device you would pass these module options to vivid:
  >
  >
  >
  > ```none
  > n_devs=4 node_types=0x1,0x1,0x100,0x100
  > ```

- num_inputs:

  > the number of inputs, one for each instance. By default 4 inputs are created for each video capture device. At most 16 inputs can be created, and there must be at least one.

- input_types:

  > the input types for each instance, the default is 0xe4. This defines what the type of each input is when the inputs are created for each driver instance. This is a hexadecimal value with up to 16 pairs of bits, each pair gives the type and bits 0-1 map to input 0, bits 2-3 map to input 1, 30-31 map to input 15. Each pair of bits has the following meaning:
  >
  > > - 00: this is a webcam input
  > >
  > > - 01: this is a TV tuner input
  > >
  > > - 10: this is an S-Video input
  > >
  > > - 11: this is an HDMI input
  >
  > So to create a video capture device with 8 inputs where input 0 is a TV tuner, inputs 1-3 are S-Video inputs and inputs 4-7 are HDMI inputs you would use the following module options:
  >
  >
  >
  > ```none
  > num_inputs=8 input_types=0xffa9
  > ```

- num_outputs:

  > the number of outputs, one for each instance. By default 2 outputs are created for each video output device. At most 16 outputs can be created, and there must be at least one.

- output_types:

  > the output types for each instance, the default is 0x02. This defines what the type of each output is when the outputs are created for each driver instance. This is a hexadecimal value with up to 16 bits, each bit gives the type and bit 0 maps to output 0, bit 1 maps to output 1, bit 15 maps to output 15. The meaning of each bit is as follows:
  >
  > > - 0: this is an S-Video output
  > >
  > > - 1: this is an HDMI output
  >
  > So to create a video output device with 8 outputs where outputs 0-3 are S-Video outputs and outputs 4-7 are HDMI outputs you would use the following module options:
  >
  >
  >
  > ```none
  > num_outputs=8 output_types=0xf0
  > ```

- vid_cap_nr:

  > give the desired videoX start number for each video capture device. The default is -1 which will just take the first free number. This allows you to map capture video nodes to specific videoX device nodes. Example:
  >
  >
  >
  > ```none
  > n_devs=4 vid_cap_nr=2,4,6,8
  > ```
  >
  > This will attempt to assign /dev/video2 for the video capture device of the first vivid instance, video4 for the next up to video8 for the last instance. If it can't succeed, then it will just take the next free number.

- vid_out_nr:

  > give the desired videoX start number for each video output device. The default is -1 which will just take the first free number.

- vbi_cap_nr:

  > give the desired vbiX start number for each vbi capture device. The default is -1 which will just take the first free number.

- vbi_out_nr:

  > give the desired vbiX start number for each vbi output device. The default is -1 which will just take the first free number.

- radio_rx_nr:

  > give the desired radioX start number for each radio receiver device. The default is -1 which will just take the first free number.

- radio_tx_nr:

  > give the desired radioX start number for each radio transmitter device. The default is -1 which will just take the first free number.

- sdr_cap_nr:

  > give the desired swradioX start number for each SDR capture device. The default is -1 which will just take the first free number.

- meta_cap_nr:

  > give the desired videoX start number for each metadata capture device. The default is -1 which will just take the first free number.

- meta_out_nr:

  > give the desired videoX start number for each metadata output device. The default is -1 which will just take the first free number.

- touch_cap_nr:

  > give the desired v4l-touchX start number for each touch capture device. The default is -1 which will just take the first free number.

- ccs_cap_mode:

  > specify the allowed video capture crop/compose/scaling combination for each driver instance. Video capture devices can have any combination of cropping, composing and scaling capabilities and this will tell the vivid driver which of those is should emulate. By default the user can select this through controls.
  >
  > The value is either -1 (controlled by the user) or a set of three bits, each enabling (1) or disabling (0) one of the features:
  >
  > - bit 0:
  >
  >   > Enable crop support. Cropping will take only part of the incoming picture.
  >
  > - bit 1:
  >
  >   > Enable compose support. Composing will copy the incoming picture into a larger buffer.
  >
  > - bit 2:
  >
  >   > Enable scaling support. Scaling can scale the incoming picture. The scaler of the vivid driver can enlarge up or down to four times the original size. The scaler is very simple and low-quality. Simplicity and speed were key, not quality.
  >
  > Note that this value is ignored by webcam inputs: those enumerate discrete framesizes and that is incompatible with cropping, composing or scaling.

- ccs_out_mode:

  > specify the allowed video output crop/compose/scaling combination for each driver instance. Video output devices can have any combination of cropping, composing and scaling capabilities and this will tell the vivid driver which of those is should emulate. By default the user can select this through controls.
  >
  > The value is either -1 (controlled by the user) or a set of three bits, each enabling (1) or disabling (0) one of the features:
  >
  > - bit 0:
  >
  >   > Enable crop support. Cropping will take only part of the outgoing buffer.
  >
  > - bit 1:
  >
  >   > Enable compose support. Composing will copy the incoming buffer into a larger picture frame.
  >
  > - bit 2:
  >
  >   > Enable scaling support. Scaling can scale the incoming buffer. The scaler of the vivid driver can enlarge up or down to four times the original size. The scaler is very simple and low-quality. Simplicity and speed were key, not quality.

- multiplanar:

  > select whether each device instance supports multi-planar formats, and thus the V4L2 multi-planar API. By default device instances are single-planar.
  >
  > This module option can override that for each instance. Values are:
  >
  > > - 1: this is a single-planar instance.
  > >
  > > - 2: this is a multi-planar instance.

- vivid_debug:

  > enable driver debugging info

- no_error_inj:

  > if set disable the error injecting controls. This option is needed in order to run a tool like v4l2-compliance. Tools like that exercise all controls including a control like 'Disconnect' which emulates a USB disconnect, making the device inaccessible and so all tests that v4l2-compliance is doing will fail afterwards.
  >
  > There may be other situations as well where you want to disable the error injection support of vivid. When this option is set, then the controls that select crop, compose and scale behavior are also removed. Unless overridden by ccs_cap_mode and/or ccs_out_mode the will default to enabling crop, compose and scaling.

- allocators:

  > memory allocator selection, default is 0. It specifies the way buffers will be allocated.
  >
  > > - 0: vmalloc
  > >
  > > - 1: dma-contig

- cache_hints:

  > specifies if the device should set queues' user-space cache and memory consistency hint capability (V4L2_BUF_CAP_SUPPORTS_MMAP_CACHE_HINTS). The hints are valid only when using MMAP streaming I/O. Default is 0.
  >
  > > - 0: forbid hints
  > >
  > > - 1: allow hints

- supports_requests:

  > specifies if the device should support the Request API. There are three possible values, default is 1:
  >
  > > - 0: no request
  > >
  > > - 1: supports requests
  > >
  > > - 2: requires requests

Taken together, all these module options allow you to precisely customize the driver behavior and test your application with all sorts of permutations. It is also very suitable to emulate hardware that is not yet available, e.g. when developing software for a new upcoming device.

<a id="rst-video-capture"></a>

## Video Capture

This is probably the most frequently used feature. The video capture device can be configured by using the module options num_inputs, input_types and ccs_cap_mode (see "Configuring the driver" for more detailed information), but by default four inputs are configured: a webcam, a TV tuner, an S-Video and an HDMI input, one input for each input type. Those are described in more detail below.

Special attention has been given to the rate at which new frames become available. The jitter will be around 1 jiffy (that depends on the HZ configuration of your kernel, so usually 1/100, 1/250 or 1/1000 of a second), but the long-term behavior is exactly following the framerate. So a framerate of 59.94 Hz is really different from 60 Hz. If the framerate exceeds your kernel's HZ value, then you will get dropped frames, but the frame/field sequence counting will keep track of that so the sequence count will skip whenever frames are dropped.

<a id="rst-webcam-input"></a>

### Webcam Input

The webcam input supports three framesizes: 320x180, 640x360 and 1280x720. It supports frames per second settings of 10, 15, 25, 30, 50 and 60 fps. Which ones are available depends on the chosen framesize: the larger the framesize, the lower the maximum frames per second.

The initially selected colorspace when you switch to the webcam input will be sRGB.

<a id="rst-tv-and-s-video-inputs"></a>

### TV and S-Video Inputs

The only difference between the TV and S-Video input is that the TV has a tuner. Otherwise they behave identically.

These inputs support audio inputs as well: one TV and one Line-In. They both support all TV standards. If the standard is queried, then the Vivid controls 'Standard Signal Mode' and 'Standard' determine what the result will be.

These inputs support all combinations of the field setting. Special care has been taken to faithfully reproduce how fields are handled for the different TV standards. This is particularly noticeable when generating a horizontally moving image so the temporal effect of using interlaced formats becomes clearly visible. For 50 Hz standards the top field is the oldest and the bottom field is the newest in time. For 60 Hz standards that is reversed: the bottom field is the oldest and the top field is the newest in time.

When you start capturing in V4L2_FIELD_ALTERNATE mode the first buffer will contain the top field for 50 Hz standards and the bottom field for 60 Hz standards. This is what capture hardware does as well.

Finally, for PAL/SECAM standards the first half of the top line contains noise. This simulates the Wide Screen Signal that is commonly placed there.

The initially selected colorspace when you switch to the TV or S-Video input will be SMPTE-170M.

The pixel aspect ratio will depend on the TV standard. The video aspect ratio can be selected through the 'Standard Aspect Ratio' Vivid control. Choices are '4x3', '16x9' which will give letterboxed widescreen video and '16x9 Anamorphic' which will give full screen squashed anamorphic widescreen video that will need to be scaled accordingly.

The TV 'tuner' supports a frequency range of 44-958 MHz. Channels are available every 6 MHz, starting from 49.25 MHz. For each channel the generated image will be in color for the +/- 0.25 MHz around it, and in grayscale for +/- 1 MHz around the channel. Beyond that it is just noise. The VIDIOC_G_TUNER ioctl will return 100% signal strength for +/- 0.25 MHz and 50% for +/- 1 MHz. It will also return correct afc values to show whether the frequency is too low or too high.

The audio subchannels that are returned are MONO for the +/- 1 MHz range around a valid channel frequency. When the frequency is within +/- 0.25 MHz of the channel it will return either MONO, STEREO, either MONO \| SAP (for NTSC) or LANG1 \| LANG2 (for others), or STEREO \| SAP.

Which one is returned depends on the chosen channel, each next valid channel will cycle through the possible audio subchannel combinations. This allows you to test the various combinations by just switching channels..

Finally, for these inputs the v4l2_timecode struct is filled in the dequeued v4l2_buffer struct.

<a id="rst-hdmi-input"></a>

### HDMI Input

The HDMI inputs supports all CEA-861 and DMT timings, both progressive and interlaced, for pixelclock frequencies between 25 and 600 MHz. The field mode for interlaced formats is always V4L2_FIELD_ALTERNATE. For HDMI the field order is always top field first, and when you start capturing an interlaced format you will receive the top field first.

The initially selected colorspace when you switch to the HDMI input or select an HDMI timing is based on the format resolution: for resolutions less than or equal to 720x576 the colorspace is set to SMPTE-170M, for others it is set to REC-709 (CEA-861 timings) or sRGB (VESA DMT timings).

The pixel aspect ratio will depend on the HDMI timing: for 720x480 is it set as for the NTSC TV standard, for 720x576 it is set as for the PAL TV standard, and for all others a 1:1 pixel aspect ratio is returned.

The video aspect ratio can be selected through the 'DV Timings Aspect Ratio' Vivid control. Choices are 'Source Width x Height' (just use the same ratio as the chosen format), '4x3' or '16x9', either of which can result in pillarboxed or letterboxed video.

For HDMI inputs it is possible to set the EDID. By default a simple EDID is provided. You can only set the EDID for HDMI inputs. Internally, however, the EDID is shared between all HDMI inputs.

No interpretation is done of the EDID data with the exception of the physical address. See the CEC section for more details.

There is a maximum of 15 HDMI inputs (if there are more, then they will be reduced to 15) since that's the limitation of the EDID physical address.

<a id="rst-video-output"></a>

## Video Output

The video output device can be configured by using the module options num_outputs, output_types and ccs_out_mode (see "Configuring the driver" for more detailed information), but by default two outputs are configured: an S-Video and an HDMI input, one output for each output type. Those are described in more detail below.

Like with video capture the framerate is also exact in the long term.

<a id="rst-s-video-output"></a>

### S-Video Output

This output supports audio outputs as well: "Line-Out 1" and "Line-Out 2". The S-Video output supports all TV standards.

This output supports all combinations of the field setting.

The initially selected colorspace when you switch to the TV or S-Video input will be SMPTE-170M.

<a id="rst-hdmi-output"></a>

### HDMI Output

The HDMI output supports all CEA-861 and DMT timings, both progressive and interlaced, for pixelclock frequencies between 25 and 600 MHz. The field mode for interlaced formats is always V4L2_FIELD_ALTERNATE.

The initially selected colorspace when you switch to the HDMI output or select an HDMI timing is based on the format resolution: for resolutions less than or equal to 720x576 the colorspace is set to SMPTE-170M, for others it is set to REC-709 (CEA-861 timings) or sRGB (VESA DMT timings).

The pixel aspect ratio will depend on the HDMI timing: for 720x480 is it set as for the NTSC TV standard, for 720x576 it is set as for the PAL TV standard, and for all others a 1:1 pixel aspect ratio is returned.

An HDMI output has a valid EDID which can be obtained through VIDIOC_G_EDID.

There is a maximum of 15 HDMI outputs (if there are more, then they will be reduced to 15) since that's the limitation of the EDID physical address. See also the CEC section for more details.

<a id="rst-vbi-capture"></a>

## VBI Capture

There are three types of VBI capture devices: those that only support raw (undecoded) VBI, those that only support sliced (decoded) VBI and those that support both. This is determined by the node_types module option. In all cases the driver will generate valid VBI data: for 60 Hz standards it will generate Closed Caption and XDS data. The closed caption stream will alternate between "Hello world\!" and "Closed captions test" every second. The XDS stream will give the current time once a minute. For 50 Hz standards it will generate the Wide Screen Signal which is based on the actual Video Aspect Ratio control setting and teletext pages 100-159, one page per frame.

The VBI device will only work for the S-Video and TV inputs, it will give back an error if the current input is a webcam or HDMI.

<a id="rst-vbi-output"></a>

## VBI Output

There are three types of VBI output devices: those that only support raw (undecoded) VBI, those that only support sliced (decoded) VBI and those that support both. This is determined by the node_types module option.

The sliced VBI output supports the Wide Screen Signal and the teletext signal for 50 Hz standards and Closed Captioning + XDS for 60 Hz standards.

The VBI device will only work for the S-Video output, it will give back an error if the current output is HDMI.

<a id="rst-radio-receiver"></a>

## Radio Receiver

The radio receiver emulates an FM/AM/SW receiver. The FM band also supports RDS. The frequency ranges are:

> - FM: 64 MHz - 108 MHz
>
> - AM: 520 kHz - 1710 kHz
>
> - SW: 2300 kHz - 26.1 MHz

Valid channels are emulated every 1 MHz for FM and every 100 kHz for AM and SW. The signal strength decreases the further the frequency is from the valid frequency until it becomes 0% at +/- 50 kHz (FM) or 5 kHz (AM/SW) from the ideal frequency. The initial frequency when the driver is loaded is set to 95 MHz.

The FM receiver supports RDS as well, both using 'Block I/O' and 'Controls' modes. In the 'Controls' mode the RDS information is stored in read-only controls. These controls are updated every time the frequency is changed, or when the tuner status is requested. The Block I/O method uses the read() interface to pass the RDS blocks on to the application for decoding.

The RDS signal is 'detected' for +/- 12.5 kHz around the channel frequency, and the further the frequency is away from the valid frequency the more RDS errors are randomly introduced into the block I/O stream, up to 50% of all blocks if you are +/- 12.5 kHz from the channel frequency. All four errors can occur in equal proportions: blocks marked 'CORRECTED', blocks marked 'ERROR', blocks marked 'INVALID' and dropped blocks.

The generated RDS stream contains all the standard fields contained in a 0B group, and also radio text and the current time.

The receiver supports HW frequency seek, either in Bounded mode, Wrap Around mode or both, which is configurable with the "Radio HW Seek Mode" control.

<a id="rst-radio-transmitter"></a>

## Radio Transmitter

The radio transmitter emulates an FM/AM/SW transmitter. The FM band also supports RDS. The frequency ranges are:

> - FM: 64 MHz - 108 MHz
>
> - AM: 520 kHz - 1710 kHz
>
> - SW: 2300 kHz - 26.1 MHz

The initial frequency when the driver is loaded is 95.5 MHz.

The FM transmitter supports RDS as well, both using 'Block I/O' and 'Controls' modes. In the 'Controls' mode the transmitted RDS information is configured using controls, and in 'Block I/O' mode the blocks are passed to the driver using write().

<a id="rst-software-defined-radio-receiver"></a>

## Software Defined Radio Receiver

The SDR receiver has three frequency bands for the ADC tuner:

> - 300 kHz
>
> - 900 kHz - 2800 kHz
>
> - 3200 kHz

The RF tuner supports 50 MHz - 2000 MHz.

The generated data contains the In-phase and Quadrature components of a 1 kHz tone that has an amplitude of sqrt(2).

<a id="rst-metadata-capture"></a>

## Metadata Capture

The Metadata capture generates UVC format metadata. The PTS and SCR are transmitted based on the values set in vivid controls.

The Metadata device will only work for the Webcam input, it will give back an error for all other inputs.

<a id="rst-metadata-output"></a>

## Metadata Output

The Metadata output can be used to set brightness, contrast, saturation and hue.

The Metadata device will only work for the Webcam output, it will give back an error for all other outputs.

<a id="rst-touch-capture"></a>

## Touch Capture

The Touch capture generates touch patterns simulating single tap, double tap, triple tap, move from left to right, zoom in, zoom out, palm press (simulating a large area being pressed on a touchpad), and simulating 16 simultaneous touch points.

<a id="rst-controls"></a>

## Controls

Different devices support different controls. The sections below will describe each control and which devices support them.

<a id="rst-user-controls-test-controls"></a>

### User Controls - Test Controls

The Button, Boolean, Integer 32 Bits, Integer 64 Bits, Menu, String, Bitmask and Integer Menu are controls that represent all possible control types. The Menu control and the Integer Menu control both have 'holes' in their menu list, meaning that one or more menu items return EINVAL when VIDIOC_QUERYMENU is called. Both menu controls also have a non-zero minimum control value.  These features allow you to check if your application can handle such things correctly. These controls are supported for every device type.

<a id="rst-user-controls-video-capture"></a>

### User Controls - Video Capture

The following controls are specific to video capture.

The Brightness, Contrast, Saturation and Hue controls actually work and are standard. There is one special feature with the Brightness control: each video input has its own brightness value, so changing input will restore the brightness for that input. In addition, each video input uses a different brightness range (minimum and maximum control values). Switching inputs will cause a control event to be sent with the V4L2_EVENT_CTRL_CH_RANGE flag set. This allows you to test controls that can change their range.

The 'Gain, Automatic' and Gain controls can be used to test volatile controls: if 'Gain, Automatic' is set, then the Gain control is volatile and changes constantly. If 'Gain, Automatic' is cleared, then the Gain control is a normal control.

The 'Horizontal Flip' and 'Vertical Flip' controls can be used to flip the image. These combine with the 'Sensor Flipped Horizontally/Vertically' Vivid controls.

The 'Alpha Component' control can be used to set the alpha component for formats containing an alpha channel.

<a id="rst-user-controls-audio"></a>

### User Controls - Audio

The following controls are specific to video capture and output and radio receivers and transmitters.

The 'Volume' and 'Mute' audio controls are typical for such devices to control the volume and mute the audio. They don't actually do anything in the vivid driver.

<a id="rst-vivid-controls"></a>

### Vivid Controls

These vivid custom controls control the image generation, error injection, etc.

<a id="rst-test-pattern-controls"></a>

#### Test Pattern Controls

The Test Pattern Controls are all specific to video capture.

- Test Pattern:

  > selects which test pattern to use. Use the CSC Colorbar for testing colorspace conversions: the colors used in that test pattern map to valid colors in all colorspaces. The colorspace conversion is disabled for the other test patterns.

- OSD Text Mode:

  > selects whether the text superimposed on the test pattern should be shown, and if so, whether only counters should be displayed or the full text.

- Horizontal Movement:

  > selects whether the test pattern should move to the left or right and at what speed.

- Vertical Movement:

  > does the same for the vertical direction.

- Show Border:

  > show a two-pixel wide border at the edge of the actual image, excluding letter or pillarboxing.

- Show Square:

  > show a square in the middle of the image. If the image is displayed with the correct pixel and image aspect ratio corrections, then the width and height of the square on the monitor should be the same.

- Insert SAV Code in Image:

  > adds a SAV (Start of Active Video) code to the image. This can be used to check if such codes in the image are inadvertently interpreted instead of being ignored.

- Insert EAV Code in Image:

  > does the same for the EAV (End of Active Video) code.

- Insert Video Guard Band

  > adds 4 columns of pixels with the HDMI Video Guard Band code at the left hand side of the image. This only works with 3 or 4 byte RGB pixel formats. The RGB pixel value 0xab/0x55/0xab turns out to be equivalent to the HDMI Video Guard Band code that precedes each active video line (see section 5.2.2.1 in the HDMI 1.3 Specification). To test if a video receiver has correct HDMI Video Guard Band processing, enable this control and then move the image to the left hand side of the screen. That will result in video lines that start with multiple pixels that have the same value as the Video Guard Band that precedes them. Receivers that will just keep skipping Video Guard Band values will now fail and either loose sync or these video lines will shift.

<a id="rst-capture-feature-selection-controls"></a>

#### Capture Feature Selection Controls

These controls are all specific to video capture.

- Sensor Flipped Horizontally:

  > the image is flipped horizontally and the V4L2_IN_ST_HFLIP input status flag is set. This emulates the case where a sensor is for example mounted upside down.

- Sensor Flipped Vertically:

  > the image is flipped vertically and the V4L2_IN_ST_VFLIP input status flag is set. This emulates the case where a sensor is for example mounted upside down.

- Standard Aspect Ratio:

  > selects if the image aspect ratio as used for the TV or S-Video input should be 4x3, 16x9 or anamorphic widescreen. This may introduce letterboxing.

- DV Timings Aspect Ratio:

  > selects if the image aspect ratio as used for the HDMI input should be the same as the source width and height ratio, or if it should be 4x3 or 16x9. This may introduce letter or pillarboxing.

- Timestamp Source:

  > selects when the timestamp for each buffer is taken.

- Colorspace:

  > selects which colorspace should be used when generating the image. This only applies if the CSC Colorbar test pattern is selected, otherwise the test pattern will go through unconverted. This behavior is also what you want, since a 75% Colorbar should really have 75% signal intensity and should not be affected by colorspace conversions.
  >
  > Changing the colorspace will result in the V4L2_EVENT_SOURCE_CHANGE to be sent since it emulates a detected colorspace change.

- Transfer Function:

  > selects which colorspace transfer function should be used when generating an image. This only applies if the CSC Colorbar test pattern is selected, otherwise the test pattern will go through unconverted. This behavior is also what you want, since a 75% Colorbar should really have 75% signal intensity and should not be affected by colorspace conversions.
  >
  > Changing the transfer function will result in the V4L2_EVENT_SOURCE_CHANGE to be sent since it emulates a detected colorspace change.

- Y'CbCr Encoding:

  > selects which Y'CbCr encoding should be used when generating a Y'CbCr image. This only applies if the format is set to a Y'CbCr format as opposed to an RGB format.
  >
  > Changing the Y'CbCr encoding will result in the V4L2_EVENT_SOURCE_CHANGE to be sent since it emulates a detected colorspace change.

- Quantization:

  > selects which quantization should be used for the RGB or Y'CbCr encoding when generating the test pattern.
  >
  > Changing the quantization will result in the V4L2_EVENT_SOURCE_CHANGE to be sent since it emulates a detected colorspace change.

- Limited RGB Range (16-235):

  > selects if the RGB range of the HDMI source should be limited or full range. This combines with the Digital Video 'Rx RGB Quantization Range' control and can be used to test what happens if a source provides you with the wrong quantization range information. See the description of that control for more details.

- Apply Alpha To Red Only:

  > apply the alpha channel as set by the 'Alpha Component' user control to the red color of the test pattern only.

- Enable Capture Cropping:

  > enables crop support. This control is only present if the ccs_cap_mode module option is set to the default value of -1 and if the no_error_inj module option is set to 0 (the default).

- Enable Capture Composing:

  > enables composing support. This control is only present if the ccs_cap_mode module option is set to the default value of -1 and if the no_error_inj module option is set to 0 (the default).

- Enable Capture Scaler:

  > enables support for a scaler (maximum 4 times upscaling and downscaling). This control is only present if the ccs_cap_mode module option is set to the default value of -1 and if the no_error_inj module option is set to 0 (the default).

- Maximum EDID Blocks:

  > determines how many EDID blocks the driver supports. Note that the vivid driver does not actually interpret new EDID data, it just stores it. It allows for up to 256 EDID blocks which is the maximum supported by the standard.

- Fill Percentage of Frame:

  > can be used to draw only the top X percent of the image. Since each frame has to be drawn by the driver, this demands a lot of the CPU. For large resolutions this becomes problematic. By drawing only part of the image this CPU load can be reduced.

<a id="rst-output-feature-selection-controls"></a>

#### Output Feature Selection Controls

These controls are all specific to video output.

- Enable Output Cropping:

  > enables crop support. This control is only present if the ccs_out_mode module option is set to the default value of -1 and if the no_error_inj module option is set to 0 (the default).

- Enable Output Composing:

  > enables composing support. This control is only present if the ccs_out_mode module option is set to the default value of -1 and if the no_error_inj module option is set to 0 (the default).

- Enable Output Scaler:

  > enables support for a scaler (maximum 4 times upscaling and downscaling). This control is only present if the ccs_out_mode module option is set to the default value of -1 and if the no_error_inj module option is set to 0 (the default).

<a id="rst-error-injection-controls"></a>

#### Error Injection Controls

The following two controls are only valid for video and vbi capture.

- Standard Signal Mode:

  > selects the behavior of VIDIOC_QUERYSTD: what should it return?
  >
  > Changing this control will result in the V4L2_EVENT_SOURCE_CHANGE to be sent since it emulates a changed input condition (e.g. a cable was plugged in or out).

- Standard:

  > selects the standard that VIDIOC_QUERYSTD should return if the previous control is set to "Selected Standard".
  >
  > Changing this control will result in the V4L2_EVENT_SOURCE_CHANGE to be sent since it emulates a changed input standard.

The following two controls are only valid for video capture.

- DV Timings Signal Mode:

  > selects the behavior of VIDIOC_QUERY_DV_TIMINGS: what should it return?
  >
  > Changing this control will result in the V4L2_EVENT_SOURCE_CHANGE to be sent since it emulates a changed input condition (e.g. a cable was plugged in or out).

- DV Timings:

  > selects the timings the VIDIOC_QUERY_DV_TIMINGS should return if the previous control is set to "Selected DV Timings".
  >
  > Changing this control will result in the V4L2_EVENT_SOURCE_CHANGE to be sent since it emulates changed input timings.

The following controls are only present if the no_error_inj module option is set to 0 (the default). These controls are valid for video and vbi capture and output streams and for the SDR capture device except for the Disconnect control which is valid for all devices.

- Wrap Sequence Number:

  > test what happens when you wrap the sequence number in struct v4l2_buffer around.

- Wrap Timestamp:

  > test what happens when you wrap the timestamp in struct v4l2_buffer around.

- Percentage of Dropped Buffers:

  > sets the percentage of buffers that are never returned by the driver (i.e., they are dropped).

- Disconnect:

  > emulates a USB disconnect. The device will act as if it has been disconnected. Only after all open filehandles to the device node have been closed will the device become 'connected' again.

- Inject V4L2_BUF_FLAG_ERROR:

  > when pressed, the next frame returned by the driver will have the error flag set (i.e. the frame is marked corrupt).

- Inject VIDIOC_REQBUFS Error:

  > when pressed, the next REQBUFS or CREATE_BUFS ioctl call will fail with an error. To be precise: the videobuf2 queue_setup() op will return -EINVAL.

- Inject VIDIOC_QBUF Error:

  > when pressed, the next VIDIOC_QBUF or VIDIOC_PREPARE_BUFFER ioctl call will fail with an error. To be precise: the videobuf2 buf_prepare() op will return -EINVAL.

- Inject VIDIOC_STREAMON Error:

  > when pressed, the next VIDIOC_STREAMON ioctl call will fail with an error. To be precise: the videobuf2 start_streaming() op will return -EINVAL.

- Inject Fatal Streaming Error:

  > when pressed, the streaming core will be marked as having suffered a fatal error, the only way to recover from that is to stop streaming. To be precise: the videobuf2 vb2_queue_error() function is called.

<a id="rst-vbi-raw-capture-controls"></a>

#### VBI Raw Capture Controls

- Interlaced VBI Format:

  > if set, then the raw VBI data will be interlaced instead of providing it grouped by field.

<a id="rst-digital-video-controls"></a>

### Digital Video Controls

- Rx RGB Quantization Range:

  > sets the RGB quantization detection of the HDMI input. This combines with the Vivid 'Limited RGB Range (16-235)' control and can be used to test what happens if a source provides you with the wrong quantization range information. This can be tested by selecting an HDMI input, setting this control to Full or Limited range and selecting the opposite in the 'Limited RGB Range (16-235)' control. The effect is easy to see if the 'Gray Ramp' test pattern is selected.

- Tx RGB Quantization Range:

  > sets the RGB quantization detection of the HDMI output. It is currently not used for anything in vivid, but most HDMI transmitters would typically have this control.

- Transmit Mode:

  > sets the transmit mode of the HDMI output to HDMI or DVI-D. This affects the reported colorspace since DVI_D outputs will always use sRGB.

<a id="rst-fm-radio-receiver-controls"></a>

### FM Radio Receiver Controls

- RDS Reception:

  > set if the RDS receiver should be enabled.

- RDS Program Type:

- RDS PS Name:

- RDS Radio Text:

- RDS Traffic Announcement:

- RDS Traffic Program:

- RDS Music:

  > these are all read-only controls. If RDS Rx I/O Mode is set to "Block I/O", then they are inactive as well. If RDS Rx I/O Mode is set to "Controls", then these controls report the received RDS data.

> [!NOTE]
>
> The vivid implementation of this is pretty basic: they are only updated when you set a new frequency or when you get the tuner status (VIDIOC_G_TUNER).

- Radio HW Seek Mode:

  > can be one of "Bounded", "Wrap Around" or "Both". This determines if VIDIOC_S_HW_FREQ_SEEK will be bounded by the frequency range or wrap-around or if it is selectable by the user.

- Radio Programmable HW Seek:

  > if set, then the user can provide the lower and upper bound of the HW Seek. Otherwise the frequency range boundaries will be used.

- Generate RBDS Instead of RDS:

  > if set, then generate RBDS (the US variant of RDS) data instead of RDS (European-style RDS). This affects only the PICODE and PTY codes.

- RDS Rx I/O Mode:

  > this can be "Block I/O" where the RDS blocks have to be read() by the application, or "Controls" where the RDS data is provided by the RDS controls mentioned above.

<a id="rst-fm-radio-modulator-controls"></a>

### FM Radio Modulator Controls

- RDS Program ID:

- RDS Program Type:

- RDS PS Name:

- RDS Radio Text:

- RDS Stereo:

- RDS Artificial Head:

- RDS Compressed:

- RDS Dynamic PTY:

- RDS Traffic Announcement:

- RDS Traffic Program:

- RDS Music:

  > these are all controls that set the RDS data that is transmitted by the FM modulator.

- RDS Tx I/O Mode:

  > this can be "Block I/O" where the application has to use write() to pass the RDS blocks to the driver, or "Controls" where the RDS data is Provided by the RDS controls mentioned above.

<a id="rst-metadata-capture-controls"></a>

### Metadata Capture Controls

- Generate PTS

  > if set, then the generated metadata stream contains Presentation timestamp.

- Generate SCR

  > if set, then the generated metadata stream contains Source Clock information.

<a id="rst-video-sliced-vbi-and-hdmi-cec-looping"></a>

## Video, Sliced VBI and HDMI CEC Looping

Video Looping functionality is supported for devices created by the same vivid driver instance, as well as across multiple instances of the vivid driver. The vivid driver supports looping of video and Sliced VBI data between an S-Video output and an S-Video input. It also supports looping of video and HDMI CEC data between an HDMI output and an HDMI input.

To enable looping, set the 'HDMI/S-Video XXX-N Is Connected To' control(s) to select whether an input uses the Test Pattern Generator, or is disconnected, or is connected to an output. An input can be connected to an output from any vivid instance. The inputs and outputs are numbered XXX-N where XXX is the vivid instance number (see module option n_devs). If there is only one vivid instance (the default), then XXX will be 000. And N is the Nth S-Video/HDMI input or output of that instance. If vivid is loaded without module options, then you can connect the S-Video 000-0 input to the S-Video 000-0 output, or the HDMI 000-0 input to the HDMI 000-0 output. This is the equivalent of connecting or disconnecting a cable between an input and an output in a physical device.

If an 'HDMI/S-Video XXX-N Is Connected To' control selected an output, then the video output will be looped to the video input provided that:

- the currently selected input matches the input indicated by the control name.

- in the vivid instance of the output connector, the currently selected output matches the output indicated by the control's value.

- the video resolution of the video input must match that of the video output. So it is not possible to loop a 50 Hz (720x576) S-Video output to a 60 Hz (720x480) S-Video input, or a 720p60 HDMI output to a 1080p30 input.

- the pixel formats must be identical on both sides. Otherwise the driver would have to do pixel format conversion as well, and that's taking things too far.

- the field settings must be identical on both sides. Same reason as above: requiring the driver to convert from one field format to another complicated matters too much. This also prohibits capturing with 'Field Top' or 'Field Bottom' when the output video is set to 'Field Alternate'. This combination, while legal, became too complicated to support. Both sides have to be 'Field Alternate' for this to work. Also note that for this specific case the sequence and field counting in struct v4l2_buffer on the capture side may not be 100% accurate.

- field settings V4L2_FIELD_SEQ_TB/BT are not supported. While it is possible to implement this, it would mean a lot of work to get this right. Since these field values are rarely used the decision was made not to implement this for now.

- on the input side the "Standard Signal Mode" for the S-Video input or the "DV Timings Signal Mode" for the HDMI input should be configured so that a valid signal is passed to the video input.

If any condition is not valid, then the 'Noise' test pattern is shown.

The framerates do not have to match, although this might change in the future.

By default you will see the OSD text superimposed on top of the looped video. This can be turned off by changing the "OSD Text Mode" control of the video capture device.

For VBI looping to work all of the above must be valid and in addition the vbi output must be configured for sliced VBI. The VBI capture side can be configured for either raw or sliced VBI. Note that at the moment only CC/XDS (60 Hz formats) and WSS (50 Hz formats) VBI data is looped. Teletext VBI data is not looped.

<a id="rst-radio-rds-looping"></a>

## Radio &amp; RDS Looping

The vivid driver supports looping of RDS output to RDS input.

Since radio is wireless this looping always happens if the radio receiver frequency is close to the radio transmitter frequency. In that case the radio transmitter will 'override' the emulated radio stations.

RDS looping is currently supported only between devices created by the same vivid driver instance.

As mentioned in the "Radio Receiver" section, the radio receiver emulates stations at regular frequency intervals. Depending on the frequency of the radio receiver a signal strength value is calculated (this is returned by VIDIOC_G_TUNER). However, it will also look at the frequency set by the radio transmitter and if that results in a higher signal strength than the settings of the radio transmitter will be used as if it was a valid station. This also includes the RDS data (if any) that the transmitter 'transmits'. This is received faithfully on the receiver side. Note that when the driver is loaded the frequencies of the radio receiver and transmitter are not identical, so initially no looping takes place.

<a id="rst-cropping-composing-scaling"></a>

## Cropping, Composing, Scaling

This driver supports cropping, composing and scaling in any combination. Normally which features are supported can be selected through the Vivid controls, but it is also possible to hardcode it when the module is loaded through the ccs_cap_mode and ccs_out_mode module options. See "Configuring the driver" on the details of these module options.

This allows you to test your application for all these variations.

Note that the webcam input never supports cropping, composing or scaling. That only applies to the TV/S-Video/HDMI inputs and outputs. The reason is that webcams, including this virtual implementation, normally use VIDIOC_ENUM_FRAMESIZES to list a set of discrete framesizes that it supports. And that does not combine with cropping, composing or scaling. This is primarily a limitation of the V4L2 API which is carefully reproduced here.

The minimum and maximum resolutions that the scaler can achieve are 16x16 and (4096 \* 4) x (2160 x 4), but it can only scale up or down by a factor of 4 or less. So for a source resolution of 1280x720 the minimum the scaler can do is 320x180 and the maximum is 5120x2880. You can play around with this using the qv4l2 test tool and you will see these dependencies.

This driver also supports larger 'bytesperline' settings, something that VIDIOC_S_FMT allows but that few drivers implement.

The scaler is a simple scaler that uses the Coarse Bresenham algorithm. It's designed for speed and simplicity, not quality.

If the combination of crop, compose and scaling allows it, then it is possible to change crop and compose rectangles on the fly.

<a id="rst-formats"></a>

## Formats

The driver supports all the regular packed and planar 4:4:4, 4:2:2 and 4:2:0 YUYV formats, 8, 16, 24 and 32 RGB packed formats and various multiplanar formats.

The alpha component can be set through the 'Alpha Component' User control for those formats that support it. If the 'Apply Alpha To Red Only' control is set, then the alpha component is only used for the color red and set to 0 otherwise.

The driver has to be configured to support the multiplanar formats. By default the driver instances are single-planar. This can be changed by setting the multiplanar module option, see "Configuring the driver" for more details on that option.

If the driver instance is using the multiplanar formats/API, then the first single planar format (YUYV) and the multiplanar NV16M and NV61M formats the will have a plane that has a non-zero data_offset of 128 bytes. It is rare for data_offset to be non-zero, so this is a useful feature for testing applications.

Video output will also honor any data_offset that the application set.

<a id="rst-output-overlay"></a>

## Output Overlay

Note: output overlays are primarily implemented in order to test the existing V4L2 output overlay API. Whether this API should be used for new drivers is questionable.

This driver has support for an output overlay and is capable of:

> - bitmap clipping,
>
> - list clipping (up to 16 rectangles)
>
> - chromakey
>
> - source chromakey
>
> - global alpha
>
> - local alpha
>
> - local inverse alpha

Output overlays are not supported for multiplanar formats. In addition, the pixelformat of the capture format and that of the framebuffer must be the same for the overlay to work. Otherwise VIDIOC_OVERLAY will return an error.

Output overlays only work if the driver has been configured to create a framebuffer by setting flag 0x10000 in the node_types module option. The created framebuffer has a size of 720x576 and supports ARGB 1:5:5:5 and RGB 5:6:5.

In order to see the effects of the various clipping, chromakeying or alpha processing capabilities you need to turn on video looping and see the results on the capture side. The use of the clipping, chromakeying or alpha processing capabilities will slow down the video loop considerably as a lot of checks have to be done per pixel.

<a id="rst-cec-consumer-electronics-control"></a>

## CEC (Consumer Electronics Control)

If there are HDMI inputs then a CEC adapter will be created that has the same number of input ports. This is the equivalent of e.g. a TV that has that number of inputs. Each HDMI output will also create a CEC adapter that is hooked up to the corresponding input port, or (if there are more outputs than inputs) is not hooked up at all. In other words, this is the equivalent of hooking up each output device to an input port of the TV. Any remaining output devices remain unconnected.

The EDID that each output reads reports a unique CEC physical address that is based on the physical address of the EDID of the input. So if the EDID of the receiver has physical address A.B.0.0, then each output will see an EDID containing physical address A.B.C.0 where C is 1 to the number of inputs. If there are more outputs than inputs then the remaining outputs have a CEC adapter that is disabled and reports an invalid physical address.

<a id="rst-some-future-improvements"></a>

## Some Future Improvements

Just as a reminder and in no particular order:

- Add a virtual alsa driver to test audio

- Add virtual sub-devices

- Some support for testing compressed video

- Add support to loop raw VBI output to raw VBI input

- Add support to loop teletext sliced VBI output to VBI input

- Fix sequence/field numbering when looping of video with alternate fields

- Add support for V4L2_CID_BG_COLOR for video outputs

- Add ARGB888 overlay support: better testing of the alpha channel

- Improve pixel aspect support in the tpg code by passing a real v4l2_fract

- Use per-queue locks and/or per-device locks to improve throughput

- The SDR radio should use the same 'frequencies' for stations as the normal radio receiver, and give back noise if the frequency doesn't match up with a station frequency

- Make a thread for the RDS generation, that would help in particular for the "Controls" RDS Rx I/O Mode as the read-only RDS controls could be updated in real-time.

- Changing the EDID doesn't wait 100 ms before setting the HPD signal.

---

# Zoran cards list

_Peios Kernel / Administration / System administration / Media devices_

> Reference for Zoran cards list.

<a id="rst-zoran-cards-list"></a>

<!-- SPDX-License-Identifier: GPL-2.0 -->

<!-- tabularcolumns: |p{1.4cm}|p{11.1cm}|p{4.2cm}| -->


<table>
<thead>
<tr>
<th>


Card number

</th>
<th>


Card name

</th>
<th>


PCI subsystem IDs

</th>
</tr>
</thead>
<tbody>
<tr>
<td>


0

</td>
<td>


DC10(old)

</td>
<td>


&lt;any&gt;

</td>
</tr>
<tr>
<td>


1

</td>
<td>


DC10(new)

</td>
<td>


&lt;any&gt;

</td>
</tr>
<tr>
<td>


2

</td>
<td>


DC10_PLUS

</td>
<td>


1031:7efe

</td>
</tr>
<tr>
<td>


3

</td>
<td>


DC30

</td>
<td>


&lt;any&gt;

</td>
</tr>
<tr>
<td>


4

</td>
<td>


DC30_PLUS

</td>
<td>


1031:d801

</td>
</tr>
<tr>
<td>


5

</td>
<td>


LML33

</td>
<td>


&lt;any&gt;

</td>
</tr>
<tr>
<td>


6

</td>
<td>


LML33R10

</td>
<td>


12f8:8a02

</td>
</tr>
<tr>
<td>


7

</td>
<td>


Buz

</td>
<td>


13ca:4231

</td>
</tr>
<tr>
<td>


8

</td>
<td>


6-Eyes

</td>
<td>


&lt;any&gt;

</td>
</tr>
</tbody>
</table>
