Development: How to add support for a device

From LinuxTVWiki
Revision as of 23:46, 3 July 2005 by Nsh (Talk)

Jump to: navigation, search

First you should find, how your card identify yourself on pci (just lspci and lspci -vn). This give you type of main decoder chip

Next, you should try to identify tuner chips that your card uses. There can be tuner chip, demodulator or both hidden in metallic box connected directly to antenna input. Often tuner type is printed under sticker.

You can find a lot of cards on http://bttv-gallery.de - very useful resource about cards identification.

Another useful place to look is windows drivers. They often contains a lot of information about cards hardware.


After that you should download latest v4l cvs and search for that or similar card. Probably something like your card is already supported but has another name. Otherwise, you can look on similar entries and fill entry for new card. For bttv chip you should correct bttv-cards.c and bttv.h, for cx88 - cx88-cards.c and cx88.h, for saa - saa7134-cards.c and saa7134.h

Card works - that's cool. You are ready to send patch to video4linux mailing list.


If your card is missing on bttv-gallery, please, send the following info to Gunther Mayer <gunther.mayer () gmx ! net>.


Your contribution will help to improve open source support! Because there are many cards and variations by different vendors, the developers need _your_ help to get it all supported.

1st priority:

  • picture of the card, the card backside (high resolution pics if feasible)
  • lspci -vn

further information:

  • picture of remote control (if applicable) and of original package
  • list of chips
  • list of input connectors
  • printings on PCB, printings on stickers on the card
  • lspci -v and lspci -vn
  • "dmesg" when loading the modules
  • if feasible "eeprom" output (from bttv tools)
  • if feasible "*.INF" files from the Windows Driver CD
  • exact tuner type (possibly this is hidden under the vendor sticker)
  • exact model name and model number from package
  • in which country do you live/ in which country this card was bought

Even parts of this info will be very helpful!