Twinhan VP-1020A

From LinuxTVWiki

(Difference between revisions)
Jump to: navigation, search
(some reorg, minor touch ups)
Line 1: Line 1:
 +
[[Image:Vp-1020A.jpg|thumb|275px|VP-1020A]]
 +
[[Image:Vp-1020A-ASIC.jpg|thumb|275px|VP-1020A ASIC ... Identify your card model]]
A [[DVB-S]] [[Budget]] [[DVB-S_PCI_Cards|PCI card]] by [[TwinHan Technology Co. Ltd]]
A [[DVB-S]] [[Budget]] [[DVB-S_PCI_Cards|PCI card]] by [[TwinHan Technology Co. Ltd]]
 +
 +
Effectively, the VP-1020A is the oldest card design in the DVB-S family from Twinhan -- although it was preceeded by the VP-1020 model, the only differences between the VP-1020 and the VP-1020A are the color of the board and the firmware contained in the ASIC.
==Overview==
==Overview==
Line 14: Line 18:
         The actual card type is determined by interrogating the onboard EEPROM.
         The actual card type is determined by interrogating the onboard EEPROM.
 +
Required modules and parameters:<br>
 +
The only frontend driver for this card is the dst module. The tuner component initialization routines are held in the ASIC in the form of firmware (not reloadable through software).
-
The only frontend driver for this card is the dst module. The tuner component initialization routines are held in the ASIC in the form of firmware (not reloadable through software). The oldest card in the DVB-S family from Twinhan !
+
This card uses the bttv driver. Well suppported by LinuxTV drivers.
-
 
+
-
The only difference between the VP-1020 and the VP-1020A is in the color of the board and the firmware in the ASIC.
+
-
 
+
-
This card uses the bttv driver. Well suppported by LinuxTV drivers.
+
-
<br><br>
+
-
Required modules and parameters:
+
<pre>
<pre>
Line 29: Line 29:
dst  
dst  
dvb-bt8xx</pre>
dvb-bt8xx</pre>
-
Loading just dvb-bt8xx will normally autodetect the card and load all the above modules with the required parameters.
+
Loading just dvb-bt8xx will normally autodetect the card and load all the above modules with the required parameters.  See the following section for one potential problem area.
-
----
+
 
==Kernel Hangup Problems with Twinhan / Brooktree 1020A==
==Kernel Hangup Problems with Twinhan / Brooktree 1020A==
If your kernel freezes at startup with the following last messages: <pre>
If your kernel freezes at startup with the following last messages: <pre>
Line 53: Line 53:
Once the bttv module is loaded again (e.g. at the next reboot) it should detect your card correctly. The same goes for the dvb-bt8xx module.
Once the bttv module is loaded again (e.g. at the next reboot) it should detect your card correctly. The same goes for the dvb-bt8xx module.
-
==Images==
 
-
[[Image:Vp-1020A.jpg|VP-1020A]]
 
-
Identify your card model ...
 
-
[[Image:Vp-1020A-ASIC.jpg|VP-1020A ASIC]]
 
[[Category:DVB-S]]
[[Category:DVB-S]]
[[Category:Hardware]]
[[Category:Hardware]]

Revision as of 16:24, 19 June 2007

VP-1020A
VP-1020A ASIC ... Identify your card model

A DVB-S Budget PCI card by TwinHan Technology Co. Ltd

Effectively, the VP-1020A is the oldest card design in the DVB-S family from Twinhan -- although it was preceeded by the VP-1020 model, the only differences between the VP-1020 and the VP-1020A are the color of the board and the firmware contained in the ASIC.

Overview

("DST-03T") (dst)

 features: Card is capable of delivering the full unmodified TS stream to userspace. 
 card driver: dvb-bt8xx
 interface: PCI
 PCI device id: 14f1:8804
 PCI subsystem id: 1822:0001
 Bridge: bt8xx
 frontend 1: LG
   frontend driver: dst
 Notes: The frontends on these cards are hidden behind an ASIC - no need to know the full details.
        The actual card type is determined by interrogating the onboard EEPROM.

Required modules and parameters:
The only frontend driver for this card is the dst module. The tuner component initialization routines are held in the ASIC in the form of firmware (not reloadable through software).

This card uses the bttv driver. Well suppported by LinuxTV drivers.

dvb_core dvb_shutdown_timeout=0 
bttv i2c_hw=1 card=0x71 
bt878 
dst 
dvb-bt8xx

Loading just dvb-bt8xx will normally autodetect the card and load all the above modules with the required parameters. See the following section for one potential problem area.

Kernel Hangup Problems with Twinhan / Brooktree 1020A

If your kernel freezes at startup with the following last messages:
bttv0: subsystem: fefe:0001 (UNKNOWN)
bttv0: using: *** UNKNOWN/GENERIC *** [card=0,autodetected]

This means your card's eeprom has been corrupted. The card takes it subsystem id from this eeprom, fefe:0001 is an unknown id, which makes the bttv driver hang. Due to unknown reasons (or cheapness on TwinHan's part) the eeprom is not write protected, and something (maybe a buggy driver?) stomped over it.

But the eeprom being writable also means that one can fix the problem relatively easy. You need the i2c* programs from lm-sensors. Run

modprobe i2c_dev
i2cdetect -l

to list all busses. IMPORTANT: to fix eeprom you must load all modules for your card except dvb-bt8xx. Find the right one for your card and do

i2cdetect BUS

(Replace BUS with the bus you determined from now on.) The above should list available address spaces. This can be dangerous if BUS is wrong, but usually it is safe. The 1020 normally has only one active chip at 0x50. If this looks right try

i2cdump BUS 0x50

to dump the eeprom (usually safe). The (wrong) subsystem id will reside in the last 4 bytes, make sure it matches the one your system prints before the hang -- if you saw fefe:0001 that means 00 01 fe fe. If do not see the id there, or nothing resides at 0x50, stop here! The next command will write to the chip, and may damage the respective hardware irreperably! NO GUARANTEES! That said, a card with this symptoms is a doorstop anyway, so if you are sure you are not looking at another hardware, go ahead. To put the right id 1822:0001 there, run the following commands

i2cset -y BUS 0x50 0xfc 0x00 b
i2cset -y BUS 0x50 0xfd 0x01 b
i2cset -y BUS 0x50 0xfe 0x18 b
i2cset -y BUS 0x50 0xff 0x22 b

The commands will complain about failing readback, but it should work anyway. Cross-check with another

i2cdump -y BUS 0x50

Once the bttv module is loaded again (e.g. at the next reboot) it should detect your card correctly. The same goes for the dvb-bt8xx module.

Personal tools