Cx88 devices (cx2388x): Difference between revisions

From LinuxTVWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 2: Line 2:


The cx2388x chip is the successor to the [[bttv devices |bt87x]] chips; cf. [[PCI interface chipsets used for v4l cards]].
The cx2388x chip is the successor to the [[bttv devices |bt87x]] chips; cf. [[PCI interface chipsets used for v4l cards]].

There is also support in the kernel for a cx23416 mpeg encoder via the cx2388x host port though the blackbird driver, cx88-blackbird.c, which includes parts from the [[ivtv devices |ivtv driver]]. I don't have a list of the cards supported by this driver.


===Supported cards===
===Supported cards===


There doesn't seem to be a list of supported cards in the kernel documentation; here is some information from the driver header file, /usr/src/linux/drivers/media/video/cx88/cx88.h:
There doesn't seem to be a list of supported cards in the kernel documentation; here is some information on card numbers from the driver header file, drivers/media/video/cx88/cx88.h:

NOAUTO UNSET
UNKNOWN 0
HAUPPAUGE 1
GDI 2
PIXELVIEW 3
ATI_WONDER_PRO 4
WINFAST2000XP_EXPERT 5
AVERTV_303 6
MSI_TVANYWHERE_MASTER 7
WINFAST_DV2000 8
LEADTEK_PVR2000 9
IODATA_GVVCP3PCI 10
PROLINK_PLAYTVPVR 11
ASUS_PVR_416 12
MSI_TVANYWHERE 13
KWORLD_DVB_T 14
DVICO_FUSIONHDTV_DVB_T1 15
KWORLD_LTV883 16
DVICO_FUSIONHDTV_3_GOLD 17
HAUPPAUGE_DVB_T1 18
CONEXANT_DVB_T1 19
PROVIDEO_PV259 20
DVICO_FUSIONHDTV_DVB_T_PLUS 21
PCHDTV_HD3000 22
DNTV_LIVE_DVB_T 23
HAUPPAUGE_ROSLYN 24
DIGITALLOGIC_MEC 25
IODATA_GVBCTV7E 26

Here's a list of model names from cx88-cards.c:


AverTV Studio 303 (M126)
CX88_BOARD_NOAUTO UNSET
MSI TV-@nywhere Master
CX88_BOARD_UNKNOWN 0
Leadtek Winfast DV2000
CX88_BOARD_HAUPPAUGE 1
Leadtek PVR 2000
CX88_BOARD_GDI 2
IODATA GV-VCP3/PCI
CX88_BOARD_PIXELVIEW 3
Prolink PlayTV PVR
CX88_BOARD_ATI_WONDER_PRO 4
ASUS PVR-416
CX88_BOARD_WINFAST2000XP_EXPERT 5
MSI TV-@nywhere
CX88_BOARD_AVERTV_303 6
KWorld/VStream XPert DVB-T
CX88_BOARD_MSI_TVANYWHERE_MASTER 7
DVICO FusionHDTV DVB-T1
CX88_BOARD_WINFAST_DV2000 8
KWorld LTV883RF
CX88_BOARD_LEADTEK_PVR2000 9
DViCO - FusionHDTV 3 Gold
CX88_BOARD_IODATA_GVVCP3PCI 10
Hauppauge Nova-T DVB-T
CX88_BOARD_PROLINK_PLAYTVPVR 11
Conexant DVB-T reference design
CX88_BOARD_ASUS_PVR_416 12
Provideo PV259
CX88_BOARD_MSI_TVANYWHERE 13
DVICO FusionHDTV DVB-T Plus
CX88_BOARD_KWORLD_DVB_T 14
digitalnow DNTV Live! DVB-T
CX88_BOARD_DVICO_FUSIONHDTV_DVB_T1 15
pcHDTV HD3000 HDTV
CX88_BOARD_KWORLD_LTV883 16
Hauppauge WinTV 28xxx (Roslyn) models
CX88_BOARD_DVICO_FUSIONHDTV_3_GOLD 17
Digital-Logic MICROSPACE Entertainment Center (MEC)
CX88_BOARD_HAUPPAUGE_DVB_T1 18
IODATA GV/BCTV7E
CX88_BOARD_CONEXANT_DVB_T1 19
CX88_BOARD_PROVIDEO_PV259 20
CX88_BOARD_DVICO_FUSIONHDTV_DVB_T_PLUS 21
CX88_BOARD_PCHDTV_HD3000 22
CX88_BOARD_DNTV_LIVE_DVB_T 23
CX88_BOARD_HAUPPAUGE_ROSLYN 24
CX88_BOARD_DIGITALLOGIC_MEC 25
CX88_BOARD_IODATA_GVBCTV7E 26


