Mailing List archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[linux-dvb] Twinhan DST VP-1020, progress



I've made more progress on decoding the card. It helps
to read the Fusion 878a manual and not the BT 878a manual!

I've placed an early, debug-ready, compile only, version
of my driver on http://members.optushome.com.au/jhonan/dst/

This only compiles, and has basic i2c communication between
the fusion 878a and the DST asic. Only for the hardy hacker,
not usable at present. No support for DST cards with CI.

The mechanism I used is very straightforward. A new frontend
called 'dst', and some small mods to dvb-bt8xx. The bt878 module
should be close to what is required, since the audio dma is very
similar.

The main reason I am putting this up is simply to backup :)

Instructions.

1. You'll need the dvb-kernel out of cvs. You'll need to have
some familiarity with it.

2. Need to get bttv working. 

Either use Norberto García's
bttv driver, or use one of my patches to bttv-0.9.11.

My patch file "unkbttv.patch" doesn't have the i2c routines
that the 
dvb-kernel/linux/drivers/media/dvb/bt8xx/patches/i2c-if-0.9.4.patch
provides.

Alternatively "unk+if+bttv.patch" has my patches plus the i2c interface
routines.

Important : the stock standard bttv driver will hang your machine
if you load it with a DST plugged in!

Norberto's driver has the i2c interface routines, but won't drive a normal
bttv catpture card. My driver patches should still allow bttv to work
with an ordinary bttv capture card plugged in. 

3. Need to build dvb.

Place dst.c in the frontends directory
and modify the Makefile/ Config.

Do a diff of dvb-bt8xx.c in the bt8xx directory to familiarise
yourself with the changes.

When satisfied, place the modified dvb-bt8xx.c module in the bt8xx directory.
Both dst.c and dvb-bt8xx.c need to be able to see dst.h

Build as normal. Install as per normal bt8xx.

This is what I have so I get lots of debugging info.

	echo -n -e "Inserting DST + DVB modules into kernel"
	modprobe i2c-core i2c_debug=2
	modprobe i2c-algo-bit i2c_debug=2
	modprobe videodev
	modprobe input
	modprobe evdev
	modprobe bttv bttv_verbose=2 bttv_debug=1
	modprobe dvb-core dvb_shutdown_timeout=0
	modprobe dst
	modprobe bt878
	modprobe dvb-bt8xx
	# modprobe dvb-ttpci

All going well, you should see communication between the fusion
878a and the DST asic.

Jamie


--
Info:
To unsubscribe send a mail to ecartis@linuxtv.org with "unsubscribe linux-dvb" as subject.



Home | Main Index | Thread Index