Linux 最新 Kernel 3.9.0 + Ubuntu 12.10
由於最新LinuxTV Frontend API (tuner) 由 DVBv3 upgrade DVBv5, 原有之TVBv3 scan channel 及轉台 software用唔到 (scan command etc..)
用scan後會出現
__tune_to_transponder:1910: ERROR: Setting frontend parameters failed: 22 Invalid argument
ERROR: initial tuning failed
dmesg會顯示
[34131.143241] dtv_property_cache_sync: doesn't know how to handle a DVBv3 call to delivery system 0
因而需要安裝最新之DVBv5 Tools
先移除舊dvb-tools
$ sudo apt-get autoremove dvb-tools
安裝最新之DVBv5 Tools
http://www.linuxtv.org/wiki/index.php/DVBv5_Tools
用 git 安裝最新版 (要先安裝幾個 Library: libjpeg-dev, libtool:, gettext etc..)
返回home
cd $home
$ git clone git://linuxtv.org/v4l-utils.git
$ cd v4l-utils
$ autoreconf -vfi
$ ./configure
$ make
$ sudo make install
主要用以下4個commands:
dvb-fe-tool : show dvbv5 frontend information
dvbv5-scan : Scan dvbv5 channel
dvbv5-zap : Control tuner to change channel
dvb-format-convert : dvbv3 to dvbv5 files conversion tool
$ dvb-fe-tool
INFO Device AltoBeam ATBM8830/8831 DMB-TH (/dev/dvb/adapter0/frontend0) capabilities:
INFO CAN_FEC_AUTO
INFO CAN_GUARD_INTERVAL_AUTO
INFO CAN_INVERSION_AUTO
INFO CAN_QAM_AUTO
INFO CAN_TRANSMISSION_MODE_AUTO
INFO DVB API Version 5.6, Current v5 delivery system: DTMB
INFO Supported delivery system:
INFO [DTMB]
$ dvb-fe-tool
INFO Device Legend Silicon LGS8913/LGS8GXX DMB-TH (/dev/dvb/adapter0/frontend0) capabilities:
INFO CAN_FEC_AUTO
INFO CAN_GUARD_INTERVAL_AUTO
INFO CAN_INVERSION_AUTO
INFO CAN_QAM_AUTO
INFO CAN_TRANSMISSION_MODE_AUTO
INFO DVB API Version 5.6, Current v5 delivery system: DTMB
INFO Supported delivery system:
INFO [DTMB]
Channel file 在 /usr/share/dvb/dvb-t/hk-HongKong
iCable Special Channel Values:
# TVB
T 674000000 8MHz AUTO NONE QAM64 8k 1/32 NONE
# HiDef TVB
T 690000000 8MHz AUTO NONE QAM64 8k 1/32 NONE
# ATV
T 698000000 8MHz AUTO NONE QAM64 8k 1/32 NONE
Scan Channel command
$ dvbv5-scan -I CHANNEL /usr/share/dvb/dvb-t/hk-HongKong
INFO Scanning frequency #1 674000000
Lock (0x1f) Signal= 91.02% C/N= 0.00% UCB= 0 postBER= 0
ERROR charset ISO-10646/UTF-8 not implemented
ERROR charset ISO-10646/UTF-8 not implemented
Service #0 (1) Jade channel 0.81.0
Service #1 (2) Pearl channel 0.84.1
Service #2 (11) Home channel 0.11.2
Service #3 (16) World channel 0.16.3
INFO Scanning frequency #2 690000000
Lock (0x1f) Signal= 91.02% C/N= 0.00% UCB= 0 postBER= 0
Service #0 (82) J2 channel 0.82.0
Service #1 (83) iNews channel 0.83.1
Service #2 (85) High Definition Jade channel 0.85.2
INFO Scanning frequency #3 698000000
Lock (0x1f) Signal= 91.02% C/N= 0.00% UCB= 0 postBER= 0
ERROR charset ISO-10646/UTF-8 not implemented
Service #0 (12) Asia channel 0.12.0
Service #1 (13) Classic channel 0.13.1
Service #2 (15) CCTV-1 channel 0.15.2
Service #3 (17) SZTV channel 0.17.3
Convert old hk-HongKong file to DVBV5 format
dvb-format-convert -I CHANNEL -O DVBV5 -s DTMB HK channel_dvbv5.conf
$ cat channel_dvbv5.conf
[CHANNEL]
DELIVERY_SYSTEM = DVBT
FREQUENCY = 674000000
BANDWIDTH_HZ = 8000000
CODE_RATE_HP = AUTO
CODE_RATE_LP = NONE
MODULATION = QAM/64
TRANSMISSION_MODE = 8K
GUARD_INTERVAL = 1/32
HIERARCHY = NONE
INVERSION = AUTO
[CHANNEL]
DELIVERY_SYSTEM = DVBT
FREQUENCY = 690000000
BANDWIDTH_HZ = 8000000
CODE_RATE_HP = AUTO
CODE_RATE_LP = NONE
MODULATION = QAM/64
TRANSMISSION_MODE = 8K
GUARD_INTERVAL = 1/32
HIERARCHY = NONE
INVERSION = AUTO
[CHANNEL]
DELIVERY_SYSTEM = DVBT
FREQUENCY = 698000000
BANDWIDTH_HZ = 8000000
CODE_RATE_HP = AUTO
CODE_RATE_LP = NONE
MODULATION = QAM/64
TRANSMISSION_MODE = 8K
GUARD_INTERVAL = 1/32
HIERARCHY = NONE
INVERSION = AUTO
Bookmarks