Support for some cards, such as the pcHDTV_HD2000, has been added since then.
Support for some additional cards, such as the pcHDTV_HD2000, has been added since then.


===Release notes===
===Release notes===
Line 46: Line 72:


Video
Video
* Basically works.
:* Basically works.
* Some minor image quality glitches (cf. color problem patch below)
:* Some minor image quality glitches (cf. color problem patch below)
* For now only capture, overlay support isn't completed yet.
:* For now only capture, overlay support isn't completed yet.


Audio
Audio
* The chip specs for the on-chip TV sound decoder are next to useless :-/
:* The chip specs for the on-chip TV sound decoder are next to useless :-/
* Neverless the builtin TV sound decoder starts working now, at least for PAL-BG. Other TV norms need other code ...
:* Neverless the builtin TV sound decoder starts working now, at least for PAL-BG. Other TV norms need other code ...
FOR ANY REPORTS ON THIS PLEASE MENTION THE TV NORM YOU ARE USING.
::FOR ANY REPORTS ON THIS PLEASE MENTION THE TV NORM YOU ARE USING.
* Most tuner chips do provide mono sound, which may or may not be useable depending on the board design. With the Hauppauge cards it works, so there is mono sound available as fallback.
:* Most tuner chips do provide mono sound, which may or may not be useable depending on the board design. With the Hauppauge cards it works, so there is mono sound available as fallback.
* audio data dma (i.e. recording without loopback cable to the sound card) should be possible, but there is no code yet ...
:* audio data dma (i.e. recording without loopback cable to the sound card) should be possible, but there is no code yet ...


vbi (cf. [[text capture]])
vbi (cf. [[text capture]])
* Some code present. Doesn't crash any more, but also doesn't work yet ...
:* Some code present. Doesn't crash any more, but also doesn't work yet ...


====How to add support for new cards====
====How to add support for new cards====
Line 78: Line 104:
# Or you can mail me the config information. I need at least the following informations to add the card:
# Or you can mail me the config information. I need at least the following informations to add the card:


* the PCI Subsystem ID ("0070:3400" from the line above, "lspci -v" output is fine too).
::* 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=<n> insmod option. If you know which one the card has, you can also have a look at the list in [[tuners |CARDLIST.tuner]].
::* the tuner type used by the card. You can try to find one by trial-and-error using the tuner=<n> insmod option. If you know which one the card has, you can also have a look at the list in [[tuners |CARDLIST.tuner]].


Have fun,
Have fun,
Line 86: Line 112:


Gerd Knorr <kraxel@bytesex.org> [SuSE Labs]
Gerd Knorr <kraxel@bytesex.org> [SuSE Labs]

===TV audio types===
(drivers/media/video/cx88/cx88.h)

WW_NONE 1
WW_BTSC 2
WW_NICAM_I 3
WW_NICAM_BGDKL 4
WW_A1 5
WW_A2_BG 6
WW_A2_DK 7
WW_A2_M 8
WW_EIAJ 9
WW_SYSTEM_L_AM 10
WW_I2SPT 11
WW_FM 12


===[[Color problem patch]]===
===[[Color problem patch]]===

Revision as of 03:05, 30 April 2005

Introduction

The cx2388x chip is the successor to the bt87x chips; cf. PCI interface chipsets used for v4l cards.

