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

set up Visionplus DVB-T Digital TV in Fedora Core 4



 
    
set up Visionplus DVB-T Digital TV in Fedora Core 4
---------------------------------------------------

[root@raider ~]# cat /etc/fedora-release 
Fedora Core release 4 (Stentz)

[root@raider ~]# uname -a
Linux raider 2.6.13-1.1532_FC4 #1 Thu Oct 20 01:28:35 EDT 2005 x86_64 x86_64 x86_64 GNU/Linux

## system default dvb script; no need to change

[root@raider ~]# cat /etc/udev/scripts/dvb.sh 
#!/bin/sh
/bin/echo $1 | /bin/sed -e 's,dvb\([0-9]\)\.\([^0-9]*\)\([0-9]\),dvb/adapter\1/\2\3,'

[root@raider ~]# cat /etc/rc.local
#!/bin/sh
#
# This script will be executed *after* all the other init scripts.
# You can put your own initialization stuff in here if you don't
# want to do the full Sys V style init stuff.

touch /var/lock/subsys/local

## load VisionPlus DVB-T card module
modprobe -v i2c_dev
modprobe -v dvb-bt8xx

chmod o+rw /dev/dvb/adapter0/demux0
chmod o+rw /dev/dvb/adapter0/dvr0
chmod o+rw /dev/dvb/adapter0/net0

sleep 5

chmod o+rw /dev/dvb/adapter0/frontend0

## mplayer
echo 1024 > /proc/sys/dev/rtc/max-user-freq

[root@raider ~]# dmesg 
...
i2c /dev entries driver
DVB: registering new adapter (bttv0).
dst_get_device_id: Recognise [DTTDIG]
DST type : terrestrial
DST type flags : 0x10 firmware version = 2
DVB: registering frontend 0 (DST DVB-T)...
...

[root@raider ~]# ls -al /dev/dvb/adapter0/
total 0
drwxr-xr-x  2 root root    120 Nov  1 11:19 .
drwxr-xr-x  3 root root     60 Nov  1 11:19 ..
crw-rw-rw-  1 root root 212, 4 Nov  1 11:19 demux0
crw-rw-rw-  1 root root 212, 5 Nov  1 11:19 dvr0
crw-rw-rw-  1 root root 212, 3 Nov  1 11:19 frontend0
crw-rw-rw-  1 root root 212, 7 Nov  1 11:19 net0

[terrence@raider ~]$ cat .bashrc
...
## digital TV settings in Macquarie
## xine keeps good aspect ratio than mplayer when you have a dual monitor display (3200x1200) 
alias    abc='dvbstream -f 226500 -bw 7 -tm 8 -gi 8 -v 512  -a 650  -o | xine -'
alias   abc2='dvbstream -f 226500 -bw 7 -tm 8 -gi 8 -v 2312 -a 2315 -o | xine -'
alias  abchd='dvbstream -f 226500 -bw 7 -tm 8 -gi 8 -v 2307 -a 2308 -o | xine -'
alias abcdig='dvbstream -f 226500 -bw 7 -tm 8 -gi 8 -v 0    -a 2310 -o | xine -'
alias   ch10='dvbstream -f 219500 -bw 7 -tm 8 -gi 8 -v 512  -a 650  -o | xine -'
alias ch10hd='dvbstream -f 219500 -bw 7 -tm 8 -gi 8 -v 514  -a 672  -o | xine -'
alias    ch7='dvbstream -f 177500 -bw 7 -tm 8 -gi 8 -v 769  -a 770  -o | xine -'
alias   ch7g='dvbstream -f 177500 -bw 7 -tm 8 -gi 8 -v 865  -a 866  -o | xine -'
alias  ch7hd='dvbstream -f 177500 -bw 7 -tm 8 -gi 8 -v 833  -a 834  -o | xine -'
alias    ch9='dvbstream -f 191625 -bw 7 -tm 8 -gi 8 -v 519  -a 720  -o | xine -'
alias   ch9g='dvbstream -f 191625 -bw 7 -tm 8 -gi 8 -v 517  -a 700  -o | xine -'
alias  ch9hd='dvbstream -f 191500 -bw 7 -tm 8 -gi 8 -v 519  -a 720  -o | xine -'
alias ch9hd2='dvbstream -f 191625 -bw 7 -tm 8 -gi 8 -v 519  -a 720  -o | xine -'
alias ch9hd3='dvbstream -f 191500 -bw 7 -tm 8 -gi 8 -v 512  -a 650  -o | xine -'
alias ch9hd4='dvbstream -f 191625 -bw 7 -tm 8 -gi 8 -v 512  -a 650  -o | xine -'
alias ch9mv1='dvbstream -f 191500 -bw 7 -tm 8 -gi 8 -v 514  -a 670  -o | xine -'
alias    sbs='dvbstream -f 536625 -bw 7 -tm 8 -gi 8 -v 161  -a 81   -o | xine -'
alias   sbs2='dvbstream -f 536625 -bw 7 -tm 8 -gi 8 -v 162  -a 83   -o | xine -'
alias   sbsg='dvbstream -f 536625 -bw 7 -tm 8 -gi 8 -v 163  -a 85   -o | xine -'
alias  sbshd='dvbstream -f 536500 -bw 7 -tm 8 -gi 8 -v 102  -a 103  -o | xine -'
alias sbshd2='dvbstream -f 536525 -bw 7 -tm 8 -gi 8 -v 102  -a 103  -o | xine -'
...


