Mailing List archive

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

[linux-dvb] Re: Hauppauge DEC-2000 T USB Newbie Problems

I got a dec200-t, too and have made similar experiences, but one thing was different: After tzap successfully found the station I have to stop it in order to receive data. Otherwise something like "dvbstream -ps -o <vpid> <apid> | mplayer -" doesn't produce any output.


Stefan weidt schrieb:

On Sun, 7 Dec 2003 15:11:11 -0000
"Rupert Hair" <> wrote:

I am having some problems compiling the correct DEC-2000 T USB modules.
Before I go off on a long description of what I have been doing and waste
your time and bandwidth I would like to know if there is any documentation I
should have read?
Since I got my dec2000t working just this weekend I might be able to help you out. I'm using 2.6-test11 and it does work. If the modules have compiled fine you should have dvb_core, ttusb_dec and dec2000_fronend. Have you copied firmware to /etc/dvb? In case you've not seen it here are the instructions:

The DEC devices require firmware in order to boot into a mode in
which they are slaves to the PC. These are required at compile
time. The firmware can be obtained and put into the default
locations as follows:

unzip -j dec215a.exe Software/Oem/STB/App/Boot/STB_PC_T.bin
mv STB_PC_T.bin /etc/dvb/dec2000t.bin

I think once that is in place the build-2.4 will work. The defaults seem to hide the dec2000t in 2.6 and you need to disable the options in Code Maturity Level options;


That should result in the 3 modules above.

I have had a look at the various READMEs in the CVS but they do not seem to
detail what the requirements are for the DEC-2000 T USB modules. I presume
from the device names that DVB requires devfs but I am also unsure of how
this can be used with Debian which does not seem to support this. I have
had a look at the Debian packages but they do not seem to contain support
for the DEC-2000 T USB.

Debian uses udev? I'm still using devfs so I'm not sure what will happen.

I would be grateful for any advice on the best kernel to use (I have tried
2.4 (using the build-2.4 scripts) and 2.6.1-test11) and on the requirements
for the driver (both from the DVB source and other kernel options).

Thanks for your time and effort in writing this driver. I can't wait to
turn my xbox into a linux PVR!

To actually use the device you'll need to create a channels.conf file. If like me you aren't in an area where someone has provided theirs, then you'll need to make one by hand, as the scan utility doesn't work with the driver yet, as I found out. If you need to create one you'll need the appropriate values for the channel name, frequency, transmission mode, guard interval, QAM, FEC, inversion, audio and video pid. Most of these values are the same so editing an old one is easiest. The values you need can be found by running the box to a tv and selecting the information from the setup menu (before starting the modules connected to a pc as this will put the box into a slave mode until you pull the power and reset it). Once you have your channels.conf you can store it in ~/.tzap/channels.conf and use the tzap utility. This is in the 'apps/szap/' in the DVB CVS folder or linuxtv-dvb-1.0.1 will probably work too. To view the picture you'll need to use ts2ps along with mplayer. This is where I had the mose trouble as this is found in libdvb from This wouldn't compile under 2.6 since it has a dependency on linuxtv-dvb being installed and this doesn't like my 2.6 kernel. I compiled this under 2.4 and installed the binaries onto my 2.6 machine and it worked. I think all that is needed it to create a link from DVB/include/linux/dvb to /usr/include/linux/.
This should have built two useful utilities ts2ps and ts2es.

For radio
tzap -r BBC-Radio1
status 1f | signal 00ff | snr 0000 | ber 00000000 | unc 00000000 | FE_HAS_LOCK
status 1f | signal 00ff | snr 0000 | ber 00000000 | unc 00000000 | FE_HAS_LOCK

in a new terminal:

cat /dev/dvb/adapter0/dvr0 | ts2es 6210 | mpg123 -

where 6120 is the audio-pid

For TV

tzap -r BBC-ONE-SCOT
status 1f | signal 00ff | snr 0000 | ber 00000000 | unc 00000000 | FE_HAS_LOCK

again leave this running and in a new terminal:

cat /dev/dvb/adapter0/dvr0 | ts2ps 201 202 | mplayer -

where this time 201 is the video-pid and 202 is the audio_pid

I've tried using xine too but with less success. Copy your channels.conf to ~/.xine/channels.conf Running xine with the gui you can click on dvb button and it should tune to the first channel in your conf file. There is a small N for navigation and clicking on the down button lets me scroll through the channels. I can only get video and it is always having buffering troubles with severe audio stutter. If anyone has advice on how to fix this, it would be much appreciated, but mplayer works perfectly as long as I'm not maxing out the CPU by compiling at the same time.

If you are trying this on an Xbox I have no idea what complications, if any, this will cause.

Hope this helps you get started,


To unsubscribe send a mail to with "unsubscribe linux-dvb" as subject.

Home | Main Index | Thread Index