There is also support in the kernel for a cx23416 mpeg encoder via the cx2388x host port though the blackbird driver, cx88-blackbird.c, which includes parts from the ivtv driver. I don't have a list of the cards supported by this driver.

Supported cards

There doesn't seem to be a list of supported cards in the kernel documentation; here is some information on card numbers from the driver header file, drivers/media/video/cx88/cx88.h:

NOAUTO               UNSET
UNKNOWN                  0
HAUPPAUGE                1
GDI                      2
PIXELVIEW                3
ATI_WONDER_PRO           4
WINFAST2000XP_EXPERT     5
AVERTV_303               6
MSI_TVANYWHERE_MASTER    7
WINFAST_DV2000           8
LEADTEK_PVR2000          9
IODATA_GVVCP3PCI        10
PROLINK_PLAYTVPVR       11
ASUS_PVR_416            12
MSI_TVANYWHERE          13
KWORLD_DVB_T            14
DVICO_FUSIONHDTV_DVB_T1 15
KWORLD_LTV883           16
DVICO_FUSIONHDTV_3_GOLD 17
HAUPPAUGE_DVB_T1        18
CONEXANT_DVB_T1         19
PROVIDEO_PV259          20
DVICO_FUSIONHDTV_DVB_T_PLUS 21
PCHDTV_HD3000           22
DNTV_LIVE_DVB_T         23
HAUPPAUGE_ROSLYN        24
DIGITALLOGIC_MEC        25
IODATA_GVBCTV7E         26

Here's a list of model names from cx88-cards.c:

AverTV Studio 303 (M126)
MSI TV-@nywhere Master
Leadtek Winfast DV2000
Leadtek PVR 2000
IODATA GV-VCP3/PCI
Prolink PlayTV PVR
ASUS PVR-416
MSI TV-@nywhere
KWorld/VStream XPert DVB-T
DVICO FusionHDTV DVB-T1
KWorld LTV883RF
DViCO - FusionHDTV 3 Gold
Hauppauge Nova-T DVB-T
Conexant DVB-T reference design
Provideo PV259
DVICO FusionHDTV DVB-T Plus
digitalnow DNTV Live! DVB-T
pcHDTV HD3000 HDTV
Hauppauge WinTV 28xxx (Roslyn) models
Digital-Logic MICROSPACE Entertainment Center (MEC)
IODATA GV/BCTV7E

Support for some additional cards, such as the pcHDTV_HD2000, has been added since then.

Release notes

(Documentation/video4linux/README.cx88 from 2.6.12-rc2 with some added links)

This is a v4l2 device driver for the cx2388x chip.

Current status

Video

  • Basically works.
  • Some minor image quality glitches (cf. color problem patch below)
  • For now only capture, overlay support isn't completed yet.

Audio

  • The chip specs for the on-chip TV sound decoder are next to useless :-/
  • Neverless the builtin TV sound decoder starts working now, at least for PAL-BG. Other TV norms need other code ...
FOR ANY REPORTS ON THIS PLEASE MENTION THE TV NORM YOU ARE USING.
  • Most tuner chips do provide mono sound, which may or may not be useable depending on the board design. With the Hauppauge cards it works, so there is mono sound available as fallback.
  • audio data dma (i.e. recording without loopback cable to the sound card) should be possible, but there is no code yet ...

vbi (cf. text capture)

  • Some code present. Doesn't crash any more, but also doesn't work yet ...

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:

       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 (use the mainline kernel; cf. How to submit patches).
  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. I need at least the following informations 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=<n> insmod option. If you know which one the card has, you can also have a look at the list in CARDLIST.tuner.

Have fun,

Gerd

Gerd Knorr <kraxel@bytesex.org> [SuSE Labs]

TV audio types

(drivers/media/video/cx88/cx88.h)

WW_NONE          1
WW_BTSC          2
WW_NICAM_I       3
WW_NICAM_BGDKL   4
WW_A1            5
WW_A2_BG         6
WW_A2_DK         7
WW_A2_M          8
WW_EIAJ          9
WW_SYSTEM_L_AM  10
WW_I2SPT        11
WW_FM           12

Color problem patch

.