Reference
=========

+ Common to all Australian DVB-T:

Bandwidth: 7MHz
      QAM: 64
     Mode: 8kHz
Hierarchy: NONE
Inversion: OFF

SYDNEY (Similar to Macquarie) 
Network   Channel   Freq.(MHz)   FEC   Guard
-------   -------   ----------   ---   -----
ABC       VHF 12    226.5        3/4   1/16
Seven     VHF  6    177.5        2/3   1/8
Nine      VHF  8    191.625      3/4   1/16
Ten       VHF 11    219.5        3/4   1/16
SBS       UHF 34    571.5        2/3   1/8

SYDNEY (Similar to Macquarie)
Name            Service ID   PCR-PID   PMT-PID   Video-PID   Audio-PID   Teletext-PID   AC3-PID
--------------  -----------  --------  --------  ----------  ----------  ------------   -------
NINE DIGITAL    1            135       256       519         720         583            0
NINE HD         5            128       260       512         0           583            650
NINE GUIDE      6            133       261       517         720         583            0
ABC HDTV        544          128       258       512         0           576            2308
ABC TV Sydney   545          128       256       512         650         576            660
ABC TV 2        546          128       257       512         650         576            0
ABC TV 3        547          128       259       512         650         576            0
ABC TV 4        548          2306      260       2307        2308        2310           0
ABC DiG Radio   550          2305      261       0           2311        0              0
SBS HD          768          102       1024      102         103         0              0
SBS DIGITAL 1   769          161       1025      161         81          41             0
SBS DIGITAL 2   770          162       1026      162         83          42             0
SBS EPG         772          163       1032      163         85          43             0
SBS RADIO 1     782          201       1027      0           201         0              0
SBS RADIO 2     783          202       1028      0           202         0              0
7 Digital       1312         513       512       513         514         516            0
7 Digital 1     1313         513       528       513         514         516            0
7 Digital 2     1314         513       544       513         514         516            0
7 Digital 3     1315         513       560       513         514         516            0
7 HD Digital    1316         577       576       577         578         516            0
Seven EPG       1318         609       608       609         610         0              0
TEN Digital     1569         128       257       512         650         576            651
TEN Digital 1   1570         128       258       512         650         576            651
TEN Digital 2   1571         128       259       512         650         576            651
TEN Digital 3   1572         128       260       512         650         576            651
TEN Digital     1573         128       256       512         650         576            651
TEN Digital 4   1574         128       261       512         650         576            651
TEN Digital     1575         128       262       512         650         576            651
TEN HD          1576         130       263       514         0           576            672
Ten Digital     1577         128       264       512         650         576            651

+ Twinhan VisionPlus DVB-T device issues on Fedora Core 4 - <http://www.mythtvtalk.com/forum/archive/o_t/t_1792/twinhan_visionplus_dvb_t_device_issues_on_fedora_core_4.html>



Google