Leadtek WinFast HDTV Cinema

From LinuxTVWiki
Jump to navigation Jump to search
WinFast HDTV Cinema

An ATSC PCI card from Leadtek.

It is currently not supported. However, it can be made to work by mimicking a KWorld ATSC 110.

Overview/Features

The WinFast HDTV Cinema is a dual RF input low profile (half-height) pci card, that comes with a remote & IR-receiver. It supports both analog (NTSC) and Digital (8-VSB and 256-QAM) sources. It also has A/V inputs.

Components Used

  • Philips TUV1236D NIM
    • Infineon TUA6034 (tuner)
    • Philips TDA9887 (analog IF demodulator)
    • ATI Nxt2004 (digital demodulator for 8VSB & 256/64-QAM)
  • Philips SAA7133 (A/V decoder & PCI bridge)
  • "A T8P56S
    HBIHG 709" ... likely an Atmel AT8P56S (remote control)

Identification

The card has a PCI subsystem ID of 107d:6670. The output of lspci -vvnn should be similar to:

0:09.0 Multimedia controller [Class 0480]: Philips Semiconductors SAA7133/SAA7135 Video Broadcast Decoder [1131:7133] (rev f0)
        Subsystem: LeadTek Research Inc. unknown device [107d:6670]
        Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B-
        Status: Cap+ 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR-
        Latency: 32 (63750ns min, 63750ns max)
        Interrupt: pin A routed to IRQ 201
        Region 0: Memory at fa021000 (32-bit, non-prefetchable) [size=2K]
        Capabilities: [40] Power Management version 2
                Flags: PMEClk- DSI- D1+ D2+ AuxCurrent=0mA PME(D0-,D1-,D2-,D3hot-,D3cold-)
                Status: D0 PME-Enable- DSel=0 DScale=3 PME-

Making it Work

Firmware

This card requires a firmware file (dvb-fe-nxt2004.fw1) for the demodulator, which can be obtained using the get_dvb_firmware perl script included in the kernel sources:

# cd /[kernel source directory]/scripts
# perl get_dvb_firmware nxt2004

Once the download is complete, place a copy of the firmware file in your /lib/firmware directory. (This directory may differ with some distros; consult your distro's documentation for the appropriate location).

Note 1: All devices that use the Nxt2004 demodulator are currently using a firmware version from the AVerMedia AVerTVHD MCE A180. As the firmware's code has not been discerned, it is unclear whether other firmware for the Nxt2004 (i.e. those provided by other devices) would have any affect on reception performance.

Drivers

There are currently no definitions for this card within the v4l-dvb drivers, so consequently the card will not be automagically recognized or configured properly. If you would like to amend this situation, please submit a patch to the mailing list that makes the necessary changes to the drivers.

Sample kernel output

Currently, you will find the following in the output of dmesg or your kernel logs:

saa7133[0]: found at 0000:04:08.0, rev: 16, irq: 19, latency: 64, mmio: 
0xfeaff800
saa7133[0]: subsystem: 107d:6670, board: UNKNOWN/GENERIC 
[card=0,autodetected]
saa7133[0]: board init: gpio is a022000
saa7133[0]: i2c eeprom 00: 7d 10 70 66 54 20 1c 00 43 43 a9 1c 55 d2 b2 92
saa7133[0]: i2c eeprom 10: 00 ff 82 0e ff 20 ff ff ff ff ff ff ff ff ff ff
saa7133[0]: i2c eeprom 20: 01 40 01 02 02 ff 01 04 08 ff 00 a8 ff ff ff ff
saa7133[0]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[0]: i2c eeprom 40: ff 18 00 c2 86 00 ff ff ff ff ff ff ff ff ff ff
saa7133[0]: i2c eeprom 50: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[0]: i2c eeprom 60: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[0]: i2c eeprom 70: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[0]: registered device video0 [v4l2]
saa7133[0]: registered device vbi0

However, if you add

alias char-major-81 videodev
alias char-major-81-0 saa7134
options saa7134 card=90 "

to modprobe.conf, and have the necessary nxt2004 firmware properly in place, then you will be able to force the card to be recognized and configured as if it were the KWorld ATSC 110. Apparently it works fine set up as such [1]. Having provided that hack, the relevant output from dmesg should then afterwards be similar to:

saa7130/34: v4l2 driver version 0.2.14 loaded
ACPI: PCI Interrupt 0000:00:09.0[A] -> GSI 19 (level, low) -> IRQ 177
saa7133[0]: found at 0000:00:09.0, rev: 240, irq: 177, latency: 32, mmio: 0xfa021000
saa7133[0]: subsystem: 17de:7350, board: Kworld ATSC110 [card=90,autodetected]
saa7133[0]: board init: gpio is 100
saa7133[0]: i2c eeprom 00: de 17 50 73 ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[0]: i2c eeprom 10: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[0]: i2c eeprom 20: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff 
saa7133[0]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[0]: i2c eeprom 40: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[0]: i2c eeprom 50: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[0]: i2c eeprom 60: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
saa7133[0]: i2c eeprom 70: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
tuner 0-0061: chip found @ 0xc2 (saa7133[0])
tuner 0-0061: type set to 68 (Philips TUV1236D ATSC/NTSC dual in)
saa7133[0]: registered device video0 [v4l2]
saa7133[0]: registered device vbi0
nxt200x: NXT2004 Detected
DVB: registering new adapter (saa7133[0]).
DVB: registering frontend 0 (Nextwave NXT200X VSB/QAM frontend)...

Remote control support

Not known.

As it is, the remote control for the older, but analogous, KWorld card is not properly supported (see that article for further details). Though, if the older KWorld card's mystery chip used for handling remote control functions is actually one and the same as that used on the Leadtek card, the identification of the IC used on this Leadtek card may be able to aid such support.

External Links